]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CHAOS: prevent crash on failed strdup 40/2340/2
authorScott Griepentrog <scott@griepentrog.com>
Wed, 2 Mar 2016 15:34:10 +0000 (09:34 -0600)
committerScott Griepentrog <scott@griepentrog.com>
Wed, 2 Mar 2016 16:29:16 +0000 (10:29 -0600)
commit60aa871be3a9a5de2d5029a19b7f8fcfb7f4ea88
tree39c3ad8ecd1b7cfc3777059ab6785e1acc92256d
parentd0b26c3133e831e915990fd806257d9ef07c508b
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