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

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: ba189e0a4bdea86b6142da36adc7f054b6f08c6e
      https://github.com/openssl/openssl/commit/ba189e0a4bdea86b6142da36adc7f054b6f08c6e
  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