Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon fixed a memory leak in oa...
details: https://anonhg.NetBSD.org/src/rev/87168fc1e22a
branches: trunk
changeset: 763318:87168fc1e22a
user: vanhu <vanhu%NetBSD.org@localhost>
date: Thu Mar 17 14:42:58 2011 +0000
description:
fixed a memory leak in oakley_append_rmconf_cr() while generating plist. patch by Roman Hoog Antink <rha%open.ch@localhost>
diffstat:
crypto/dist/ipsec-tools/src/racoon/oakley.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4c6a5b86cba6 -r 87168fc1e22a crypto/dist/ipsec-tools/src/racoon/oakley.c
--- a/crypto/dist/ipsec-tools/src/racoon/oakley.c Thu Mar 17 14:39:06 2011 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/oakley.c Thu Mar 17 14:42:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: oakley.c,v 1.21 2011/03/17 14:39:06 vanhu Exp $ */
+/* $NetBSD: oakley.c,v 1.22 2011/03/17 14:42:58 vanhu Exp $ */
/* Id: oakley.c,v 1.32 2006/05/26 12:19:46 manubsd Exp */
@@ -2288,7 +2288,7 @@
s_isakmp_certtype(buf->v[0]));
plogdump(LLV_DEBUG, buf->v, buf->l);
- actx->plist = isakmp_plist_append(actx->plist, buf, ISAKMP_NPTYPE_CR);
+ actx->plist = isakmp_plist_append_full(actx->plist, buf, ISAKMP_NPTYPE_CR, 1);
err:
vfree(asn1dn);
Home |
Main Index |
Thread Index |
Old Index