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

Ondřej Bílka neleai@seznam.cz
Thu Jun 25 21:52:00 GMT 2015


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.



More information about the Libc-alpha mailing list