diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-03-10 17:47:04 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-03-10 17:47:04 +0000 |
commit | 92178247eefcf9b84bbc22a836345b43ab8770b2 (patch) | |
tree | 0561e94dd72556a13cbeacc317fe9a45673f9d72 /apps/app_voicemail.c | |
parent | cae712d986211c636f669101bf8071975570fbcf (diff) |
localtime: Fix file descriptor leak on kqueue(2) systems
The localtime management in the Asterisk core contains a thread that watches
for changes in the local timezone. On systems where the directory containing
/etc/localtime is modified frequently, the thread monitoring the changes will
be woken up to determine if any changes in timezone have occurred. When using
kqueue(2), this can cause a leak of file descriptors due to some improper
management of resources.
This patch updates the kqueue(2) handling in localtime, such that is no longer
leaks resources.
Review: https://reviewboard.asterisk.org/r/4450/
ASTERISK-24739 #close
Reported by: Ed Hynan
patches:
11.15.0-u.diff uploaded by Ed Hynan (Licnese 6680)
11.7.0-u.diff uploaded by Ed Hynan (License 6680)
svn-trunk-Jan-26-2015-u.diff uploaded by Ed Hynan (License 6680)
........
Merged revisions 432691 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@432693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
0 files changed, 0 insertions, 0 deletions