As diagnosed by GCC 13:
dlls/localspl/provider.c: In function ‘fill_builtin_form_info’:
dlls/localspl/provider.c:3045:16: warning: ‘res_len’ may be used uninitialized [-Wmaybe-uninitialized]
3045 | if (res_len)
| ^
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1960
And a previously created context is passed, which may later be destroyed
on its own, causing a double free.
This happens when running the ntlm tests.
--
v2: msv1_0: Avoid double free when SpInitLsaModeContext fails.
msv1_0: Avoid double free when SpAcceptLsaModeContext fails.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1955
The tests are actually racy, and the async operation is cancellable in
a very short period of time after its creation, but before it started
executing.
This will be hard to test precisely and it's not related to dinput tests
in any way. Let's remove this to fix some spurious Windows failures.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54283
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1959
OCSP support was introduced in the latest development cycle. In improves revocation check performance in general, although the caching is currently performed by CRL revocation check only. Also, even that result is not used before performing OCSP check which goes first, effectively forcing OCSP check to be always performed when a certificate has OCSP info. That leads to performance regression in some cases.
I believe once we validated revocation either way it is safe to assume the cached result valid until NextUpdate regardless of the method (that what the first patch does). Then, we can also cache the result of OCSP response the same way we do for CRL (second patch).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1940
These can be reproduced when running many of the tests, including but not only, the ole32 tests. I tried to keep the changes minimal to fix the failing tests, hopefully it should cover all the mismatches (though I'm a bit worried about the apparent dependency with combase, which has been changed to use msvcrt heap).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1956