gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]