RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case [v4]
Joachim Kern
jkern at openjdk.org
Mon Jan 15 09:13:24 UTC 2024
> 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.
Joachim Kern has updated the pull request incrementally with one additional commit since the last revision:
cosmetic changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17374/files
- new: https://git.openjdk.org/jdk/pull/17374/files/0266dc12..f31e1d98
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17374&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17374&range=02-03
Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17374.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17374/head:pull/17374
PR: https://git.openjdk.org/jdk/pull/17374
More information about the serviceability-dev
mailing list