This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nss_dns: Validate RDATA length against packet length [BZ #19830]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 27 Apr 2016 15:26:55 +0200
- Subject: Re: [PATCH] nss_dns: Validate RDATA length against packet length [BZ #19830]
- Authentication-results: sourceware.org; auth=none
- References: <56F58A1A dot 1090603 at redhat dot com>
On 03/25/2016 07:57 PM, Florian Weimer wrote:
2016-03-25 Florian Weimer<fweimer@redhat.com>
[BZ #19830]
* resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
(gaih_getanswer_slice): Likewise.
* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
Also check for availability of RR metadata.
I have pushed this.
Thanks,
Florian