[Bug 658907] [NEW] crash in getlogin()
Launchpad Bug Tracker
658907 at bugs.launchpad.net
Tue Oct 12 19:47:26 BST 2010
You have been subscribed to a public bug by Anders Kaseorg (anders-kaseorg):
In maverick with libc6 2.12.1-0ubuntu6, the cvs postinst can sometimes
trigger the following crash inside getlogin():
Program received signal SIGSEGV, Segmentation fault.
#0 0x00321755 in internal_getpwuid_r (uid=<value optimized out>,
result=<value optimized out>, ent=0xbfffb65c,
buffer=0xbfffef60 "festival", buflen=8192, errnop=0xb7fe6688)
at nss_compat/compat-pwd.c:946
#1 0x00321b63 in _nss_compat_getpwuid_r (uid=4294967295, pwd=0xbffff384,
buffer=0xbfffef60 "festival", buflen=8192, errnop=0xb7fe6688)
at nss_compat/compat-pwd.c:1112
#2 0x0023b41d in __getpwuid_r (uid=4294967295, resbuf=0xbffff384,
buffer=0xbfffef60 "festival", buflen=8192, result=0xbffff3ac)
at ../nss/getXXbyYY_r.c:253
#3 0x0025d1fc in __getlogin_r_loginuid (name=0x2fed40 "", namesize=33)
at ../sysdeps/unix/sysv/linux/getlogin_r.c:63
#4 0x0025cefd in getlogin () at ../sysdeps/unix/sysv/linux/getlogin.c:35
This bug was introduced by glibc-2.12~113 (so it is a regression from 2.11.x and earlier):
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c8727fa6e5073d28ed6d0eb40a006ac2c1b9f9f3
It was fixed in the first three commits after glibc-2.12.1:
http://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.12/master
specifically
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5305f9b09df3450b69d45bcf84d45afa6d9fd577
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d48b760747e6e6eac5d294667a2aac94f55b7649
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d8d583fc44fbdc7014ae1f684589afd8214e73be
** Affects: eglibc (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch patch-accepted-upstream regression-release
--
crash in getlogin()
https://bugs.launchpad.net/bugs/658907
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list