openssl/crypto/bio
Niels Dossche 32476957ea Fix potential memory leak in BIO_get_accept_socket()
When BIO_parse_hostserv() fails it may still have allocated memory, yet
this memory is not freed. Fix it by jumping to the err label.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25817)
2025-01-02 14:06:51 +01:00
..
bf_buff.c
bf_lbuf.c
bf_nbio.c
bf_null.c
bf_prefix.c
bf_readbuff.c
bio_addr.c Fix potential memory leak in BIO_get_accept_socket() 2025-01-02 14:06:51 +01:00
bio_cb.c
bio_dump.c
bio_err.c
bio_lib.c Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
bio_local.h
bio_meth.c Deprecate all BIO_meth_get_*() functions 2024-11-28 16:48:43 +01:00
bio_print.c
bio_sock2.c
bio_sock.c Fix potential memory leak in BIO_get_accept_socket() 2025-01-02 14:06:51 +01:00
bss_acpt.c
bss_bio.c
bss_conn.c
bss_core.c
bss_dgram_pair.c
bss_dgram.c Fix missing sendmmsg/recvmmsg on AIX 2024-10-23 15:19:34 +02:00
bss_fd.c
bss_file.c
bss_log.c replace various calls to sprintf() by BiO_snprintf() to avoid compiler warnings, e.g., on MacOS 2024-10-12 15:38:07 +02:00
bss_mem.c Delete redundant parentheses for code consistency 2024-12-06 15:26:27 +01:00
bss_null.c
bss_sock.c
build.info
ossl_core_bio.c