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

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: b699a1e89d2b44115a59635cfe27fb1a7f5d220f
      https://github.com/openssl/openssl/commit/b699a1e89d2b44115a59635cfe27fb1a7f5d220f
  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