netfilter: nf_conntrack_h323: fix off-by-one in DecodeQ931
authorToby DiPasquale <toby@cbcg.net>
Mon, 11 Jul 2016 10:32:45 +0000 (11:32 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Jul 2016 10:32:45 +0000 (12:32 +0200)
commitc2b9b4fee8ab86f2bb657e5ac48d803879e92765
treeeab004aea8fd32b8b3f75a51bada4696f5385047
parentc080b460df960f1dc3b35d009392458b2861e801
netfilter: nf_conntrack_h323: fix off-by-one in DecodeQ931

This patch corrects an off-by-one error in the DecodeQ931 function in
the nf_conntrack_h323 module. This error could result in reading off
the end of a Q.931 frame.

Signed-off-by: Toby DiPasquale <toby@cbcg.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_h323_asn1.c