> `data` array has size of `MAX_BUFFER` like `wname`, but it has a char type, > so its size is twice smaller than actual path limit, because paths returned > by `RegEnumValueW` use wide chars. We need to double this limit.
Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision: Use malloc instead of fixed size buffers. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/13359/files - new: https://git.openjdk.org/jdk/pull/13359/files/63d26f84..d6218b55 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=13359&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13359&range=00-01 Stats: 22 lines in 1 file changed: 6 ins; 9 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/13359.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13359/head:pull/13359 PR: https://git.openjdk.org/jdk/pull/13359
