openssl/crypto/bio
ndossche a811b6305b Fix incomplete error check on BIO_set_accept_name()
BIO_set_accept_name() can return error values -1 and 0 according to
my analysis tool and the documentation. Documentation says a value of 1
indicates success. Currently, only an error value != 0 is checked which
erroneously interprets a -1 error return value as success.
Fix it by changing the check condition.

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/20206)
2023-02-08 09:35:19 -05:00
..
bf_buff.c Fix the check of BIO_set_write_buffer_size and BIO_set_read_buffer_size 2022-12-05 13:04:18 +01:00
bf_lbuf.c Fix the check of BIO_set_write_buffer_size and BIO_set_read_buffer_size 2022-12-05 13:04:18 +01:00
bf_nbio.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
bf_null.c
bf_prefix.c
bf_readbuff.c
bio_addr.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
bio_cb.c
bio_dump.c
bio_err.c BIO_s_dgram_pair 2022-09-23 11:59:13 +10:00
bio_lib.c Add BIO poll descriptors 2023-01-13 13:20:14 +00:00
bio_local.h QUIC Demuxer and Record Layer (RX Side) 2022-09-02 10:03:55 +02:00
bio_meth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
bio_print.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
bio_sock2.c crypto/*: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
bio_sock.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
bss_acpt.c Fix incomplete error check on BIO_set_accept_name() 2023-02-08 09:35:19 -05:00
bss_bio.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
bss_conn.c Add support for KTLS zerocopy sendfile on Linux 2022-11-24 13:19:37 +01:00
bss_core.c
bss_dgram_pair.c Implement BIO_s_dgram_mem() reusing the BIO_s_dgram_pair() code 2023-01-27 16:11:38 +01:00
bss_dgram.c Add BIO poll descriptors 2023-01-13 13:20:14 +00:00
bss_fd.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
bss_file.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
bss_log.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
bss_mem.c Revert "Give BIO_s_mem() the ability to support datagrams" 2023-01-27 16:11:18 +01:00
bss_null.c
bss_sock.c Add support for KTLS zerocopy sendfile on Linux 2022-11-24 13:19:37 +01:00
build.info BIO_s_dgram_pair 2022-09-23 11:59:13 +10:00
ossl_core_bio.c