diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2012-03-13 12:35:44 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-15 09:50:39 +0000 |
commit | 90367bf6e98352520d15634ac4e79f0d4598cff1 (patch) | |
tree | 3a7024ae8e30e2186ca71893243fd6b4c0576f13 /include/drm | |
parent | drm: Fix memory leak in drm_mode_setcrtc() (diff) | |
download | linux-dev-90367bf6e98352520d15634ac4e79f0d4598cff1.tar.xz linux-dev-90367bf6e98352520d15634ac4e79f0d4598cff1.zip |
drm: Check user mode against overflows
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ä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions