You can download nightly CVS releases from: http://www.dal-acm.ca/~taa/grep/
Cheers, TAA -------------------------------------------------- Tony Abou-Assaleh Ph.D. Candidate, Faculty of Computer Science Dalhousie University, Halifax, NS, Canada, B3H 1W5 Fax: 902-492-1517 Email: [EMAIL PROTECTED] WWW: http://www.cs.dal.ca/~taa/ ---------------------[THE END]-------------------- On Tue, 19 Jul 2005, Shlomi Fish wrote: > > URL: > <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13847> > > Summary: memchr() not checked on Pexecute() - leads to > segfault > Project: grep > Submitted by: shlomif > Submitted on: Tue 07/19/2005 at 07:57 > Category: None > Severity: 3 - Normal > Item Group: None > Status: None > Privacy: Public > Assigned to: None > Open/Closed: Open > > _______________________________________________________ > > Details: > > There is a call to memchr() in Pexecute (in search.c) which is not checked for > NULL return value, and as a result can crash the program. > > The attached patch fixes the problem. Note that the added test was not tested, > because I could not get the GNU Build System to re-build the build-files on my > system. > > > > > > _______________________________________________________ > > File Attachments: > > > ------------------------------------------------------- > Date: Tue 07/19/2005 at 07:57 Name: grep-patch.diff Size: 1.51KB By: > shlomif > Patch to correct the problem. > <http://savannah.gnu.org/bugs/download.php?item_id=13847&item_file_id=2726> > > _______________________________________________________ > > Reply to this item at: > > <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13847> > > _______________________________________________ > Message sent via/by Savannah > http://savannah.gnu.org/ > > >