]> git.ipfire.org Git - thirdparty/openssl.git/commit
Uninitialized array variable
authorshashankmca80 <38880505+shashankmca80@users.noreply.github.com>
Sat, 13 Jan 2024 12:46:25 +0000 (18:16 +0530)
committerTomas Mraz <tomas@openssl.org>
Fri, 19 Jan 2024 13:05:21 +0000 (14:05 +0100)
commit1ddb18916e452fa00f884388c7b10e65a31cc4bb
tree4cc75767fb8b6baa0da272c0bbf520962ec72210
parent8a315d644107dce90e19b51edd799a2796fd2239
Uninitialized array variable

array"key" is uninitialized and it is being read directly in function SipHash_Init() as per the below statements making a way for the garbage values :
uint64_t k0 = U8TO64_LE(k);
uint64_t k1 = U8TO64_LE(k + 8);

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23298)

(cherry picked from commit a0826b184eed2dccc56cdf80e3e0bc061cc89ddc)
test/siphash_internal_test.c