https://github.com/torvalds/linux
Revision 517ff43146b17a0d067125f098f675d1e0ac2d82 authored by Daniel Drake on 24 November 2010, 16:00:49 UTC, committed by John W. Linville on 29 November 2010, 19:41:27 UTC
"priv" is stored at the end of the wiphy structure, which is freed
during the call to lbs_cfg_free(). It must not be touched afterwards.

Remove the unnecessary NULL assignment causing this memory corruption.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent e476a5a
History
Tip revision: 517ff43146b17a0d067125f098f675d1e0ac2d82 authored by Daniel Drake on 24 November 2010, 16:00:49 UTC
libertas: fix memory corruption in lbs_remove_card()
Tip revision: 517ff43
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.5 KB
MAINTAINERS -rw-r--r-- 178.2 KB
Makefile -rw-r--r-- 51.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top