Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: 5ad3e76c23576b2e216463bfe43d005a3e09defc
https://github.openssl.org/openssl/openssl/commit/5ad3e76c23576b2e216463bfe43d005a3e09defc
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/18627)