[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/06: process_request_body(): fixed one byte buffer ove
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/06: process_request_body(): fixed one byte buffer overrun |
Date: |
Wed, 24 Nov 2021 19:57:10 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 27cd374594dc2f3d9f957f1b6a539a09b68b196a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Nov 23 17:51:11 2021 +0300
process_request_body(): fixed one byte buffer overrun
---
src/microhttpd/connection.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index bbe363bd..d3ebc076 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3179,6 +3179,8 @@ process_request_body (struct MHD_Connection *connection)
if (i >= 16)
break;
}
+ if (i >= available)
+ break;
end_size = i;
/* find beginning of CRLF (skip over chunk extensions) */
if (';' == buffer_head[i])
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (ad9fc5c6 -> 385b4df1), gnunet, 2021/11/24
- [libmicrohttpd] 04/06: parse_connection_headers(): simplified 'Content-Length' processing, gnunet, 2021/11/24
- [libmicrohttpd] 02/06: process_request_body(): fixed: do allow sizes with more than 16 digits, gnunet, 2021/11/24
- [libmicrohttpd] 01/06: process_request_body(): fixed one byte buffer overrun,
gnunet <=
- [libmicrohttpd] 03/06: process_request_body(): rewritten chunk size detection; fixes, gnunet, 2021/11/24
- [libmicrohttpd] 05/06: Fixed builds without messages, gnunet, 2021/11/24
- [libmicrohttpd] 06/06: parse_connection_headers(): report if client payload is too large., gnunet, 2021/11/24