Files
poky/meta/recipes-devtools
Yuanjie Huang ca22ef73d0 binutils: Fix CVE-2017-6965 and CVE-2017-6966
Backport upstream commit to address vulnerabilities:

CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137

Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.

	PR binutils/21137
	* readelf.c (target_specific_reloc_handling): Add end parameter.
	Check for buffer overflow before writing relocated values.
	(apply_relocations): Pass end to target_specific_reloc_handling.

CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139

Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.

	PR binutils/21139
	* readelf.c (target_specific_reloc_handling): Add num_syms
	parameter.  Check for symbol table overflow before accessing
	symbol value.  If reloc pointer is NULL, discard all saved state.
	(apply_relocations): Pass num_syms to target_specific_reloc_handling.
	Call target_specific_reloc_handling with a NULL reloc pointer
	after processing all of the relocs.

(From OE-Core rev: 8c52a530ba2beb438aa47956bcec3777a1eafe5f)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-11 18:10:18 +01:00
..
2017-03-01 23:27:09 +00:00
2016-02-19 01:01:24 +00:00
2017-03-01 23:27:06 +00:00
2017-02-15 20:06:43 -08:00
2016-05-25 07:50:17 +01:00
2017-02-15 20:06:43 -08:00
2017-03-31 10:10:29 +01:00
2016-11-06 23:35:34 +00:00
2017-02-15 20:06:41 -08:00
2017-04-05 23:22:13 +01:00
2017-03-01 23:27:11 +00:00
2017-03-01 23:27:06 +00:00
2017-02-23 12:49:51 -08:00
2017-02-23 12:49:50 -08:00
2016-12-17 09:57:04 +00:00