Hi,

I suggest updating crypto/x509v3/pcy_tree.c with this small change:

163c163
<       if (!tree)
---
>       if (!tree->levels)

The tree variable is allocated with OPENSSL_malloc() line 151 and is tested if 
not null line 153. 
The tree->levels is also allocated with OPENSSL_malloc() line 157, but is not 
tested if the allocation was succeeded. Instead, 'tree' is one more time tested 
if not null.

Thanks
Eric
 

Reply via email to