https://bugs.winehq.org/show_bug.cgi?id=53207
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |cb0e4f5f4f7dc10a0933349ad78 | |0a11405cd736e Status|NEW |RESOLVED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- This got fixed by the commit below:
commit cb0e4f5f4f7dc10a0933349ad780a11405cd736e Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Mon Sep 19 22:10:24 2022 +0900
user32: Fix a memory allocation strategy.
Otherwise, the function allocates a heap memory when prev_size is enough. What is worse is that it returns the buffer untouched if the prev_size is insufficient.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53703