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
There is an error in function "send_response".
In the line where
char* response_buffer = malloc(get_response_length(response));
Should be
char* response_buffer = malloc(get_response_length(response)+1);
Because snprintf adds '\0' in the end
The text was updated successfully, but these errors were encountered:
There is an error in function "send_response".
In the line where
char* response_buffer = malloc(get_response_length(response));
Should be
char* response_buffer = malloc(get_response_length(response)+1);
Because snprintf adds '\0' in the end
The text was updated successfully, but these errors were encountered: