artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d1feb
)
don't leak arg2 on parse_pubkey_algos error path; ok dtucker@
author
djm
<djm@openbsd.org>
Fri, 31 Mar 2023 04:23:02 +0000
(
04:23
+0000)
committer
djm
<djm@openbsd.org>
Fri, 31 Mar 2023 04:23:02 +0000
(
04:23
+0000)
usr.bin/ssh/readconf.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/readconf.c
b/usr.bin/ssh/readconf.c
index
9138dbb
..
7c1b1b1
100644
(file)
--- a/
usr.bin/ssh/readconf.c
+++ b/
usr.bin/ssh/readconf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: readconf.c,v 1.37
5 2023/03/10 02:24:56 dtucker
Exp $ */
+/* $OpenBSD: readconf.c,v 1.37
6 2023/03/31 04:23:02 djm
Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@
-1564,6
+1564,7
@@
parse_pubkey_algos:
error("%s line %d: keyword %s \"%s\" "
"argument must appear alone.",
filename, linenum, keyword, arg);
+ free(arg2);
goto out;
}
} else {