Re: [PATCH v3 0/1] MR3504: ntdll: Handle invalid locks in ReleaseSRWLockExclusive.
3 Aug
2023
3 Aug
'23
5:08 p.m.
On Thu Aug 3 16:39:16 2023 +0000, Yuxuan Shui wrote:
Yes, what you said makes sense.
something that's pretty much always been within Wine's scope to fix. I want to assure you I 100% understand that. After all, this MR is exactly trying to fix such a case. And I think it's better if I clarify what I mean when I say "invalid".
In this example, this use of `ReleaseSRWLockExclusive` is clearly invalid w.r.t. the official description of the API, and that's why I called it so. Real world applications do make use of APIs in invalid ways, and Wine has to support those usages. However this doesn't make such uses less invalid. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3504#note_41257
867
Age (days ago)
867
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yuxuan Shui (@yshui)