diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-09 21:48:36 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-02 09:47:07 -0500 |
commit | 7599b39d52b21cd13dcc53e395b459f826fb4728 (patch) | |
tree | 640513697af29776e9050eaecef69d10e5145abd /samples | |
parent | cbc0238c26e7a18eff2892ab9a24fa8eed5dc333 (diff) |
x25: Do not reference freed memory.
commit 96642d42f076101ba98866363d908cab706d156c upstream.
In x25_link_free(), we destroy 'nb' before dereferencing
'nb->dev'. Don't do this, because 'nb' might be freed
by then.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions