asan: uninitialised write in bfd_mach_o_write_contents
authorAlan Modra <amodra@gmail.com>
Sat, 4 Jun 2022 09:01:54 +0000 (18:31 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 4 Jun 2022 11:27:36 +0000 (20:57 +0930)
commit21aacea42ecaa7aca9b686e8de0f79a1f4e7d668
tree8111f8f14034c4a89303cbcd2fca750d437bb1bd
parentac3afe36d73c84096685fece885d70b28bc9629f
asan: uninitialised write in bfd_mach_o_write_contents

* mach-o.c (bfd_mach_o_write_contents): Always set
bfd_mach_o_dyld_info_command *_off fields.
bfd/mach-o.c