commit | 37950c8d271ea7191f958299f79e4306f6db8506 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Wed Feb 19 01:08:51 2020 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Mar 26 12:43:36 2020 +0100 |
tree | c0e768f389537bfa1f494401b883843277f97471 | |
parent | 17ab79f07db305c5f086f4e8fab1e3a6d38bb620 [diff] |
BUG/MEDIUM: dns: improper parsing of aditional records 13a9232ebc63fdf357ffcf4fa7a1a5e77a1eac2b introduced parsing of Additionnal DNS response section to pick up IP address when available. That said, this introduced a side effect for other query types (A and AAAA) leading to consider those responses invalid when parsing the Additional section. This patch avoids this situation by ensuring the Additional section is parsed only for SRV queries.