linux/drivers/video/omap2/omapfb
Tushar Behera c415187b68 OMAPFB: Fix possible null pointer dereferencing
Commit 952cbaaa9b (OMAPFB: Change
dssdev->manager references) added checks for OMAPFB_WAITFORVSYNC ioctl
to verify that the display, output and overlay manager exist. However,
the code erroneously uses && for each part, which means that
OMAPFB_WAITFORVSYNC may crash the kernel if no display, output or
manager is associated with the framebuffer.

This patch fixes the issue by using ||.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-11-19 10:41:50 +02:00
..
Kconfig staging: add omapdrm DRM/KMS driver for TI OMAP platforms 2011-11-26 17:43:30 -08:00
Makefile
omapfb-ioctl.c OMAPFB: Fix possible null pointer dereferencing 2012-11-19 10:41:50 +02:00
omapfb-main.c fbdev updates for 3.7 2012-10-12 10:21:02 +09:00
omapfb-sysfs.c OMAPDSS: APPLY: rewrite overlay enable/disable 2011-12-02 08:54:44 +02:00
omapfb.h OMAPFB: remove manager->device references 2012-09-26 14:58:32 +03:00