]> git.ipfire.org Git - thirdparty/lldpd.git/commit
fixedpoint: fix buffer overflow in fixed point computations
authorVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 12:43:22 +0000 (13:43 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 18:34:54 +0000 (19:34 +0100)
commita07217394c4aa8f5a0928a1c736ce86cb466c952
tree1f1f007d1414da44c5b50720cea3490f8b091339
parent9997f8e4d905fce7572ec545411abb97e05f1ea4
fixedpoint: fix buffer overflow in fixed point computations

This was detected by address sanitizer. This was harmless as we use
exclusively 5-byte buffers and we know the next byte is always unused
due to alignment.
src/lib/fixedpoint.c