[openssl/openssl] d4ed29: Avoid leaking *ba_ret on reconnections

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


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