about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-12-09 22:31:22 +0000
committerUlrich Drepper <drepper@redhat.com>2006-12-09 22:31:22 +0000
commita822d9f4461c2b26e2d6f2671baad28c2c6f80d2 (patch)
tree72563632a71579c2d88e7bd049f7d9ae699556c8 /stdlib
parent66f17705e46e88f8f01e66556fe62487aecdce29 (diff)
downloadglibc-a822d9f4461c2b26e2d6f2671baad28c2c6f80d2.tar.gz
glibc-a822d9f4461c2b26e2d6f2671baad28c2c6f80d2.tar.xz
glibc-a822d9f4461c2b26e2d6f2671baad28c2c6f80d2.zip
* 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.
Diffstat (limited to 'stdlib')
0 files changed, 0 insertions, 0 deletions