On Thu, 11 Jan 2024 15:46:59 GMT, Joachim Kern <jk...@openjdk.org> wrote:

> In parseAllowedMask in socketTransport.c, prefixLen of mask is compared with 
> a maxValue (32 for IPv4, 128 otherwise).  This fails if it is larger than 32, 
> because getaddrinfo seems to detect IPv4 family, if IPv6 address has set only 
> some of the last 32 Bits. So we take the wrong maxValue.

This pull request has now been integrated.

Changeset: 22642ff0
Author:    Joachim Kern <jk...@openjdk.org>
Committer: Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/22642ff0aac71eceb71f6a9eebb2988a9bd5f091
Stats:     37 lines in 1 file changed: 3 ins; 24 del; 10 mod

8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of 
mask is larger than 32 in IPv6 case

Reviewed-by: mbaesken, amenkov

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

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

Reply via email to