diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-09-19 17:47:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-20 04:57:16 -0400 |
commit | 67a99b7061c07b190ac6c39f136afedbb7aa86e9 (patch) | |
tree | 94cabd2638bcde1004dec702d713f1f4e1c6e41d /drivers/sh | |
parent | 3ed6e498b91a4dc5d0e8b6270a6c144061db2455 (diff) | |
download | linux-67a99b7061c07b190ac6c39f136afedbb7aa86e9.tar.bz2 |
qed: Fix stack corruption on probe
Commit fe56b9e6a8d95 ("qed: Add module with basic common support")
has introduced a stack corruption during probe, where filling a
local struct with data to be sent to management firmware is incorrectly
filled; The data is written outside of the struct and corrupts
the stack.
Changes from v1:
----------------
- Correct the value written [Caught by David Laight]
Fixes: fe56b9e6a8d95 ("qed: Add module with basic common support")
Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions