From: Alexey Dobriyan Date: Mon, 8 Feb 2010 14:44:07 +0000 (+0100) Subject: netfilter: xtables: compat out of scope fix X-Git-Tag: v2.6.35-rc1~473^2~168^2~69^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab1531a07ad7c5be4ebe715a3d08742f0c638e3;p=pandora-kernel.git netfilter: xtables: compat out of scope fix As per C99 6.2.4(2) when temporary table data goes out of scope, the behaviour is undefined: if (compat) { struct foo tmp; ... private = &tmp; } [dereference private] Signed-off-by: Alexey Dobriyan Cc: stable@kernel.org Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed