This is the mail archive of the
gnats-cvs@sources.redhat.com
mailing list for the GNATS project.
gnats/gnats cmds.c
- To: gnats-cvs at sourceware dot cygnus dot com
- Subject: gnats/gnats cmds.c
- From: pdm at sourceware dot cygnus dot com
- Date: 12 Aug 2001 17:20:23 -0000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: pdm@sources.redhat.com 2001-08-12 10:20:23
Modified files:
gnats : cmds.c
Log message:
(get_text_memory): Initialize `buf' to NULL and set it to
NULL after freeing it.
(get_text_memory): When reading the input, put '\0' at its end
only after the buffer is reallocated to a sufficient size.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gnats/gnats/cmds.c.diff?cvsroot=gnats&r1=1.56&r2=1.57