[openssl/openssl] 6feff2: Fix PACKET_equal test with BUF_LEN+1 on -Wstringop...

openssl-machine noreply at github.com
Mon Nov 7 18:24:03 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 6feff2e59dfd1ac1dffa77b0baa53c7e09d50029
      https://github.com/openssl/openssl/commit/6feff2e59dfd1ac1dffa77b0baa53c7e09d50029
  Author: Reinhard Urban <reinhard.urban at nubix.de>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M test/packettest.c

  Log Message:
  -----------
  Fix PACKET_equal test with BUF_LEN+1 on -Wstringop-overread

Either suppress the error, or better make smbuf longer.
Detected with -Werror.

CLA: trivial

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19528)

(cherry picked from commit 91b7520e2385a513ad879dfa8fe8e45466315a27)




More information about the openssl-commits mailing list