summaryrefslogtreecommitdiff
path: root/include/linux/devfreq-event.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-08-02 10:25:01 -0700
committerKees Cook <keescook@chromium.org>2021-09-25 08:20:50 -0700
commit072af0c638dc8a5c7db2edc4dddbd6d44bee3bdb (patch)
tree2e0f8ef59e7937825af731b9a26454230d9b5167 /include/linux/devfreq-event.h
parenta52f8a59aef46b59753e583bf4b28fccb069ce64 (diff)
fortify: Fix dropped strcpy() compile-time write overflow check
The implementation for intra-object overflow in str*-family functions accidentally dropped compile-time write overflow checking in strcpy(), leaving it entirely to run-time. Add back the intended check. Fixes: 6a39e62abbaf ("lib: string.h: detect intra-object overflow in fortified string functions") Cc: Daniel Axtens <dja@axtens.net> Cc: Francis Laniel <laniel_francis@privacyrequired.com> Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'include/linux/devfreq-event.h')
0 files changed, 0 insertions, 0 deletions