https://bugs.winehq.org/show_bug.cgi?id=38220
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Ok, I just found the issue. My first assumption was wrong, it doesn't call GetTempPathA, just GetTempPathW.
The problem is that the count value passed is 65534 but the buffer does not seem to really have that size so the memset to clear the memory makes the application crash. I'll add more tests for such invalid sizes and check what native does.