[openssl/openssl] 1ddb18: Uninitialized array variable

shashankmca80 noreply at github.com
Fri Jan 19 13:06:52 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 1ddb18916e452fa00f884388c7b10e65a31cc4bb
      https://github.com/openssl/openssl/commit/1ddb18916e452fa00f884388c7b10e65a31cc4bb
  Author: shashankmca80 <38880505+shashankmca80 at users.noreply.github.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M test/siphash_internal_test.c

  Log Message:
  -----------
  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 at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23298)

(cherry picked from commit a0826b184eed2dccc56cdf80e3e0bc061cc89ddc)




More information about the openssl-commits mailing list