Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assert in case resize output buffer will attempt to shrink too much (#…
…11839) Currently there is no BUG. However during some internal code changes I found that it can happen (for example in case new code will not update the buf_peak) which can currently lead to memory overrun which is much harder to detect and root cause. Why did I please the assert here? The reason is to be able to have the buf_peak value without the risk of it being overriden by the peak_reset
- Loading branch information