commit | fcac33d0c1138ef22914c3b36518c1df105c9b72 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Jan 18 02:04:12 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Jan 18 06:45:54 2020 +0100 |
tree | 979d79025552e15c2b3847e870402154cbd8b269 | |
parent | d34b1ce5a20ce8f62b234f9696a621aaebe694c1 [diff] |
BUG/MINOR: dns: Make dns_query_id_seed unsigned Left shifting of large signed values and negative values is undefined. In a test script clang's ubsan rightfully complains: > runtime error: left shift of 1934242336581872173 by 13 places cannot be represented in type 'int64_t' (aka 'long') This bug was introduced in the initial version of the DNS resolver in 325137d603aa81bd24cbd8c99d816dd42291daa7. The fix must be backported to HAProxy 1.6+.