Segfault in __libc_res_nquerydomain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Ubuntu 12.04 contains a bug in the eglibc (libc6) package.
It was introduced here:
http://
glibc commit 28b59fca7ae3cfc
And fixed here:
http://
glibc commit 8fdceb2efda8cf7
Reproduce:
#include <netdb.h>
int main(void)
{
gethostbyna
}
I believe that the patch is correct.
Can you please apply it to 12.04?
$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
$ apt-cache policy libc6
libc6:
Installed: 2.15-0ubuntu10.2
Candidate: 2.15-0ubuntu10.2
Version table:
*** 2.15-0ubuntu10.2 0
500 http://
500 http://
100 /var/lib/
2.15-0ubuntu10 0
500 http://
> What you expected to happen
Not a segfault but maybe an error code.
> What happened instead
Segfault.
Triaged: Trivial test case and pointer to fix
Medium: Reasonable starter; if you can point to it being triggerable in some apps then it might be higher
This triggers in Quantal libc6 2.15-0ubuntu20 , and as I understand it, it needs to get fixed in the dev version before being SRUd
to 12.04.