aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ixveriwave.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2017-05-06 19:34:24 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2017-05-07 18:18:26 +0000
commitd0e317d69e07412a330d1d67038ac4194caf55eb (patch)
tree164d87a1c8b8a4ab4bf66503d60e670ff3d6608c /epan/dissectors/packet-ixveriwave.c
parent8657646e0b2ee68de0defa1f9d9fd7ed23ba126f (diff)
gif: refactor the detection of a gif file
Generally, we should not throw an exception before we know that this is our file/packet. Use tvb_strneql() to get the version string. This function does not throw an exception if there are fewer bytes left than we requested. (I know that we check for reported len < 20. However, for captured length > 6 and reported length < 20, the current code does not work.) Change-Id: I5214c5c9dc9da616a94ae96269ec1c9e6f412e8e Reviewed-on: https://code.wireshark.org/review/21544 Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-ixveriwave.c')
0 files changed, 0 insertions, 0 deletions