]> git.ipfire.org Git - thirdparty/bind9.git/commit
Simplify hash computation to prevent pointer being classed as tainted.
authorMark Andrews <marka@isc.org>
Mon, 17 Feb 2020 22:40:21 +0000 (09:40 +1100)
committerMark Andrews <marka@isc.org>
Thu, 27 Feb 2020 19:41:36 +0000 (19:41 +0000)
commit8c983a7ebd562f9e45a2b8ca623167b179bfd98f
tree89fd3177945f44ac691beabc69f0c33b01f3e187
parentebfb0f7392f5526523e7cc654e5a70432ec1b317
Simplify hash computation to prevent pointer being classed as tainted.

mem.c:add_trace_entry() -> isc_hash_function() -> isc_siphash24()

129        for (; in != end; in += 8) {

6. byte_swapping: Performing a byte swapping operation on
in implies that it came from an external source, and is
therefore tainted.

130                uint64_t m = U8TO64_LE(in);
lib/isc/mem.c