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: [email protected]
          Reporter: [email protected]

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

fnoyanisi@beastie:~ % diff A B 
1,5c1,3
< same1
< differ1
< 
< 
< differ3
---
> same1  
> 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 world at
the moment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to