Merged revisions 326291 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 5 Jul 2011 17:35:54 +0000 (17:35 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 5 Jul 2011 17:35:54 +0000 (17:35 +0000)
commit14d510c5b7a07cefdd617f276da5617e197c9f05
treeae8564bc7171d1716a2b513d814722b6768dce10
parent8b20d4ffe84c6be70832901a937ab17a8575714a
Merged revisions 326291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r326291 | rmudgett | 2011-07-05 12:22:59 -0500 (Tue, 05 Jul 2011) | 23 lines

  Used auth= parameter freed during "sip reload" causes crash.

  If you use the auth= parameter and do a "sip reload" while there is an
  ongoing call.  The peer->auth data points to free'd memory.

  The patch does several things:

  1) Puts the authentication list into an ao2 object for reference counting
  to fix the reported crash during a SIP reload.

  2) Converts the authentication list from open coding to AST list macros.

  3) Adds display of the global authentication list in "sip show settings".

  (closes issue ASTERISK-17939)
  Reported by: wdoekes
  Patches:
        jira_asterisk_17939_v1.8.patch (license #5621) patch uploaded by rmudgett

  Review: https://reviewboard.asterisk.org/r/1303/

  JIRA SWP-3526
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@326321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h