#23201 [Ctl->Csd]: set_file_buffer crashes Apache

From: Date: Tue, 15 Apr 2003 01:35:06 +0000
Subject: #23201 [Ctl->Csd]: set_file_buffer crashes Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37674@lists.php.net to get a copy of this message
ID: 23201 Updated by: iliaa@php.net Reported By: gfraley5 at earthlink dot net -Status: Critical +Status: Closed Bug Type: Filesystem function related Operating System: Win32 and Linux PHP Version: 4.3.2RC1 Assigned To: wez New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-04-14 08:15:06] gfraley5 at earthlink dot net The set_file_buffer() and stream_set_write_buffer (in 4.3.2 RC's and CVS) crashes Apache 1.3.27. This code, when executed in 4.3.1 and prior, does not crash Apache. <? $file = '/web/somefile'; $csv_buffer_size = 9192; echo 'file exists ? '.file_exists($file); echo '<br />'; $fp = fopen($file,'w') or die('Unable to access file: '.$file); set_file_buffer($fp,$csv_buffer_size); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23201&edit=1

« previous php.bugs (#37674) next »