diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-05-06 22:55:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-07 08:39:36 +0200 |
commit | 5c53bd980b526d1cc5faa795097ba64645a2de34 (patch) | |
tree | 2af34b696af943a43ce26698d040812885572256 /lib/vquic/ngtcp2.c | |
parent | 68027623e2dbecae80183008275e106b4b12e54f (diff) | |
download | curl-5c53bd980b526d1cc5faa795097ba64645a2de34.tar.gz |
ngtcp2: fix the cb_acked_stream_data_offset proto
The 'datalen' value should be 64 bit, not size_t!
Reported-by: Dmitry Karpov
Bug: https://curl.se/mail/lib-2021-05/0019.html
Closes #7027
Diffstat (limited to 'lib/vquic/ngtcp2.c')
-rw-r--r-- | lib/vquic/ngtcp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 6eb393ffd..15184827a 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -603,7 +603,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags, static int cb_acked_stream_data_offset(ngtcp2_conn *tconn, int64_t stream_id, - uint64_t offset, size_t datalen, void *user_data, + uint64_t offset, uint64_t datalen, void *user_data, void *stream_user_data) { struct quicsocket *qs = (struct quicsocket *)user_data; |