]> git.ipfire.org Git - thirdparty/gnulib.git/commit
obstack-printf: Fix memory overrun on glibc systems.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Jul 2025 11:50:24 +0000 (13:50 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Jul 2025 11:54:23 +0000 (13:54 +0200)
commite331cab96b9e92f70a17931b85bfaae68af080a1
treeef05b37adebfba1782a48378638b74965a7f4c8e
parent9b824c4f26c122ce14b4be9cfe8d67cc68cb58e0
obstack-printf: Fix memory overrun on glibc systems.

* m4/obstack.m4 (gl_FUNC_OBSTACK): Define through AC_DEFUN_ONCE.
* m4/obstack-printf.m4 (gl_FUNC_OBSTACK_PRINTF): Require
gl_FUNC_OBSTACK. Invoke gl_REPLACE_OBSTACK_PRINTF when using the
'obstack' replacement code.
ChangeLog
m4/obstack-printf.m4
m4/obstack.m4