Re: cvs: php4 /main user_streams.c

From: Date: Tue, 19 Mar 2002 16:50:22 +0000
Subject: Re: cvs: php4 /main user_streams.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10426@lists.php.net to get a copy of this message
On 19/03/02, "Markus Fischer" <mfischer@guru.josefine.at> wrote: > Would it be possible to expose exactly how many bytes were > written to much and what the allowed maximum would be? You mean in the error message? Sure. > > + /* don't allow strange buffer overruns due to bogus return */ > > + if (didwrite > count) { > > + zend_error(E_WARNING, "%s::" USERSTREAM_READ " - wrote more data than > > requested", > > + us->wrapper->classname); > > + didwrite = count;

« previous php.cvs (#10426) next »