[openssh-commits] [openssh] branch V_10_6 updated: include stdlib.h for free/freezero
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Nov 6 09:49:22 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch V_10_6
in repository openssh.
The following commit(s) were added to refs/heads/V_10_6 by this push:
new b5f711c49 include stdlib.h for free/freezero
b5f711c49 is described below
commit b5f711c496af8475c4f89e4cb92b4ea912761596
Author: Michael Forney <mforney at mforney.org>
AuthorDate: Fri Nov 6 08:31:32 2026 +1100
include stdlib.h for free/freezero
This fixes the build with --without-openssl, where stdlib.h is not
implicitly included by openssl/crypto.h.
While the CI tests --without-openssl, this configuration is only
run on ubuntu-22.04 which uses gcc < 14, so implicit functions are
only warnings (see [0]) by default.
[0] https://github.com/openssh/openssh-portable/actions/runs/41998802982/job/127148570075#step:11:550
---
auth-passwd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/auth-passwd.c b/auth-passwd.c
index fb3b22a05..0ed50f93b 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -41,6 +41,7 @@
#include <sys/types.h>
#include <pwd.h>
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list