diff options
| author | Kees Cook <[email protected]> | 2021-07-27 13:58:54 -0700 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2022-02-18 10:40:56 +0200 |
| commit | cb0a1fb7fd86b0062692b5056ca8552906509512 (patch) | |
| tree | fe6b624dc28fc0702da9e714d8a84c205a6e34fb /tools/perf/scripts/python/bin | |
| parent | 583d18336abdfb1b355270289ff8f6a2608ba905 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions