pkgsrc-Bugs archive

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

pkg/40152: pkgsrc/security/mit-krb5 patch to make functional on solaris

>Number:         40152
>Category:       pkg
>Synopsis:       pkgsrc/security/mit-krb5 patch to make functional on solaris
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 00:50:00 +0000 2008
>Originator:     Tim
>Release:        pkgsrc current
SunOS hostname 5.10 Generic_137111-05 sun4u sparc SUNW,Sun-Fire-V440 Solaris
lib/krb5/os/dnsglue.c uses statbuf structure before zeroing it.  Solaris 
requires it be zeroed first... all kerberos programs that use dns lookup crash. 
 Zeroing before use does not break anything on any other platforms.
build on solaris 10 sparc and type kinit user@realm
cat patches/patch-za
--- lib/krb5/os/dnsglue.c.orig  Mon Dec  8 15:48:32 2008
+++ lib/krb5/os/dnsglue.c       Mon Dec  8 15:52:46 2008
@@ -87,6 +87,7 @@
+    bzero(&statbuf,(sizeof(struct __res_state)));
     ret = res_ninit(&statbuf);
     if (ret < 0)
        return -1;

SHA1 (patch-za) = 910152fd6ccb430494036cc9575ab21e7227cf24

Home | Main Index | Thread Index | Old Index