diff options
author | KUROSAWA Takahiro <takahiro.kurosawa@gmail.com> | 2022-07-05 03:56:29 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-07-05 03:56:29 +0000 |
commit | d80d73493767111b7569e831a93061014c682274 (patch) | |
tree | 01907d3dae6443147ab65f5131f8de2e7447641a /lib/libusb | |
parent | ec32fc2af52530e49d8a522ae29bf20b2e57603b (diff) | |
download | src-main.tar.gz src-main.zip |
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