[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.
- [GNUnet-SVN] [gnurl] 159/220: travis: add a build using ngtcp2 + nghttp3 (and a patched OpenSSL), (continued)
- [GNUnet-SVN] [gnurl] 159/220: travis: add a build using ngtcp2 + nghttp3 (and a patched OpenSSL), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 158/220: travis: bump to using nghttp2 version 1.39.2, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 178/220: CURLINFO docs: mention that in redirects times are added, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 190/220: CMake: remove needless newlines at end of gss variables, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 188/220: CMake: use platform dependent name for dlopen() library, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 191/220: Curl_addr2string: take an addrlen argument too, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 192/220: THANKS: remove duplicate, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 157/220: docs/examples/curlx: fix errors, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 161/220: ngtcp2: accept upload via callback, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 169/220: quiche: send the HTTP body correctly on callback uploads, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 186/220: quiche: decrease available buffer size, don't assign it!,
gnunet <=
- [GNUnet-SVN] [gnurl] 180/220: ngtcp2: set flow control window to stream buffer size, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 183/220: plan9: fix installation instructions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 184/220: curl: fix include conditions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 211/220: urlapi: one colon is enough for the strspn() input (typo), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 197/220: urldata: avoid 'generic', use dedicated pointers, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 215/220: gitignore: add sig files., gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 198/220: netrc: free 'home' on error, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 213/220: THANKS: from the 7.66.0 release, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 200/220: KNOWN_BUGS/TODO: cleanup and remove outdated issues, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 206/220: travis: disable ngtcp2 builds (again), gnunet, 2019/09/12