diff options
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index 86fff4faeb..cfaecc7fcc 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -1201,7 +1201,7 @@ dissect_certreq_v2(tvbuff_t *tvb, int offset, int length, proto_tree *tree, length -= 1; /* this is a list of 20 byte SHA-1 hashes */ - while (length) { + while (length > 0) { proto_tree_add_item(tree, hf_ike_v2_certificate_authority, tvb, offset, 20, FALSE); length-=20; } |