Commit 54064fdb authored by Alan Modra's avatar Alan Modra
Browse files

Fix use after free in cgen instruction lookup

	* cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
	Use insn_bytes_value and insn_int_value directly instead.  Don't
	free allocated memory until function exit.
parent 09ec4d31
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment