[openssl/openssl] 175fa8: Modified OSSL_parse_url to initialize pport_num to 0.

Randall S. Becker noreply at github.com
Fri Jul 14 10:06:14 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 175fa8469fc78f6cf35dfb87d26899e60e9ff1d4
      https://github.com/openssl/openssl/commit/175fa8469fc78f6cf35dfb87d26899e60e9ff1d4
  Author: Randall S. Becker <rsbecker at nexbridge.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M crypto/http/http_lib.c

  Log Message:
  -----------
  Modified OSSL_parse_url to initialize pport_num to 0.

This change is intended to provide some safety for uninitialized stack failures
that have appeared in 80-test_cmp_http on NonStop x86 when run in a complex
CI/CD Jenkins environment. This change also adds init_pint() to handle the
initialization of a pointer to int value.

Fixes: #21083

Signed-off-by: Randall S. Becker <randall.becker at nexbridge.ca>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21109)

(cherry picked from commit 45cd2554efc82f8959b4e8ac53bc419b4d5e195a)




More information about the openssl-commits mailing list