git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ccdfc
)
netfilter: xtables: compat out of scope fix
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 8 Feb 2010 19:17:43 +0000
(11:17 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Feb 2010 19:17:43 +0000
(11:17 -0800)
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>
No differences found