diff options
author | Nick Clifton <nickc@redhat.com> | 2018-08-01 14:34:41 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-08-01 14:34:41 +0100 |
commit | 103da91bc083f94769e3758175a96d06cef1f8fe (patch) | |
tree | 781c4671d0055eca0dd72af38b23e228d0d70e90 /configure.ac | |
parent | 50320b1d4a1dd06db70aeea485e0ffd9871548e0 (diff) | |
download | gdb-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