mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-30 20:17:19 +00:00
If huft_build() fails, gzio->tl or gzio->td could contain pointers that are no longer valid. Zero them out. This prevents a double free when grub_gzio_close() comes through and attempts to free them again. Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Patch-Name: 2021-02-security/083-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huft_build-fails.patch |
||
|---|---|---|
| .. | ||
| bufio.c | ||
| gzio.c | ||
| lzopio.c | ||
| offset.c | ||
| xzio.c | ||