commit | 2b70d4f9b20635ac328836e50d183632e1930f94 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jan 07 10:16:44 2022 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Jan 07 08:40:11 2022 +0100 |
tree | a4fb8ca59cf7e5f1222bf11ba58f667c16a32c46 | |
parent | 4fac8a7ac80b18068fce4feb2376e41c48d67c31 [diff] |
Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt() The "opt" variable is a u32, but on some paths only the top bytes were initialized and the others contained random stack data. Fixes: a7b75c5a8c41 ("net: pass a sockptr_t into ->setsockopt") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>