aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-08-01 14:34:41 +0100
committerNick Clifton <nickc@redhat.com>2018-08-01 14:34:41 +0100
commit103da91bc083f94769e3758175a96d06cef1f8fe (patch)
tree781c4671d0055eca0dd72af38b23e228d0d70e90 /configure.ac
parent50320b1d4a1dd06db70aeea485e0ffd9871548e0 (diff)
downloadgdb-103da91bc083f94769e3758175a96d06cef1f8fe.zip
gdb-103da91bc083f94769e3758175a96d06cef1f8fe.tar.gz
gdb-103da91bc083f94769e3758175a96d06cef1f8fe.tar.bz2
Close resource leaks in the BFD library's plugin handler.
PR 23460 * plugin.c (bfd_plugin_open_input): Close file descriptor if the call to fstat fails. (try_claim): Always close the file descriptor at the end of the function. (try_load_plugin): If a plugin has already been registered, then skip the dlopen and onload steps and go straight to claiming the file. If these is an error, close the plugin.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions