mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 02:10:43 +00:00
strncpy and wcsncpy allocated the whole guest-supplied count for the zero padding, so an all-ones count aborted the host. The padding is now written in bounded chunks and faults at the first unwritable byte. XInputSetState computed the second motor's address before checking the first read, which overflowed for a pointer at the top of the address space; the vibration struct is now read as one DWORD. Both were found by the runtime_services fuzz replay after merging main. Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com>