[PATCH] incorrect test in pcy_tree.c

2007-11-30 Thread Dequin_Eric
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,

[PATCH] Using uninitialized value (c).q

2007-11-29 Thread Dequin_Eric
Hi team, I suggest updating the file crypto/asn1/a_set.c, as follows: 219c219 asn1_add_error(*pp,(int)(c.q- *pp)); --- asn1_add_error(*pp,(int)(c.p - *pp)); The function asn1_add_error() receives in its second argument the c.q variable.