]> granicus.if.org Git - json-c/commit
Apply same EINVAL handling to json_parse_uint64() as was done for json_parse_int64...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 30 Oct 2022 03:25:32 +0000 (03:25 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 30 Oct 2022 03:25:32 +0000 (03:25 +0000)
commitc50bf9df9cb7dacd682104d844029938522f0bda
tree42f8126108d7d478918879b83d5ad97795b43adf
parent57bef5edc48ad30e794f64fdfc855e955046d25d
Apply same EINVAL handling to json_parse_uint64() as was done for json_parse_int64().  Document that overflow/underflow for these functions is not an error, but sets errno=ERANGE.
json_util.c
json_util.h