]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CHAOS: prevent crash on failed strdup 42/2342/2
authorScott Griepentrog <scott@griepentrog.com>
Wed, 2 Mar 2016 15:34:10 +0000 (09:34 -0600)
committerScott Griepentrog <sgriepentrog@digium.com>
Wed, 2 Mar 2016 17:59:33 +0000 (11:59 -0600)
commit3c37c7071f82eca8cc068fee6c16a842eddbddb6
tree8c95487dbe32d8e9f7b96bbe0bdd23cc9a23f992
parentd1495bc0ebed86d322488bed647b43aba0ae9b1f
CHAOS: prevent crash on failed strdup

This patch avoids crashing on a null pointer
if the strdup() allocation fails.

ASTERISK-25323

Change-Id: I3f67434820ba53b53663efd6cbb42749f4f6c0f5
res/res_pjsip_messaging.c