]> 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)
committerDenis Ovsienko <[email protected]>
Fri, 19 Apr 2013 17:40:52 +0000 (21:40 +0400)
commit916cd7e5eb8571014987833d956ae53068a27041
tree6c8e145411e985c496ed6135193b50f305c39071
parente2c6675ddbd38496833aac2d0870233d8e6be972
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