From 0677af20bb69b91469f0a89aa54bec559a5907e2 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 11 Jun 2016 14:59:27 -0700 Subject: [PATCH] Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog (it was fixed in previous commit). --- ChangeLog | 2 ++ rt/tst-aio64.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88a7b6392b..36c3437b30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,11 +7,13 @@ * io/tst-fcntl.c (do_prepare): Likewise. * libio/tst-fopenloc.c (do_bz17916): Likewise. * libio/tst-mmap2-eofsync.c (do_prepare): Likewise. + * login/tst-utmp.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. + * rt/tst-aio64.c (do_prepare): Likewise. 2016-06-11 Florian Weimer diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c index f67485c878..5a47e4d0d2 100644 --- a/rt/tst-aio64.c +++ b/rt/tst-aio64.c @@ -52,7 +52,7 @@ do_prepare (int argc, char *argv[]) size_t name_len; name_len = strlen (test_dir); - name = malloc (name_len + sizeof ("/aioXXXXXX")); + name = xmalloc (name_len + sizeof ("/aioXXXXXX")); mempcpy (mempcpy (name, test_dir, name_len), "/aioXXXXXX", sizeof ("/aioXXXXXX"));