path: root/text2pcap.c
diff options
authorGuy Harris <guy@alum.mit.edu>2017-03-28 11:56:53 -0700
committerGuy Harris <guy@alum.mit.edu>2017-03-28 23:14:20 +0000
commit1bea950b7a7934fe7bed7719a0ed99321785f7d6 (patch)
treee6ee4de34134f155df39c75a45d55cb5b51d3f2a /text2pcap.c
parent616bbce78e0bc7986d51f4297f04f31b9ed75616 (diff)
Add bounds checks for references to outhdr_values.
Don't run past the end of the outhdr_values array. While we're at it, don't make it a global array - it doesn't need to be global, as its values don't persist from invocation to invocation, and this would allow use of this routine in multiple threads in parallel. (Yes, we have other global variables that don't maintain state, but we should get rid of that, too.) Change-Id: I7ceed3c9ba6356eddb7d52472e9d53dd08f90029 Reviewed-on: https://code.wireshark.org/review/20770 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'text2pcap.c')
0 files changed, 0 insertions, 0 deletions