ports/165367: misc/lv segfaults in grep-mode if last argument was a nonexistentfile

Koichiro IWAO meta at club.kyutech.ac.jp
Tue Feb 21 16:50:10 UTC 2012


>Number:         165367
>Category:       ports
>Synopsis:       misc/lv segfaults in grep-mode if last argument was a nonexistentfile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 16:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Koichiro IWAO
>Release:        FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD glory.vmeta.jp 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #8: Mon Dec 26 06:04:53 JST 2011 root at glory.vmeta.jp:/usr/obj/usr/src/sys/METAKERNEL amd64


>Description:
	misc/lv causes segmentation failt in grep-mode if last argument was a nonexistent file.
	This happens only in case a nonexistent file is on last.
	
	
>How-To-Repeat:
	grep-mode lv fails:
	$ lv -g PATTERN /etc/profile /nonexistence
	(snip)
	Segmentation fault: 11 (core dumped)

	In this case, lv works fine: 	
	$ lv -g PATTERN /nonexistence /etc/profile
	/nonexistence: No such file or directory
>Fix:
	I am trying to contact the original lv author, but can't.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list