> 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