Blender Git Commit Log

Git Commits -> Revision 63660e8

August 10, 2021, 01:35 (GMT)
Fix invalid XR action map indices after alloc

Although the relevant structs (wmXrRuntime/XrActionMap/
XrActionMapItem) are zero-allocated, the selected and active action
map indices need to be initialized to -1 to prevent potential
out-of-bounds list access.

Commit Details:

Full Hash: 63660e8f550db374bf064eea1b773ae605a25610
Parent Commit: e543406
Committed By: YimingWu
Lines Changed: +3, -0

2 Modified Paths:

/source/blender/windowmanager/xr/intern/wm_xr.c (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_actionmap.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021