diff options
| author | Kees Cook <[email protected]> | 2021-08-18 01:19:37 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-18 12:45:28 +0200 |
| commit | 0a9b92020d755c4c7a50c7b4b9a0fa047e393083 (patch) | |
| tree | aeba7c1d7d1547cfdd40b94ac2432f8c18b76d49 /include/linux/debugobjects.h | |
| parent | cbe34165cc1b7d1110b268ba8b9f30843c941639 (diff) | |
staging: wlan-ng: Disable buggy MIB ioctl
struct hfa384x_wpa_data ends with a flexible array, but it is allocated
on the stack. This means it can never hold any data. Disable the
memcpy() calls in and out of the structure, since it must always be
zero. This could never have worked.
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Igor Matheus Andrade Torrente <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions