diff options
author | Michal Zidek <mzidek@redhat.com> | 2013-03-06 16:46:32 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-07 18:35:38 +0100 |
commit | 20c2bd06b530866a3c9670e6d0da266e7279db5e (patch) | |
tree | 4eea74dceb7952b4df4f7ddcb3c261ecb0108908 /src/responder/nss/nsssrv_cmd.c | |
parent | 400833cf54777ad44247c6adaf29b586bc83eb14 (diff) | |
download | sssd-20c2bd06b530866a3c9670e6d0da266e7279db5e.tar.gz sssd-20c2bd06b530866a3c9670e6d0da266e7279db5e.tar.bz2 sssd-20c2bd06b530866a3c9670e6d0da266e7279db5e.zip |
File descriptor leak in nss responder.
File descriptors leaked every time sss_mmap_cache_reinit was
called and also the old memory cache was still maped in memory
(munmap was not called). This patch adds destructor for memory
cache context to call close() and munmap() automaticly.
https://fedorahosted.org/sssd/ticket/1826
Diffstat (limited to 'src/responder/nss/nsssrv_cmd.c')
0 files changed, 0 insertions, 0 deletions