[PATCH] nss_dns: Skip over non-PTR records in the netent code [BZ #19868]

Florian Weimer fweimer@redhat.com
Fri Mar 25 19:03:00 GMT 2016


The DNS packet parser was broken and got de-synchronized by CNAME or
RRSIG records.  CNAME records are the larger problem because they come
before the PTR records we are interested in.

Curiously, this meant that the RDATA length check was not actually
missing (it was implied by the loop condition).

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nss_dns-Skip-over-non-PTR-records-in-the-netent-code.patch
Type: text/x-patch
Size: 1465 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160325/e7824a2c/attachment.bin>


More information about the Libc-alpha mailing list