mirror of https://github.com/openssl/openssl.git
On BIO_listen or BIO_sock_info failure we close the socket but leave accept_sock and b->num pointing at the old fd. Later cleanup can double close. Set both to INVALID_SOCKET immediately after BIO_closesocket. Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com> Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/28904) |
||
|---|---|---|
| .. | ||
| bf_buff.c | ||
| bf_lbuf.c | ||
| bf_nbio.c | ||
| bf_null.c | ||
| bf_prefix.c | ||
| bf_readbuff.c | ||
| bio_addr.c | ||
| bio_cb.c | ||
| bio_dump.c | ||
| bio_err.c | ||
| bio_lib.c | ||
| bio_local.h | ||
| bio_meth.c | ||
| bio_print.c | ||
| bio_sock.c | ||
| bio_sock2.c | ||
| bss_acpt.c | ||
| bss_bio.c | ||
| bss_conn.c | ||
| bss_core.c | ||
| bss_dgram.c | ||
| bss_dgram_pair.c | ||
| bss_fd.c | ||
| bss_file.c | ||
| bss_log.c | ||
| bss_mem.c | ||
| bss_null.c | ||
| bss_sock.c | ||
| build.info | ||
| ossl_core_bio.c | ||