ports/154628: /usr/ports/textproc/bsddiff/ segfaults with -N

David O'Brien obrien at FreeBSD.org
Wed Feb 9 22:30:11 UTC 2011


>Number:         154628
>Category:       ports
>Synopsis:       /usr/ports/textproc/bsddiff/ segfaults with -N
>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:   Wed Feb 09 22:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     David O'Brien
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD dragon.NUXI.org 9.0-CURRENT FreeBSD 9.0-CURRENT #656 r216861M: Fri Dec 31 15:45:59 PST 2010 rootk at dragon:/sys/i386/compile/DRAGON i386
>Description:
	Running bsddiff with the "-N" option when there is a new zero-byte
	file causes bsddiff to segfault.  /usr/bin/diff and /usr/local/bin/gdiff
	(GNU diffutils 3.0) simply give no output for this case.
>How-To-Repeat:
	$ cd /tmp
	$ mkdir -p x/1 x/2
	$ touch x/2/empty
	$ bsddiff -r -N x/1 x/2
	Segmentation fault: 11 (core dumped)

	$ bsddiff -N x/1 x/2
	Segmentation fault: 11 (core dumped)

>Fix:

	Unknown - have not looked at the code or core.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list