summaryrefslogtreecommitdiffstats
path: root/sshsig.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-05 07:42:59 +0200
committerDamien Miller <djm@mindrot.org>2019-09-05 07:44:19 +0200
commit69159afe24120c97e5ebaf81016c85968afb903e (patch)
tree8be29e20ecafdba18bb836a488641ecef6c32514 /sshsig.c
parentupstream: expose allowed_signers options parsing code in header for (diff)
downloadopenssh-69159afe24120c97e5ebaf81016c85968afb903e.tar.xz
openssh-69159afe24120c97e5ebaf81016c85968afb903e.zip
upstream: memleak on error path; found by libfuzzer
OpenBSD-Commit-ID: 34d44cb0fb5bdb5fcbc6b02b804e71b20a7a5fc7
Diffstat (limited to 'sshsig.c')
-rw-r--r--sshsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshsig.c b/sshsig.c
index bda57b30e..b993b7c1e 100644
--- a/sshsig.c
+++ b/sshsig.c
@@ -658,7 +658,7 @@ sshsigopt_parse(const char *opts, const char *path, u_long linenum,
fail:
if (errstrp != NULL)
*errstrp = errstr;
- free(ret);
+ sshsigopt_free(ret);
return NULL;
}