]> git.ipfire.org Git - thirdparty/openssl.git/commit
quic/quic_demux: Mirror int overflow check from demux_alloc_urxe into demux_resize_urxe
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Sun, 12 Oct 2025 00:14:24 +0000 (08:14 +0800)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Nov 2025 13:41:12 +0000 (08:41 -0500)
commit965d6279e8fe2ffa5d0a06d11077cd9b721813cd
treecfe57e608d574916169abc3c80c4b06c56018410
parent930a9502d15aabde8c774ebf45834c2c135047c0
quic/quic_demux: Mirror int overflow check from demux_alloc_urxe into demux_resize_urxe

Simple hardening. In practice new_alloc_len usually comes from demux->mtu or test injection length, but adding the same check here quiets analyzers.

Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28918)
ssl/quic/quic_demux.c