st/oxr: Check XrHandJointLocationsEXT::jointLocations for NULL

This commit is contained in:
Christoph Haag 2021-01-22 03:31:43 +01:00
parent 3e028a7952
commit f326ec8fc3

View file

@ -359,6 +359,7 @@ oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker,
OXR_VERIFY_HAND_TRACKER_AND_INIT_LOG(&log, handTracker, hand_tracker, "xrLocateHandJointsEXT");
OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, locateInfo, XR_TYPE_HAND_JOINTS_LOCATE_INFO_EXT);
OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, locations, XR_TYPE_HAND_JOINT_LOCATIONS_EXT);
OXR_VERIFY_ARG_NOT_NULL(&log, locations->jointLocations);
OXR_VERIFY_SPACE_NOT_NULL(&log, locateInfo->baseSpace, spc);