cocos2d-x 3.17.2 使用sp.SkeletonAnimation:create() 加载资源闪退

在lua下使用sp.SkeletonAnimation:create()加载dragonbones导出的spine资源时候直接闪退了,调试发现frameworks\cocos2d-x\cocos\editor-support\spine\SkeletonJson.c:611~612行
611:MALLOC_STR(skeletonData->hash, Json_getString(skeleton, “hash”, 0));
612:MALLOC_STR(skeletonData->version, Json_getString(skeleton, “spine”, 0));
默认返回值是一个空指针,导致MALLOC_STR报错了,我自己修改编译后加载资源就正常了。
strlen不能传入NULL指针