]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: s3fb.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 20 May 2014 21:37:32 +0000 (23:37 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 23 May 2014 10:47:31 +0000 (13:47 +0300)
commit94085ee2c7008b6a828b18edefad8bd6ae1a2398
tree4e62855538bea5115c07fcad71b08d762d43835d
parent2ee47c4035ad1600462d115f97f46ce987d1cd58
video: fbdev: s3fb.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/s3fb.c