![]() if the input string contains invalid utf-8, runetochar() produces unicode replacement characters that can overflow the literal buffer. as the overflow check is done after runetochar(), add UTFmax bytes of slack space avoiding the issue. |
||
---|---|---|
.. | ||
json.c | ||
mkfile | ||
printjson.c |