Avoid reusing free'd pointer (Coverity 4200)

This commit is contained in:
manu 2006-10-02 20:52:17 +00:00
parent 57407188dd
commit cd350eaf6d
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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);