https://bugs.winehq.org/show_bug.cgi?id=53172
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |95f2cc0f15b1dde0318e75e2a7f | |21957fa76af55 Resolution|--- |FIXED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- This should be fixed:
commit 95f2cc0f15b1dde0318e75e2a7f21957fa76af55 Author: François Gouget fgouget@codeweavers.com Date: Fri Mar 3 16:23:07 2023 +0100
advapi32/tests: Fix the RegEnumValueA() tests in UTF-8 locales.
On Windows RegEnumValueA() is buggy such that when the value name buffer is too small, it may way overestimate the required data buffer size, sometimes returning more than the sufficiently large buffer it was provided, in which case that buffer is untouched and thus not NUL-terminated. So modify the tests to accept this broken result and avoid checking out-of-bounds data.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53172