summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-11-03 10:30:45 +0100
committerJohn Lo <loj@cisco.com>2017-11-03 14:16:15 +0000
commitc5c2bb3f042fe11184faa731b6209444e2c05231 (patch)
treed4ac9a475233a6a0e80defe5212ec0deae5b0601 /src/vnet
parenta30d903956d387b9c5e97f4b50d1166361fb33da (diff)
silence clib_mem_unaligned() invalid read found by address-sanitizer
clib_mem_unaligned + zap64 casts its input as u64, computes a mask according to the input length, and returns the casted maked value. Therefore all the 8 Bytes of the u64 are systematically read, and the invalid ones are discarded. Since they are discarded correctly, this invalid read can safely be ignored. Revert "fix clib_mem_unaligned() invalid read" This reverts commit 0ed3d81a5fa274283ae69b69a405c385189897d3. Change-Id: I5cc33ad36063c414085636debe93707d9a75157a Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions