[openssh-commits] [openssh] 01/01: upstream: memleak on error path; found by libfuzzer

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Sep 5 15:45:55 AEST 2019


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 69159afe24120c97e5ebaf81016c85968afb903e
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Thu Sep 5 05:42:59 2019 +0000

    upstream: memleak on error path; found by libfuzzer
    
    OpenBSD-Commit-ID: 34d44cb0fb5bdb5fcbc6b02b804e71b20a7a5fc7
---
 sshsig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshsig.c b/sshsig.c
index bda57b30..b993b7c1 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;
 }
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list