v1.4.2-experimental
Pre-release
Pre-release
Fix: Profile Preset Save Crash
Fixes a crash that occurred when:
- Enabling "Use player1's profile" option
- Clicking "Apply Profile" on another player
- Trying to save a profile preset
Root Cause
ServiceTag and LoadoutSlot.Name fields may not be null-terminated when copied from game memory. The wcstombs conversion would read past buffer boundaries.
Changes
- Added null-termination safety for
ServiceTag(wchar_t[4]) - Added null-termination safety for
LoadoutSlot.Name(wchar_t[14])
Installation
Copy WTSAPI32.dll to your MCC installation:
<Steam>/steamapps/common/Halo The Master Chief Collection/mcc/binaries/win64/
For Linux/Proton, add launch option:
WINEDLLOVERRIDES="WTSAPI32=n,b" %command%