From ee469dc8eaa947d6ce0a8e1340b38b7cb903c785 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 24 Jun 2006 05:45:06 +0000 Subject: coverity 149 dead code svn path=/trunk/; revision=18571 --- epan/dissectors/packet-fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-fc.c') diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index daab288379..2fdf492596 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -968,7 +968,7 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean * these frames. */ if ((pinfo->ethertype == ETHERTYPE_UNK) || (pinfo->ethertype == ETHERTYPE_FCFT)) { - if ((frag_size <= MDSHDR_TRAILER_SIZE) || + if ((frag_size < MDSHDR_TRAILER_SIZE) || ((frag_size == MDSHDR_TRAILER_SIZE) && (ftype != FC_FTYPE_LINKCTL) && (ftype != FC_FTYPE_BLS) && (ftype != FC_FTYPE_OHMS))) THROW(ReportedBoundsError); -- cgit v1.2.3