summaryrefslogtreecommitdiff
path: root/sshsig.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-05 05:42:59 +0000
committerDamien Miller <djm@mindrot.org>2019-09-05 15:44:19 +1000
commit69159afe24120c97e5ebaf81016c85968afb903e (patch)
tree8be29e20ecafdba18bb836a488641ecef6c32514 /sshsig.c
parentbab6feb01f9924758ca7129dba708298a53dde5f (diff)
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,
658 fail: 658 fail:
659 if (errstrp != NULL) 659 if (errstrp != NULL)
660 *errstrp = errstr; 660 *errstrp = errstr;
661 free(ret); 661 sshsigopt_free(ret);
662 return NULL; 662 return NULL;
663} 663}
664 664