23 May
2023
23 May
'23
4:53 a.m.
On Mon May 22 06:57:13 2023 +0000, Huw Davies wrote:
I was expecting running the new test before the final commit to crash with a divide by zero which we should avoid. I actually don't observe this (even with `WINETEST_INTERACTIVE` set) - any idea why that would be? It's a floating point division, so instead of crashing it produces a NaN. When converted to DWORD, NaN becomes 0. Though, according to C99, the value is unspecified, and with really big values we can crash the mixer.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2722#note_33479