res_pjsip_pubsub.c: Fix one byte buffer overrun error.
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:16:12 +0000 (13:16 -0500)
commit2b30fc2b2d822f06169d14592d0bd10b8d2547fb
tree0da83de2dfdf8619d4c40b6f1c3142bacdb9e3fd
parent08a182c8e61e336dbf1a467b4c6677cef6ccac6c
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