Date: Wed, 9 Feb 2011 14:08:16 -0800 (PST) From: "David O'Brien" <obrien@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/154628: /usr/ports/textproc/bsddiff/ segfaults with -N Message-ID: <201102092208.p19M8Gr4028263@dragon.nuxi.org> Resent-Message-ID: <201102092230.p19MUBmu015399@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102092208.p19M8Gr4028263>