Skip to content
Permalink
Browse files

quiche: decrease available buffer size, don't assign it!

Found-by: Jeremy Lainé
  • Loading branch information...
bagder committed Aug 29, 2019
1 parent db8f760 commit 4d9e3247718654cfce75e847615d0dcebbc1dba6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 */
}

0 comments on commit 4d9e324

Please sign in to comment.
You can’t perform that action at this time.