pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31838: pkg-config patch-ab passes NULL pointer to fprintf



>Number:         31838
>Category:       pkg
>Synopsis:       pkg-config patch-ab passes NULL pointer to fprintf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 19:26:00 +0000 2005
>Originator:     john heasley
>Release:        Solaris 2.9
>Organization:
        
>Environment:
        
        
System: SunOS yew 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-280R
Architecture: sparc64
Machine: sparc64
>Description:
The logging fprintf added to pkg-config in patch patch-ab passes
ver->version which is NULL (~ line 494), causing a segfault on solaris for
devel/atk build.
>How-To-Repeat:
with the atk build started,
PKG_CONFIG_LIBDIR=/home/pkgsrc/devel/atk/work/.buildlink/lib/pkgconfig
PKG_CONFIG_LOG=/home/pkgsrc/devel/pkg-config/work/pkg-config-0.19/foo
PKG_CONFIG_DEBUG_SPEW=
./pkg-config --atleast-version 2.0.0 glib-2.0 gobject-2.0 gmodule-no-export-2.0

>Fix:
I am not sure what the intention was, but it seems that it ought to
use req->version rather than ver->version.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index