[asterisk-dev] [Code Review] 4450: locatime.c file descriptor leak on kqueue(2) systems

Ed Hynan reviewboard at asterisk.org
Wed Feb 25 10:37:30 CST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4450/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-24739
    https://issues.asterisk.org/jira/browse/ASTERISK-24739


Repository: Asterisk


Description
-------

File descriptor leak on kqueue(2) systems (found on OpenBSD 5.5) on main/stdtime/localtime.c -- TZ data files change watch code within the time functions. (Issue at https://issues.asterisk.org/jira/browse/ASTERISK-24739.)


Diffs
-----

  tags/11.7.0/main/stdtime/localtime.c 432235 

Diff: https://reviewboard.asterisk.org/r/4450/diff/


Testing
-------

Patch initially developed against OpenBSD 5.5 ports package sources, and Asterisk in use. Subsequently developed test program that can run original or patched 11.7.0 code.


File Attachments
----------------

localtime.c (11.7.0) test program
  https://reviewboard.asterisk.org/media/uploaded/files/2015/02/25/f7a19f2a-4a8a-4aff-b7d6-44a4146c358c__patchtest.tgz


Thanks,

Ed Hynan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150225/4c6b2579/attachment.html>


More information about the asterisk-dev mailing list