aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-02-11 17:17:59 +1030
committerAlan Modra <amodra@gmail.com>2017-02-11 17:40:41 +1030
commit54064fdb792313355c92d9880680fad825d71ebd (patch)
treefb800d6e1ab9eb52273675c460716ddd80fdfcc3 /gas/cgen.h
parent09ec4d3122e69d1ff040e59394879b4d8d154605 (diff)
downloadgdb-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