The following reply was made to PR misc/180990; it has been noted by GNATS.

From: Andrey Chernov <[email protected]>
To: Nathan Weeks <[email protected]>
Cc: [email protected]
Subject: Re: misc/180990: bsdgrep segfaults when pattern file contains many
 lines
Date: Fri, 02 Aug 2013 02:52:56 +0400

 On 02.08.2013 0:54, Nathan Weeks wrote:
 >> Environment:
 > FreeBSD fully.qualified.domain.name 9.1-RELEASE FreeBSD 9.1-RELEASE #0 
 > r243825: Tue Dec  4 09:23:10 UTC 2012     
 > [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
 >> Description:
 > "bsdgrep -f pattern_file file" segfaults when the pattern_file has more than 
 > a few dozen lines.
 >> How-To-Repeat:
 > $ echo 128 > file
 > $ seq 1 128 > pattern_file
 > $ bsdgrep -xf pattern_file file
 > Segmentation fault (core dumped)
 
 I don't see segfault on i386, but grep -x is fundamentally broken - it
 just finds nothing in contrast with gnu grep.
 
 -- 
 http://ache.vniz.net/
 bitcoin:1G6ugdNY6e5jx1GVnAU2ntj2NEfmjKG85r
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to