]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: fix unsigned vs signed comparison issue in modeset ctl ioctl.
authorDave Airlie <airlied@redhat.com>
Wed, 23 Feb 2011 22:35:06 +0000 (08:35 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:23 +0000 (12:45 -0700)
commit937d443c0fdb7f09cb309409327f8282892a29c4
tree5d1f0c5ea0070decce85e4d565aa1442d3d91a06
parent1f4833bec35ebc1d53b5cb6eaa9b529d19691999
drm: fix unsigned vs signed comparison issue in modeset ctl ioctl.

commit 1922756124ddd53846877416d92ba4a802bc658f upstream.

This fixes CVE-2011-1013.

Reported-by: Matthiew Herrb (OpenBSD X.org team)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/drm_irq.c
include/drm/drmP.h