This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
After last memory handling fix in libc/sysdeps/unix/sysv/linux/ifreq.c, __ifreq() doesn't return proper data in buffer - because after realloc __ioctl is called on old buffer (NULL in most cases). Userland testcase can be e.g. "hostname -d" with "reorder on" in host.conf - __ifreq bug triggers assert in res_hconf.c:589, when realloc() returns NULL because 0 usable interfaces were found. One of possible ways to fix is attached. -- Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
Attachment:
glibc-ifreq.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |