[Bug libc/731] addseverity shouldn't strdup the string

cvs-commit at gcc dot gnu dot org sourceware-bugzilla@sources.redhat.com
Wed Feb 16 10:37:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-16 10:37 -------
Subject: Bug 731

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 10:37:06

Modified files:
	stdlib         : tst-fmtmsg.c 

Log message:
	2005-01-27  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #731]
	* stdlib/tst-fmtmsg.c: Include stdlib.h.
	2005-01-25  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #731]
	* stdlib/fmtmsg.c (addseverity): Remove new_string variable.
	(free_mem): Don't free string.
	* stdlib/tst-fmtmsg.c: Include string.h.
	(main): Add some more tests.
	2005-01-14  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #731]
	* stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
	* stdlib/tst-fmtmsg.c (main): Add another addseverity test.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdlib/tst-fmtmsg.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.6.1



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=731

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list