summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-06-15 12:33:22 -0500
committerRichard Mudgett <rmudgett@digium.com>2017-06-15 12:35:53 -0500
commit11ec2945c7a8f43cdc71c58ccf76846e34150830 (patch)
treec28da33b2aaf777be986e1de1e5de688f3ce1b87 /configure.ac
parent15c04db3bd976edc60393f6261c60ca779a1f8d2 (diff)
chan_pjsip: Fix PJSIP_MEDIA_OFFER dialplan function read.
The construction of the returned string assumed incorrectly that the supplied buffer would always be initialized as an empty string. If it is not an empty string we could overrun the supplied buffer by the length of the non-empty buffer string plus one. It is also theoreticaly possible for the supplied buffer to be overrun by a string terminator during a read operation even if the supplied buffer is an empty string. * Fix the assumption that the supplied buffer would already be an empty string. The buffer is not guaranteed to contain an empty string by all possible callers. * Fix string terminator buffer overrun potential. Change-Id: If6a0806806527678c8554b1dcb34fd7808aa95c9
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions