NetBSD-Bugs archive

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

lib/46948: squids pam_auth segfaults in pam_start

>Number:         46948
>Category:       lib
>Synopsis:       squids pam_auth segfaults in pam_start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 05:30:01 +0000 2012
>Originator:     Mark Davies
>Release:        NetBSD 6.0_RC1
System: NetBSD 6.0_RC1 NetBSD 6.0_RC1 
(GENERIC) #1: Mon Aug 20 16:57:13 NZST 2012
Architecture: x86_64
Machine: amd64
        I put this in lib but it might be a pkg bug although I can't see 
anything wrong in how pam is being called. 

        pam_auth from squid31 segfaults while loading the
when build on NetBSD 6.0_RC1/amd64.

backtrace is 
#0  0x00007f7ff700219a in _free_internal () from 
#1  0x00007f7ff7002b45 in realloc () from /usr/lib/
#2  0x00007f7ff6caf2ec in asprintf () from /usr/lib/
#3  0x00007f7ff7806311 in openpam_dynamic () from /usr/lib/
#4  0x00007f7ff780615b in openpam_load_module () from 
#5  0x00007f7ff7805310 in ?? () from /usr/lib/
#6  0x00007f7ff7805783 in ?? () from /usr/lib/
#7  0x00007f7ff7805003 in ?? () from /usr/lib/
#8  0x00007f7ff7805783 in ?? () from /usr/lib/
#9  0x00007f7ff78058a7 in openpam_configure () from 
#10 0x00007f7ff7802df6 in pam_start () from /usr/lib/
#11 0x0000000000401780 in main ()

A pam_auth built on 5.1_STABLE but run on 6.0_RC1/amd64 (with the 5.1 
vintage shared libraries it wants) works successfully.

A pam_auth built and run on 5.99.59/i386 exhibits the same problem.

        On a system with pam configured to use kerberos build squid31
        run /usr/pkg/libexec/pam_auth and type "username password" return
        (Doesn't matter what the usename and password are as it doesnt 
get that far)


Home | Main Index | Thread Index | Old Index