From: Joshua Rogers Date: Fri, 10 Oct 2025 09:57:16 +0000 (+0800) Subject: bio/dgram: fix local addr clear for i-th message X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db2b63b26f7d20e520c55c89d78390330e39bec8;p=thirdparty%2Fopenssl.git bio/dgram: fix local addr clear for i-th message Signed-off-by: Joshua Rogers Fixes #28871 Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28808) (cherry picked from commit ad26aee904413119c21ae1dafb10a156d0474e72) --- diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index 784a1abb00b..0634826772a 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -1600,7 +1600,7 @@ static int dgram_recvmmsg(BIO *b, BIO_MSG *msg, * address, as for OS X and Windows in some circumstances * (see below). */ - BIO_ADDR_clear(msg->local); + BIO_ADDR_clear(BIO_MSG_N(msg, stride, i).local); } *num_processed = (size_t)ret;