[openssh-commits] [openssh] 02/02: upstream: fix memleak in process_extension(); oss-fuzz issue #42719
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Jan 1 15:19:55 AEDT 2022
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit a23698c3082ffe661abed14b020eac9b0c25eb9f
Author: djm at openbsd.org <djm at openbsd.org>
Date: Sat Jan 1 04:18:06 2022 +0000
upstream: fix memleak in process_extension(); oss-fuzz issue #42719
OpenBSD-Commit-ID: d8d49f840162fb7b8949e3a5adb8107444b6de1e
---
ssh-agent.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ssh-agent.c b/ssh-agent.c
index 34736c05..8d147bb0 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.284 2022/01/01 01:55:30 jsg Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.285 2022/01/01 04:18:06 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -1561,6 +1561,7 @@ process_extension(SocketEntry *e)
success = process_ext_session_bind(e);
else
debug_f("unsupported extension \"%s\"", name);
+ free(name);
send:
send_status(e, success);
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list