#21479 [Opn->Asn]: Crashes with 6 slashes in URL and non-existant file
| From: | sniper@php.net | Date: | Wed, 05 Mar 2003 01:25:25 +0000 |
| Subject: | #21479 [Opn->Asn]: Crashes with 6 slashes in URL and non-existant file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34810@lists.php.net to get a copy of this message | ||
ID: 21479
Updated by: sniper@php.net
Reported By: info at ofek dot com
-Status: Open
+Status: Assigned
Bug Type: GetImageSize related
Operating System: Win 2000 IIS (CGI)
PHP Version: 4.3.2-dev
Assigned To: wez
New Comment:
Are you using the latest CVS snapshot? (if not get it)
Previous Comments:
------------------------------------------------------------------------
[2003-03-01 18:27:33] info at ofek dot com
that script you posted doesn't crash on my system either - but this one
does:
function ImageExists($url) {
$r=@getimagesize($url);
return $r[2]!=0;
}
echo
ImageExists('http://economads.com/libaware/_font/title/123456.gif');
it's funny, if the file name is 12345.gif it doesn't crash, but if it's
123456.gif than it does!
------------------------------------------------------------------------
[2003-02-23 17:48:20] sniper@php.net
I doesn't crash for me anymore using this script:
<?php
var_dump(getimagesize('http://economads.com/libaware/_font/title/image.gif'));
?>
Can you verify that this exact script causes the crash?
And if so, could you also test this on some other machine too?
------------------------------------------------------------------------
[2003-02-23 12:42:46] info at ofek dot com
ok i tried it (unzipped into a new dir and rebooted) and it still
crashes, just with different hex addresses in the GPF message.
------------------------------------------------------------------------
[2003-02-22 04:59:05] wez@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
A number of fixes went into CVS last night; it is quite possible that
this problem is fixed (we've had a good response so far).
Please try a stable snapshot.
------------------------------------------------------------------------
[2003-02-21 04:26:05] sniper@php.net
Now I can not reproduce this anymore using the given location. (with
latest snapshot)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21479
--
Edit this bug report at http://bugs.php.net/?id=21479&edit=1