]> git.ipfire.org Git - thirdparty/openssl.git/commit
BIO_dgram: Fix BIO_CTRL_DGRAM_QUERY_MTU for IPv4-mapped IPv6 addresses
authorNikolas Gauder <nikolas.gauder@tum.de>
Thu, 24 Jul 2025 20:00:49 +0000 (22:00 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 18 Aug 2025 16:05:43 +0000 (18:05 +0200)
commita71b4fae432796a49c3b9d32ae29354b23809c1f
tree295f7741f02cc1abb35885909961e58ec071e3e7
parenteec435695e9d0cf16fc2d3464ea5317cee637db0
BIO_dgram: Fix BIO_CTRL_DGRAM_QUERY_MTU for IPv4-mapped IPv6 addresses

Ensure the correct IP header size is subtracted by reusing
dgram_get_mtu_overhead(), which handles address families properly.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28088)
crypto/bio/bss_dgram.c