CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2019/03/01 09:46:11
Modified files: gnu/usr.bin/binutils-2.17/bfd: elflink.c Log message: Fix a crash: don't assume that all input files are ELF objects ld(1) would try to free uninitialized memory when used with -r -b binary <fontfile> by ports/textproc/mupdf. Perform the same bfd type check as bfd_elf_match_symbols_in_sections(). Fix found the hard way, cheese and wine sponsor: miod. Almost identical fix already present upstream. Also set the freed pointer to NULL, just in case. ok tb@ sthen@