diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-23 16:07:12 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:51 -0600 |
commit | f7952c5774671414d9e0e8d3524c2921daa6f28e (patch) | |
tree | f6b30b00d226b3936e0b88166fcac16bb97a29f8 /include/elf/wasm32.h | |
parent | 17568d782d96434537fe9698c5ebcb09f35c20cb (diff) | |
download | gdb-f7952c5774671414d9e0e8d3524c2921daa6f28e.zip gdb-f7952c5774671414d9e0e8d3524c2921daa6f28e.tar.gz gdb-f7952c5774671414d9e0e8d3524c2921daa6f28e.tar.bz2 |
Fix latent bug in set_is_exec_point_at
valgrind pointed out that the TUI was using uninitialized memory in
set_is_exec_point_at. The bug is a missing check against LOA_ADDRESS,
causing gdb to examine the uninitialized bits of the "addr" field.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c
(tui_source_window_base::set_is_exec_point_at): Add check against
LOA_ADDRESS.
Diffstat (limited to 'include/elf/wasm32.h')
0 files changed, 0 insertions, 0 deletions