diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-08-06 23:51:45 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-08-06 23:51:45 +0000 |
commit | 3c1bc8f25186e21bc7e431c1c416a46f06493ace (patch) | |
tree | b1758cee940873958b029ac3b850dbd31b7eea23 /epan/dissectors/packet-gsm_bssmap_le.c | |
parent | 4acb7899172a0bd3319677629ecc7954bafc6809 (diff) |
Fix some individual cases of 'if (unsigned) < 0'
svn path=/trunk/; revision=29320
Diffstat (limited to 'epan/dissectors/packet-gsm_bssmap_le.c')
-rw-r--r-- | epan/dissectors/packet-gsm_bssmap_le.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_bssmap_le.c b/epan/dissectors/packet-gsm_bssmap_le.c index 49c04581d7..ee0ab37d73 100644 --- a/epan/dissectors/packet-gsm_bssmap_le.c +++ b/epan/dissectors/packet-gsm_bssmap_le.c @@ -948,7 +948,7 @@ dissect_bssmap_le(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (str == NULL) return; - if ((len - offset) <= 0) return; + if (offset >= len) return; /* * decode elements |