diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ssh-add.c | 3 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ | |||
1 | 20010415 | ||
2 | - OpenBSD CVS Sync | ||
3 | - deraadt@cvs.openbsd.org 2001/04/14 04:31:01 | ||
4 | [ssh-add.c] | ||
5 | do not double free | ||
6 | |||
1 | 20010414 | 7 | 20010414 |
2 | - Sync with OpenBSD glob.c, strlcat.c and vis.c changes | 8 | - Sync with OpenBSD glob.c, strlcat.c and vis.c changes |
3 | - Cygwin sftp/sftp-server binary mode patch from Corinna Vinschen | 9 | - Cygwin sftp/sftp-server binary mode patch from Corinna Vinschen |
@@ -5063,4 +5069,4 @@ | |||
5063 | - Wrote replacements for strlcpy and mkdtemp | 5069 | - Wrote replacements for strlcpy and mkdtemp |
5064 | - Released 1.0pre1 | 5070 | - Released 1.0pre1 |
5065 | 5071 | ||
5066 | $Id: ChangeLog,v 1.1110 2001/04/13 23:28:01 mouring Exp $ | 5072 | $Id: ChangeLog,v 1.1111 2001/04/14 23:07:16 mouring Exp $ |
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: ssh-add.c,v 1.33 2001/04/09 15:12:23 markus Exp $"); | 38 | RCSID("$OpenBSD: ssh-add.c,v 1.34 2001/04/14 04:31:01 deraadt Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -188,6 +188,7 @@ add_file(AuthenticationConnection *ac, const char *filename) | |||
188 | } | 188 | } |
189 | if (strcmp(pass, "") == 0) { | 189 | if (strcmp(pass, "") == 0) { |
190 | xfree(pass); | 190 | xfree(pass); |
191 | pass = NULL; | ||
191 | xfree(comment); | 192 | xfree(comment); |
192 | return; | 193 | return; |
193 | } | 194 | } |