[Bug 243974] diff(1) generates core dump when --tabsize is used

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 8 09:18:16 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243974

            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 at FreeBSD.org
          Reporter: fnoyanisi at yahoo.com

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

fnoyanisi at beastie:~ % diff A B 
1,5c1,3
< same1
< differ1
< 
< 
< differ3
---
> same1  
> differ2
> differ4
fnoyanisi at beastie:~ % diff A B --tabsize 4
Segmentation fault (core dumped)
fnoyanisi at 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 world at
the moment.

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


More information about the freebsd-bugs mailing list