]> Savannah Git Hosting - gnulib.git/commit
vasnprintf-posix: Fix possible bug with negative width handling for %lc.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2023 18:05:24 +0000 (19:05 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Feb 2023 02:23:04 +0000 (03:23 +0100)
commite29429542765714059560828c58c726bf0d6341e
treefff3e935137b4c9d23c883abb0a07997bab85b9a
parent3d8ec444d9a0e95d2d7b16dc67a7e27c3169e83d
vasnprintf-posix: Fix possible bug with negative width handling for %lc.

* lib/vasnprintf.c (VASNPRINTF): In the code for %lc in vasnprintf, test
for the FLAG_LEFT bit in the flags variable.
ChangeLog
lib/vasnprintf.c