]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Resolve potential crash in allocate_subscription.
authorCorey Farrell <git@cfware.com>
Fri, 27 Oct 2017 18:41:15 +0000 (14:41 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 27 Oct 2017 18:53:30 +0000 (13:53 -0500)
commit987b16e8f9f9090f8ab3789bcafda7b27cd99412
tree7066d61afd93fd9825fc868de02f1a95bac71fb2
parent2e5e7e0b143c2fdbd852d98a5d356a3fe1c3bc43
res_pjsip_pubsub: Resolve potential crash in allocate_subscription.

When allocate_subscription fails to initialize fields of the new sub it
calls destroy_subscription.

Change-Id: I5b79c915ec216dc00c13c1e4172137864a4bec85
res/res_pjsip_pubsub.c