]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: dns: Don't prevent reading the last byte of the payload in dns_validate_r...
authorJérôme Magnin <jmagnin@haproxy.com>
Thu, 20 Dec 2018 15:47:31 +0000 (16:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2018 16:13:02 +0000 (17:13 +0100)
commit8d4e7dc880d2094658fead50dedd9c22c95c556a
treeb358a3aed4f8d827777f511e7406269c9508804d
parent645b33d2332d263d00ecf2077c74c988655af0e2
BUG/MEDIUM: dns: Don't prevent reading the last byte of the payload in dns_validate_response()

A regression was introduced with efbbdf72 BUG: dns: Prevent out-of-bounds
read in dns_validate_dns_response() as it prevented from taking into account
the last byte of the payload.  this patch aims at fixing it.

this must be backported in 1.8.
src/dns.c