On Tue, 13 Jun 2023 14:10:11 GMT, Nikita Gubarkov <[email protected]> wrote:
>> `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. Marked as reviewed by prr (Reviewer). Automated testing looks good. ------------- PR Review: https://git.openjdk.org/jdk/pull/13359#pullrequestreview-1501754000 PR Comment: https://git.openjdk.org/jdk/pull/13359#issuecomment-1610133182
