ID:               36473
 User updated by:  punkpuke at terraimpetus dot com
 Reported By:      punkpuke at terraimpetus dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: Windows XP Pro
 PHP Version:      4.4.2
 New Comment:

I would love to help, however those instructions aren't detailed enough
for me to do anything.  I need to know the exact files I need and where
to put them.  I'm sorry, I'm not that smart. :(


Previous Comments:
------------------------------------------------------------------------

[2006-02-21 13:52:32] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Works fine here.

------------------------------------------------------------------------

[2006-02-21 10:50:07] punkpuke at terraimpetus dot com

Description:
------------
When accessing foreign URLs with getimagesize(), apache server crashes
with:

szAppName : Apache.exe     szAppVer : 2.0.55.0     szModName :
php4ts.dll     
szModVer : 4.4.2.2     offset : 000c5fca

---------------------
The only changes made to the PHP.ini file were the enabling/removing
the comment in front of the GD2 and the ZIP, DLL extensions.

Server is running as a test environment on localhost.

Reproduce code:
---------------
<?php
getimagesize('images/example.gif');  //Works Fine (Local)
getimagesize('example.jpg'); //Works Fine
//The following crash the Entire Apache server, no matter where they're
used
getimagesize('http://example.com/example/example.jpg');//Crashes 
getimagesize('http://example.com/example.jpg'); //Crashes 
getimagesize('http://example.com/example.gif'); //Crashes
@getimagesize('http://example.com/example.gif'); //Crashes
?>

Expected result:
----------------
Apache 2 Servers lags for a slight moment, then crashes 100% of the
time that a page using a foreign URL call to getimagesize() is run.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36473&edit=1

Reply via email to