alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.65k stars 326 forks source link

fix: stream offset overflow issue in 32-bit system #300

Closed alexliu-liu closed 1 year ago

alexliu-liu commented 1 year ago

Stream offset may be transfer from uint64_t to size_t when gen stream frame. In 32bit system, size_t means unsign int. This may cause stream offset error when offset larger than 2^32.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


shiwen.lc seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.