Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 14:15:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240509] segfault in basename(3)
Message-ID:  <bug-240509-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: zeising@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.


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