engines/e_4758cca.c:472: error: NULL_DEREFERENCE
  pointer `rtmp` last assigned on line 471 could be null and is dereferenced by call to `RSA_set_ex_data()` at line 472, column 2.
Showing all 102 steps of the trace


engines/e_4758cca.c:398:1: start of procedure ibm_4758_load_privkey()
396.   #define MAX_CCA_PKA_TOKEN_SIZE 2500
397.   
398. > static EVP_PKEY *ibm_4758_load_privkey(ENGINE* e, const char* key_id,
399.   			UI_METHOD *ui_method, void *callback_data)
400.   	{

engines/e_4758cca.c:401:2: 
399.   			UI_METHOD *ui_method, void *callback_data)
400.   	{
401. > 	RSA *rtmp = NULL;
402.   	EVP_PKEY *res = NULL;
403.   	unsigned char* keyToken = NULL;

engines/e_4758cca.c:402:2: 
400.   	{
401.   	RSA *rtmp = NULL;
402. > 	EVP_PKEY *res = NULL;
403.   	unsigned char* keyToken = NULL;
404.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];

engines/e_4758cca.c:403:2: 
401.   	RSA *rtmp = NULL;
402.   	EVP_PKEY *res = NULL;
403. > 	unsigned char* keyToken = NULL;
404.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
405.   	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;

engines/e_4758cca.c:405:2: 
403.   	unsigned char* keyToken = NULL;
404.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
405. > 	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
406.   	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
407.   	long returnCode;

engines/e_4758cca.c:406:2: 
404.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
405.   	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
406. > 	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
407.   	long returnCode;
408.   	long reasonCode;

engines/e_4758cca.c:409:2: 
407.   	long returnCode;
408.   	long reasonCode;
409. > 	long exitDataLength = 0;
410.   	long ruleArrayLength = 0;
411.   	unsigned char exitData[8];

engines/e_4758cca.c:410:2: 
408.   	long reasonCode;
409.   	long exitDataLength = 0;
410. > 	long ruleArrayLength = 0;
411.   	unsigned char exitData[8];
412.   	unsigned char ruleArray[8];

engines/e_4758cca.c:414:2: 
412.   	unsigned char ruleArray[8];
413.   	unsigned char keyLabel[64];
414. > 	unsigned long keyLabelLength = strlen(key_id);
415.   	unsigned char modulus[256];
416.   	long modulusFieldLength = sizeof(modulus);

engines/e_4758cca.c:416:2: 
414.   	unsigned long keyLabelLength = strlen(key_id);
415.   	unsigned char modulus[256];
416. > 	long modulusFieldLength = sizeof(modulus);
417.   	long modulusLength = 0;
418.   	unsigned char exponent[256];

engines/e_4758cca.c:417:2: 
415.   	unsigned char modulus[256];
416.   	long modulusFieldLength = sizeof(modulus);
417. > 	long modulusLength = 0;
418.   	unsigned char exponent[256];
419.   	long exponentLength = sizeof(exponent);

engines/e_4758cca.c:419:2: 
417.   	long modulusLength = 0;
418.   	unsigned char exponent[256];
419. > 	long exponentLength = sizeof(exponent);
420.   
421.   	if (keyLabelLength > sizeof(keyLabel))

engines/e_4758cca.c:421:6: Taking false branch
419.   	long exponentLength = sizeof(exponent);
420.   
421.   	if (keyLabelLength > sizeof(keyLabel))
            ^
422.   		{
423.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PRIVKEY,

engines/e_4758cca.c:428:2: 
426.   		}
427.   
428. > 	memset(keyLabel,' ', sizeof(keyLabel));
429.   	memcpy(keyLabel, key_id, keyLabelLength);
430.   

engines/e_4758cca.c:429:2: 
427.   
428.   	memset(keyLabel,' ', sizeof(keyLabel));
429. > 	memcpy(keyLabel, key_id, keyLabelLength);
430.   
431.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));

engines/e_4758cca.c:431:2: 
429.   	memcpy(keyLabel, key_id, keyLabelLength);
430.   
431. > 	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
432.   	if (!keyToken)
433.   		{

crypto/mem.c:294:1: start of procedure CRYPTO_malloc()
  292.   	}
  293.   
  294. > void *CRYPTO_malloc(int num, const char *file, int line)
  295.   	{
  296.   	void *ret = NULL;

crypto/mem.c:296:2: 
  294.   void *CRYPTO_malloc(int num, const char *file, int line)
  295.   	{
  296. > 	void *ret = NULL;
  297.   
  298.   	if (num <= 0) return NULL;

crypto/mem.c:298:6: Taking false branch
  296.   	void *ret = NULL;
  297.   
  298.   	if (num <= 0) return NULL;
              ^
  299.   
  300.   	allow_customize = 0;

crypto/mem.c:300:2: 
  298.   	if (num <= 0) return NULL;
  299.   
  300. > 	allow_customize = 0;
  301.   	if (malloc_debug_func != NULL)
  302.   		{

crypto/mem.c:301:6: Taking true branch
  299.   
  300.   	allow_customize = 0;
  301.   	if (malloc_debug_func != NULL)
              ^
  302.   		{
  303.   		allow_customize_debug = 0;

crypto/mem.c:303:3: 
  301.   	if (malloc_debug_func != NULL)
  302.   		{
  303. > 		allow_customize_debug = 0;
  304.   		malloc_debug_func(NULL, num, file, line, 0);
  305.   		}

crypto/mem.c:304:3: Skipping __function_pointer__(): unresolved function pointer
  302.   		{
  303.   		allow_customize_debug = 0;
  304.   		malloc_debug_func(NULL, num, file, line, 0);
           ^
  305.   		}
  306.   	ret = malloc_ex_func(num,file,line);

crypto/mem.c:306:2: Skipping __function_pointer__(): unresolved function pointer
  304.   		malloc_debug_func(NULL, num, file, line, 0);
  305.   		}
  306.   	ret = malloc_ex_func(num,file,line);
          ^
  307.   #ifdef LEVITTE_DEBUG_MEM
  308.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);

crypto/mem.c:310:6: Taking true branch
  308.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
  309.   #endif
  310.   	if (malloc_debug_func != NULL)
              ^
  311.   		malloc_debug_func(ret, num, file, line, 1);
  312.   

crypto/mem.c:311:3: Skipping __function_pointer__(): unresolved function pointer
  309.   #endif
  310.   	if (malloc_debug_func != NULL)
  311.   		malloc_debug_func(ret, num, file, line, 1);
           ^
  312.   
  313.   #ifndef OPENSSL_CPUID_OBJ

crypto/mem.c:317:12: Taking true branch
  315.            * sanitisation function can't be optimised out. NB: We only do
  316.            * this for >2Kb so the overhead doesn't bother us. */
  317.           if(ret && (num > 2048))
                    ^
  318.   	{	extern unsigned char cleanse_ctr;
  319.                   ((unsigned char *)ret)[0] = cleanse_ctr;

crypto/mem.c:317:20: Taking true branch
  315.            * sanitisation function can't be optimised out. NB: We only do
  316.            * this for >2Kb so the overhead doesn't bother us. */
  317.           if(ret && (num > 2048))
                            ^
  318.   	{	extern unsigned char cleanse_ctr;
  319.                   ((unsigned char *)ret)[0] = cleanse_ctr;

crypto/mem.c:319:17: 
  317.           if(ret && (num > 2048))
  318.   	{	extern unsigned char cleanse_ctr;
  319. >                 ((unsigned char *)ret)[0] = cleanse_ctr;
  320.   	}
  321.   #endif

crypto/mem.c:323:2: 
  321.   #endif
  322.   
  323. > 	return ret;
  324.   	}
  325.   

crypto/mem.c:324:2: return from a call to CRYPTO_malloc
  322.   
  323.   	return ret;
  324.   	}
          ^
  325.   
  326.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

engines/e_4758cca.c:432:7: Taking false branch
430.   
431.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
432.   	if (!keyToken)
             ^
433.   		{
434.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PRIVKEY,

engines/e_4758cca.c:439:2: Skipping __function_pointer__(): unresolved function pointer
437.   		}
438.   
439.   	keyRecordRead(&returnCode, &reasonCode, &exitDataLength,
        ^
440.   		exitData, &ruleArrayLength, ruleArray, keyLabel,
441.   		&keyTokenLength, keyToken+sizeof(long));

engines/e_4758cca.c:443:6: Taking false branch
441.   		&keyTokenLength, keyToken+sizeof(long));
442.   
443.   	if (returnCode)
            ^
444.   		{
445.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PRIVKEY,

engines/e_4758cca.c:450:2: Skipping __function_pointer__(): unresolved function pointer
448.   		}
449.   
450.   	publicKeyExtract(&returnCode, &reasonCode, &exitDataLength,
        ^
451.   		exitData, &ruleArrayLength, ruleArray, &keyTokenLength,
452.   		keyToken+sizeof(long), &pubKeyTokenLength, pubKeyToken);

engines/e_4758cca.c:454:6: Taking false branch
452.   		keyToken+sizeof(long), &pubKeyTokenLength, pubKeyToken);
453.   
454.   	if (returnCode)
            ^
455.   		{
456.   		CCA4758err(CCA4758_F_IBM_4758_LOAD_PRIVKEY,

engines/e_4758cca.c:461:7: 
459.   		}
460.   
461. > 	if (!getModulusAndExponent(pubKeyToken, &exponentLength,
462.   			exponent, &modulusLength, &modulusFieldLength,
463.   			modulus))

engines/e_4758cca.c:867:1: start of procedure getModulusAndExponent()
  865.   	}
  866.   
  867. > static int getModulusAndExponent(const unsigned char*token, long *exponentLength,
  868.   		unsigned char *exponent, long *modulusLength, long *modulusFieldLength,
  869.   		unsigned char *modulus)

engines/e_4758cca.c:873:6: Taking false branch
  871.   	unsigned long len;
  872.   
  873.   	if (*token++ != (char)0x1E) /* internal PKA token? */
              ^
  874.   		return 0;
  875.   

engines/e_4758cca.c:876:6: Taking false branch
  874.   		return 0;
  875.   
  876.   	if (*token++) /* token version must be zero */
              ^
  877.   		return 0;
  878.   

engines/e_4758cca.c:879:2: 
  877.   		return 0;
  878.   
  879. > 	len = *token++;
  880.   	len = len << 8;
  881.   	len |= (unsigned char)*token++;

engines/e_4758cca.c:880:2: 
  878.   
  879.   	len = *token++;
  880. > 	len = len << 8;
  881.   	len |= (unsigned char)*token++;
  882.   

engines/e_4758cca.c:881:2: 
  879.   	len = *token++;
  880.   	len = len << 8;
  881. > 	len |= (unsigned char)*token++;
  882.   
  883.   	token += 4; /* skip reserved bytes */

engines/e_4758cca.c:883:2: 
  881.   	len |= (unsigned char)*token++;
  882.   
  883. > 	token += 4; /* skip reserved bytes */
  884.   
  885.   	if (*token++ == (char)0x04)

engines/e_4758cca.c:885:6: Taking true branch
  883.   	token += 4; /* skip reserved bytes */
  884.   
  885.   	if (*token++ == (char)0x04)
              ^
  886.   		{
  887.   		if (*token++) /* token version must be zero */

engines/e_4758cca.c:887:7: Taking false branch
  885.   	if (*token++ == (char)0x04)
  886.   		{
  887.   		if (*token++) /* token version must be zero */
               ^
  888.   			return 0;
  889.   

engines/e_4758cca.c:890:3: 
  888.   			return 0;
  889.   
  890. > 		len = *token++;
  891.   		len = len << 8;
  892.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:891:3: 
  889.   
  890.   		len = *token++;
  891. > 		len = len << 8;
  892.   		len |= (unsigned char)*token++;
  893.   

engines/e_4758cca.c:892:3: 
  890.   		len = *token++;
  891.   		len = len << 8;
  892. > 		len |= (unsigned char)*token++;
  893.   
  894.   		token+=2; /* skip reserved section */

engines/e_4758cca.c:894:3: 
  892.   		len |= (unsigned char)*token++;
  893.   
  894. > 		token+=2; /* skip reserved section */
  895.   
  896.   		len = *token++;

engines/e_4758cca.c:896:3: 
  894.   		token+=2; /* skip reserved section */
  895.   
  896. > 		len = *token++;
  897.   		len = len << 8;
  898.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:897:3: 
  895.   
  896.   		len = *token++;
  897. > 		len = len << 8;
  898.   		len |= (unsigned char)*token++;
  899.   

engines/e_4758cca.c:898:3: 
  896.   		len = *token++;
  897.   		len = len << 8;
  898. > 		len |= (unsigned char)*token++;
  899.   
  900.   		*exponentLength = len;

engines/e_4758cca.c:900:3: 
  898.   		len |= (unsigned char)*token++;
  899.   
  900. > 		*exponentLength = len;
  901.   
  902.   		len = *token++;

engines/e_4758cca.c:902:3: 
  900.   		*exponentLength = len;
  901.   
  902. > 		len = *token++;
  903.   		len = len << 8;
  904.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:903:3: 
  901.   
  902.   		len = *token++;
  903. > 		len = len << 8;
  904.   		len |= (unsigned char)*token++;
  905.   

engines/e_4758cca.c:904:3: 
  902.   		len = *token++;
  903.   		len = len << 8;
  904. > 		len |= (unsigned char)*token++;
  905.   
  906.   		*modulusLength = len;

engines/e_4758cca.c:906:3: 
  904.   		len |= (unsigned char)*token++;
  905.   
  906. > 		*modulusLength = len;
  907.   
  908.   		len = *token++;

engines/e_4758cca.c:908:3: 
  906.   		*modulusLength = len;
  907.   
  908. > 		len = *token++;
  909.   		len = len << 8;
  910.   		len |= (unsigned char)*token++;

engines/e_4758cca.c:909:3: 
  907.   
  908.   		len = *token++;
  909. > 		len = len << 8;
  910.   		len |= (unsigned char)*token++;
  911.   

engines/e_4758cca.c:910:3: 
  908.   		len = *token++;
  909.   		len = len << 8;
  910. > 		len |= (unsigned char)*token++;
  911.   
  912.   		*modulusFieldLength = len;

engines/e_4758cca.c:912:3: 
  910.   		len |= (unsigned char)*token++;
  911.   
  912. > 		*modulusFieldLength = len;
  913.   
  914.   		memcpy(exponent, token, *exponentLength);

engines/e_4758cca.c:914:3: 
  912.   		*modulusFieldLength = len;
  913.   
  914. > 		memcpy(exponent, token, *exponentLength);
  915.   		token+= *exponentLength;
  916.   

engines/e_4758cca.c:915:3: 
  913.   
  914.   		memcpy(exponent, token, *exponentLength);
  915. > 		token+= *exponentLength;
  916.   
  917.   		memcpy(modulus, token, *modulusFieldLength);

engines/e_4758cca.c:917:3: 
  915.   		token+= *exponentLength;
  916.   
  917. > 		memcpy(modulus, token, *modulusFieldLength);
  918.   		return 1;
  919.   		}

engines/e_4758cca.c:918:3: 
  916.   
  917.   		memcpy(modulus, token, *modulusFieldLength);
  918. > 		return 1;
  919.   		}
  920.   	return 0;

engines/e_4758cca.c:921:2: return from a call to getModulusAndExponent
  919.   		}
  920.   	return 0;
  921.   	}
          ^
  922.   
  923.   #endif /* OPENSSL_NO_RSA */

engines/e_4758cca.c:461:7: Taking false branch
459.   		}
460.   
461.   	if (!getModulusAndExponent(pubKeyToken, &exponentLength,
             ^
462.   			exponent, &modulusLength, &modulusFieldLength,
463.   			modulus))

engines/e_4758cca.c:470:2: 
468.   		}
469.   
470. > 	(*(long*)keyToken) = keyTokenLength;
471.   	rtmp = RSA_new_method(e);
472.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);

engines/e_4758cca.c:471:2: 
469.   
470.   	(*(long*)keyToken) = keyTokenLength;
471. > 	rtmp = RSA_new_method(e);
472.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
473.   

crypto/rsa/rsa_lib.c:128:1: start of procedure RSA_new_method()
  126.   	}
  127.   
  128. > RSA *RSA_new_method(ENGINE *engine)
  129.   	{
  130.   	RSA *ret;

crypto/rsa/rsa_lib.c:132:2: 
  130.   	RSA *ret;
  131.   
  132. > 	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  133.   	if (ret == NULL)
  134.   		{

crypto/mem.c:294:1: start of procedure CRYPTO_malloc()
    292.   	}
    293.   
    294. > void *CRYPTO_malloc(int num, const char *file, int line)
    295.   	{
    296.   	void *ret = NULL;

crypto/mem.c:296:2: 
    294.   void *CRYPTO_malloc(int num, const char *file, int line)
    295.   	{
    296. > 	void *ret = NULL;
    297.   
    298.   	if (num <= 0) return NULL;

crypto/mem.c:298:6: Taking false branch
    296.   	void *ret = NULL;
    297.   
    298.   	if (num <= 0) return NULL;
                ^
    299.   
    300.   	allow_customize = 0;

crypto/mem.c:300:2: 
    298.   	if (num <= 0) return NULL;
    299.   
    300. > 	allow_customize = 0;
    301.   	if (malloc_debug_func != NULL)
    302.   		{

crypto/mem.c:301:6: Taking true branch
    299.   
    300.   	allow_customize = 0;
    301.   	if (malloc_debug_func != NULL)
                ^
    302.   		{
    303.   		allow_customize_debug = 0;

crypto/mem.c:303:3: 
    301.   	if (malloc_debug_func != NULL)
    302.   		{
    303. > 		allow_customize_debug = 0;
    304.   		malloc_debug_func(NULL, num, file, line, 0);
    305.   		}

crypto/mem.c:304:3: Skipping __function_pointer__(): unresolved function pointer
    302.   		{
    303.   		allow_customize_debug = 0;
    304.   		malloc_debug_func(NULL, num, file, line, 0);
             ^
    305.   		}
    306.   	ret = malloc_ex_func(num,file,line);

crypto/mem.c:306:2: Skipping __function_pointer__(): unresolved function pointer
    304.   		malloc_debug_func(NULL, num, file, line, 0);
    305.   		}
    306.   	ret = malloc_ex_func(num,file,line);
            ^
    307.   #ifdef LEVITTE_DEBUG_MEM
    308.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);

crypto/mem.c:310:6: Taking true branch
    308.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
    309.   #endif
    310.   	if (malloc_debug_func != NULL)
                ^
    311.   		malloc_debug_func(ret, num, file, line, 1);
    312.   

crypto/mem.c:311:3: Skipping __function_pointer__(): unresolved function pointer
    309.   #endif
    310.   	if (malloc_debug_func != NULL)
    311.   		malloc_debug_func(ret, num, file, line, 1);
             ^
    312.   
    313.   #ifndef OPENSSL_CPUID_OBJ

crypto/mem.c:317:12: Taking false branch
    315.            * sanitisation function can't be optimised out. NB: We only do
    316.            * this for >2Kb so the overhead doesn't bother us. */
    317.           if(ret && (num > 2048))
                      ^
    318.   	{	extern unsigned char cleanse_ctr;
    319.                   ((unsigned char *)ret)[0] = cleanse_ctr;

crypto/mem.c:323:2: 
    321.   #endif
    322.   
    323. > 	return ret;
    324.   	}
    325.   

crypto/mem.c:324:2: return from a call to CRYPTO_malloc
    322.   
    323.   	return ret;
    324.   	}
            ^
    325.   
    326.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

crypto/rsa/rsa_lib.c:133:6: Taking true branch
  131.   
  132.   	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  133.   	if (ret == NULL)
              ^
  134.   		{
  135.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);

crypto/rsa/rsa_lib.c:135:3: 
  133.   	if (ret == NULL)
  134.   		{
  135. > 		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  136.   		return NULL;
  137.   		}

crypto/err/err.c:706:1: start of procedure ERR_put_error()
    704.   /********************************************************/
    705.   
    706. > void ERR_put_error(int lib, int func, int reason, const char *file,
    707.   	     int line)
    708.   	{

crypto/err/err.c:730:2: Skipping ERR_get_state(): empty list of specs
    728.   	}
    729.   #endif
    730.   	es=ERR_get_state();
            ^
    731.   
    732.   	es->top=(es->top+1)%ERR_NUM_ERRORS;

crypto/err/err.c:732:2: 
    730.   	es=ERR_get_state();
    731.   
    732. > 	es->top=(es->top+1)%ERR_NUM_ERRORS;
    733.   	if (es->top == es->bottom)
    734.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;

crypto/err/err.c:733:6: Taking false branch
    731.   
    732.   	es->top=(es->top+1)%ERR_NUM_ERRORS;
    733.   	if (es->top == es->bottom)
                ^
    734.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    735.   	es->err_flags[es->top]=0;

crypto/err/err.c:735:2: 
    733.   	if (es->top == es->bottom)
    734.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    735. > 	es->err_flags[es->top]=0;
    736.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    737.   	es->err_file[es->top]=file;

crypto/err/err.c:736:2: 
    734.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    735.   	es->err_flags[es->top]=0;
    736. > 	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    737.   	es->err_file[es->top]=file;
    738.   	es->err_line[es->top]=line;

crypto/err/err.c:737:2: 
    735.   	es->err_flags[es->top]=0;
    736.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    737. > 	es->err_file[es->top]=file;
    738.   	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);

crypto/err/err.c:738:2: 
    736.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    737.   	es->err_file[es->top]=file;
    738. > 	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);
    740.   	}

crypto/err/err.c:739:2: Taking true branch
    737.   	es->err_file[es->top]=file;
    738.   	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);
            ^
    740.   	}
    741.   

crypto/err/err.c:739:2: Taking false branch
    737.   	es->err_file[es->top]=file;
    738.   	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);
            ^
    740.   	}
    741.   

crypto/err/err.c:739:2: Loop condition is false. Leaving loop
    737.   	es->err_file[es->top]=file;
    738.   	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);
            ^
    740.   	}
    741.   

crypto/err/err.c:740:2: return from a call to ERR_put_error
    738.   	es->err_line[es->top]=line;
    739.   	err_clear_data(es,es->top);
    740.   	}
            ^
    741.   
    742.   void ERR_clear_error(void)

crypto/rsa/rsa_lib.c:136:3: 
  134.   		{
  135.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  136. > 		return NULL;
  137.   		}
  138.   

crypto/rsa/rsa_lib.c:197:2: return from a call to RSA_new_method
  195.   		}
  196.   	return(ret);
  197.   	}
          ^
  198.   
  199.   void RSA_free(RSA *r)

engines/e_4758cca.c:472:2: 
470.   	(*(long*)keyToken) = keyTokenLength;
471.   	rtmp = RSA_new_method(e);
472. > 	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
473.   
474.   	rtmp->e = BN_bin2bn(exponent, exponentLength, NULL);
