mirror of https://github.com/sipwise/dhtest.git
We are copying an IPv4 address which is 32-bit, while a MAC address is 6 byte long. Use the proper size in memcpy to avoid an buffer overflow and an out of bounds variable read. Change-Id: Iebcee588a5d5a37af6a7ad5caa27edd85804bfc9 Warned-by: gccmr10.1.1
parent
a137c6a853
commit
f09fbc237e
Loading…
Reference in new issue