diff options
author | Sami Tolvanen <[email protected]> | 2020-11-17 12:59:02 -0800 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2020-12-11 12:50:27 +0100 |
commit | 32fc4a9ad56f8260025ac766548d625509cc879f (patch) | |
tree | 8312cd3fe677ba3eb1cc8223eb71dafb2bffe5a5 /lib/test_overflow.c | |
parent | c7ed0e683ddbfb9349b6c25dbca3e1c8d76f5b87 (diff) |
cfg80211: fix callback type mismatches in wext-compat
Instead of casting callback functions to type iw_handler, which trips
indirect call checking with Clang's Control-Flow Integrity (CFI), add
stub functions with the correct function type for the callbacks.
Reported-by: Sedat Dilek <[email protected]>
Signed-off-by: Sami Tolvanen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions