]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] nv_i2c oops fix
authorAntonino A. Daplas <adaplas@gmail.com>
Wed, 14 Sep 2005 21:19:15 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 14 Sep 2005 21:34:17 +0000 (14:34 -0700)
commit85a9cd0201ef2dce4f91347c3b7a8d97d7982fec
treeaaebd53676e1629c57cbbb90f24d1a4d6ad598d6
parentbe84519996d5e33dcf9a3554b86d4baaad08f805
[PATCH] nv_i2c oops fix

The call to fb_firmware_edid may return NULL but this is not checked before
trying to memcpy using this pointer.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/nvidia/nv_i2c.c