openssl/ssl/rio
sashan 5ee8248d08 ossl_rio_poll_builder_add_fd(): Fixup pfds after reallocation
Local variable `pfds` used in `ossl_rio_poll_builder_add_fd()` must be consistent
with `rpb->pfd_heap`. The function maintains array of SSL objects for SSL_poll(3ossl).
It works with no issues until we need to reallocate `rbp->pfd_heap` in `rpb_ensure_alloc()`.
After `rpb_ensure_alloc()` returns we must update local variable `pfds` with `rpb->pfd_heap`
not doing so makes function to write to dead buffer.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27804)
2025-06-13 12:37:50 +02:00
..
build.info QUIC: Immediate-Mode Polling various fixups 2025-02-17 11:27:33 -05:00
poll_builder.c ossl_rio_poll_builder_add_fd(): Fixup pfds after reallocation 2025-06-13 12:37:50 +02:00
poll_builder.h poll builder: add dummy field 2025-04-28 17:18:27 +02:00
poll_immediate.c Copyright year updates 2025-03-12 13:35:59 +00:00
poll_method.h rio: add RIO_POLL_METHOD_NONE 2025-04-15 15:27:38 +01:00
rio_notifier.c Copyright year updates 2025-03-12 13:35:59 +00:00