adobe / json-formula

Query language for JSON documents
http://opensource.adobe.com/json-formula/
Apache License 2.0
19 stars 8 forks source link

Infinite loop in "substitute" #142

Closed Eswcvlad closed 5 months ago

Eswcvlad commented 5 months ago

If old argument in substitute is an empty string, it crashes with an out-of-memory error. Ex. substitute("AAAA", "", "B")