diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-11 17:17:59 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-11 17:40:41 +1030 |
commit | 54064fdb792313355c92d9880680fad825d71ebd (patch) | |
tree | fb800d6e1ab9eb52273675c460716ddd80fdfcc3 /gas/cgen.h | |
parent | 09ec4d3122e69d1ff040e59394879b4d8d154605 (diff) | |
download | gdb-54064fdb792313355c92d9880680fad825d71ebd.zip gdb-54064fdb792313355c92d9880680fad825d71ebd.tar.gz gdb-54064fdb792313355c92d9880680fad825d71ebd.tar.bz2 |
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.
Diffstat (limited to 'gas/cgen.h')
0 files changed, 0 insertions, 0 deletions