summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-17 10:27:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-17 12:04:35 -0700
commit0a4e0cab0dbb2a70e26484e32378784b5106ae08 (patch)
tree4e9a5f08b9250ba4fb23625803cc63b5862e6426 /ChangeLog
parent8c4d0fbf4c45df8e86acbb338b154930c5498dc3 (diff)
downloadgnulib-0a4e0cab0dbb2a70e26484e32378784b5106ae08.tar.gz
nstrftime: suggest to glibc how to avoid alloca
* lib/nstrftime.c (widen) [COMPILE_WIDE]: Remove. (__strftime_internal) [COMPILE_WIDE): Instead of converting the multibyte time zone abbreviation into a potentially unbounded alloca buffer, convert it directly into the output buffer. Although this code is not used in Gnulib, this can help the glibc developers avoid the problem on the glibc side.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ecbc25ef06..36b3c65b81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-05-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ nstrftime: suggest to glibc how to avoid alloca
+ * lib/nstrftime.c (widen) [COMPILE_WIDE]: Remove.
+ (__strftime_internal) [COMPILE_WIDE): Instead of converting the
+ multibyte time zone abbreviation into a potentially unbounded
+ alloca buffer, convert it directly into the output buffer.
+ Although this code is not used in Gnulib, this can help the glibc
+ developers avoid the problem on the glibc side.
+
2023-05-15 Bruno Haible <bruno@clisp.org>
doc: New chapter "Strings and Characters".