[Bug 205695] devel/pkgconf: pkgconf segfault when a require is specified with version number and the required .pc file is empty

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 29 14:14:36 UTC 2015


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

            Bug ID: 205695
           Summary: devel/pkgconf: pkgconf segfault when a require is
                    specified with version number and the required .pc
                    file is empty
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt at FreeBSD.org
          Reporter: lantw44 at gmail.com
             Flags: maintainer-feedback?(bapt at FreeBSD.org)
          Assignee: bapt at FreeBSD.org

Upstream bug report:
https://github.com/pkgconf/pkgconf/issues/85


Steps to reproduce:
1. Create a empty file called 'a.pc'.

2. Create a file called 'b.pc' which lists 'a' in Requires:
Name: b
Version: 3
Requires: a >= 2

3. Run 'pkgconf --modversion b'.
Segmentation fault (core dumped)


This problem can happen when the system crashes and the content of .pc file is
lost.

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


More information about the freebsd-ports-bugs mailing list