PHP :: Bug #23201 :: set_file_buffer crashes Apache
| Bug #23201 | set_file_buffer crashes Apache | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2003-04-14 08:15 UTC | Modified: | 2003-04-14 20:35 UTC |
|
||||||||||
| From: | gfraley5 at earthlink dot net | Assigned: | wez (profile) | |||||||||||
| Status: | Closed | Package: | Filesystem function related | |||||||||||
| PHP Version: | 4.3.2RC1 | OS: | Win32 and Linux | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2003-04-14 08:15 UTC] 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);
?>
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-04-14 20:35 UTC] iliaa@php.net