Pádraig Brady wrote on 2026-10-29: > These are the issues I noticed when looking at: > https://bugs.gnu.org/82130 > > I'll push them tomorrow after giving a little review time.
Thanks for these fixes. In the ChangeLog entries, the module name is incorrect: we have no module 'strftime'. Correcting that: diff --git a/ChangeLog b/ChangeLog index 507ecdad3f..21b84ca4ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -521,14 +521,14 @@ 2026-10-30 Pádraig Brady <[email protected]> - strftime: fix stale errno upon field width overflow + nstrftime, fprintftime: fix stale errno upon field width overflow This issue was introduced in commit 42ea6679 (Nov 2025). * lib/strftime.c (__strftime_internal): Set errno=ERANGE upon width overflow. 2026-10-30 Pádraig Brady <[email protected]> - strftime: fix incomplete output for recursive formats + nstrftime, fprintftime: fix incomplete output for recursive formats Recursive formats such as %F would double count the written bytes, thus not/partially writing unless the buffer was 2x the required size. This was exacerbated by the existing non-propagation of such failures. @@ -543,7 +543,7 @@ 2026-10-30 Pádraig Brady <[email protected]> - strftime: fix buffer overflow when padding + nstrftime, fprintftime: fix buffer overflow when padding * lib/strftime.c (do_number_sign_and_padding): Check buffer limits before writing padding, which was inadvertently removed in commit 1c740444 (Dec 2019). @@ -551,7 +551,7 @@ 2026-10-30 Pádraig Brady <[email protected]> - strftime: fix unsigned underflow triggering huge memset + nstrftime, fprintftime: fix unsigned underflow triggering huge memset This issue was introduced in commit 2bf00710 (Oct 2025). * lib/strftime.c (do_number_sign_and_padding): Use a signed type so that the <= 0 comparison is valid).
