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


ssl/t1_lib.c:4311:1: start of procedure ssl_security_cert_chain()
4309.    */
4310.   
4311. > int ssl_security_cert_chain(SSL *s, STACK_OF(X509) *sk, X509 *x, int vfy)
4312.   {
4313.       int rv, start_idx, i;

ssl/t1_lib.c:4314:9: Taking false branch
4312.   {
4313.       int rv, start_idx, i;
4314.       if (x == NULL) {
                ^
4315.           x = sk_X509_value(sk, 0);
4316.           start_idx = 1;

ssl/t1_lib.c:4318:9: 
4316.           start_idx = 1;
4317.       } else
4318. >         start_idx = 0;
4319.   
4320.       rv = ssl_security_cert(s, NULL, x, vfy, 1);

ssl/t1_lib.c:4320:5: 
4318.           start_idx = 0;
4319.   
4320. >     rv = ssl_security_cert(s, NULL, x, vfy, 1);
4321.       if (rv != 1)
4322.           return rv;
