diff options
author | Alexander Sverdlin <alexander.sverdlin@gmail.com> | 2015-03-29 20:44:04 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-03-30 09:37:11 +0200 |
commit | 58ec01b35c046f5f167763343514c20170bfd2eb (patch) | |
tree | f5e06ce17cad77795f29ce7728c106871623fead /src/test/test-sigbus.c | |
parent | 9964a9eb7b18d6ad172a7921cf88efabde05d121 (diff) |
systemd-bootchart: Prevent leaking file descriptors in open-fdopen combination
Correctly handle the potential failure of fdopen() (because of OOM, for instance)
after potentially successful open(). Prevent leaking open fd in such case.
Diffstat (limited to 'src/test/test-sigbus.c')
0 files changed, 0 insertions, 0 deletions