misc/180990: bsdgrep segfaults when pattern file contains many lines

Nathan Weeks nathan.weeks at ars.usda.gov
Thu Aug 1 21:00:00 UTC 2013


>Number:         180990
>Category:       misc
>Synopsis:       bsdgrep segfaults when pattern file contains many lines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 01 21:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Weeks
>Release:        9.1-RELEASE
>Organization:
USDA-ARS
>Environment:
FreeBSD fully.qualified.domain.name 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/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)
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list