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 From Paul Barker: Remove ...
details: https://anonhg.NetBSD.org/src/rev/38a06f61982d
branches: trunk
changeset: 787436:38a06f61982d
user: tteras <tteras%NetBSD.org@localhost>
date: Tue Jun 18 05:39:50 2013 +0000
description:
>From Paul Barker: Remove redundant memset after calloc that caused compile
failures with gcc 4.8 due to error: argument to 'sizeof' in 'memset' call
is the same expression as the destination; did you mean to dereference.
diffstat:
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r e02f17cb5e43 -r 38a06f61982d crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
--- a/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c Tue Jun 18 04:33:57 2013 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c Tue Jun 18 05:39:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec_doi.c,v 1.48 2012/11/29 15:31:25 vanhu Exp $ */
+/* $NetBSD: ipsec_doi.c,v 1.49 2013/06/18 05:39:50 tteras Exp $ */
/* Id: ipsec_doi.c,v 1.55 2006/08/17 09:20:41 vanhu Exp */
@@ -1183,7 +1183,6 @@
"failed to get buffer.\n");
goto bad;
}
- memset(pair, 0, sizeof(pair));
bp = (caddr_t)(sab + 1);
tlen = sa->l - sizeof(*sab);
Home |
Main Index |
Thread Index |
Old Index