This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/391] getsubopt fixes from gnulib
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Sep 2004 20:56:09 -0000
- Subject: [Bug libc/391] getsubopt fixes from gnulib
- References: <20040919001555.391.eggert@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-20 20:56 -------
Subject: Bug 391
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2004-09-20 20:56:05
Modified files:
stdlib : getsubopt.c
Log message:
2004-09-18 Paul Eggert <eggert@cs.ucla.edu>
[BZ #391]
* stdlib/getsubopt.c: Merge fixes from gnulib.
(__strchrnul) [!_LIBC]: Define and include "strchrnul.c".
(getsubopt): Use prototypes, not K&R style.
Fix bug: memcmp(A,B,N) was being invoked on a memory block B
whose size might be smaller than N. Use strncmp to avoid the bug.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdlib/getsubopt.c.diff?cvsroot=glibc&r1=1.6&r2=1.7
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=391
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.