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_a_rp.c | |
parent | 4acb7899172a0bd3319677629ecc7954bafc6809 (diff) | |
download | wireshark-3c1bc8f25186e21bc7e431c1c416a46f06493ace.tar.gz |
Fix some individual cases of 'if (unsigned) < 0'
svn path=/trunk/; revision=29320
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rp.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_rp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rp.c b/epan/dissectors/packet-gsm_a_rp.c index 9432f486a4..208a2beba0 100644 --- a/epan/dissectors/packet-gsm_a_rp.c +++ b/epan/dissectors/packet-gsm_a_rp.c @@ -515,7 +515,7 @@ dissect_rp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (str == NULL) return; - if ((len - offset) <= 0) return; + if (offset >=len) return; /* * decode elements |