[patch] [BZ #19670] [BZ #19672] Replace malloc with xmalloc

Florian Weimer fweimer@redhat.com
Fri Jun 10 07:40:00 GMT 2016


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



More information about the Libc-alpha mailing list