Tree
- Tree:
2dc0cd9416d56530f99f4df1c4da71fabfd01f16
- Date:
- Message:
- zero-initialize all of struct got_deflate_buf in got_deflate_init() Fixes a potential bogus free on error. got_deflate_end() relies on zb.flags to be initialized. It will try to free a bogus zb.outbuf pointer if zb.flags happens to set by uninitialized stack memory while we are calling got_deflate_end() in an error path.
Makefile | commits | blame |
gotctl.8 | commits | blame |
gotctl.c | commits | blame |