commit | ba21611c9c0031ca8388cae5e43b38c29c8b595d | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Fri Jan 11 14:27:10 2008 +0100 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Jan 11 11:47:42 2008 -0800 |
tree | c2062639f66ea8aebd1b874f291cfdcc6aee7e27 | |
parent | b506d1b6c49a5884ff67a29bc99a1912ee20acee [diff] |
ps3fb: prevent use after free of fb_info 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>