* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
authorUlrich Drepper <drepper@redhat.com>
Sat, 9 Dec 2006 22:31:22 +0000 (22:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 9 Dec 2006 22:31:22 +0000 (22:31 +0000)
commita822d9f4461c2b26e2d6f2671baad28c2c6f80d2
tree72563632a71579c2d88e7bd049f7d9ae699556c8
parent66f17705e46e88f8f01e66556fe62487aecdce29
* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.

Start searching for next comma at p rather than rest.
* misc/Makefile (tests): Add tst-mntent2.
* misc/tst-mntent2.c: New test.

* misc/getusershell.c (initshells): Check for integer overflows.
Make strings buffer one bigger as fgets always succeeds when second
argument is 1.  Don't use calloc for shells array.  Disallow
/ as shell.
ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h