[PATCH] Fix a double free in objcopy.

Alan Modra amodra@gmail.com
Wed Jan 27 02:49:29 GMT 2021


On Tue, Jan 26, 2021 at 09:57:20AM +0000, Nick Clifton via Binutils wrote:
> Hi Frederic,
> 
> > 	* objcopy.c (copy_main): Fix a double free happening when both
> > 	--localize-symbols and --globalize-symbols options are invoked
> > 	together.
> 
> Patch approved and applied.  Thanks very much for catching this typo.

I put this on the 2.36 and 2.35 branches too, along with c3ffb8f340
"Segmentation fault i386-gen" on the grounds these patches are zero
risk.  I also put 4287950e54 "pr27228 testcase" on 2.36 to fix the
testcase that was applied there.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list