[PATCH 07/15] drm: Check user mode against overflows

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The internal mode representation drm_display_mode uses signed data types. When converting the user mode to internal representation, check that the unsigned values don't overflow the signed datatypes. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 33 +++

[PATCH 07/15] drm: Check user mode against overflows

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä The internal mode representation drm_display_mode uses signed data types. When converting the user mode to internal representation, check that the unsigned values don't overflow the signed datatypes. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c | 33 +++