This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/391] getsubopt fixes from gnulib


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]