]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 369391 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Tue, 26 Jun 2012 14:21:46 +0000 (14:21 +0000)
committerAutomerge script <automerge@asterisk.org>
Tue, 26 Jun 2012 14:21:46 +0000 (14:21 +0000)
commit3fe87f3c47142297683cbb28a19cd291f25840eb
treeec5c04bc4da220c28ae6012a92242b281cc28b60
parent4478e3580b06f7b94ce8e3ca8860b1e57e039b73
Merged revisions 369391 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r369391 | mjordan | 2012-06-26 08:22:42 -0500 (Tue, 26 Jun 2012) | 15 lines

  Fix crash in unloading of res_adsi module

  When res_adsi is unloaded, it removes the ADSI functions that it previously installed
  by passing a NULL adsi_funcs pointer to ast_adsi_install_funcs.  This function was not
  checking whether or not the adsi_funcs pointer passed in was NULL before dereferencing
  it to check whether or not the version of the functions matches what the core was
  expecting it.

  This patch makes it so that the version is only checked if a potentially valid adsi_funcs
  pointer was passed in.  Passing in NULL removes the installed functions, bypassing the
  version check.
  ........

  Merged revisions 369390 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@369406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/adsi.c