]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: fix possible null dereference
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 12 Feb 2015 15:47:36 +0000 (21:17 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 08:23:15 +0000 (10:23 +0200)
commit6cb5870637f265e18c3d34202ab3f586228993cf
treed5365d93c9d59752dcdf92807220034c0f9e0e37
parent5d1f92da1fe70bf60884aab46ae8a30897a6ffc7
video: fbdev: fix possible null dereference

we were dereferencing edid first and the NULL check was after
accessing that. now we are using edid only if we know that
it is not NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/core/fbmon.c