| commit | 2d4989e98ee5e63b76ce3e35b0e02baaee2f50cb | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Nov 09 16:37:42 2022 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Wed Nov 09 17:31:41 2022 +1030 |
| tree | 98730a35dbee4cae3b82f83999a0e86d46f13923 | |
| parent | a8d181c0fdae61f788d0332e3d9c0cff4b80eaa5 [diff] |
Re: Fuzzed files in archives Like commit ffbe89531c2e this avoids more silliness writing output that is going to be deleted. bfd_close and bfd_close_all_done differ in that only the former calls _bfd_write_contents. * objcopy.c (copy_archive): Don't call bfd_close for elements that are going to be deleted, call bfd_close_all_done instead. Do the same for the archive itself.