[SRU] crash in getlogin()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Maverick |
Fix Released
|
Medium
|
Kees Cook | ||
Natty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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=
at nss_compat/
#1 0x00321b63 in _nss_compat_
buffer=
at nss_compat/
#2 0x0023b41d in __getpwuid_r (uid=4294967295, resbuf=0xbffff384,
buffer=
at ../nss/
#3 0x0025d1fc in __getlogin_
at ../sysdeps/
#4 0x0025cefd in getlogin () at ../sysdeps/
This bug was introduced by glibc-2.12~113 (so it is a regression from 2.11.x and earlier):
http://
It was fixed in the first three commits after glibc-2.12.1:
http://
specifically
http://
http://
http://
Related branches
summary: |
- crash in getlogin() + [SRU] crash in getlogin() |
Changed in eglibc (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in eglibc (Ubuntu Maverick): | |
status: | In Progress → Fix Committed |
assignee: | nobody → Kees Cook (kees) |
tags: |
added: verification-done removed: verification-needed |
Here’s a debdiff with the upstream commits. I built it in my PPA <https:/ /launchpad. net/~anders- kaseorg/ +archive/ ppa> and tested that it fixes the crash.