You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had the situation that I got weird errors because I tried to write text longer than the buffer can hold. There is no check for buffer length < write length.
Describe the solution expected
Add a check if CONFIG_NEX_UART_TRANS_COMMAND_FORMAT_BUFFER_SIZE is smaller then the amount of bytes to write, then return specific error.
Additional info
No response
The text was updated successfully, but these errors were encountered:
Background and motivation
I've had the situation that I got weird errors because I tried to write text longer than the buffer can hold. There is no check for buffer length < write length.
Describe the solution expected
Add a check if CONFIG_NEX_UART_TRANS_COMMAND_FORMAT_BUFFER_SIZE is smaller then the amount of bytes to write, then return specific error.
Additional info
No response
The text was updated successfully, but these errors were encountered: