]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Fix one byte buffer overrun error. 41/1241/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 21 Aug 2015 20:26:30 +0000 (15:26 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 10 Sep 2015 18:10:20 +0000 (13:10 -0500)
commit8b3ed52239b24546b1ee12156dadccb70db7403e
treee3aa1f852ee6bf6a11dd4677667e89f615a8c95f
parent4329bd1e4c059e714122465901ea2c46dd924b71
res_pjsip_pubsub.c: Fix one byte buffer overrun error.

ast_sip_pubsub_register_body_generator() did not account for the null
terminator set by sprintf() in the allocated output buffer.

Change-Id: I388688a132e479bca6ad1c19275eae0070969ae2
res/res_pjsip_pubsub.c