The token buffers are not 0-terminated, currently resulting in a buffer-overread when an error message also prints out the content of a token.
While we could provide a separate function to correctly read out the content of a token, it is probably best practice to have the content always 0-terminated.
The token buffers are not 0-terminated, currently resulting in a buffer-overread when an error message also prints out the content of a token.
While we could provide a separate function to correctly read out the content of a token, it is probably best practice to have the content always 0-terminated.