- 25 Jan, 2023 8 commits
-
-
Francois Gouget authored
Wine would append a correctly aligned NUL Unicode character to terminate the string but overflow the buffer by one byte for odd-sized strings. Windows instead overwrites the last two buffer bytes with a NUL Unicode character which ends up being misaligned for odd-sized strings. The clipboard data has a size field anyway so match the Windows behavior. Tweak the tests to show that SetClipboardData() can overwrite half of the Unicode string's last character.
-
Francois Gouget authored
A 0 or 1 byte Unicode string cannot be NUL terminated. That does stop Windows 10 and older from doing so which is why the 1 byte test must be skipped to avoid a crash in the 64-bit case. But in such cases SetClipboardData() fails on Windows 11 and so should Wine (instead of underflowing the buffer like Windows). Reorganize the test data by increasing size. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54192
-
Francois Gouget authored
Using wine_dbgstr_wn() causes out-of-bounds memory accesses when given Unicode strings with odd sizes, most obviously 1 byte strings. Also trace the expected Ansi string for round-trip tests.
-
Francois Gouget authored
This has the benefit of indicating why GetClipboardData() failed and of matching the Windows 11 behavior. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54190
-
Eric Pouech authored
Let conhost handle ctrl-\ instead of Unix tty, and pretend it's a ctrl-pause/break key stroke. This allows CUI application in processed input mode not to close upon ctrl-\. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54141Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
-
Eric Pouech authored
Note: this patch should be extended by adding insertion of the CTRL_BREAK_EVENT into processes' crtl handler (as it's done for CTRL_C_EVENT). Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
-
Fabian Maurer authored
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
-
Fabian Maurer authored
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
-
- 24 Jan, 2023 32 commits
-
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Fabian Maurer authored
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
-
Fabian Maurer authored
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Alex Henrie authored
-
Paul Gofman authored
-
Joshua Ashton authored
This works fine with the new struct conversions, and is needed for HDR with native Vulkan games such as Doom Eternal and games using HDR with DXVK and VKD3D-Proton.
-
Alex Henrie authored
Mathematically, ((a && b) || b) == b. Moreover, test_sharelists in dlls/opengl32/tests/opengl.c checks that wglShareLists can share lists from a source context that has been current.
-
Rémi Bernon authored
-
Rémi Bernon authored
SchRpcEnumFolders names are allocated with malloc, and later freed in __finally_ITaskSchedulerService_SchRpcEnumFolders using MIDL_user_free.
-
Rémi Bernon authored
-
Rémi Bernon authored
-
Paul Gofman authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54289
-
Paul Gofman authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Paul Gofman authored
-
Eric Pouech authored
Also fixes stack dump in crash summary and 'info stack' command. (We were using debugger's bitness instead). Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
-
Eric Pouech authored
It's bound to debugger's CPU not debuggee's. Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
-
Eric Pouech authored
It's hard coded by msvc in PDB information, so adapt dwarf to advertize the same. Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
-
Akihiro Sagawa authored
After commit 2aa54a90, a double-byte character is sent to the edit control by double WM_CHAR messages. However, its WM_CHAR handler (ANSI version) can't process a double- byte character properly because the handler converts WM_CHAR to WCHAR one by one. This fix queues the double-byte lead byte as it comes in and then uses it afterwards for the WCHAR conversion. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54337
-
Akihiro Sagawa authored
-