On Thu, 8 Oct 2026 15:46:35 GMT, Matthias Baesken <[email protected]> wrote:

> For Icmp6SendEcho2 the reply buffer size is documented here :
> https://learn.microsoft.com/en-us/windows/win32/api/icmpapi/nf-icmpapi-icmp6sendecho2
> 
> 'The size, in bytes, of the reply buffer pointed to by the ReplyBuffer 
> parameter. This buffer should be large enough to hold at least one 
> ICMPV6_ECHO_REPLY structure plus RequestSize bytes of data.
> This buffer should also be large enough to also hold 8 more bytes of data 
> (the size of an ICMP error message) plus space for an IO_STATUS_BLOCK 
> structure'
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 4c44ecad
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4c44ecad3ebb4d6248b889fb0e4ce4bededd198f
Stats:     6 lines in 2 files changed: 5 ins; 0 del; 1 mod

8393887: Icmp6SendEcho2/Icmp6SendEcho2ex reply buffer size might be too small 
(win)

Reviewed-by: djelinski

-------------

PR: https://git.openjdk.org/jdk/pull/33271

Reply via email to