Hello, again. This week in the FreeSWITCH master branch we had 105 commits. The topic from last week was fixing a load of issues reported from Coverity.com's static analysis as well as reports from latest clang static analysis. Many of the commits were geared toward removing dead code, initializing variables, and including a build change removing libldns from tree to be a system lib.

The following bugs were squashed:

6072473 FS-6413 update presence_epoch to lock to midnite. fix for broken NOTIFY cseq over TCP after FS is restarted in mod_sofia Jira: http://jira.freeswitch.org/browse/FS-6413
ef18915 make sure old_pid_buffer is null terminated in FS core
59734d8 add bounds check to keep rtcp packets with > 5 report blocks from creating a buffer overrun in switch_rtp
c36e630 added unlock on shutdown after grabbing a read write lock of gcache in mod_http_cache
cc06d91 FS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite-bridged-on-ack FS-6467 please test master
Jira: http://jira.freeswitch.org/browse/FS-4779
974cebd SIP-686 changed mod_say (en) to speak full dates when asked to speak a date in the future (rather than only weekday and time).
8d10e65 fix bitwise flag unsetting
d06b137 fixed error caused by the sip_invite_domain being forced to the IPv4 address in mod_sofia
Jira: http://jira.freeswitch.org/browse/FS-6498
d2c2f17 FS-6500: try to do the bounds checking properly using element of the enum
Jira: http://jira.freeswitch.org/browse/FS-6500

New features that were added:
d0de8c0 add heartbeat_use_scheduler variable to force the heartbeat to use the scheduler rather than the media stream and also make it auto-change between modes when going in and out of the media path in FS core

Improvements in cross platform build supports:
367f4f3 FS-6500: use correct type in ftdm callback in mod_freetdm

Jira: http://jira.freeswitch.org/browse/FS-6500
ca88a04 FS-6500: handle conversion from switch to ftdm cause type which almost match each other in mod_freetdm
Jira: http://jira.freeswitch.org/browse/FS-6500
a3e1b7d Protect cross-compiling from polluted PKG_CONFIG_PATH for temp work around for debain package bug
7da28a2 FS-353: look for ldns pkg-config for homebrew, you will need to update your homebrew ldns package if you installed it prior to this commit, they just fixed the pkg-config file being installed
Jira: http://jira.freeswitch.org/browse/FS-353
cbcf54b FS-6500: fix return value type for outgoing_channel function in mod_freetdm
Jira: http://jira.freeswitch.org/browse/FS-6500
317f4b1 Fix building with musl libc
c462ed6 fixed broken build in mod_voicemail_ivr
Jira: http://jira.freeswitch.org/browse/FS-6499
e57484a FS-6497: --resolve fix for loop initial declaration not allowed
Jira: http://jira.freeswitch.org/browse/FS-6497
cd650f6 removed ldns from tree and used system ldns
13b4115 FS-6500: freebsd does not support the inline backtrace solution in libfreetdm
Jira: http://jira.freeswitch.org/browse/FS-6500
c44404d Add a fallback test for ldns system library

In terms of stability these were the use cases that were fixed:
a9a8524 fix read beyond buffer length error in mod_voicemail_ivr

fc40e4a Avoid leaking data_buf in mod_conference
a83fde3 fixed block of code in here twice was writing over expanded, causing it to potentially leak in mod_lcr
ac9741b don't leak xml string in dl_logger in mod_dingaling
6f16e0d fixed leaking if first realloc fails and second one succeeds in mod_redis
c51b55a FS-6491 fixed a crash caused by running two perl scripts from different threads in the same session in switch_channel
Jira: http://jira.freeswitch.org/browse/FS-6491
23b3e17 fixed leak in file handle if fd=0 in mod_redis
a1a3974 fixed leaked body in error case for esl

Feedback is welcome at kathleen.king@quentustech.com and the commits for this week are in the attached file along with the corresponding Jira links. 

-- 
Kathleen King
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main:   (877) 211-9337
Cell:   (703) 859-3757
kathleen.king@quentustech.com