mirror of
https://github.com/facebook/zstd.git
synced 2025-12-01 23:57:51 +03:00
If `weightTotal == 0`, then `BIT_highbit32(weightTotal)` is undefined behavior in the case that it calls `__builtin_clz()`. If `tableLog == HUF_TABLELOG_ABSOLUTEMAX` then we will access one byte beyond the end of the buffer.
164 KiB
164 KiB