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]

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


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.

-- 
Paul Pluzhnikov

Attachment: glibc-xmalloc-test-fixes-20160609.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]