https://bugs.winehq.org/show_bug.cgi?id=32169
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- The following patch fixes the issue for me (with RegexBuddy):
https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-...
The patch from Nikolay in comment 4 works also, but the included tests pass even without the change applied, and moreover the special cases with ret == 0 or non-nullterminated strings are not handled properly.