]> 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>
Fri, 11 Apr 2025 14:45:03 +0000 (16:45 +0200)
commitd0208009a7d8391109cde3baf7ae858ebd26443d
tree87dfe477aeb05855c3fdb56562be204c7787b634
parent3421c535ab598d4ad8a3613de5e50dd6c759c834
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