openssl/crypto/bio
slontis d60b37506d Fix BIO_get_new_index() to return an error when it is exhausted.
Fixes #23655

BIO_get_new_index() returns a range of 129..255.

It is set to BIO_TYPE_START (128) initially and is incremented on each
call.
>= 256 is reserved for the class type flags (BIO_TYPE_DESCRIPTOR) so it
should error if it reaches the upper bound.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23732)
2024-03-11 11:34:25 +00:00
..
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 Optimize circular buffer to avoid modulo 2023-12-22 14:45:55 +01:00
bio_err.c
bio_lib.c Fix BIO_get_new_index() to return an error when it is exhausted. 2024-03-11 11:34:25 +00:00
bio_local.h
bio_meth.c Fix BIO_get_new_index() to return an error when it is exhausted. 2024-03-11 11:34:25 +00:00
bio_print.c
bio_sock2.c
bio_sock.c
bss_acpt.c
bss_bio.c
bss_conn.c
bss_core.c
bss_dgram_pair.c
bss_dgram.c Gate setting of ipi_spec_dst on not building for freebsd 2024-03-07 08:14:12 -05:00
bss_fd.c
bss_file.c
bss_log.c
bss_mem.c
bss_null.c
bss_sock.c
build.info
ossl_core_bio.c