summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorHaggai Eran <haggai.eran@gmail.com>2015-05-23 23:13:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 05:49:57 +0300
commitcab462140f8a183e3cca0b51c8b59ef715cb6148 (patch)
tree803d24ba368364297ec79f2722a3b705ee4d47d0 /scripts/checkpatch.pl
parenta1471eb9da4a79650ca30c6038425f90da3b1054 (diff)
downloadlinux-cab462140f8a183e3cca0b51c8b59ef715cb6148.tar.xz
staging: rtl8712: prevent buffer overrun in recvbuf2recvframe
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 Cc: <stable@vger.kernel.org> 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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions