Payload-SDK
Payload-SDK copied to clipboard
Segmentation fault while trying to get single battery info without timestamp
Hello A segmentation fault arises when user tries to call "DjiFcSubscription_GetLatestValueOfTopic" for single info battery topic without passing a pointer to timestamp. NULL value for timestamp is accepted for other topics but causes this topic to break. The source of segmentation fault is "DjiBatteryLegacy_GetLastValueOfTopic" according to the leak sanitizer output:
