]> err.no Git - linux-2.6/commit
[NETFILTER]: SNMP NAT: fix memleak in snmp_object_decode
authorChris Wright <chrisw@sous-sol.org>
Tue, 23 May 2006 22:08:13 +0000 (15:08 -0700)
committerDavid S. Miller <davem@sunset.sfo1.dsl.speakeasy.net>
Tue, 23 May 2006 22:15:13 +0000 (15:15 -0700)
commit4a063739138e2c4e933188d641f1593e01ce8285
tree73b7a622babb84307abdd3e08fd57e59bf50a0b8
parent4d942d8b39bf7d43ce93d85964aeb63aeace0593
[NETFILTER]: SNMP NAT: fix memleak in snmp_object_decode

If kmalloc fails, error path leaks data allocated from asn1_oid_decode().

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_nat_snmp_basic.c