diff options
author | Ville Syrjälä <[email protected]> | 2012-03-13 12:35:44 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-03-15 09:50:39 +0000 |
commit | 90367bf6e98352520d15634ac4e79f0d4598cff1 (patch) | |
tree | 3a7024ae8e30e2186ca71893243fd6b4c0576f13 /lib/memory-notifier-error-inject.c | |
parent | ee34ab5b01e6e7cbd9438aeb6ccbd08d3727988e (diff) |
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ä <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions