[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 03/03: connection: fixed wrong read buffer reallocation
From: |
gnunet |
Subject: |
[libmicrohttpd] 03/03: connection: fixed wrong read buffer reallocation |
Date: |
Sat, 05 Jun 2021 14:39:18 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 732bc0a0c3971ede380a6237635f383745515aa0
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Jun 4 15:52:38 2021 +0300
connection: fixed wrong read buffer reallocation
---
src/microhttpd/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5038b378..b240e14a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3044,7 +3044,7 @@ MHD_connection_handle_read (struct MHD_Connection
*connection)
/* shrink read buffer to how much is actually used */
MHD_pool_reallocate (connection->pool,
connection->read_buffer,
- connection->read_buffer_size + 1,
+ connection->read_buffer_size,
connection->read_buffer_offset);
break;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.