This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/misc getusershell.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 Dec 2006 22:25:01 -0000
- Subject: libc/misc getusershell.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2006-12-09 22:25:01
Modified files:
misc : getusershell.c
Log message:
(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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/misc/getusershell.c.diff?cvsroot=glibc&r1=1.16&r2=1.17