[openssl/openssl] 45cd25: Modified OSSL_parse_url to initialize pport_num to 0.

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

  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 45cd2554efc82f8959b4e8ac53bc419b4d5e195a
  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)

More information about the openssl-commits mailing list