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
>Organization:
>Environment:
System: NetBSD www-cache2.ecs.vuw.ac.nz 6.0_RC1 NetBSD 6.0_RC1 
(GENERIC) #1: Mon Aug 20 16:57:13 NZST 2012 
mark%turakirae.ecs.vuw.ac.nz@localhost:/local/SAVE/6_64.obj/src/work/6/src/sys/arch/amd64/compile/GENERIC
 
amd64
Architecture: x86_64
Machine: amd64
>Description:
        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 pam_krb5.so
when build on NetBSD 6.0_RC1/amd64.

backtrace is 
#0  0x00007f7ff700219a in _free_internal () from 
/usr/lib/libgnumalloc.so.1
#1  0x00007f7ff7002b45 in realloc () from /usr/lib/libgnumalloc.so.1
#2  0x00007f7ff6caf2ec in asprintf () from /usr/lib/libc.so.12
#3  0x00007f7ff7806311 in openpam_dynamic () from /usr/lib/libpam.so.3
#4  0x00007f7ff780615b in openpam_load_module () from 
/usr/lib/libpam.so.3
#5  0x00007f7ff7805310 in ?? () from /usr/lib/libpam.so.3
#6  0x00007f7ff7805783 in ?? () from /usr/lib/libpam.so.3
#7  0x00007f7ff7805003 in ?? () from /usr/lib/libpam.so.3
#8  0x00007f7ff7805783 in ?? () from /usr/lib/libpam.so.3
#9  0x00007f7ff78058a7 in openpam_configure () from 
/usr/lib/libpam.so.3
#10 0x00007f7ff7802df6 in pam_start () from /usr/lib/libpam.so.3
#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.

>How-To-Repeat:
        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)

>Fix:



Home | Main Index | Thread Index | Old Index