diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-10-05 21:39:10 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-10-09 04:35:28 +0000 |
commit | c6a0e2a7916a689dfb642b004d07f6fc76fd04f3 (patch) | |
tree | 1949f7d52d722a82b045f14dfc0c5c1f8dd22736 /debian/libwireshark0.symbols | |
parent | 1df866d99e99346bf61d0f7c49600000048fa393 (diff) |
packet.c: fix a control flow issue reported by Coverity (CID 1418671)
Let's perform the check before potentially breaking the loop.
While we are at it, let's update the test to remove the last layer so as to
match the one used to add it.
Change-Id: I5807219de75c4e2c23b9435d6271ad60aec45783
Reviewed-on: https://code.wireshark.org/review/23844
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'debian/libwireshark0.symbols')
0 files changed, 0 insertions, 0 deletions