strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed segmentation fault caused by malformed attribute certificates
[strongswan.git]
/
src
/
libstrongswan
/
plugins
/
x509
/
x509_ac.c
diff --git
a/src/libstrongswan/plugins/x509/x509_ac.c
b/src/libstrongswan/plugins/x509/x509_ac.c
index
1133060
..
3861d71
100644
(file)
--- a/
src/libstrongswan/plugins/x509/x509_ac.c
+++ b/
src/libstrongswan/plugins/x509/x509_ac.c
@@
-990,6
+990,11
@@
static private_x509_ac_t* build(private_builder_t *this)
free(this);
+ if (ac == NULL)
+ {
+ return NULL;
+ }
+
/* synthesis if TRUE or analysis if FALSE */
if (ac->encoding.ptr == NULL)
{