Fix possible stack overflow in es_printf for %.100f format.
* configure.ac: Add test for snprintf. * src/gpgrt-int.h: Do not re-map snprintf if KEEP_SYSTEM_SNPRINTF is defined. * src/estream-printf.c (KEEP_SYSTEM_SNPRINTF): Define. (pr_float): Increase static buffer size. Use snprintf for long double. * tests/t-printf.c: Include float.h. (check_large_float): New.
- GnuPG-bug-id: T8240
- Reported-by: Dirk Mueller <dmueller@suse.com> (AI)