[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Fixed data corruption bugs in transfer encoding chunked code
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Fixed data corruption bugs in transfer encoding chunked code (!480) |
Date: |
Sun, 27 Dec 2020 14:36:58 +0000 |
Tim Rühsen started a new discussion on libwget/http.c:
https://gitlab.com/gnuwget/wget2/-/merge_requests/480#note_474146611
> if (conn->abort_indicator ||
> abort_indicator)
> goto cleanup;
>
> + if (body_len + 1024 > bufsize) {
> + if
> (wget_buffer_ensure_capacity(conn->buf, bufsize + 1024) != WGET_E_SUCCESS) {
> + error_printf(_("Failed
> to allocate %zu bytes\n"), bufsize + 1024);
> + goto cleanup;
> + }
> + p = conn->buf->data + (p -
> buf);
Trailing space here. `make syntax-check` does complain.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/merge_requests/480#note_474146611
You're receiving this email because of your account on gitlab.com.