]> git.baikalelectronics.ru Git - kernel.git/commit
staging: usbip: bugfix for stack corruption on 64-bit architectures
authorBart Westgeest <bart@elbrys.com>
Mon, 11 Jun 2012 16:13:08 +0000 (12:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 00:03:50 +0000 (17:03 -0700)
commit8ff767d45a65667d70d38157fb4f113c9eae7ab6
treeb322967341db2c3339ad487361c2f889a3b8761a
parentd8f5f8a41e276e6dfe853ea3eb608bde0cbe921d
staging: usbip: bugfix for stack corruption on 64-bit architectures

Previously a 6 byte array (buf) was erroneously cast to a 8 byte long
(event_bits) on 64-bit architectures which caused a stack corruption.

Signed-off-by: Bart Westgeest <bart@elbrys.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci_hcd.c