php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32303 if $foo is unset in to curl_init($foo); apache will crash.
Submitted: 2005-03-14 17:47 UTC Modified: 2005-03-22 01:00 UTC
From: willi at almado dot de Assigned:
Status: No Feedback Package: cURL related
PHP Version: 4.3.10 OS: Debian sid
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
26 - 17 = ?
Subscribe to this entry?

 
 [2005-03-14 17:47 UTC] willi at almado dot de
Description:
------------
by accident i initialized curl with a wrong variable.
apache crashed.jae1fuPe

Reproduce code:
---------------
<?php

curl_init($foo)
?>

Expected result:
----------------
there should be an error message.

Actual result:
--------------
apache crashes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-14 21:14 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
If you do get it to crash with the snapshot, provide a GDB backtrace:
  
  http://bugs.php.net/bugs-generating-backtrace.php


 [2005-03-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC