#39011 [Com]: foreach($_GET as $key = $value) causes later bugs passing $_GET as a paramete
ID: 39011 Comment by: sitnikov at infonet dot ee Reported By: php_bug dot email at email dot digiways dot com Status: Open Bug Type: Arrays related Operating System: Windows XP PHP Version: 5.1.6 New Comment: confirmed with PHP Version 5.2.0RC5-dev Previous Comments: [2006-10-01 19:25:34] php_bug dot email at email dot digiways dot com Description: if we iterate over $_GET using references (see the example) and pass $_GET to a function, function modifies $_GET and not the local copy. For example, save the example code in test.php and open test.php?mykey=foo . Reproduce code: --- ?php function doit($http_get_params) { $http_get_params['mykey'] = 'bar'; echo 'br/'.$_GET['mykey']; } foreach($_GET as $key = $value) {} echo 'br/'.$_GET['mykey']; doit($_GET); echo 'br/'.$_GET['mykey']; ? Expected result: When we open test.php?mykey=foo I expect to see foo foo foo Actual result: -- When we open test.php?mykey=foo we actually see foo bar bar -- Edit this bug report at http://bugs.php.net/?id=39011edit=1
#35460 [NEW]: infinite loop current()/next()
From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4.4.1 PHP Bug Type: *General Issues Bug description: infinite loop current()/next() Description: subj Reproduce code: --- ?php $arr = array (1,2,3,4,5); function foo($data){ $total_row = count($data); @reset($data); $row = 1; while ($tmp = current($data)) { if ($row$total_row){ die(To many iteration); } print_r($tmp); $row++; next($data); } } foo($arr); -- Edit bug report at http://bugs.php.net/?id=35460edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35460r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35460r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35460r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35460r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35460r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35460r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35460r=needscript Try newer version: http://bugs.php.net/fix.php?id=35460r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35460r=support Expected behavior: http://bugs.php.net/fix.php?id=35460r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35460r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35460r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35460r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35460r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35460r=dst IIS Stability: http://bugs.php.net/fix.php?id=35460r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35460r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35460r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35460r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35460r=mysqlcfg
#34903 [NEW]: like Bug 34873
From: sitnikov at infonet dot ee Operating system: SuSE 9.2 PHP version: 5.1.0RC3 PHP Bug Type: Scripting Engine problem Bug description: like Bug 34873 Description: test case http://si.infonet.ee/Bug34873.tgz php-5.1.0RC3/sapi/cli/php -f bug1.php 222 *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x0885ea48 *** *** glibc detected *** corrupted double-linked list: 0x08858d10 *** *** glibc detected *** free(): invalid pointer: 0x088565e8 *** -- Edit bug report at http://bugs.php.net/?id=34903edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34903r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34903r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34903r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=34903r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=34903r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34903r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34903r=needscript Try newer version: http://bugs.php.net/fix.php?id=34903r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34903r=support Expected behavior: http://bugs.php.net/fix.php?id=34903r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34903r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34903r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=34903r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34903r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=34903r=dst IIS Stability: http://bugs.php.net/fix.php?id=34903r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34903r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34903r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34903r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34903r=mysqlcfg
#34903 [Fbk-Csd]: like Bug 34873
ID: 34903 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Feedback +Status: Closed Bug Type: Scripting Engine problem Operating System: SuSE 9.2 PHP Version: 5.1.0RC3 New Comment: working properly with php5-200510181030. may be good idea to repack RC3 with this patches or kill it, because this is high critical bug imho Previous Comments: [2005-10-18 12:16:51] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip I can't reproduce it. [2005-10-18 09:57:05] sitnikov at infonet dot ee Description: test case http://si.infonet.ee/Bug34873.tgz php-5.1.0RC3/sapi/cli/php -f bug1.php 222 *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x0885d698 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858178 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x08858ef8 *** *** glibc detected *** double free or corruption: 0x08857e50 *** *** glibc detected *** double free or corruption: 0x08857ec8 *** *** glibc detected *** double free or corruption: 0x0885ea48 *** *** glibc detected *** corrupted double-linked list: 0x08858d10 *** *** glibc detected *** free(): invalid pointer: 0x088565e8 *** -- Edit this bug report at http://bugs.php.net/?id=34903edit=1
#34751 [NEW]: wddx_serialize_value broken in php5-200510051430
From: sitnikov at infonet dot ee Operating system: Linux, Suse 9.2 PHP version: 5CVS-2005-10-06 (snap) PHP Bug Type: WDDX related Bug description: wddx_serialize_value broken in php5-200510051430 Description: wddx_serialize_value broken in php5-200510051430 Reproduce code: --- ?php $arr = array ( 'house_list' = array ( 0 = array ( 'id' = '2910', 'name' = '2', ), )); echo wddx_serialize_value($arr).\n; ? Expected result: work/php-5.1.0RC1.OCI8/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name='house_list'array length='1'structvar name='id'string2910/string/varvar name='name'string2/string/var/struct/array/var/struct/data/wddxPacket [EMAIL PROTECTED] /home/sitnikovwork/php5-200510051430/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name=array length='1'structvstring2910/string/varvarstring2/string/var/struct/array/var/struct/data/wddxPacket Actual result: -- work/php5-200510051430/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name=array length='1'structvstring2910/string/varvarstring2/string/var/struct/array/var/struct/data/wddxPacket -- Edit bug report at http://bugs.php.net/?id=34751edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34751r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34751r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34751r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=34751r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=34751r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34751r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34751r=needscript Try newer version: http://bugs.php.net/fix.php?id=34751r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34751r=support Expected behavior: http://bugs.php.net/fix.php?id=34751r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34751r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34751r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=34751r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34751r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=34751r=dst IIS Stability: http://bugs.php.net/fix.php?id=34751r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34751r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34751r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34751r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34751r=mysqlcfg
#34751 [Opn-Csd]: wddx_serialize_value broken in php5-200510051430
ID: 34751 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Open +Status: Closed Bug Type: WDDX related Operating System: Linux, Suse 9.2 PHP Version: 5CVS-2005-10-06 (snap) New Comment: fixed in (CVS) by rrichards 1.119.2.4 Previous Comments: [2005-10-06 10:25:45] sitnikov at infonet dot ee Description: wddx_serialize_value broken in php5-200510051430 Reproduce code: --- ?php $arr = array ( 'house_list' = array ( 0 = array ( 'id' = '2910', 'name' = '2', ), )); echo wddx_serialize_value($arr).\n; ? Expected result: work/php-5.1.0RC1.OCI8/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name='house_list'array length='1'structvar name='id'string2910/string/varvar name='name'string2/string/var/struct/array/var/struct/data/wddxPacket [EMAIL PROTECTED] /home/sitnikovwork/php5-200510051430/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name=array length='1'structvstring2910/string/varvarstring2/string/var/struct/array/var/struct/data/wddxPacket Actual result: -- work/php5-200510051430/sapi/cli/php -f wddx.php [11:17] wddxPacket version='1.0'header/datastructvar name=array length='1'structvstring2910/string/varvarstring2/string/var/struct/array/var/struct/data/wddxPacket -- Edit this bug report at http://bugs.php.net/?id=34751edit=1
#25905 [Bgs-Opn]: getimagesize fail with some jpegs
ID: 25905 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Bogus +Status: Open Bug Type: GetImageSize related Operating System: Linux PHP Version: 4CVS-2003-10-18 (stable) Assigned To: helly New Comment: reopen Previous Comments: [2003-10-19 06:03:48] [EMAIL PROTECTED] Well it's a valid point you can take. Probably i'll even adapt the code for getImageSize() but not now. [2003-10-19 05:21:36] sitnikov at infonet dot ee ok, why you implement this ? /* get marker byte, swallowing possible padding */ if ( last_marker==M_COM comment_correction) { /* some software does not count the length bytes of COM section */ /* one company doing so is very much envolved in JPEG... so we accept too */ /* by the way: some of those companies changed their code now... */ comment_correction = 2; } else { last_marker = 0; comment_correction = 0; } [2003-10-19 04:56:21] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Your image file is corrupt and i don\'t think i will implement a special handling for all wrong software out there. That would lead to unrobust php code. [2003-10-19 03:10:52] sitnikov at infonet dot ee /usr/local/ImageMagick/bin/identify -format %[EXIF:*] wrong_jpeg.jpg Make=Konica Model=Revio C2 Orientation=1 XResolution=288/3 YResolution=288/3 ResolutionUnit=2 DateTime=2003:10:15 13:48:10 YCbCrPositioning=2 ExifOffset=174 ExposureTime=5924356/268435456 FNumber=28/10 ExposureProgram=3 ISOSpeedRatings=64 ExifVersion=0220 DateTimeOriginal=2003:10:15 13:48:10 DateTimeDigitized=2003:10:15 13:48:10 ComponentsConfiguration=... CompressedBitsPerPixel=1989456/1228800 ShutterSpeedValue=44/8 ApertureValue=28/10 ExposureBiasValue=0/10 MaxApertureValue=28/10 SubjectDistance=11/10 MeteringMode=5 LightSource=0 Flash=0 FocalLength=45/10 MakerNote=0060162454 FlashPixVersion=0100 ColorSpace=1 ExifImageWidth=1280 ExifImageLength=960 unknown= InteroperabilityOffset=724 unknown=R98 unknown=0100 ExposureIndex=1/1 SensingMethod=2 FileSource=. SceneType=. unknown=1280/1280 unknown=37 jpeg lib also working properly with this image. Please see this code (from jpeg-6b): next_marker (j_decompress_ptr cinfo) { int c; INPUT_VARS(cinfo); for (;;) { INPUT_BYTE(cinfo, c, return FALSE); /* Skip any non-FF bytes. * This may look a bit inefficient, but it will not occur in a valid file. * We sync after each discarded byte so that a suspending data source * can discard the byte from its buffer. */ while (c != 0xFF) { cinfo-marker-discarded_bytes++; INPUT_SYNC(cinfo); INPUT_BYTE(cinfo, c, return FALSE); } /* This loop swallows any duplicate FF bytes. Extra FFs are legal as * pad bytes, so don't count them in discarded_bytes. We assume there * will not be so many consecutive FF bytes as to overflow a suspending * data source's input buffer. */ do { INPUT_BYTE(cinfo, c, return FALSE); } while (c == 0xFF); if (c != 0) break;/* found a valid marker, exit loop */ /* Reach here if we found a stuffed-zero data sequence (FF/00). * Discard it and loop back to try again. */ cinfo-marker-discarded_bytes += 2; INPUT_SYNC(cinfo); } if (cinfo-marker-discarded_bytes != 0) { WARNMS2(cinfo, JWRN_EXTRANEOUS_DATA, cinfo-marker-discarded_bytes, c); cinfo-marker-discarded_bytes = 0; } cinfo-unread_marker = c; INPUT_SYNC(cinfo); return TRUE; } [2003-10-18 20:20:22] [EMAIL PROTECTED] Interesting. Could you try to open the file with the exif functions? But however the file is borked. 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/25905 -- Edit this bug report at http://bugs.php.net/?id=25905edit=1
#25905 [Bgs]: getimagesize fail with some jpegs
ID: 25905 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee Status: Bogus Bug Type: GetImageSize related Operating System: Linux PHP Version: 4CVS-2003-10-18 (stable) Assigned To: helly New Comment: ok, why you implement this ? /* get marker byte, swallowing possible padding */ if ( last_marker==M_COM comment_correction) { /* some software does not count the length bytes of COM section */ /* one company doing so is very much envolved in JPEG... so we accept too */ /* by the way: some of those companies changed their code now... */ comment_correction = 2; } else { last_marker = 0; comment_correction = 0; } Previous Comments: [2003-10-19 04:56:21] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Your image file is corrupt and i don\'t think i will implement a special handling for all wrong software out there. That would lead to unrobust php code. [2003-10-19 03:10:52] sitnikov at infonet dot ee /usr/local/ImageMagick/bin/identify -format %[EXIF:*] wrong_jpeg.jpg Make=Konica Model=Revio C2 Orientation=1 XResolution=288/3 YResolution=288/3 ResolutionUnit=2 DateTime=2003:10:15 13:48:10 YCbCrPositioning=2 ExifOffset=174 ExposureTime=5924356/268435456 FNumber=28/10 ExposureProgram=3 ISOSpeedRatings=64 ExifVersion=0220 DateTimeOriginal=2003:10:15 13:48:10 DateTimeDigitized=2003:10:15 13:48:10 ComponentsConfiguration=... CompressedBitsPerPixel=1989456/1228800 ShutterSpeedValue=44/8 ApertureValue=28/10 ExposureBiasValue=0/10 MaxApertureValue=28/10 SubjectDistance=11/10 MeteringMode=5 LightSource=0 Flash=0 FocalLength=45/10 MakerNote=0060162454 FlashPixVersion=0100 ColorSpace=1 ExifImageWidth=1280 ExifImageLength=960 unknown= InteroperabilityOffset=724 unknown=R98 unknown=0100 ExposureIndex=1/1 SensingMethod=2 FileSource=. SceneType=. unknown=1280/1280 unknown=37 jpeg lib also working properly with this image. Please see this code (from jpeg-6b): next_marker (j_decompress_ptr cinfo) { int c; INPUT_VARS(cinfo); for (;;) { INPUT_BYTE(cinfo, c, return FALSE); /* Skip any non-FF bytes. * This may look a bit inefficient, but it will not occur in a valid file. * We sync after each discarded byte so that a suspending data source * can discard the byte from its buffer. */ while (c != 0xFF) { cinfo-marker-discarded_bytes++; INPUT_SYNC(cinfo); INPUT_BYTE(cinfo, c, return FALSE); } /* This loop swallows any duplicate FF bytes. Extra FFs are legal as * pad bytes, so don't count them in discarded_bytes. We assume there * will not be so many consecutive FF bytes as to overflow a suspending * data source's input buffer. */ do { INPUT_BYTE(cinfo, c, return FALSE); } while (c == 0xFF); if (c != 0) break;/* found a valid marker, exit loop */ /* Reach here if we found a stuffed-zero data sequence (FF/00). * Discard it and loop back to try again. */ cinfo-marker-discarded_bytes += 2; INPUT_SYNC(cinfo); } if (cinfo-marker-discarded_bytes != 0) { WARNMS2(cinfo, JWRN_EXTRANEOUS_DATA, cinfo-marker-discarded_bytes, c); cinfo-marker-discarded_bytes = 0; } cinfo-unread_marker = c; INPUT_SYNC(cinfo); return TRUE; } [2003-10-18 20:20:22] [EMAIL PROTECTED] Interesting. Could you try to open the file with the exif functions? But however the file is borked. [2003-10-18 18:05:49] sitnikov at infonet dot ee Description: getimagesize fail with jpeg created by 602PC Suite software Example jpeg: http://si.infonet.ee/wrong_jpeg.jpg All other software (Photoshop, ACDSee, xnview, IE, Mozila, Opera, etc) open this file correctly. ImageMagic/identify says: /usr/local/ImageMagick/bin/identify: Corrupt JPEG data: 2 extraneous bytes before marker 0xfe After some debuging, i can see, than this jpg file have 2 zero byte before next marker, and php_next_marker fail with this data. -- Edit this bug report at http://bugs.php.net/?id=25905edit=1
#25905 [NEW]: getimagesize fail with some jpegs
From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4CVS-2003-10-18 (stable) PHP Bug Type: GetImageSize related Bug description: getimagesize fail with some jpegs Description: getimagesize fail with jpeg created by 602PC Suite software Example jpeg: http://si.infonet.ee/wrong_jpeg.jpg All other software (Photoshop, ACDSee, xnview, IE, Mozila, Opera, etc) open this file correctly. ImageMagic/identify says: /usr/local/ImageMagick/bin/identify: Corrupt JPEG data: 2 extraneous bytes before marker 0xfe After some debuging, i can see, than this jpg file have 2 zero byte before next marker, and php_next_marker fail with this data. -- Edit bug report at http://bugs.php.net/?id=25905edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25905r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25905r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25905r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25905r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25905r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25905r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25905r=support Expected behavior: http://bugs.php.net/fix.php?id=25905r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25905r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25905r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25905r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25905r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25905r=dst IIS Stability: http://bugs.php.net/fix.php?id=25905r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25905r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25905r=float
#25836 [NEW]: strange behavior magic_quotes with multi-dimensional arrays
From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4.3.4RC1 PHP Bug Type: *General Issues Bug description: strange behavior magic_quotes with multi-dimensional arrays Description: Only first level keys was slashed. Reproduce code: --- ? echo pre;print_r($_POST);echo /pre; ? form method=POST input type=text name=test['aaa']['bbb'] value=' input type=submit /form Expected result: Array ( [test] = Array ( [\'aaa\'] = Array ( [\'bbb\'] = \' ) ) ) Actual result: -- Array ( [test] = Array ( [\'aaa\'] = Array ( ['bbb'] = \' ) ) ) -- Edit bug report at http://bugs.php.net/?id=25836edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25836r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25836r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25836r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25836r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25836r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25836r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25836r=support Expected behavior: http://bugs.php.net/fix.php?id=25836r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25836r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25836r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25836r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25836r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25836r=dst IIS Stability: http://bugs.php.net/fix.php?id=25836r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25836r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25836r=float
#24989 [NEW]: PHP 4.3.3RC3 Sablot 1.0 problem
From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4.3.3RC3 PHP Bug Type: XSLT related Bug description: PHP 4.3.3RC3 Sablot 1.0 problem Description: b.xml ?xml version=1.0? ?xml-stylesheet type=text/xsl href=b.xsl? test /test b.xsl ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/test html head titleTEST/title /head body bgcolor=blue text=#00 centerHELLO/center /body /html /xsl:template /xsl:stylesheet b.php ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); xslt_set_log($xh, true); xslt_set_log($xh, '/tmp/sablot.log'); // Process the document if ($result = xslt_process($xh, './data/b.xml', './data/b.xsl')) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? -- Results: sabcmd: SUCCESS PHP 4.3.2: SUCCESS PHP 4.3.3RC3: ERROR (duplicate attribute and the error code is 2) -- Edit bug report at http://bugs.php.net/?id=24989edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24989r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24989r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24989r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24989r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24989r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24989r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24989r=support Expected behavior: http://bugs.php.net/fix.php?id=24989r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24989r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24989r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24989r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24989r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24989r=dst IIS Stability: http://bugs.php.net/fix.php?id=24989r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24989r=gnused
#24989 [Fbk-Opn]: PHP 4.3.3RC3 Sablot 1.0 problem
ID: 24989 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Feedback +Status: Open Bug Type: XSLT related Operating System: Linux PHP Version: 4.3.3RC3 New Comment: This patch has solved my problem. Previous Comments: [2003-08-09 09:30:23] [EMAIL PROTECTED] Try this patch, it cured the segfault for me: http://www.php.net/~jani/bug24989.txt [2003-08-09 06:49:12] [EMAIL PROTECTED] Crashes for me with sablotron 0.96 and 4.3.3rc3, bt follows: #0 0x081f5eb5 in normal_nameLength (enc=0x1, ptr=0x400d7f70 U\211åWVS\203ìHè¢Ìÿÿ\201ÃÞ\005\a) at /dat/dev/php/php-4.3.3RC3/ext/xml/expat/xmltok_impl.c:1702 1702switch (BYTE_TYPE(enc, ptr)) { (gdb) print enc $1 = (ENCODING *) 0x1 (gdb) bt #0 0x081f5eb5 in normal_nameLength (enc=0x1, ptr=0x400d7f70 U\211åWVS\203ìHè¢Ìÿÿ\201ÃÞ\005\a) at /dat/dev/php/php-4.3.3RC3/ext/xml/expat/xmltok_impl.c:1702 #1 0x401979a5 in reportProcessingInstruction () from /usr/lib/libexpat.so.0 #2 0x40196c82 in doProlog () from /usr/lib/libexpat.so.0 #3 0x40195634 in prologProcessor () from /usr/lib/libexpat.so.0 #4 0x40192e39 in XML_ParseBuffer () from /usr/lib/libexpat.so.0 #5 0x40192de6 in XML_Parse () from /usr/lib/libexpat.so.0 #6 0x400d5f48 in TreeConstructer::feedDocumentToParser () from /usr/lib/libsablot.so.0 #7 0x400d4dcf in TreeConstructer::parseDataLineUsingGivenExpat () from /usr/lib/libsablot.so.0 #8 0x400d503c in TreeConstructer::parseDataLineUsingExpat () from /usr/lib/libsablot.so.0 #9 0x400f5aeb in Tree::parse () from /usr/lib/libsablot.so.0 #10 0x400dbf27 in Processor::addLineParse () from /usr/lib/libsablot.so.0 #11 0x400dc64c in Processor::readTreeFromURI () from /usr/lib/libsablot.so.0 #12 0x400da14a in Processor::open () from /usr/lib/libsablot.so.0 #13 0x400e1317 in SablotRunProcessorGen () from /usr/lib/libsablot.so.0 #14 0x0820f169 in zif_xslt_process (ht=3, return_value=0x83c844c, this_ptr=0x0, return_value_used=1) at /dat/dev/php/php-4.3.3RC3/ext/xslt/sablot.c:590 #15 0x0825f17f in execute (op_array=0x83c774c) at /dat/dev/php/php-4.3.3RC3/Zend/zend_execute.c:1616 #16 0x0824efae in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /dat/dev/php/php-4.3.3RC3/Zend/zend.c:885 #17 0x0821d948 in php_execute_script (primary_file=0xb8f0) at /dat/dev/php/php-4.3.3RC3/main/main.c:1720 #18 0x0826d3bc in main (argc=2, argv=0xb994) at /dat/dev/php/php-4.3.3RC3/sapi/cli/php_cli.c:818 #19 0x407ad306 in __libc_start_main (main=0x826ca74 main, argc=2, ubp_av=0xb994, init=0x8080284 _init, fini=0x826db20 _fini, rtld_fini=0x4000d2dc _dl_fini, stack_end=0xb98c) at ../sysdeps/generic/libc-start.c:129 [2003-08-09 00:34:04] sitnikov at infonet dot ee PHP: ./configure \ --enable-inline-optimization \ --prefix=/usr/local/apache-dev/php \ --with-apxs=/usr/local/apache-dev/bin/apxs \ --with-config-file-path=/usr/local/apache-dev/Zend/etc \ --enable-track-vars \ --enable-magic-quotes \ --enable-safe-mode \ --enable-memory-limit \ --enable-sysvshm \ --enable-sysvsem \ --enable-shmop \ --enable-sockets \ --enable-wddx \ --enable-xslt \ --enable-ctype \ --enable-bcmath \ --enable-mailparse \ --enable-ftp \ --enable-dba \ --enable-dbase \ --with-ndbm \ --with-gdbm \ --with-db2 \ --with-gd \ --with-jpeg-dir \ --with-png-dir \ --with-ttf \ --with-t1lib \ --with-mysql=/usr/local/mysql \ --with-epipe \ --with-mcrypt \ --with-mhash \ --with-zlib \ --with-mm \ --with-xmlrpc \ --with-iconv=/usr/local \ --with-iconv-dir=/usr/local \ --with-curl \ --with-bz2 \ --with-gmp \ --with-ldap=/usr/local/openldap \ --with-xml \ --with-zip \ --with-gettext \ --with-dom \ --with-dom-xslt \ --with-xslt-sablot=/usr/local/Sablot-1.0 \ --with-sablot-js=/usr \ --with-imap=/home/work/install/imap-2002b \ --with-pgsql Sablot: ./configure --prefix=/usr/local/Sablot-1.0 --enable-javascript --with-js-prefix=/usr --with-iconv-prefix=/usr/local [2003-08-08 18:43:04] [EMAIL PROTECTED] I can not reproduce this with latest PHP CVS and Sabltron 1.0. The output is 'SUCCESS' always. How did you configure Sablotron? And PHP? [2003-08-08 15:58:37] sitnikov at infonet dot ee Description: b.xml ?xml version=1.0? ?xml-stylesheet type=text/xsl href=b.xsl? test /test b.xsl ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/test html head titleTEST/title /head
#24989 [Fbk-Opn]: PHP 4.3.3RC3 Sablot 1.0 problem
ID: 24989 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Feedback +Status: Open Bug Type: XSLT related Operating System: Linux PHP Version: 4.3.3RC3 New Comment: PHP: ./configure \ --enable-inline-optimization \ --prefix=/usr/local/apache-dev/php \ --with-apxs=/usr/local/apache-dev/bin/apxs \ --with-config-file-path=/usr/local/apache-dev/Zend/etc \ --enable-track-vars \ --enable-magic-quotes \ --enable-safe-mode \ --enable-memory-limit \ --enable-sysvshm \ --enable-sysvsem \ --enable-shmop \ --enable-sockets \ --enable-wddx \ --enable-xslt \ --enable-ctype \ --enable-bcmath \ --enable-mailparse \ --enable-ftp \ --enable-dba \ --enable-dbase \ --with-ndbm \ --with-gdbm \ --with-db2 \ --with-gd \ --with-jpeg-dir \ --with-png-dir \ --with-ttf \ --with-t1lib \ --with-mysql=/usr/local/mysql \ --with-epipe \ --with-mcrypt \ --with-mhash \ --with-zlib \ --with-mm \ --with-xmlrpc \ --with-iconv=/usr/local \ --with-iconv-dir=/usr/local \ --with-curl \ --with-bz2 \ --with-gmp \ --with-ldap=/usr/local/openldap \ --with-xml \ --with-zip \ --with-gettext \ --with-dom \ --with-dom-xslt \ --with-xslt-sablot=/usr/local/Sablot-1.0 \ --with-sablot-js=/usr \ --with-imap=/home/work/install/imap-2002b \ --with-pgsql Sablot: ./configure --prefix=/usr/local/Sablot-1.0 --enable-javascript --with-js-prefix=/usr --with-iconv-prefix=/usr/local Previous Comments: [2003-08-08 18:43:04] [EMAIL PROTECTED] I can not reproduce this with latest PHP CVS and Sabltron 1.0. The output is 'SUCCESS' always. How did you configure Sablotron? And PHP? [2003-08-08 15:58:37] sitnikov at infonet dot ee Description: b.xml ?xml version=1.0? ?xml-stylesheet type=text/xsl href=b.xsl? test /test b.xsl ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/test html head titleTEST/title /head body bgcolor=blue text=#00 centerHELLO/center /body /html /xsl:template /xsl:stylesheet b.php ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); xslt_set_log($xh, true); xslt_set_log($xh, '/tmp/sablot.log'); // Process the document if ($result = xslt_process($xh, './data/b.xml', './data/b.xsl')) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? -- Results: sabcmd: SUCCESS PHP 4.3.2: SUCCESS PHP 4.3.3RC3: ERROR (duplicate attribute and the error code is 2) -- Edit this bug report at http://bugs.php.net/?id=24989edit=1
#23889 [Fbk-Opn]: xslt transform stop working after upgrade from 4.2.3 into 4.3.2
ID: 23889 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee -Status: Feedback +Status: Open Bug Type: XSLT related Operating System: Linux PHP Version: 4.3.2 Assigned To: msopacua New Comment: Yes, problem still exists with 4.3.3RC3 This problem will appear if xsl contains: xsl:variable name=sort-images select=document('')/xsl:stylesheet// and sablot try parse not current xsl, but it parse current PHP file as xsl Workaroud for this problem use xslt_set_base($xh,''); before xslt_process(). Previous Comments: [2003-08-09 10:43:46] [EMAIL PROTECTED] Is this still a problem..? [2003-06-16 05:22:43] sitnikov at infonet dot ee full test suite http://si.infonet.ee/sablot.tar.gz [2003-06-15 22:23:52] [EMAIL PROTECTED] What is the status of this?? Still a bug or not? [2003-06-06 14:20:42] [EMAIL PROTECTED] Check bug http://bugs.php.net/20177 (which is mentioned in the commit). Before the fix of that bug, many people complained. After - you're the only one of seen. You also have a work-around: set xslt_set_base hardcoded yourself, then the library doesn't (see http://bugs.php.net/20518 ). If you could make the 'full test suite' available in zip or tar/gz, then I'll look into your scenario, to see how common it is and perhaps look for an option to set via xslt_set_option. Either way - you'll probably have to recode. [2003-06-06 02:29:16] [EMAIL PROTECTED] Melvyn, you broke it, you fix it. :) 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/23889 -- Edit this bug report at http://bugs.php.net/?id=23889edit=1
#23889 [Asn]: xslt transform stop working after upgrade from 4.2.3 into 4.3.2
ID: 23889 User updated by: sitnikov at infonet dot ee Reported By: sitnikov at infonet dot ee Status: Assigned Bug Type: XSLT related Operating System: Linux PHP Version: 4.3.2 Assigned To: msopacua New Comment: full test suite http://si.infonet.ee/sablot.tar.gz Previous Comments: [2003-06-15 22:23:52] [EMAIL PROTECTED] What is the status of this?? Still a bug or not? [2003-06-06 14:20:42] [EMAIL PROTECTED] Check bug http://bugs.php.net/20177 (which is mentioned in the commit). Before the fix of that bug, many people complained. After - you're the only one of seen. You also have a work-around: set xslt_set_base hardcoded yourself, then the library doesn't (see http://bugs.php.net/20518 ). If you could make the 'full test suite' available in zip or tar/gz, then I'll look into your scenario, to see how common it is and perhaps look for an option to set via xslt_set_option. Either way - you'll probably have to recode. [2003-06-06 02:29:16] [EMAIL PROTECTED] Melvyn, you broke it, you fix it. :) [2003-05-30 03:45:45] sitnikov at infonet dot ee After upgrade PHP from 4.2.3 into 4.3.2 xslt transformation stop working. 1.php (not working) ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); $arguments = array( '/_xml' = file_get_contents('xml/1.xml'), '/_xsl' = file_get_contents('xsl/1.xsl'), ); // Process the document if ( $result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments) ) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? 2.php - working ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); $arguments = array( '/_xml' = file_get_contents('xml/1.xml'), ); // Process the document if ( $result = xslt_process($xh, 'arg:/_xml', 'xsl/1.xsl', NULL, $arguments) ) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? Test full suite: http://si.infonet.ee/sablot.rar xml xsl you can see in rar file. after some research i found what problem in http://cvs.php.net/diff.php/php4/ext/xslt/sablot.c?login=2r1=1.63r2=1.64ty=u patch. after removing this patch my code again work. -- Edit this bug report at http://bugs.php.net/?id=23889edit=1
#23889 [NEW]: xslt transform stop working after upgrade from 4.2.3 into 4.3.2
From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4.3.2 PHP Bug Type: XSLT related Bug description: xslt transform stop working after upgrade from 4.2.3 into 4.3.2 After upgrade PHP from 4.2.3 into 4.3.2 xslt transformation stop working. 1.php (not working) ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); $arguments = array( '/_xml' = file_get_contents('xml/1.xml'), '/_xsl' = file_get_contents('xsl/1.xsl'), ); // Process the document if ( $result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments) ) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? 2.php - working ? // Allocate a new XSLT processor $xh = xslt_create() or die('Can not do; xslt_create()'); $arguments = array( '/_xml' = file_get_contents('xml/1.xml'), ); // Process the document if ( $result = xslt_process($xh, 'arg:/_xml', 'xsl/1.xsl', NULL, $arguments) ) { print SUCCESS, test.xml was transformed by test.xsl into result.xml; print , result.xml has the following contents\nbr\n; print pre\n; echo $result; print /pre\n; } else { print Sorry, test.xml could not be transformed by test.xsl into; print result.xml the reason is that . xslt_error($xh) . and the ; print error code is . xslt_errno($xh); } xslt_free($xh); ? Test full suite: http://si.infonet.ee/sablot.rar xml xsl you can see in rar file. after some research i found what problem in http://cvs.php.net/diff.php/php4/ext/xslt/sablot.c?login=2r1=1.63r2=1.64ty=u patch. after removing this patch my code again work. -- Edit bug report at http://bugs.php.net/?id=23889edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23889r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23889r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23889r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23889r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23889r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=23889r=support Expected behavior: http://bugs.php.net/fix.php?id=23889r=notwrong Not enough info:http://bugs.php.net/fix.php?id=23889r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=23889r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23889r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23889r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23889r=dst IIS Stability: http://bugs.php.net/fix.php?id=23889r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=23889r=gnused