PR29855, ch_type in bfd_init_section_decompress_status can be uninitialized
authorAlan Modra <amodra@gmail.com>
Mon, 5 Dec 2022 22:07:52 +0000 (08:37 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 6 Dec 2022 00:01:50 +0000 (10:31 +1030)
commit5830876a0cca17bef3b2d54908928e72cca53502
tree1a89d4d1836566af89d6a6979c77f5457aff2d71
parent60d2606411775a2946700ed740f54a4bc7d63d0a
PR29855, ch_type in bfd_init_section_decompress_status can be uninitialized

PR 29855
* compress.c (bfd_init_section_decompress_status): Set ch_type
to zero for zlib-gnu case.
bfd/compress.c