Merged revisions 166568 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Tue, 23 Dec 2008 15:17:54 +0000 (15:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 23 Dec 2008 15:17:54 +0000 (15:17 +0000)
commit859ae78977ef5f78eaa96373e3426b5fb3da288f
tree084c3dfad4e97f591d46bdc1489e33706227d44b
parent18e07935ed78c972f3db1cac3220f76e5c782fe5
Merged revisions 166568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r166568 | mmichelson | 2008-12-23 09:16:26 -0600 (Tue, 23 Dec 2008) | 12 lines

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/trunk@166569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c