summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-11-01 15:04:42 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-11-06 14:31:08 +0800
commitd633730bb3873578a00fde4b97f9ac62a1be8d34 (patch)
tree77109bbb8fe0e8c3a22b091d4d532873f249bbaa /rust/helpers/helpers.c
parentb6410c1e50164da0542b671fc14caf4cff1c4819 (diff)
crypto: octeontx2 - Replace deprecated strcpy in cpt_ucode_load_fw
strcpy() is deprecated; use the safer strscpy() instead. The destination buffer is only zero-initialized for the first iteration and since strscpy() guarantees its NUL termination anyway, remove zero-initializing 'eng_type'. Link: https://github.com/KSPP/linux/issues/88 Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions