]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit0ed8e048c9e11e69ec951f94066105e80cdc59fd
treeaaebd53676e1629c57cbbb90f24d1a4d6ad598d6
parent8fd9808aec0198b25ff9f8bb19508d9492f86920
[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