Skip to content

v1.4.2-experimental

Pre-release
Pre-release

Choose a tag to compare

@kirklandsig kirklandsig released this 03 Feb 10:41

Fix: Profile Preset Save Crash

Fixes a crash that occurred when:

  1. Enabling "Use player1's profile" option
  2. Clicking "Apply Profile" on another player
  3. 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%