]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: binary outsymbols
authorAlan Modra <amodra@gmail.com>
Sat, 18 Jan 2025 00:25:22 +0000 (10:55 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 18 Jan 2025 00:28:17 +0000 (10:58 +1030)
commit26dd9cb647140db87a5a530fd9f044d356e081de
treebf029ace010bc040341ed569c2b7fe6d6cbde53c
parent5d6142b571fc676821c8c9a1093dcfd10c3e1955
Re: binary outsymbols

The "of course to free outsymbols" turned out to be wrong.  outsymbols
belongs to objcopy which frees them, so commit 6ca01b0bdd59 introduced
a double free.

* srec.c (srec_write_symbols): Don't free outsymbols.
* tekhex.c (tekhex_write_object_contents): Likewise.
bfd/srec.c
bfd/tekhex.c