Displaying 2 results from an estimated 2 matches for "ambal".
Did you mean:
amba
2024 Oct 24
1
[PATCH] Updated gitignore to ignore sshd-session and sshd-auth targets
---
.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index 213041656..c9d4166a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,8 @@ ssh-keysign
ssh-pkcs11-helper
ssh-sk-helper
sshd
+sshd-session
+sshd-auth
!regress/misc/fuzz-harness/Makefile
!regress/unittests/sshsig/Makefile
tags
--
2.45.2
2024 Oct 25
1
[PATCH] Memory leak fixed - when lauched as non-root user When we lauch sshd as non-root user, its still able to load public keys but fails to load private keys. So before exiting free the memory allocated for the public key
---
sshd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sshd.c b/sshd.c
index dda8d9b77..cbdced5db 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1533,6 +1533,8 @@ main(int ac, char **av)
} else {
do_log2(ll, "Unable to load host key: %s",
options.host_key_files[i]);
+ sshkey_free(pubkey);
+ pubkey = NULL;
sensitive_data.host_keys[i] = NULL;