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 <to...@openssl.org>
  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 <m...@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18628)


Reply via email to