diff options
| author | Kees Cook <keescook@chromium.org> | 2021-07-27 13:58:54 -0700 |
|---|---|---|
| committer | Luca Coelho <luciano.coelho@intel.com> | 2022-02-18 10:40:56 +0200 |
| commit | cb0a1fb7fd86b0062692b5056ca8552906509512 (patch) | |
| tree | fe6b624dc28fc0702da9e714d8a84c205a6e34fb /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | iwlwifi: mvm: Fix an error code in iwl_mvm_up() (diff) | |
| download | linux-cb0a1fb7fd86b0062692b5056ca8552906509512.tar.gz linux-cb0a1fb7fd86b0062692b5056ca8552906509512.zip | |
iwlwifi: dbg_ini: Split memcpy() to avoid multi-field write
To avoid a run-time false positive in the stricter FORTIFY_SOURCE
memcpy() checks, split the memcpy() into the struct and the data.
Additionally switch the data member to a flexible array to follow
modern language conventions.
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210727205855.411487-64-keescook@chromium.org
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
