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:
b506d1b
)
ps3fb: prevent use after free of fb_info
author
Jeremy Kerr
<jk@ozlabs.org>
Fri, 11 Jan 2008 13:27:10 +0000
(14:27 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 11 Jan 2008 19:47:42 +0000
(11:47 -0800)
In ps3fb_shutdown, freeing the framebuffer will cause fb_info (in
dev->core.driver_data) to be free()ed, which we potentially access
from the ps3fbd kthread.
This change frees the framebuffer after stopping the ps3fbd kthread.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ps3fb.c
patch
|
blob
|
history
diff --cc
drivers/video/ps3fb.c
Simple merge