aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open-bfd.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-15 12:52:05 -0600
committerTom Tromey <tromey@adacore.com>2024-04-15 12:52:05 -0600
commitef076b0377c931c8743841572ad5eccafa48c30f (patch)
tree9a3986f133471748c979f8bd25fcc69d116ef10c /libctf/ctf-open-bfd.c
parent12406b2cdab40fd05df65c4fe4aabaf4882fcc8e (diff)
downloadbinutils-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