[PATCH 04/15] drm: Check crtc x and y coordinates

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The crtc x/y panning coordinates are stored as signed integers internally. The user provides them as unsigned, so we should check that the user provided values actually fit in the internal datatypes. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |4 1

[PATCH 04/15] drm: Check crtc x and y coordinates

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä The crtc x/y panning coordinates are stored as signed integers internally. The user provides them as unsigned, so we should check that the user provided values actually fit in the internal datatypes. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c |4 1