montegoulding / mergJSON

JSON encode / decode external for LiveCode
http://mergext.com
GNU General Public License v3.0
12 stars 11 forks source link

[[ Bug 21638 ]] Fix stack overflow for big arrays #12

Closed montegoulding closed 5 years ago

montegoulding commented 6 years ago

This patch ensures that very big arrays do not cause a stack overflow by allocating any variables that are array sized on the heap instead of on the stack as they were previously.