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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Jun 03 01:01:25 2020 UTC