diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2015-10-26 11:17:29 -0200 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2015-10-26 11:17:29 -0200 |
commit | 7cc53fba0a4e5c316a6e86fdae28f8cc9d0f9a68 (patch) | |
tree | 0ffebc7f225580276a9a1b02dc5235a8b1c721d6 /bfd/elf32-msp430.c | |
parent | 48ffa2b8cd986527a41654c3b27755bbf6762048 (diff) | |
download | gdb-7cc53fba0a4e5c316a6e86fdae28f8cc9d0f9a68.zip gdb-7cc53fba0a4e5c316a6e86fdae28f8cc9d0f9a68.tar.gz gdb-7cc53fba0a4e5c316a6e86fdae28f8cc9d0f9a68.tar.bz2 |
Do not pass NULL for the string in catch_errors
I caught a segmentation fault while running gdb.reverse/sigall-reverse.exp,
in a mingw32 GDB, in this code path. It boils down to the code trying to
strlen () a NULL pointer. I tracked things down and it looks like
record_full_message_wrapper_safe is the only offender.
gdb/ChangeLog:
2015-10-26 Luis Machado <lgustavo@codesourcery.com>
* record-full.c (record_full_message_wrapper_safe): Pass empty string to
catch_errors call instead of NULL.
Diffstat (limited to 'bfd/elf32-msp430.c')
0 files changed, 0 insertions, 0 deletions