[openssl/openssl] c1b0e7: quic: fix BIO ownership in test helper

"'Mounir IDRASSI' via openssl-commits" <[email protected]> Wed, 29 Jul 2026 02:56:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.4/[email protected]>
  Branch: refs/heads/openssl-3.4
  Home:   https://github.com/openssl/openssl
  Commit: c1b0e770df131a6e294228f88a5bdaa384ea0089
      https://github.com/openssl/openssl/commit/c1b0e770df131a6e294228f88a5=
bdaa384ea0089
  Author: Mounir IDRASSI <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M test/helpers/quictestlib.c

  Log Message:
  -----------
  quic: fix BIO ownership in test helper

SSL_set_bio() transfers ownership of cbio to the client SSL object.
Clear the local pointer after the handoff so the error path does not
release an SSL-owned reference before SSL_free().

Fixes #32084

Reviewed-by: Sa=C5=A1a Nedv=C4=9Bdick=C3=BD <[email protected]>
Reviewed-by: Daniel Kubec <[email protected]>
MergeDate: Wed Jul 29 09:56:04 2026
(Merged from https://github.com/openssl/openssl/pull/32086)



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

--=20
You received this message because you are subscribed to the Google Groups "=
openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msg=
id/openssl-commits/openssl/openssl/push/refs/heads/openssl-3.4/c500fb-c1b0e=
7%40github.com.