diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-04-27 11:11:40 -0600 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-04-27 12:19:06 -0500 |
commit | 356568dc7f75422c27fc89f57feac8e797531f30 (patch) | |
tree | cf27fe3b6fe135ea8021d0264edd798d58464775 /main/format_cache.c | |
parent | d7f4788341f08f386341416aa3944c7f9bc0dc1b (diff) |
res_pjsip: Fix SEGV on pending-qualify contacts
Permanent contacts that hadn't been qualified yet were missing
their contact_status entries causing SEGVs when running CLI
commands.
This patch makes sure that contact_statuses are created for
both dynamic and permanent contacts when they are created.
It also adds checks in the CLI code to make sure there's a
contact_status, just in case.
ASTERISK-25018 #close
Reported-by: Ivan Poddubny
Tested-by: Ivan Poddubny
Tested-by: George Joseph
Change-Id: I3cc13e5cedcafb24c400368b515b02d7fb81e029
Diffstat (limited to 'main/format_cache.c')
0 files changed, 0 insertions, 0 deletions