Home GnuPG
Diffusion GPGME fabe96126b4e

json: Improve handling of large exponents in the JSON parsor.

Description

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: T4330
  • Signed-off-by: Werner Koch <wk@gnupg.org>