This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=3b78289d1940e34e384a93a116e14fa99f996ec0 commit 3b78289d1940e34e384a93a116e14fa99f996ec0 Author: Guillem Jover <[email protected]> AuthorDate: Tue Jun 13 22:43:25 2023 +0200 build: Warn on alloca() usage Using alloca() is generally unsafe as there's no error recovery on stack exhaustion, due to the function having no proper way to report such conditions. --- m4/dpkg-compiler.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4 index 1626407cc..fe1f0b95e 100644 --- a/m4/dpkg-compiler.m4 +++ b/m4/dpkg-compiler.m4 @@ -49,6 +49,7 @@ AC_DEFUN([DPKG_CHECK_COMPILER_WARNINGS], [ DPKG_CHECK_COMPILER_FLAG([-Wall]) DPKG_CHECK_COMPILER_FLAG([-Wextra]) + DPKG_CHECK_COMPILER_FLAG([-Walloca]) DPKG_CHECK_COMPILER_FLAG([-Walloc-zero]) DPKG_CHECK_COMPILER_FLAG([-Warray-bounds-pointer-arithmetic]) DPKG_CHECK_COMPILER_FLAG([-Wassign-enum]) -- Dpkg.Org's dpkg

