aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorPedro Franco de Carvalho <pedromfc@linux.ibm.com>2019-08-09 16:49:46 -0300
committerPedro Franco de Carvalho <pedromfc@linux.ibm.com>2019-08-09 16:49:46 -0300
commitdac36daf78653a8e4688b825cdb15461a88470d2 (patch)
tree79c9da1215c992c5b640fa47f1749d6caeb71c65 /gas/expr.c
parent1022c627dbd9d7f7f67ac68f16de05474de7a75a (diff)
downloadgdb-dac36daf78653a8e4688b825cdb15461a88470d2.zip
gdb-dac36daf78653a8e4688b825cdb15461a88470d2.tar.gz
gdb-dac36daf78653a8e4688b825cdb15461a88470d2.tar.bz2
Fix access to uninitialized variable in fill_in_stop_func
This patch changes find_pc_partial_function so that *block is set to nullptr when it fails, so that fill_in_stop_func won't access an uninitialized variable. gdb/ChangeLog: 2019-08-09 Pedro Franco de Carvalho <pedromfc@linux.ibm.com> * blockframe.c (find_pc_partial_function): Set *block to nullptr when the function fails.
Diffstat (limited to 'gas/expr.c')
0 files changed, 0 insertions, 0 deletions