| commit | 14c7dbe043d01a83a30633ab6b109ba2ac61d9f7 | [log] [tgz] |
|---|---|---|
| author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Feb 08 11:17:43 2010 -0800 |
| committer | David S. Miller <davem@davemloft.net> | Mon Feb 08 11:17:43 2010 -0800 |
| tree | 0358b6f285036f64c5f5cd6aac4bd2b0768fee8e | |
| parent | 13ccdfc2af03e09e60791f7d4bc4ccf53398af7c [diff] |
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 <adobriyan@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Patrick McHardy <kaber@trash.net>