Alexandre Julliard pushed to branch master at wine / wine
Commits:
dd22c706 by Yuxuan Shui at 2025-07-30T23:09:41+09:00
ntdll: Fix inconsistency in LFH block size calculation during realloc.
For allocation, the block size calculation is snapped to block bin sizes, but
for reallocation it is not. So the tail_size calculation will be wrong if the
block size is not one of the bin sizes.
To illustrate the problem: assume an allocation size of 32 bytes.
heap_get_block_size will return 40 bytes. heap_allocate_block_lfh will round
it up to 48 bytes. The tail_size is thus, 48 - 8 - 32 = 8 bytes. Later,
HeapReAlloc is called to shrink it to 30 bytes. heap_get_block_size returns
40 bytes, heap_resize_block_lfh will not return STATUS_NO_MEMORY, because
ROUND_SIZE(30) == 32, and 30 < 32. It will then calculate the tail_size based
on the new block_size, which is 40 bytes. So the new tail_size becomes:
40 - 8 - 30 = 2 bytes. But block->block_size is still 48 bytes! So what it
actually did is **growing** the block to 48 - 8 - 2 = 38 bytes from 32 bytes.
This commit fixes it by also rounding up the block_size to bin sizes in
heap_resize_block_lfh.
- - - - -
1 changed file:
- dlls/ntdll/heap.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/dd22c706cc31b10f3db4e9929a09cb…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/dd22c706cc31b10f3db4e9929a09cb…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
f42b00e9 by Brendan Shanks at 2025-07-30T23:09:25+09:00
xinput1_3: Correctly handle a NULL GUID parameter in XInputGetDSoundAudioDeviceGuids().
- - - - -
870860b5 by Brendan Shanks at 2025-07-30T23:09:27+09:00
xinput9_1_0: Implement by dynamically loading and calling xinput1_4.dll.
This matches how the native DLL is implemented, and fixes Steam Input in
games that use xinput9_1_0.
(Steam Input hooks xinput1_{1-4} but not 9_1_0, so relies on 9_1_0
calling into 1_4).
- - - - -
4 changed files:
- dlls/xinput1_3/main.c
- dlls/xinput1_3/tests/xinput.c
- dlls/xinput9_1_0/Makefile.in
- + dlls/xinput9_1_0/main.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/00f6c0460b65807bfc4dcc117a019…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/00f6c0460b65807bfc4dcc117a019…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
f6422cf2 by Brendan McGrath at 2025-07-29T21:48:33+09:00
mf/tests: Test H264 decoder when duration and time are zero.
- - - - -
5537c5ae by Brendan McGrath at 2025-07-29T21:48:33+09:00
mf/tests: Test WMV decoder when duration and time are zero.
- - - - -
00f6c046 by Brendan McGrath at 2025-07-29T21:48:33+09:00
winegstreamer: Correct duration if provided value is zero.
The same behaviour occurs when duration is not provided.
- - - - -
2 changed files:
- dlls/mf/tests/transform.c
- dlls/winegstreamer/video_decoder.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/911c7e3e01cb52cca3260f97d5b11…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/911c7e3e01cb52cca3260f97d5b11…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
90046f3a by Ziqing Hui at 2025-07-29T14:47:26+09:00
fonts: Make special ASCII characters bold for WineTahomaBold.
- - - - -
2cb7e5dd by Ziqing Hui at 2025-07-29T14:47:26+09:00
fonts: Make uppercase ASCII letters bold for WineTahomaBold.
- - - - -
f2a4b6c5 by Ziqing Hui at 2025-07-29T14:47:26+09:00
fonts: Make lowercase ASCII letters bold for WineTahomaBold.
- - - - -
2 changed files:
- fonts/tahomabd.sfd
- fonts/tahomabd.ttf
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/33705a50e6bb51b32a54e51c2869a…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/33705a50e6bb51b32a54e51c2869a…
You're receiving this email because of your account on gitlab.winehq.org.