Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 2020 09:18:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243974] diff(1) generates core dump when --tabsize is used
Message-ID:  <bug-243974-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243974

            Bug ID: 243974
           Summary: diff(1) generates core dump when --tabsize is used
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fnoyanisi@yahoo.com

diff(1) causes SIGSEGV when --tabsize is used. Problem is present on CURREN=
T as
well

fnoyanisi@beastie:~ % diff A B=20
1,5c1,3
< same1
< differ1
<=20
<=20
< differ3
---
> same1=20=20
> differ2
> differ4
fnoyanisi@beastie:~ % diff A B --tabsize 4
Segmentation fault (core dumped)
fnoyanisi@beastie:~ % uname -a
FreeBSD beastie 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64

I am working on a patch, checking out the latest head and building the worl=
d at
the moment.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243974-227>