[PATCH] USB: usbfs: Don't leak uninitialized data
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 29 Jul 2005 19:16:58 +0000 (12:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 20:12:52 +0000 (13:12 -0700)
commitfe0410c7f43e133e156e54e3156392e800bedc21
tree0c082c02228d3ec92f7630f51e01f3b4085b5fd7
parent279e1545a1350b9147ae884f848ffc8b7db18967
[PATCH] USB: usbfs: Don't leak uninitialized data

This patch fixes an information leak in the usbfs snoop facility:
uninitialized data from __get_free_page can be returned to userspace and
written to the system log.  It also improves the snoop output by printing
the wLength value.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/core/devio.c