[Bug 240509] segfault in basename(3)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 11 14:15:19 UTC 2019


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

            Bug ID: 240509
           Summary: segfault in basename(3)
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: zeising at FreeBSD.org
 Attachment #207388 text/plain
         mime type:

Created attachment 207388
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207388&action=edit
reproducer

I'm getting a segfault when calling basename(3) on FreeBSD 12.0 and CURRENT. 
See attached source for an easy to use reproducer.

This might be a case of "don't do that", but the same code on Linux works.

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


More information about the freebsd-bugs mailing list