]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/mem_alloc_test.c: tfix in test_xaligned_alloc
authorEugene Syromiatnikov <esyr@openssl.org>
Tue, 12 Aug 2025 08:08:19 +0000 (10:08 +0200)
committerNeil Horman <nhorman@openssl.org>
Tue, 19 Aug 2025 18:47:54 +0000 (14:47 -0400)
commita0a73f52ad5a33576fec69ab9d74c29fa4621aea
treef58f6d8d6afe75a891f5ce2ee49ca56727d8c4c7
parent2b76895152fe7c7bcd11b9ae6e712c0437aee8c3
test/mem_alloc_test.c: tfix in test_xaligned_alloc

Change "=" to "==" in "if ((exp == EXP_NONNULL) ...".

Fixes: d090695101a9 "test: add a sanity test for memory allocation functions"
Resolves: https://scan5.scan.coverity.com/#/project-view/65279/10222?selectedIssue=1662047
Resolves: https://scan5.scan.coverity.com/#/project-view/65279/10222?selectedIssue=1662049
Related: https://github.com/openssl/project/issues/1317
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28238)
test/mem_alloc_test.c