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] | |
On Sun, Aug 9, 2015 at 9:15 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> i think you also need to free c->buffer when c->mybuffer is true
Right.
2015-08-09 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #18757]
* libio/fmemopen.c (__fmemopen): Set EINVAL and don't leak memory.
* libio/oldfmemopen.c (__old_fmemopen): Likewise.
* libio/test-fmemopen.c (do_bz18757): New test.
--
Paul Pluzhnikov
Attachment:
bz18757-20150809b.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |