3 Nov
2025
3 Nov
'25
3:59 a.m.
Fixed a potential integer overflow issue in the read_ulong_be function by adding an explicit cast to ULONG before bit shifting. The data[0] byte was being shifted left 24 bits without proper casting, which could cause overflow when the byte value is large and the compiler treats it as a signed char. This ensures proper 32-bit unsigned integer behavior during the bitwise OR operations. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9343