diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-08 11:17:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-23 07:37:53 -0800 |
commit | d619798aab2394997e0a4b9d2cb362306f221c97 (patch) | |
tree | f5c654d2c52574b56625f0c23848faff9911e717 /lib | |
parent | 51d3a347944f76bc2f304e0622d61b9b39fec585 (diff) |
netfilter: xtables: compat out of scope fix
commit 14c7dbe043d01a83a30633ab6b109ba2ac61d9f7 upstream.
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>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions