ZSTD_getFrameHeader_advanced() function improvements
Open
- Dominant language
- C
- Stars
- 27.9k
- Forks
- 2.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 8
Description
1. the struct was memset() twice.
https://github.com/facebook/zstd/blob/dev/lib/decompress/zstd_decompress.c#L486
2. On 32-bit build, return error when `windowLog` == 31.
https://github.com/facebook/zstd/blob/dev/lib/decompress/zstd_decompress.c#L517
Contributor guide
Assessment
This issue has not been assessed yet.