]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Audit ast_json_pack() calls for needed UTF-8 checks. 00/4100/2
authorRichard Mudgett <rmudgett@digium.com>
Wed, 12 Oct 2016 21:24:14 +0000 (16:24 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 13 Oct 2016 23:12:16 +0000 (18:12 -0500)
commitaba27b5a609329b2e2380d0d760d67a9d5de8fe4
tree814b11eda8026fc1f973e84b506dd5f9103b0243
parentbeae5022bfcfa52ee43f6adc1a5a0b35bd63ef7c
Audit ast_json_pack() calls for needed UTF-8 checks.

Added needed UTF-8 checks before constructing json objects in various
files for strings obtained outside the system.  In this case string values
from a channel driver's peer and not from the user setting channel
variables.

* aoc.c: Fixed type mismatch in s_to_json() for time and granularity json
object construction.

ASTERISK-26466
Reported by: Richard Mudgett

Change-Id: Iac2d867fa598daba5c5dbc619b5464625a7f2096
apps/app_fax.c
apps/app_queue.c
main/aoc.c
main/cel.c
res/res_fax.c
res/stasis/app.c