diff options
author | George Joseph <gjoseph@digium.com> | 2018-03-16 08:02:20 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2018-03-16 08:09:19 -0600 |
commit | 4d1e3fef6bc8f10b30c656035619e4f8d04ea628 (patch) | |
tree | 489a039f9e433ed9c0618275e81f9e8ed45587ae /main/ccss.c | |
parent | dbf5ff6ed06bf32993fc9b08fc1f0d86f2281826 (diff) |
app_voicemail: Fix json blob errors
When app_voicemail calls ast_test_suite_notify with the results of
a user keypress, it formats the keypress as '%c'. If the user hung up
or some other error occurrs, the result of the keypress is a non
printable character. This ultimately causes json_vpack_ex to think
it's being passed a non utf-8 string and return an error.
* Keypress results passed to ast_test_suite_notify are now checked with
isprint() and a '?' is substituted if the check fails.
Change-Id: I78ee188916bbac840f3d03f40201b692347ea865
Diffstat (limited to 'main/ccss.c')
0 files changed, 0 insertions, 0 deletions