]> The Tcpdump Group git mirrors - libpcap/commitdiff
PacketOpenAdapter() uses the same heuristic.
authorGuy Harris <[email protected]>
Sun, 28 Apr 2019 06:33:46 +0000 (23:33 -0700)
committerGuy Harris <[email protected]>
Sun, 28 Apr 2019 06:33:46 +0000 (23:33 -0700)
[skip ci]

pcap.c

diff --git a/pcap.c b/pcap.c
index 4ea37230ee10bdd02d4e5d56a836e7ccddf134ed..a9ca2aaf6f0d2a251d337f2bb118bcc834aa44e8 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -2123,8 +2123,8 @@ pcap_create(const char *device, char *errbuf)
                 * be a one-character ASCII string or the first
                 * character of a UTF-16LE string.  This particular
                 * version of this heuristic dates back to WinPcap
-                * 4.1.1; prior to that, PacketOpenAdapter() did
-                * its own heuristic, with the exact same vulnerability.
+                * 4.1.1; PacketOpenAdapter() does uses the same
+                * heuristic, with the exact same vulnerability.
                 */
                if (device[0] != '\0' && device[1] == '\0') {
                        size_t length;