-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi, when I tried your library I realize it ain't get te correct String in the callback, so I added a extra line and modified one to assure the string is created correctly.
CborDecoder.cpp:344 (in the char* assignment in the OnString callback)
unsigned char data[currentLength+1];//one space more to "the null terminated" standar
data[currentLength]=0;//assign the null at the end of the string.
I hope this could help for further development.
Best regards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels