This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix buffer overflow for writes to memory buffer stream (bug 18549)
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 25 Jun 2015 15:26:02 +0200
- Subject: Re: [PATCH] Fix buffer overflow for writes to memory buffer stream (bug 18549)
- Authentication-results: sourceware.org; auth=none
- References: <mvmoak4yo1q dot fsf at hawking dot suse dot de>
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.