summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2012-09-11 21:44:37 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-12 16:45:58 (GMT)
commita09f347c6cc0b2821557d1346c4733cc78a79ffa (patch)
tree3d5e09a361d5e3c4f00cee44b0a887f9dbd87821 /drivers/hwspinlock
parentf325129ae9006298cfbeffb669b30f57ba0cc3c4 (diff)
downloadlinux-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/hwspinlock')
0 files changed, 0 insertions, 0 deletions