(initshells): Check for integer overflows.
authordrepper <drepper>
Sat, 9 Dec 2006 22:25:00 +0000 (22:25 +0000)
committerdrepper <drepper>
Sat, 9 Dec 2006 22:25:00 +0000 (22:25 +0000)
commit054c0f01567a34466f27a9fcd64cac6b028f10c0
tree7a06474fc261035005f48323c7456f6af1342751
parentc9e13da26211516b3e2a0dade7e5faa94e7fed6e
(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.
misc/getusershell.c