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)
committerDave Airlie <airlied@redhat.com>
Mon, 28 Feb 2011 05:24:35 +0000 (15:24 +1000)
commit1922756124ddd53846877416d92ba4a802bc658f
tree22b5b5e5457d5eab364cd2c860814b29874e56f7
parent3c0556e9673f79e386b27768e27d18b3ce29e40e
drm: fix unsigned vs signed comparison issue in modeset ctl ioctl.

This fixes CVE-2011-1013.

Reported-by: Matthiew Herrb (OpenBSD X.org team)
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c
include/drm/drmP.h