diff options
author | Nick Clifton <nickc@redhat.com> | 2020-07-22 16:07:48 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-07-22 16:07:48 +0100 |
commit | df16e041deafa1d7fe7d8e65c02213b885c60a8e (patch) | |
tree | e70b7fb09d95c52f99cdc93a4345a6c6b4c6bd3c /libctf/ctf-create.c | |
parent | a7b4ff4f0a0e503414b6b9a4184365fdb1f00fbe (diff) | |
download | gdb-df16e041deafa1d7fe7d8e65c02213b885c60a8e.zip gdb-df16e041deafa1d7fe7d8e65c02213b885c60a8e.tar.gz gdb-df16e041deafa1d7fe7d8e65c02213b885c60a8e.tar.bz2 |
Fix problems in CTF handling code exposed by the Coverity static analysis tool.
readelf * readelf.c (parse_args): Silence potential warnings about a
memory resource leak when allocating space for ctf option values.
(dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
variable.
libctf * ctf-archive.c (ctf_arc_write): Avoid calling close twice on the
same file descriptor.
Diffstat (limited to 'libctf/ctf-create.c')
0 files changed, 0 insertions, 0 deletions