- djm@cvs.openbsd.org 2014/01/20 00:08:48

[digest.c]
     memleak; found by Loganaden Velvindron @ AfriNIC; ok markus@
This commit is contained in:
Damien Miller 2014-01-20 12:41:53 +11:00
parent 7eee358d7a
commit 3510979e83
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
20140120
- (djm) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2014/01/20 00:08:48
[digest.c]
memleak; found by Loganaden Velvindron @ AfriNIC; ok markus@
20140119
- (dtucker) OpenBSD CVS Sync
- dtucker@cvs.openbsd.org 2014/01/17 06:23:24

View File

@ -1,4 +1,4 @@
/* $OpenBSD: digest.c,v 1.2 2014/01/17 05:26:41 dtucker Exp $ */
/* $OpenBSD: digest.c,v 1.3 2014/01/20 00:08:48 djm Exp $ */
/*
* Copyright (c) 2013 Damien Miller <djm@mindrot.org>
*
@ -125,6 +125,7 @@ ssh_digest_free(struct ssh_digest_ctx *ctx)
{
EVP_MD_CTX_cleanup(&ctx->mdctx);
memset(ctx, 0, sizeof(*ctx));
free(ctx);
}
int