[openssl/openssl] 6b6e51: Avoid leaking *ba_ret on reconnections

Tomáš Mráz noreply at github.com
Wed Jul 31 09:25:57 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 6b6e5163a9300b5f32cd0bc98807e65b3acd4ae3
      https://github.com/openssl/openssl/commit/6b6e5163a9300b5f32cd0bc98807e65b3acd4ae3
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M apps/lib/s_socket.c
    M apps/s_client.c

  Log Message:
  -----------
  Avoid leaking *ba_ret on reconnections

Also fixes Coverity 1604639
There is no point in checking ba_ret as it can never be NULL.

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24931)

(cherry picked from commit 4fa9d1f40fc85d8c70c93168dc812217db349359)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list