summaryrefslogtreecommitdiff
path: root/strings/json_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/json_lib.c')
-rw-r--r--strings/json_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c
index 1b9adfff117..5c7747617e9 100644
--- a/strings/json_lib.c
+++ b/strings/json_lib.c
@@ -826,7 +826,7 @@ static int skip_key(json_engine_t *j)
{
int t_next, c_len;
- if (json_instr_chr_map[j->s.c_next] == S_BKSL &&
+ if (j->s.c_next<128 && json_instr_chr_map[j->s.c_next] == S_BKSL &&
json_handle_esc(&j->s))
return 1;