]> granicus.if.org Git - json-c/commit
Initialize errno before calling sscanf in json_parse_int64() so parsing valid numbers...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 29 Jul 2012 17:13:54 +0000 (12:13 -0500)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 29 Jul 2012 17:13:54 +0000 (12:13 -0500)
commit77c623946517cdfe2eb80ea1e7b0ad6752216667
tree36f4ba93db1117ebd617de77be1d201b33356a47
parent2da148df5685b70f1f0eb4c147647905a3e2a760
Initialize errno before calling sscanf in json_parse_int64() so parsing valid numbers after parsing an out of range number works.
json_util.c
tests/test_parse_int64.c
tests/test_parse_int64.expected