]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/video/fbdev/grvga.c
video: fbdev: grvga.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 20 May 2014 21:35:59 +0000 (23:35 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 23 May 2014 10:47:31 +0000 (13:47 +0300)
commitd9a5f87c8fb49010d4fc1e41e263072b7e9916b1
tree2ae228b1cf266c06458bfbd4763bdfd646b823af
parent972754cfaee94d6e25acf94a497bc0a864d91b7e
video: fbdev: grvga.c: Fix for possible null pointer dereference

There is otherwise a risk of a possible null pointer dereference.

Was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/grvga.c