grub2/grub-core/io
Daniel Axtens b5a2b59cc5 io/gzio: Zero gzio->tl/td in init_dynamic_block() if huft_build() fails
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>
2021-03-02 15:54:18 +01:00
..
bufio.c Change fs functions to add fs_ prefix 2019-04-09 10:03:29 +10:00
gzio.c io/gzio: Zero gzio->tl/td in init_dynamic_block() if huft_build() fails 2021-03-02 15:54:18 +01:00
lzopio.c io/lzopio: Resolve unnecessary self-assignment errors 2021-03-02 15:54:16 +01:00
offset.c Change fs functions to add fs_ prefix 2019-04-09 10:03:29 +10:00
xzio.c Change fs functions to add fs_ prefix 2019-04-09 10:03:29 +10:00