diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-11 11:55:49 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-11 11:55:49 +0000 |
commit | a3d7803242880fbf87ccf61955972c1d51014cc4 (patch) | |
tree | 70ca699a927a673c481b696eceda9ff8bddd228f /epan/dissectors/packet-alcap.c | |
parent | 11fd64948a92429d5a700978f1187aced325cee1 (diff) |
Mark coverity's CID 105 as a false positive.
(The macro GET_MSG_TYPE does propper bounds checking but coverity doesn't consider it (may not be able to resolve the ?: operator) )
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17581 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r-- | epan/dissectors/packet-alcap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c index b8ccb7900c..3c0fda91a5 100644 --- a/epan/dissectors/packet-alcap.c +++ b/epan/dissectors/packet-alcap.c @@ -1385,6 +1385,8 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { msg_info->dsaid = tvb_get_ntohl(tvb, 0); msg_info->msg_type = tvb_get_guint8(tvb, 4); + + /* coverity[overrun-local] */ msg_type = GET_MSG_TYPE(msg_info->msg_type); expert_add_info_format(pinfo, pi, PI_RESPONSE_CODE, msg_type->severity, " "); |