mirror of git://anongit.mindrot.org/openssh.git
- djm@cvs.openbsd.org 2013/04/19 01:01:00
[ssh-keygen.c] fix some memory leaks; bz#2088 ok dtucker@
This commit is contained in:
parent
467b00c38b
commit
0d6771b464
|
@ -61,6 +61,9 @@
|
||||||
[sshd_config.5]
|
[sshd_config.5]
|
||||||
document the requirment that the AuthorizedKeysCommand be owned by root;
|
document the requirment that the AuthorizedKeysCommand be owned by root;
|
||||||
ok dtucker@ markus@
|
ok dtucker@ markus@
|
||||||
|
- djm@cvs.openbsd.org 2013/04/19 01:01:00
|
||||||
|
[ssh-keygen.c]
|
||||||
|
fix some memory leaks; bz#2088 ok dtucker@
|
||||||
|
|
||||||
20130418
|
20130418
|
||||||
- (djm) [config.guess config.sub] Update to last versions before they switch
|
- (djm) [config.guess config.sub] Update to last versions before they switch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh-keygen.c,v 1.225 2013/02/10 23:32:10 djm Exp $ */
|
/* $OpenBSD: ssh-keygen.c,v 1.226 2013/04/19 01:01:00 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -2038,6 +2038,7 @@ update_krl_from_file(struct passwd *pw, const char *file, const Key *ca,
|
||||||
}
|
}
|
||||||
if (strcmp(path, "-") != 0)
|
if (strcmp(path, "-") != 0)
|
||||||
fclose(krl_spec);
|
fclose(krl_spec);
|
||||||
|
free(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -2090,6 +2091,8 @@ do_gen_krl(struct passwd *pw, int updating, int argc, char **argv)
|
||||||
close(fd);
|
close(fd);
|
||||||
buffer_free(&kbuf);
|
buffer_free(&kbuf);
|
||||||
ssh_krl_free(krl);
|
ssh_krl_free(krl);
|
||||||
|
if (ca != NULL)
|
||||||
|
key_free(ca);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue