]> The Tcpdump Group git mirrors - libpcap/commit
airpcap: fix an snprintf() call.
authorGuy Harris <[email protected]>
Wed, 17 Jun 2020 11:24:36 +0000 (04:24 -0700)
committerGuy Harris <[email protected]>
Wed, 17 Jun 2020 11:24:36 +0000 (04:24 -0700)
commit39c7f8dd3acf3deb721ebf212c89738942eb8da2
tree8d75e9a2c4941f7619be1a2dc22444963bb43211
parent8bb244d4defada04ac7472c7222ee032849e1826
airpcap: fix an snprintf() call.

The argument to the format should be airpcap_errbuf, which is where the
call to AirpcapGetDeviceList() put the raw error string.

Found by cppcheck as run by fxlb.
pcap-airpcap.c