JSON parser: Bugfix for float/double in quotes.

pull/13171/head
Joshua Haberman 5 years ago
parent 74c60c757b
commit 7d726c8da6
  1. 1
      upb/json_decode.c

@ -409,6 +409,7 @@ static upb_strview jsondec_string(jsondec *d) {
upb_strview ret;
ret.data = buf;
ret.size = end - buf;
*end = '\0'; /* Needed for possible strtod(). */
return ret;
}
case '\\':

Loading…
Cancel
Save