ssl/t1_lib.c:4100: error: NULL_DEREFERENCE
  pointer `null` is dereferenced by call to `ssl_security_cert()` at line 4100, column 10.
Showing all 4 steps of the trace


ssl/t1_lib.c:4091:1: start of procedure ssl_security_cert_chain()
4089.    */
4090.   
4091. > int ssl_security_cert_chain(SSL *s, STACK_OF(X509) *sk, X509 *x, int vfy)
4092.   {
4093.       int rv, start_idx, i;

ssl/t1_lib.c:4094:9: Taking false branch
4092.   {
4093.       int rv, start_idx, i;
4094.       if (x == NULL) {
                ^
4095.           x = sk_X509_value(sk, 0);
4096.           start_idx = 1;

ssl/t1_lib.c:4098:9: 
4096.           start_idx = 1;
4097.       } else
4098. >         start_idx = 0;
4099.   
4100.       rv = ssl_security_cert(s, NULL, x, vfy, 1);

ssl/t1_lib.c:4100:5: 
4098.           start_idx = 0;
4099.   
4100. >     rv = ssl_security_cert(s, NULL, x, vfy, 1);
4101.       if (rv != 1)
4102.           return rv;
