aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_bssmap_le.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-06 23:51:45 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-06 23:51:45 +0000
commit4ec31fe7d8cb331d652bd2c6713b2806a5fc6f7d (patch)
treeb1758cee940873958b029ac3b850dbd31b7eea23 /epan/dissectors/packet-gsm_bssmap_le.c
parentd860c86eca5febe13bf11da87c7359c373b9a7cd (diff)
Fix some individual cases of 'if (unsigned) < 0'
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29320 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_bssmap_le.c')
-rw-r--r--epan/dissectors/packet-gsm_bssmap_le.c2
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