Skip to content
Snippets Groups Projects
Commit bd8f2626 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix webget of chunked responses

Broken with the paranoid_strtoul() addition
parent 2af72560
No related branches found
No related tags found
No related merge requests found
Pipeline #8121 passed
......@@ -924,6 +924,8 @@ read_chunked(struct http_session *sess, FILE *out)
set_msgf(sess->req, "strtoul() failure %d", errno);
goto error_return;
}
if (chunk_size == 0)
break;
total += chunk_size;
if (total > MAX_LIST_SIZE) {
set_msg(sess->req, "Total Size Too Large");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment