diff options
author | robert.foss@collabora.com <robert.foss@collabora.com> | 2017-03-07 19:46:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-10 00:18:09 +0300 |
commit | 8aad6f14c09d78862fc04e47214d398add9bb8ce (patch) | |
tree | 72a1fb0ddf9442b90ab0b4157b2519fea83cafe3 /scripts/namespace.pl | |
parent | c021aaca5feb39f5853d10fdedb17043848b48b9 (diff) | |
download | linux-8aad6f14c09d78862fc04e47214d398add9bb8ce.tar.xz |
qed: Fix copy of uninitialized memory
In qed_ll2_start_ooo() the ll2_info variable is uninitialized and then
passed to qed_ll2_acquire_connection() where it is copied into a new
memory space.
This shouldn't cause any issue as long as non of the copied memory is
every read.
But the potential for a bug being introduced by reading this memory
is real.
Detected by CoverityScan, CID#1399632 ("Uninitialized scalar variable")
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/namespace.pl')
0 files changed, 0 insertions, 0 deletions