CVSROOT: /cvsroot/grep
Module name: grep
Branch:
Changes by: Charles Levert <[EMAIL PROTECTED]> 05/11/10 01:19:03
Modified files:
. : ChangeLog
src : grep.c
Log message:
* src/grep.c (main): Fix a subtle memory allocation bug introduced
with the mb_icase_keys() function, which can call xrealloc() or
free() on keys, by making sure keys is always dynamically allocated.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/ChangeLog.diff?tr1=1.278&tr2=1.279&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/src/grep.c.diff?tr1=1.115&tr2=1.116&r1=text&r2=text