[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39158: Solaris & libnbcompat (for pkg_install/lib)
>Synopsis: segfault from MD5File result truncation
>Arrival-Date: Thu Jul 17 02:45:00 +0000 2008
>Originator: john heasley
>Release: Solaris 10
System: SunOS fir 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Blade-1000
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
Build the bootstrap and run pkg_delete.
Main Index |
Thread Index |