https://github.com/torvalds/linux
Revision f294526279cda8934b0313ebd02184a16ba888c9 authored by Dan Carpenter on 19 July 2009, 11:46:09 UTC, committed by Rusty Russell on 30 July 2009, 06:33:43 UTC
"new" was freed and then dereferenced.  Also the return value wasn't being
used so I modified the caller as well.

Compile tested only.  Found by smatch (http://repo.or.cz/w/smatch.git).

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 658874f
History
Tip revision: f294526279cda8934b0313ebd02184a16ba888c9 authored by Dan Carpenter on 19 July 2009, 11:46:09 UTC
lguest: dereferencing freed mem in add_eventfd()
Tip revision: f294526
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-- 952 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.4 KB
MAINTAINERS -rw-r--r-- 148.3 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top