summaryrefslogtreecommitdiff
path: root/ui/recent.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-04-09 02:05:39 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-04-09 02:05:39 +0000
commitcfd03173b443f9c8644aa7196105f7eb166926a7 (patch)
tree9d4b9e207096ec70f508b61b7370abe7ce38d8c1 /ui/recent.c
parent435fe919d8f84e12ea7ff4a42e4af410592ee689 (diff)
downloadwireshark-cfd03173b443f9c8644aa7196105f7eb166926a7.tar.gz
Fix the fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8539 :
Bail out of the item length we get (which we use to increment the offset) is 0. Otherwise the offset does not advance and we loop forever. While we're in there: get the item length just once (there's no need to call tvb_get_guint8() a half dozen times when one will do). svn path=/trunk/; revision=48796
Diffstat (limited to 'ui/recent.c')
0 files changed, 0 insertions, 0 deletions