<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 0dcdd78cb5ba84f940fdcf0dfefcfb7ee17cc0c6 (commit)
from: e8a1055854bb4cc7037f3be434e261280714dfdf (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments:
FS-3054 --comment-only try latest commit, I can guess what probably causes the seg based on my last patch
<span style="color: #000080; font-weight: bold">diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c</span>
<span style="color: #000080; font-weight: bold">index dff33ee..9e8d820 100644</span>
<span style="color: #A00000">--- a/src/mod/endpoints/mod_sofia/mod_sofia.c</span>
<span style="color: #00A000">+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c</span>
<span style="color: #800080; font-weight: bold">@@ -4601,16 +4601,16 @@ static void general_event_handler(switch_event_t *event)</span>
                                const char *new_ip4 = switch_event_get_header_nil(event, "network-external-address-change-v4");
                                
                                switch_mutex_lock(mod_sofia_globals.hash_mutex);
<span style="color: #A00000">-                                if (mod_sofia_globals.profile_hash) {</span>
<span style="color: #00A000">+                                if (mod_sofia_globals.profile_hash && !zstr(old_ip4) && !zstr(new_ip4)) {</span>
                                        for (hi = switch_hash_first(NULL, mod_sofia_globals.profile_hash); hi; hi = switch_hash_next(hi)) {
                                                switch_hash_this(hi, &var, NULL, &val);
                                                if ((profile = (sofia_profile_t *) val)) {
<span style="color: #A00000">-                                                        if (!strcmp(profile->extsipip, old_ip4)) {</span>
<span style="color: #00A000">+                                                        if (!zstr(profile->extsipip) && !strcmp(profile->extsipip, old_ip4)) {</span>
                                                                profile->extsipip = switch_core_strdup(profile->pool, new_ip4);
                                                        }
<span style="color: #A00000">-                                                        if (!strcmp(profile->extrtpip, old_ip4)) {</span>
<span style="color: #00A000">+                                                        if (!zstr(profile->extrtpip) && !strcmp(profile->extrtpip, old_ip4)) {</span>
                                                                profile->extrtpip = switch_core_strdup(profile->pool, new_ip4);
                                                        }
                                                }
</pre></div>
========================================================================<pre>
Summary of changes:
src/mod/endpoints/mod_sofia/mod_sofia.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>