diff options
author | Tom Tromey <tromey@adacore.com> | 2024-04-15 12:52:05 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-04-15 12:52:05 -0600 |
commit | ef076b0377c931c8743841572ad5eccafa48c30f (patch) | |
tree | 9a3986f133471748c979f8bd25fcc69d116ef10c /libctf/ctf-open-bfd.c | |
parent | 12406b2cdab40fd05df65c4fe4aabaf4882fcc8e (diff) | |
download | binutils-ef076b0377c931c8743841572ad5eccafa48c30f.zip binutils-ef076b0377c931c8743841572ad5eccafa48c30f.tar.gz binutils-ef076b0377c931c8743841572ad5eccafa48c30f.tar.bz2 |
Fix crash in gdb_rl_callback_handler
commit bdcd50f9 ("Strip trailing newlines from input string")
introduced a crash in eof-exit.exp. This patch fixes the problem by
adding a NULL check in the appropriate spot.
Regression tested on x86-64 Fedora 38. I'm checking this in.
Diffstat (limited to 'libctf/ctf-open-bfd.c')
0 files changed, 0 insertions, 0 deletions