git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fd504
)
HID: fix HIDIOCGRDESC memory access in hidraw
author
Jiri Kosina
<jkosina@suse.cz>
Mon, 15 Oct 2007 13:17:41 +0000
(15:17 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 15 Oct 2007 15:12:00 +0000
(08:12 -0700)
Fix bogus copying of data into userspace when HIDIOCGRDESC is issued.
HID-transport layer makes sure that dev->hid->rdesc is not larger than
HID_MAX_DESCRIPTOR_SIZE.
Noticed-by: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found