fixed segmentation fault caused by malformed attribute certificates
This commit is contained in:
1 parent
e1d2435dbf
commit
58ac5e2ff4
1 file changed
+5
@@ -990,6 +990,11 @@ static private_x509_ac_t* build(private_builder_t *this)
|
|||||||
|
|
||||||
free(this);
|
free(this);
|
||||||
|
|
||||||
|
if (ac == NULL)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* synthesis if TRUE or analysis if FALSE */
|
/* synthesis if TRUE or analysis if FALSE */
|
||||||
if (ac->encoding.ptr == NULL)
|
if (ac->encoding.ptr == NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user