json: Improve handling of large exponents in the JSON parsor.
authorWerner Koch <wk@gnupg.org>
Tue, 4 Jun 2019 08:42:40 +0000 (10:42 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 4 Jun 2019 08:42:40 +0000 (10:42 +0200)
commitfabe96126b4ed9c5e07b713813d7db26a02e5e5f
tree27674a07bf8dd90248918ad39bce942d63eca10e
parent1024884e07f750ce781fa74dffa62e126bdda622
json: Improve handling of large exponents in the JSON parsor.

* src/cJSON.c: Include stdint.h.
(parse_number): Avoid overflob in SUBSCALE and cap integer values.
--

GnuPG-bug-id: 4330
Signed-off-by: Werner Koch <wk@gnupg.org>
src/cJSON.c