2014-02-10 17:33 GMT+01:00 Marian Done via RT <r...@openssl.org>:
> Previous patch was incorrect, it includes a wrong null char test !!!
> I'm attaching a correct version.
> Thank you!

Looking at crypto/x509/by_dir.c in function add_cert_dir(), I can see
that *p should be always different than zero, as long as the
LIST_SEPARATOR_CHAR is different than zero because of line 223:

if ((*p == LIST_SEPARATOR_CHAR) || (*p == '\0'))

At least, it could be equal to charcter zero '\0':

-+ if ( *p == 0 )
++ if ( *p == '\0' )

I hope this helps,
R.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to