]> 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 23:09:20 +0000 (01:09 +0200)
commit710d9989be46b50b02dd9290215fb16ec124af18
tree02e152fa0dafccadb9dcc9446f17714beb7f3c75
parent8e13a1e2c8de31e7ddb7af3155f289d3c0d7b347
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