pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39158: Solaris & libnbcompat (for pkg_install/lib)
>Number: 39158
>Category: pkg
>Synopsis: segfault from MD5File result truncation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 17 02:45:00 +0000 2008
>Originator: john heasley
>Release: Solaris 10
>Organization:
>Environment:
System: SunOS fir 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Blade-1000
Architecture: sparc64
Machine: sparc64
>Description:
On Solaris, pkg_install uses libnbcompat to get (among other things) MD5File.
It appears that when this is used there are no prototypes for MD*(), thus
the return value of these is assumed to be int, and in a 64bit environment
that does not work as MD5File returns a char * and it gets truncated.
The nbcompat/md5.h include was removed in 1.40 of nbcompat.h, stating an
incompatability with openssl headers; I'm not sure what the right solution
is.
>How-To-Repeat:
Build the bootstrap and run pkg_delete.
>Fix:
Home |
Main Index |
Thread Index |
Old Index