Blender Git Commit Log

Git Commits -> Revision 151eed7

Revision 151eed7 by Peter Kim (master)
August 6, 2021, 08:55 (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: 151eed752b01970fdd3cbf69405211b310b80f74
Parent Commit: d98791a
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