]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/netfilter/nf_nat_snmp_basic.c
netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
[linux-2.6-omap-h63xx.git] / net / ipv4 / netfilter / nf_nat_snmp_basic.c
index 7750c97fde7bb6bdc6ae05061b2528d3d3e31310..ffeaffc3fffe6c31c78e858b9a1fa61fe71ba03e 100644 (file)
@@ -439,8 +439,8 @@ static unsigned char asn1_oid_decode(struct asn1_ctx *ctx,
                                     unsigned int *len)
 {
        unsigned long subid;
-       unsigned int  size;
        unsigned long *optr;
+       size_t size;
 
        size = eoc - ctx->pointer + 1;