Commit e8daf27c authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Pablo Neira Ayuso

netfilter: nf_ct_h323: Out Of Bound Read in Netfilter Conntrack

Add missing counter decrement to prevent out of bounds memory read.
Signed-off-by: default avatarEric Sesterhenn <eric.sesterhenn@x41-dsec.de>
Acked-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent ce49480d
......@@ -877,6 +877,7 @@ int DecodeQ931(unsigned char *buf, size_t sz, Q931 *q931)
if (sz < 1)
break;
len = *p++;
sz--;
if (sz < len)
break;
p += len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment