artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c1384
)
fix memleak in process_extension(); oss-fuzz issue #42719
author
djm
<djm@openbsd.org>
Sat, 1 Jan 2022 04:18:06 +0000
(
04:18
+0000)
committer
djm
<djm@openbsd.org>
Sat, 1 Jan 2022 04:18:06 +0000
(
04:18
+0000)
usr.bin/ssh/ssh-agent.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/ssh-agent.c
b/usr.bin/ssh/ssh-agent.c
index
2e9f29f
..
f402d91
100644
(file)
--- a/
usr.bin/ssh/ssh-agent.c
+++ b/
usr.bin/ssh/ssh-agent.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ssh-agent.c,v 1.28
4 2022/01/01 01:55:30 jsg
Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.28
5 2022/01/01 04:18:06 djm
Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@
-1548,6
+1548,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);
}