]> Savannah Git Hosting - gnulib.git/commit
vasnprintf: Fix memory size bound for %g with grouping and precision.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2025 14:45:03 +0000 (16:45 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 14 Apr 2025 22:43:10 +0000 (00:43 +0200)
commitf85ffc79c2a0349ae3e40eb22c0a09ac7791e037
treeb9e918bc7d9e1f0a64c55fd3261ef64c4f076ee7
parent9bdacf26af3e94aa171f23edd5aff8a1906aa981
vasnprintf: Fix memory size bound for %g with grouping and precision.

* lib/vasnprintf.c (MAX_ROOM_NEEDED): For %g, consider also the size of
the thousands separators.
ChangeLog
lib/vasnprintf.c