diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-09-12 01:44:37 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 20:45:58 +0400 |
commit | a09f347c6cc0b2821557d1346c4733cc78a79ffa (patch) | |
tree | 3d5e09a361d5e3c4f00cee44b0a887f9dbd87821 /drivers/connector/Kconfig | |
parent | f325129ae9006298cfbeffb669b30f57ba0cc3c4 (diff) | |
download | linux-a09f347c6cc0b2821557d1346c4733cc78a79ffa.tar.xz |
staging: xgifb: validate the mode against video memory size
It's possible to select video mode that exceeds the available video
memory. This is potentially dangerous, fix by adding a check.
The patch fixes system hangs seen occasionally when playing random videos
with mplayer.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/connector/Kconfig')
0 files changed, 0 insertions, 0 deletions