]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a crash resulting from a datastore with inheritance but no duplicate callback
authorMark Michelson <mmichelson@digium.com>
Tue, 23 Dec 2008 15:16:26 +0000 (15:16 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 23 Dec 2008 15:16:26 +0000 (15:16 +0000)
commit62c8625f2e4a66e54421ca4015a068af553a0f0a
tree215f8a75bbdf5b869770203f027b8555762c0ed2
parent45bc54db0a05c38ecd24cd938b5fd941d8c0cdbb
Fix a crash resulting from a datastore with inheritance but no duplicate callback

The fix for this is to simply set the newly created datastore's data pointer
to NULL if it is inherited but has no duplicate callback.

(closes issue #14113)
Reported by: francesco_r
Patches:
      14113.patch uploaded by putnopvut (license 60)
Tested by: francesco_r

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@166568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c