Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-31 | AK: Don't perform the shift when it's too large when decoding LEB128 | Ali Mohammad Pur | |
Prior to this, we calculated whether the shift was too large for the result, and then did the shift regardless. Found by OSS-Fuzz: https://oss-fuzz.com/testcase-detail/6046441716973568 | |||
2021-05-31 | AK: Handle LEB128 encoded values that are too large for the result type | Andrew Kaster | |
Previously, we would go crazy and shift things way out of bounds. Add tests to verify that the decoding algorithm is safe around the limits of the result type. | |||
2021-05-04 | AK: Make LEB128 capable of reading into any type | Ali Mohammad Pur | |
And not just ssize_t/size_t. This is useful in cases where the output size is supposed to be larger than size_t. | |||
2021-05-04 | AK: Move the LEB128 logic to AK and make it usable with InputStream | Ali Mohammad Pur | |