summaryrefslogtreecommitdiff
path: root/wsutil
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-08-26 08:53:33 +0200
committerMichael Mann <mmann78@netscape.net>2016-08-26 16:49:57 +0000
commitd0565ad22b14eae64776fb7cf04377e902380ef9 (patch)
tree36efcbe3cf6e47c9efaee0d578fb3cdb49d2291a /wsutil
parent18e1ee7160ff4c77b1cb4dfea2c58890807cb715 (diff)
downloadwireshark-d0565ad22b14eae64776fb7cf04377e902380ef9.tar.gz
Properly end address type search by name (CID-1362742)
Search address type by name iterates over an array, but fails to find its end. Therefore it may dereference invalid pointers, or NULL. Add the proper check in the for loop and make sure an end condition is always there in the array searched. Change-Id: I60ade9d438dc394340b6483b4fcb23e5ce432000 Reviewed-on: https://code.wireshark.org/review/17337 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil')
0 files changed, 0 insertions, 0 deletions