]> The Tcpdump Group git mirrors - tcpdump/commit
Fix lcpconfopts[] bounds check.
authorGuy Harris <[email protected]>
Fri, 24 Nov 2017 20:22:07 +0000 (12:22 -0800)
committerGuy Harris <[email protected]>
Fri, 24 Nov 2017 20:22:22 +0000 (12:22 -0800)
commitc511f4c3be6273b25b0d1802eee2ede3d69b2398
treea7be816d0fcd7c68947c2f2894b05b22b040a325
parent3ecde94f0cdb6b1814a3a8acd7b1c7bf4705abe5
Fix lcpconfopts[] bounds check.

The subscript is unsigned, so it's guaranteed to be >= 0.  It should
thus be checked against the size of the array, not against some other
print-ppp.c