Bug #3226 Updated: This code makes PHP segfault Apache

From: Date: Tue, 18 Jan 2000 17:46:24 +0000
Subject: Bug #3226 Updated: This code makes PHP segfault Apache
Groups: php.dev 
Request: Send a blank email to php-dev+get-14742@lists.php.net to get a copy of this message
ID: 3226 User Update by: john@fbi.hu Status: Open Bug Type: Reproduceable crash Description: This code makes PHP segfault Apache Okay. So it seems as there's a bug in the functions base64_encode(); when calling it many times. Check the code below, and reload it 10-20 times! It should make a few seg.fault messages in the apache error.log <?php echo "<html><body>Start<br>"; flush(); for ($c=0;$c<4000;$c++) { $a = "a+ly6XM"; $b = base64_decode($a); } echo "End<br>"; ?> Full Bug description available at: http://bugs.php.net/?id=3226

« previous php.dev (#14742) next »