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: b...@freebsd.org
          Reporter: zeis...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to