> 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: following proposals of alexmenkov ------------- Changes: - all: https://git.openjdk.org/jdk/pull/17374/files - new: https://git.openjdk.org/jdk/pull/17374/files/a5bfdd1a..0266dc12 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=17374&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17374&range=01-02 Stats: 11 lines in 1 file changed: 1 ins; 3 del; 7 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