ssl/ssl_ciph.c:821: error: NULL_DEREFERENCE
  pointer `comp` last assigned on line 820 could be null and is dereferenced at line 821, column 2.
Showing all 3 steps of the trace


ssl/ssl_ciph.c:815:1: start of procedure SSL_COMP_add_compression_method()
813.   	}
814.   
815. > int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm)
816.   	{
817.   	SSL_COMP *comp;

ssl/ssl_ciph.c:820:2: 
818.   	STACK_OF(SSL_COMP) *sk;
819.   
820. > 	comp=(SSL_COMP *)Malloc(sizeof(SSL_COMP));
821.   	comp->id=id;
822.   	comp->method=cm;

ssl/ssl_ciph.c:821:2: 
819.   
820.   	comp=(SSL_COMP *)Malloc(sizeof(SSL_COMP));
821. > 	comp->id=id;
822.   	comp->method=cm;
823.   	if (ssl_comp_methods == NULL)
