#22301 [NEW]: htmlspecialchars crashes Apache

From: Date: Wed, 19 Feb 2003 17:36:55 +0000
Subject: #22301 [NEW]: htmlspecialchars crashes Apache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33572@lists.php.net to get a copy of this message
From: peter at alcor dot concordia dot ca Operating system: Tru64 Unix 5.1A PHP version: 4.3.0 PHP Bug Type: Reproducible crash Bug description: htmlspecialchars crashes Apache This code crashes Apache on Tru64 Unix version 5.1A: <?php echo htmlspecialchars("That crashes Apache", ENT_QUOTES, "ISO-8859-1"); ?> (dbx) run -X -f /pubmail/apache/conf/httpd.conf Unaligned access pid=148971 <httpd> va=0x14009ff7c pc=0x1200f6c08 ra=0x120111e90 inst=0xb4290000 Unaligned access pid=148971 <httpd> va=0x14009ff7c pc=0x1200f6c08 ra=0x120111e90 inst=0xb4290000 Unaligned access pid=148971 <httpd> va=0x11fff965c pc=0x1201164c0 ra=0x120116e8c inst=0xb42d0000 signal Segmentation fault at [get_next_char:6 +0xfdc,0x12018a7ec] (dbx) I suspect it's 64-bit cleanness-related. -- Edit bug report at http://bugs.php.net/?id=22301&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22301&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22301&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22301&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22301&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22301&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22301&r=support Expected behavior: http://bugs.php.net/fix.php?id=22301&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22301&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22301&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22301&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22301&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22301&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22301&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22301&r=gnused

« previous php.bugs (#33572) next »