Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gzip: fix wrong usage of address when calculating available size
flb_gzip_compress() calculate strm.avail_out while compressing the buffer. However, it wrongly uses `out_data` which is argument to this function and likely to be an address of local variable in stack. This should be `out_buf` which is the start address and to which `pb` belongs to. Signed-off-by: Lee Byeoksan <[email protected]>
- Loading branch information