]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Chaos: handle failed allocation in get_media_encryption_type 48/1148/1
authorScott Griepentrog <scott@griepentrog.com>
Wed, 26 Aug 2015 20:26:00 +0000 (15:26 -0500)
committerScott Griepentrog <sgriepentrog@digium.com>
Wed, 26 Aug 2015 20:32:28 +0000 (15:32 -0500)
commit6862c2a167f4ed2cb8511bb1ae94a13582afa25b
tree0bc7a57474819a60b43c638d129331d8bbd96d76
parentc01111223f9dbd383a4dd1cf786b63eff214f238
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