]> The Tcpdump Group git mirrors - tcpdump/commit
Fix off-by-one error in print-rx.c
authorDenis Ovsienko <[email protected]>
Fri, 19 Apr 2013 17:38:11 +0000 (21:38 +0400)
committerGuy Harris <[email protected]>
Mon, 6 May 2013 01:56:09 +0000 (18:56 -0700)
commit16c4dab56da2f30296ea07e71d52eb7fa3920949
treee7659fc302e8646f16018c6adb47758733ba81b6
parent1ea8a8c4a4f1140e775a6dd4384802aac7b6d622
Fix off-by-one error in print-rx.c

Avoid dereferencing rx_cache[RX_CACHE_SIZE], which is one past the last
valid element.

(This fixes SF bug 3599633 / GH bug 287. I could not identify the name
or email address of the original contributor. -- Denis)
print-rx.c