aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb
diff options
context:
space:
mode:
authorKUROSAWA Takahiro <takahiro.kurosawa@gmail.com>2022-07-05 03:56:29 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-07-05 03:56:29 +0000
commitd80d73493767111b7569e831a93061014c682274 (patch)
tree01907d3dae6443147ab65f5131f8de2e7447641a /lib/libusb
parentec32fc2af52530e49d8a522ae29bf20b2e57603b (diff)
downloadsrc-main.tar.gz
src-main.zip
arp(8): use getifaddrs(3) instead of ioctl(SIOCGIFCONF)HEADmain
The original code had used a fixed-size buffer for ioctl(SIOCGIFCONF), that might cause the target ifreq spilled from the buffer. Use the handy getifaddrs(3) to fix the problem. Reviewed by: glebius Differential revision: https://reviews.freebsd.org/D35536
Diffstat (limited to 'lib/libusb')
0 files changed, 0 insertions, 0 deletions