Files
linux/drivers
Zhaowei Yuan 6fe5d7d9b9 drm: fix NULL pointer access by wrong ioctl
commit 1539fb9bd4 upstream.

If user uses wrong ioctl command with _IOC_NONE and argument size
greater than 0, it can cause NULL pointer access from memset of line
463. If _IOC_NONE, don't memset to 0 for kdata.

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-09 11:21:26 -07:00
..
2014-04-08 13:27:40 +02:00
2014-05-12 00:27:26 -04:00
2014-04-18 16:40:08 -07:00