An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.
cpe:2.3:a:cesanta:mjs:*:*:*:*:*:*:*:*
13B1A3EF-A920-4FB4-BD11-F97092B362F7
2.20.0
OR
System info:  
Ubuntu 16.04.6 LTS, X64, gcc 5.4.0, mjs (latest master 4c870e5)  
Compile Command:
```
$ gcc -fsanitize=address -fno-omit-frame-pointer -DMJS_MAIN mjs.c -ldl -g -o mjs
```
Run Command:
```
$ mjs -f $POC
```
POC file:  
https://github.com/Clingto/POC/blob/master/MSA/mjs/mjs-5fb78-json_parse_array-stack-overflow


ASAN info:
```C
ASAN:SIGSEGV
=================================================================
==29997==ERROR: AddressSanitizer: stack-overflow on address 0x7ffecd8c9eb8 (pc 0x7f833297cb79 bp 0x7ffecd8ca770 sp 0x7ffecd8c9ec0 T0)
    #0 0x7f833297cb78  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x5fb78)
    #1 0x7f833297e145 in __interceptor_vsnprintf (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x61145)
    #2 0x7f833297e3b1 in snprintf (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x613b1)
    #3 0x40a934 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5952
    #4 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #5 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #6 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #7 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #8 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #9 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #10 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #11 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #12 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #13 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #14 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #15 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #16 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #17 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #18 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #19 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #20 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #21 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #22 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #23 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #24 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #25 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #26 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #27 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #28 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #29 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #30 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #31 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #32 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #33 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #34 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #35 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #36 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #37 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #38 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #39 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #40 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #41 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #42 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #43 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #44 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #45 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #46 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #47 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #48 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #49 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #50 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #51 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #52 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #53 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #54 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #55 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #56 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #57 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #58 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #59 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #60 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #61 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #62 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #63 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #64 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #65 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #66 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #67 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #68 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #69 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #70 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #71 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #72 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #73 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #74 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #75 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #76 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #77 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #78 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #79 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #80 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #81 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #82 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #83 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #84 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #85 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #86 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #87 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #88 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #89 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #90 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #91 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #92 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #93 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #94 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #95 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #96 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #97 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #98 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #99 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #100 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #101 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #102 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #103 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #104 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #105 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #106 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #107 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #108 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #109 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #110 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #111 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #112 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #113 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #114 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #115 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #116 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #117 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #118 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #119 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #120 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #121 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #122 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #123 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #124 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #125 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #126 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #127 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #128 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #129 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #130 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #131 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #132 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #133 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #134 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #135 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #136 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #137 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #138 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #139 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #140 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #141 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #142 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #143 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #144 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #145 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #146 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #147 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #148 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #149 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #150 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #151 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #152 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #153 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #154 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #155 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #156 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #157 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #158 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #159 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #160 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #161 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #162 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #163 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #164 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #165 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #166 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #167 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #168 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #169 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #170 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #171 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #172 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #173 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #174 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #175 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #176 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #177 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #178 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #179 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #180 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #181 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #182 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #183 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #184 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #185 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #186 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #187 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #188 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #189 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #190 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #191 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #192 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #193 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #194 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #195 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #196 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #197 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #198 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #199 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #200 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #201 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #202 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #203 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #204 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #205 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #206 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #207 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #208 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #209 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #210 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #211 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #212 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #213 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #214 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #215 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #216 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #217 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #218 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #219 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #220 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #221 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #222 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #223 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #224 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #225 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #226 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #227 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #228 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #229 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #230 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #231 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #232 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #233 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #234 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #235 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #236 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #237 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #238 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #239 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #240 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #241 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #242 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #243 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #244 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #245 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #246 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #247 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #248 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #249 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #250 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #251 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958

SUMMARY: AddressSanitizer: stack-overflow ??:0 ??
==29997==ABORTING

```
AddressSanitizer: stack-buffer-overflow in json_parse_array() mjs.c:5952
This is a GitHub Issue
repo:mjs
owner:cesanta
Title : AddressSanitizer: stack-buffer-overflow in json_parse_array() mjs.c:5952
Issue date:

--- start body ---
System info:  
Ubuntu 16.04.6 LTS, X64, gcc 5.4.0, mjs (latest master 4c870e5)  
Compile Command:
```
$ gcc -fsanitize=address -fno-omit-frame-pointer -DMJS_MAIN mjs.c -ldl -g -o mjs
```
Run Command:
```
$ mjs -f $POC
```
POC file:  
https://github.com/Clingto/POC/blob/master/MSA/mjs/mjs-5fb78-json_parse_array-stack-overflow


ASAN info:
```C
ASAN:SIGSEGV
=================================================================
==29997==ERROR: AddressSanitizer: stack-overflow on address 0x7ffecd8c9eb8 (pc 0x7f833297cb79 bp 0x7ffecd8ca770 sp 0x7ffecd8c9ec0 T0)
    #0 0x7f833297cb78  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x5fb78)
    #1 0x7f833297e145 in __interceptor_vsnprintf (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x61145)
    #2 0x7f833297e3b1 in snprintf (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x613b1)
    #3 0x40a934 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5952
    #4 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #5 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #6 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #7 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #8 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #9 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #10 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #11 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #12 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #13 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #14 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #15 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #16 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #17 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #18 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #19 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #20 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #21 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #22 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #23 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #24 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #25 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #26 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #27 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #28 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #29 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #30 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #31 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #32 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #33 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #34 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #35 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #36 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #37 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #38 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #39 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #40 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #41 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #42 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #43 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #44 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #45 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #46 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #47 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #48 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #49 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #50 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #51 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #52 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #53 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #54 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #55 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #56 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #57 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #58 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #59 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #60 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #61 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #62 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #63 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #64 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #65 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #66 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #67 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #68 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #69 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #70 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #71 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #72 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #73 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #74 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #75 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #76 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #77 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #78 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #79 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #80 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #81 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #82 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #83 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #84 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #85 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #86 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #87 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #88 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #89 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #90 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #91 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #92 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #93 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #94 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #95 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #96 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #97 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #98 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #99 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #100 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #101 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #102 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #103 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #104 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #105 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #106 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #107 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #108 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #109 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #110 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #111 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #112 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #113 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #114 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #115 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #116 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #117 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #118 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #119 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #120 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #121 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #122 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #123 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #124 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #125 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #126 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #127 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #128 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #129 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #130 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #131 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #132 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #133 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #134 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #135 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #136 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #137 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #138 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #139 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #140 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #141 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #142 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #143 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #144 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #145 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #146 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #147 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #148 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #149 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #150 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #151 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #152 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #153 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #154 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #155 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #156 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #157 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #158 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #159 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #160 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #161 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #162 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #163 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #164 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #165 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #166 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #167 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #168 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #169 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #170 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #171 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #172 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #173 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #174 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #175 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #176 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #177 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #178 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #179 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #180 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #181 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #182 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #183 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #184 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #185 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #186 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #187 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #188 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #189 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #190 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #191 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #192 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #193 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #194 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #195 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #196 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #197 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #198 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #199 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #200 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #201 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #202 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #203 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #204 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #205 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #206 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #207 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #208 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #209 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #210 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #211 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #212 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #213 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #214 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #215 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #216 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #217 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #218 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #219 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #220 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #221 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #222 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #223 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #224 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #225 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #226 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #227 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #228 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #229 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #230 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #231 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #232 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #233 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #234 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #235 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #236 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #237 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #238 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #239 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #240 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #241 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #242 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #243 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #244 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #245 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #246 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #247 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #248 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #249 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958
    #250 0x40b4c4 in json_parse_value  test/mjs-uaf/build_asan/mjs.c:6000
    #251 0x40aa25 in json_parse_array  test/mjs-uaf/build_asan/mjs.c:5958

SUMMARY: AddressSanitizer: stack-overflow ??:0 ??
==29997==ABORTING

```
--- end body ---

comments :
--- start comments ---

--- end comments ---