This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc ./ChangeLog misc/getusershell.c
- From: jakub at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 Jan 2007 17:11:28 -0000
- Subject: libc ./ChangeLog misc/getusershell.c
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: jakub@sourceware.org 2007-01-12 17:11:28
Modified files:
. : ChangeLog
misc : getusershell.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.10362.2.18&r2=1.10362.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/misc/getusershell.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.16&r2=1.16.2.1