]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix PACKET_equal test with BUF_LEN+1 on -Wstringop-overread
authorReinhard Urban <reinhard.urban@nubix.de>
Fri, 28 Oct 2022 07:56:05 +0000 (09:56 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 7 Nov 2022 18:21:56 +0000 (19:21 +0100)
commit91b7520e2385a513ad879dfa8fe8e45466315a27
tree2ade15beb717934306a5161ad8ae23627e843078
parent6db5cb844852f8f13753caf26dea7750f701e4d9
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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19528)
test/packettest.c