]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Chaos: handle failed allocation in get_media_encryption_type 47/1147/1
authorScott Griepentrog <scott@griepentrog.com>
Wed, 26 Aug 2015 20:26:00 +0000 (15:26 -0500)
committerScott Griepentrog <scott@griepentrog.com>
Wed, 26 Aug 2015 20:26:00 +0000 (15:26 -0500)
commit6bfa14bdad3f0f00923c386a5e7db9621a9719ff
tree03cafb985d1e6c30aa851afcec5cb5c4b781d6d4
parentd03d09aad30320b2e80c6473021116982c91cee2
Chaos: handle failed allocation in get_media_encryption_type

If the ast_strndup() call fails to allocate a copy of the
transport string for parsing, fail gracefully.

ASTERISK-25323
Reported by: Scott Griepentrog

Change-Id: Ia4b905ce6d03da53fea526224455c1044b1a5a28
res/res_pjsip_sdp_rtp.c