st/oxr: Verify action names

This commit is contained in:
Benjamin Saunders 2019-04-13 08:14:04 -07:00 committed by Jakob Bornecrantz
parent f32cab368f
commit 9b774cbd72

View file

@ -189,6 +189,8 @@ oxr_xrCreateAction(XrActionSet actionSet,
"xrCreateAction");
OXR_VERIFY_ARG_TYPE_AND_NULL(&log, createInfo,
XR_TYPE_ACTION_CREATE_INFO);
OXR_VERIFY_ARG_SINGLE_LEVEL_FIXED_LENGTH_PATH(
&log, createInfo->actionName);
OXR_VERIFY_ARG_LOCALIZED_NAME(&log, createInfo->localizedActionName);
OXR_VERIFY_ARG_NOT_NULL(&log, action);