This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix buffer overflow for writes to memory buffer stream (bug 18549)



On 25-06-2015 10:26, OndÅej BÃlka wrote:
> On Thu, Jun 25, 2015 at 02:23:29PM +0200, Andreas Schwab wrote:
>> Tested on x86_64-suse-linux.
>>
>> Andreas.
>>
>> 	[BZ #18549]
>> 	* libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
>> 	* libio/test-fmemopen.c (do_test): Add test for it.
> 
> looks ok.
> 

Nothing against this patch, but my new fmemopen implementation had this
case handled since the first version I sent to review...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]