Branch: refs/heads/openssl-3.0
Home: https://github.openssl.org/openssl/openssl
Commit: bfa5f0f574dbdb82be70586f70975d28512f3554
https://github.openssl.org/openssl/openssl/commit/bfa5f0f574dbdb82be70586f70975d28512f3554
Author: Tomas Mraz <[email protected]>
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M crypto/property/property_parse.c
Log Message:
-----------
put_str: Use memcpy instead of strncpy
This fixes a warning from latest gcc.
There is no point in using strncpy here as we
intentionally copy only the string contents without
the terminating NUL. The len is set from strlen().
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18628)