Bug#517094: libc6 2.9 segfaults when using nis
Oliver Jeeves a écrit :
> Package: libc6-i686
> Version: 2.9-3
>
> After upgrading libc6, mutt, ssh and iceweasel segfault when trying to
> connect to a host where nis is required to determine the address.
>
> The problem does not occur when the name is replaced by an IP address,
> or a DNS name.
You have to restart NSS services by hand, in your case /etc/init.d/nis
restart. This will be fixed in version 2.9-4.
> Running ssh through valgrind, indicates:
>
> ==8704== Process terminating with default action of signal 11 (SIGSEGV)
> ==8704== Access not within mapped region at address 0x0
> ==8704== at 0x4826728: strlen (mc_replace_strmem.c:242)
> ==8704== by 0x50F7F58: _nss_nis_gethostbyname4_r (in /lib/i686/cmov/libnss_nis-2.9.so)
> ==8704== by 0x4BBAAB2: (within /lib/i686/cmov/libc-2.9.so)
> ==8704== by 0x4BBC846: getaddrinfo (in /lib/i686/cmov/libc-2.9.so)
> ==8704== by 0x11A030: (within /usr/bin/ssh)
> ==8704== by 0x10F1C4: main (in /usr/bin/ssh)
>
> The command:
>
> oliver@batfink:~$ ssh scooby
> Segmentation fault
>
> Running mutt through valgrind indicates:
>
> ==8694== Process terminating with default action of signal 11 (SIGSEGV)
> ==8694== Access not within mapped region at address 0x70C6436C
> ==8694== at 0x4026C30: memcpy (mc_replace_strmem.c:402)
> ==8694== by 0x4BFDFD3: _nss_nis_gethostbyname4_r (in /lib/i686/cmov/libnss_nis-2.9.so)
> ==8694== by 0x4317AB2: (within /lib/i686/cmov/libc-2.9.so)
> ==8694== by 0x4319846: getaddrinfo (in /lib/i686/cmov/libc-2.9.so)
> ==8694== by 0x80D1D8B: (within /usr/bin/mutt)
> ==8694== by 0x80D2698: (within /usr/bin/mutt)
> ==8694== by 0x80DC8B7: (within /usr/bin/mutt)
> ==8694== by 0x80DCC1C: (within /usr/bin/mutt)
> ==8694== by 0x80DD9D0: (within /usr/bin/mutt)
> ==8694== by 0x808D9BC: (within /usr/bin/mutt)
> ==8694== by 0x8082109: (within /usr/bin/mutt)
> ==8694== by 0x4266774: (below main) (in /lib/i686/cmov/libc-2.9.so)
>
> So it appears to be a segfault caused by
> /lib/i686/cmov/libnss_nis-2.9.so in both cases.
>
> Using Debian sid
> Linux batfink 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: