Wed, 07 Jun 2023 15:59:00 +0200
fix uninitialized memory in http stream, when chunked transfer encoding is used
src/server/util/io.c | file | annotate | diff | comparison | revisions |
--- a/src/server/util/io.c Mon Jun 05 19:03:23 2023 +0200 +++ b/src/server/util/io.c Wed Jun 07 15:59:00 2023 +0200 @@ -266,6 +266,7 @@ st->chunk_buf_pos = 0; st->current_chunk_length = 0; st->current_chunk_pos = 0; + st->current_trailer = 0; st->write_chunk_buf_len = 0; st->write_chunk_buf_pos = 0; st->chunked_enc = WS_FALSE;