Skip to content
Commit cb0a1fb7 authored by Kees Cook's avatar Kees Cook Committed by Luca Coelho
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210727205855.411487-64-keescook@chromium.org


Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 583d1833
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment