Avoid reusing free'd pointer (Coverity 4200)
This commit is contained in:
parent
57407188dd
commit
cd350eaf6d
1
crypto/dist/ipsec-tools/ChangeLog
vendored
1
crypto/dist/ipsec-tools/ChangeLog
vendored
@ -6,6 +6,7 @@
|
||||
* src/racoon/ipsec_doi.c: don't use NULL pointer (Coverity)
|
||||
* src/racoon/isakmp.c: don't use NULL pointer (Coverity)
|
||||
* src/racoon/oakley.c: don't use NULL pointer (Coverity)
|
||||
* src/racoon/admin.c: avoid reusing free'd pointer (Coverity)
|
||||
|
||||
2006-10-01 Emmanuel Dreyfus <manu@netbsd.org>
|
||||
* src/racoon/isakmp.c: Avoid using NULL pointer (Coverity)
|
||||
|
3
crypto/dist/ipsec-tools/src/racoon/admin.c
vendored
3
crypto/dist/ipsec-tools/src/racoon/admin.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: admin.c,v 1.13 2006/09/30 15:51:42 manu Exp $ */
|
||||
/* $NetBSD: admin.c,v 1.14 2006/10/02 20:52:17 manu Exp $ */
|
||||
|
||||
/* Id: admin.c,v 1.25 2006/04/06 14:31:04 manubsd Exp */
|
||||
|
||||
@ -385,6 +385,7 @@ admin_process(so2, combuf)
|
||||
"cannot allocate memory: %s\n",
|
||||
strerror(errno));
|
||||
vfree(id);
|
||||
id = NULL;
|
||||
break;
|
||||
}
|
||||
data = (char *)(data + acp->id_len);
|
||||
|
Loading…
Reference in New Issue
Block a user