aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHaggai Eran <haggai.eran@gmail.com>2015-05-23 23:13:51 +0300
committerMoyster <oysterized@gmail.com>2016-08-26 19:29:47 +0200
commit2f55d35eb9140c992d2175bf0a404df4cea72dc4 (patch)
tree74a3c1f44a76bd53bf4bbbd0d9d9109ab955893d /fs
parent77b69875c6eb3fa4bfcf7a3f4baf5a6de1a1d58d (diff)
staging: rtl8712: prevent buffer overrun in recvbuf2recvframe
commit cab462140f8a183e3cca0b51c8b59ef715cb6148 upstream. With an RTL8191SU USB adaptor, sometimes the hints for a fragmented packet are set, but the packet length is too large. Allocate enough space to prevent memory corruption and a resulting kernel panic [1]. [1] http://www.spinics.net/lists/linux-wireless/msg136546.html Signed-off-by: Haggai Eran <haggai.eran@gmail.com> ACKed-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions