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

openssl-machine noreply at github.com
Mon Nov 7 18:23:09 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 91b7520e2385a513ad879dfa8fe8e45466315a27
      https://github.com/openssl/openssl/commit/91b7520e2385a513ad879dfa8fe8e45466315a27
  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)




More information about the openssl-commits mailing list