]> The Tcpdump Group git mirrors - libpcap/commit
Squelch a Clang static analyzer complaint, and fix a real-but-unlikely issue.
authorGuy Harris <[email protected]>
Mon, 10 Aug 2015 03:11:05 +0000 (20:11 -0700)
committerGuy Harris <[email protected]>
Mon, 10 Aug 2015 03:11:05 +0000 (20:11 -0700)
commit518850cd8e49cebb4809818a7343e08ae7309d71
tree86d7e209330e23f01f18cb4eb61f0d21e6ddabe7
parentb0f028907bac3a1b4cbabd0faade2a72e0753ee8
Squelch a Clang static analyzer complaint, and fix a real-but-unlikely issue.

Avoid a not-a-real-problem warning from the Clang static analyzer.

Fix an real-but-unlikely (requires a file with a huge number of IDBs)
issue that I *thought* was the source of the static analyzer's complaint
but that, in fact, it apparently hadn't noticed, namely the possibility
of a multiplication overflowing.

Fix a typo while we're at it.
sf-pcap-ng.c