[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: build_connection_chunked_response
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: build_connection_chunked_response_footer: asserts added |
Date: |
Wed, 28 Jul 2021 14:12:03 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 0d6210fb build_connection_chunked_response_footer: asserts added
0d6210fb is described below
commit 0d6210fbfd9b6d3ddb17df767ad5b5bf4a8cac93
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jul 28 15:08:34 2021 +0300
build_connection_chunked_response_footer: asserts added
---
src/microhttpd/connection.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 4ef6c5c3..93ff695b 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1825,7 +1825,9 @@ build_connection_chunked_response_footer (struct
MHD_Connection *connection)
/* '2' is the minimal size of chunked footer ("\r\n") */
if (buf_size < 2)
return MHD_NO;
+ mhd_assert (NULL != c->write_buffer);
buf = c->write_buffer + c->write_buffer_append_offset;
+ mhd_assert (NULL != buf);
used_size = 0;
for (pos = c->response->first_header; NULL != pos; pos = pos->next)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: build_connection_chunked_response_footer: asserts added,
gnunet <=