diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2016-06-11 14:50:16 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2016-06-11 14:50:16 -0700 |
commit | 850c67606e56e1a47fa0466e127f7b8ceda6ebe3 (patch) | |
tree | 0d8f4cf68b0d2792c7e5bcd420fd1d35f6ff3d35 /login | |
parent | NEWS: clarify localedef --old-style update (diff) | |
download | glibc-850c67606e56e1a47fa0466e127f7b8ceda6ebe3.tar.gz glibc-850c67606e56e1a47fa0466e127f7b8ceda6ebe3.tar.bz2 glibc-850c67606e56e1a47fa0466e127f7b8ceda6ebe3.zip |
2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.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.
Diffstat (limited to 'login')
-rw-r--r-- | login/tst-utmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/tst-utmp.c b/login/tst-utmp.c index 2fb20b64db..348854ab89 100644 --- a/login/tst-utmp.c +++ b/login/tst-utmp.c @@ -62,7 +62,7 @@ do_prepare (int argc, char *argv[]) size_t name_len; name_len = strlen (test_dir); - name = malloc (name_len + sizeof ("/utmpXXXXXX")); + name = xmalloc (name_len + sizeof ("/utmpXXXXXX")); mempcpy (mempcpy (name, test_dir, name_len), "/utmpXXXXXX", sizeof ("/utmpXXXXXX")); |