diff options
author | Guru Das Srinagesh <quic_gurus@quicinc.com> | 2022-08-04 10:46:14 -0700 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-08-21 02:47:49 +0900 |
commit | 4be72c1b9f298b4ad42391322eaddef64b282716 (patch) | |
tree | 5efedfdbeb3761c2a5c30d8788dc6ba6246d45f9 /lib/bsearch.c | |
parent | 113147510b48e764e624e3d0e6707a1e48bc05a9 (diff) | |
download | linux-4be72c1b9f298b4ad42391322eaddef64b282716.tar.bz2 |
scripts/clang-tools: Remove DeprecatedOrUnsafeBufferHandling check
This `clang-analyzer` check flags the use of memset(), suggesting a more
secure version of the API, such as memset_s(), which does not exist in
the kernel:
warning: Call to function 'memset' is insecure as it does not provide
security checks introduced in the C11 standard. Replace with analogous
functions that support length arguments or provides boundary checks such
as 'memset_s' in case of C11
[clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions