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: gcc
(cherry picked from commit f09fbc237e
)
mr8.5.7
parent
09f0e80937
commit
75b4c0d7f2
Loading…
Reference in new issue