]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/sslapitest.c: tfix in row allocation in create_new_vfile
authorEugene Syromiatnikov <esyr@openssl.org>
Tue, 12 Aug 2025 07:28:00 +0000 (09:28 +0200)
committerNeil Horman <nhorman@openssl.org>
Tue, 19 Aug 2025 18:47:54 +0000 (14:47 -0400)
commitabebeb1bb008452f9d0524509627d015dc69fbd1
tree9894c27fecf539975ba1040ff6d5edfd4b20df95
parent5e34d6476016db7630aed77e927d95dd94fc67b0
test/sslapitest.c: tfix in row allocation in create_new_vfile

sizeof(*row) and not sizeof(row) is supposed to be used for the array
allocation.

Fixes: 76fd7a1d6192 "Add a test for SRP"
Resolves: https://scan5.scan.coverity.com/#/project-view/65248/10222?selectedIssue=1662054
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/sslapitest.c