Commit 527b43d3b7 for openssl.org

commit 527b43d3b737a9c2be430e9741599235c3b93755
Author: 609bob <1850029304@qq.com>
Date:   Mon Oct 26 19:38:50 2026 +0800

    ssl/bio_ssl.c: reset BIO's data pointer to NULL in ssl_free()

    Resolves: https://github.com/openssl/openssl/issues/31388
    Fixes: 58964a492275 "Import of old SSLeay release: SSLeay 0.9.0b"
    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
    Merge-date: Wed Oct 28 10:12:45 2026
    Merged-from: https://github.com/openssl/openssl/pull/33402

diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c
index ebd9c58365..ce58bce778 100644
--- a/ssl/bio_ssl.c
+++ b/ssl/bio_ssl.c
@@ -89,6 +89,7 @@ static int ssl_free(BIO *a)
         BIO_set_init(a, 0);
     }
     OPENSSL_free(bs);
+    BIO_set_data(a, NULL);
     return 1;
 }