aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-04-07 21:09:57 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-03-14 10:57:22 -0400
commit18551a3c794c18cc31ac53d3bbb5c2001a7f0998 (patch)
treec605acb3ee5df46458f9206b7c2916a0d068c15b /scripts/patch-kernel
parent310ec26b8fe2e5e7b43e5a1630b05c7fb3ffb35d (diff)
p54: Initialize extra_len in p54_tx_80211
commit a6756da9eace8b4af73e9dea43f1fc2889224c94 upstream. This patch fixes a very serious off-by-one bug in the driver, which could leave the device in an unresponsive state. The problem was that the extra_len variable [used to reserve extra scratch buffer space for the firmware] was left uninitialized. Because p54_assign_address later needs the value to reserve additional space, the resulting frame could be to big for the small device's memory window and everything would immediately come to a grinding halt. Reference: https://bugs.launchpad.net/bugs/722185 Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Jason Conti <jason.conti@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions