Payload-SDK icon indicating copy to clipboard operation
Payload-SDK copied to clipboard

Segmentation fault while trying to get single battery info without timestamp

Open MH2033 opened this issue 3 years ago • 0 comments

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:

Untitled

MH2033 avatar Sep 03 '22 09:09 MH2033