]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit08224262adefb5e6460888b2490a96e1bc28aef5
treeb322967341db2c3339ad487361c2f889a3b8761a
parent78b10615ad295393a7d66ea57218171c0a07c059
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