This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] [BZ #19670] [BZ #19672] Replace malloc with xmalloc
- From: Florian Weimer <fweimer at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Fri, 10 Jun 2016 09:40:37 +0200
- Subject: Re: [patch] [BZ #19670] [BZ #19672] Replace malloc with xmalloc
- Authentication-results: sourceware.org; auth=none
- References: <CALoOobONx3h_5gcBfiAgi=YyX3n74GVfZ5VSkio406Dzq96QdA at mail dot gmail dot com>
On 06/10/2016 02:54 AM, Paul Pluzhnikov wrote:
Greetings,
Attached patch fixes most of missing malloc failure checks from BZ
#19670 and #19672.
Ok?
2016-06-09 Paul Pluzhnikov <ppluzhnikov@gmail.com>
[BZ #19670]
[BZ #19672]
* io/test-lfs.c (do_prepare): Use xmalloc.
* io/tst-fcntl.c (do_prepare): Likewise.
* libio/tst-fopenloc.c (do_bz17916): Likewise.
* libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
* posix/tst-exec.c (do_prepare): Likewise.
* posix/tst-pathconf.c (prepare): Likewise.
* posix/tst-spawn.c (do_prepare): Likewise.
* posix/tst-truncate.c (do_prepare): Likewise.
* rt/tst-aio.c (do_prepare): Likewise.
Looks good to me.
Thanks,
Florian