Commit 334bf33
wifi: cfg80211: avoid leaking stack data into trace
If the structure is not initialized then boolean types might be copied
into the tracing data without being initialised. This causes data from
the stack to leak into the trace and also triggers a UBSAN failure which
can easily be avoided here.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20230925171855.a9271ef53b05.I8180bae663984c91a3e036b87f36a640ba409817@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 6130433 commit 334bf33
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8501 | 8501 | | |
8502 | 8502 | | |
8503 | 8503 | | |
8504 | | - | |
| 8504 | + | |
8505 | 8505 | | |
8506 | 8506 | | |
8507 | 8507 | | |
| |||
0 commit comments