diff options
author | Volker Lendecke <vl@samba.org> | 2022-01-20 12:23:43 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-01-20 18:01:41 +0000 |
commit | f60780c8b633ece61c952122aee4f313edb26010 (patch) | |
tree | 28596cea3cc1f87df23c8a3cb0689503aab20047 /bootstrap | |
parent | d1891a0c4f6f639f60d2063ca4c54d3b283e3636 (diff) | |
download | samba-f60780c8b633ece61c952122aee4f313edb26010.tar.gz |
libcli/dns: Fix TCP fallback
A customer has come across a DNS server that really just cuts a SRV
reply if it's too long. This makes the packet invalid according to
ndr_pull and according to wireshark. DNS_FLAG_TRUNCATION is however
set. As this seems to be legal according to the DNS RFCs, we need to
hand-parse the first two uint16's and look whether DNS_FLAG_TRUNCATION
is set.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 20 18:01:41 UTC 2022 on sn-devel-184
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions