gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 186/220: quiche: decrease available buffer size, do


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 186/220: quiche: decrease available buffer size, don't assign it!
Date: Thu, 12 Sep 2019 17:29:06 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 4d9e3247718654cfce75e847615d0dcebbc1dba6
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Aug 29 18:55:29 2019 +0200

    quiche: decrease available buffer size, don't assign it!
    
    Found-by: Jeremy Lainé
---
 lib/vquic/quiche.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index a17bd6a1c..7968f7e17 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -442,7 +442,7 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
         buf[0] = '\r';
         buf[1] = '\n';
         buf += 2;
-        buffersize = 2;
+        buffersize -= 2;
         stream->firstbody = TRUE;
         recvd = 2; /* two bytes already */
       }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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