diff options
author | Gabriel Ganne <gabriel.ganne@enea.com> | 2017-10-24 10:24:57 +0200 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-11-03 14:12:40 +0000 |
commit | a30d903956d387b9c5e97f4b50d1166361fb33da (patch) | |
tree | 6aa59b2a8778074d298fc2a07c2a3fbc9dabb72e /src/vnet/dns/dns_packet.h | |
parent | ef5d5aa2f168d7964076bcf74b0da249b3e0cd23 (diff) |
silence l2fib_init() invalid read of size 2 found by address-sanitizer
l2fib_make_key() casts and reads the input 6-Bytes mac_address as u64,
therefore if the mac_address is declared with 6 Bytes only, address-sanitizer
rightly triggers an invalid read on the last two Bytes.
However, l2fib_make_key() does a 16 bits shift to discard those 2 values,
therefore, this invalid read is of no consequence (and so can be silenced safely).
Change-Id: I38646fe60073093d25cdf135185d4c96136d55d0
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet/dns/dns_packet.h')
0 files changed, 0 insertions, 0 deletions