mirror of
https://github.com/curl/curl.git
synced 2026-06-03 12:04:14 +03:00
quiche: decrease available buffer size, don't assign it!
Found-by: Jeremy Lainé
This commit is contained in:
parent
db8f760319
commit
4d9e324771
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue