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


engines/e_4758_cca.c:376:1: start of procedure ibm_4758_load_privkey()
374.   #define MAX_CCA_PKA_TOKEN_SIZE 2500
375.   
376. > static EVP_PKEY *ibm_4758_load_privkey(ENGINE* e, const char* key_id,
377.   			UI_METHOD *ui_method, void *callback_data)
378.   	{

engines/e_4758_cca.c:379:2: 
377.   			UI_METHOD *ui_method, void *callback_data)
378.   	{
379. > 	RSA *rtmp = NULL;
380.   	EVP_PKEY *res = NULL;
381.   	unsigned char* keyToken = NULL;

engines/e_4758_cca.c:380:2: 
378.   	{
379.   	RSA *rtmp = NULL;
380. > 	EVP_PKEY *res = NULL;
381.   	unsigned char* keyToken = NULL;
382.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];

engines/e_4758_cca.c:381:2: 
379.   	RSA *rtmp = NULL;
380.   	EVP_PKEY *res = NULL;
381. > 	unsigned char* keyToken = NULL;
382.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
383.   	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;

engines/e_4758_cca.c:383:2: 
381.   	unsigned char* keyToken = NULL;
382.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
383. > 	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
384.   	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
385.   	long returnCode;

engines/e_4758_cca.c:384:2: 
382.   	unsigned char pubKeyToken[MAX_CCA_PKA_TOKEN_SIZE];
383.   	long pubKeyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
384. > 	long keyTokenLength = MAX_CCA_PKA_TOKEN_SIZE;
385.   	long returnCode;
386.   	long reasonCode;

engines/e_4758_cca.c:387:2: 
385.   	long returnCode;
386.   	long reasonCode;
387. > 	long exitDataLength = 0;
388.   	long ruleArrayLength = 0;
389.   	unsigned char exitData[8];

engines/e_4758_cca.c:388:2: 
386.   	long reasonCode;
387.   	long exitDataLength = 0;
388. > 	long ruleArrayLength = 0;
389.   	unsigned char exitData[8];
390.   	unsigned char ruleArray[8];

engines/e_4758_cca.c:392:2: 
390.   	unsigned char ruleArray[8];
391.   	unsigned char keyLabel[64];
392. > 	long keyLabelLength = strlen(key_id);
393.   	unsigned char modulus[256];
394.   	long modulusFieldLength = sizeof(modulus);

engines/e_4758_cca.c:394:2: 
392.   	long keyLabelLength = strlen(key_id);
393.   	unsigned char modulus[256];
394. > 	long modulusFieldLength = sizeof(modulus);
395.   	long modulusLength = 0;
396.   	unsigned char exponent[256];

engines/e_4758_cca.c:395:2: 
393.   	unsigned char modulus[256];
394.   	long modulusFieldLength = sizeof(modulus);
395. > 	long modulusLength = 0;
396.   	unsigned char exponent[256];
397.   	long exponentLength = sizeof(exponent);

engines/e_4758_cca.c:397:2: 
395.   	long modulusLength = 0;
396.   	unsigned char exponent[256];
397. > 	long exponentLength = sizeof(exponent);
398.   
399.   	if (keyLabelLength > sizeof(keyLabel))

engines/e_4758_cca.c:399:6: Taking false branch
397.   	long exponentLength = sizeof(exponent);
398.   
399.   	if (keyLabelLength > sizeof(keyLabel))
            ^
400.   		{
401.   		CCA4758err(CCA4758_F_IBM_4758_CCA_LOAD_PRIVKEY,

engines/e_4758_cca.c:406:2: 
404.   		}
405.   
406. > 	memset(keyLabel,' ', sizeof(keyLabel));
407.   	memcpy(keyLabel, key_id, keyLabelLength);
408.   

engines/e_4758_cca.c:407:2: 
405.   
406.   	memset(keyLabel,' ', sizeof(keyLabel));
407. > 	memcpy(keyLabel, key_id, keyLabelLength);
408.   
409.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));

engines/e_4758_cca.c:409:2: 
407.   	memcpy(keyLabel, key_id, keyLabelLength);
408.   
409. > 	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
410.   	if (!keyToken)
411.   		{

crypto/mem.c:289:1: start of procedure CRYPTO_malloc()
  287.   	}
  288.   
  289. > void *CRYPTO_malloc(int num, const char *file, int line)
  290.   	{
  291.   	void *ret = NULL;

crypto/mem.c:291:2: 
  289.   void *CRYPTO_malloc(int num, const char *file, int line)
  290.   	{
  291. > 	void *ret = NULL;
  292.   	extern unsigned char cleanse_ctr;
  293.   

crypto/mem.c:294:2: 
  292.   	extern unsigned char cleanse_ctr;
  293.   
  294. > 	allow_customize = 0;
  295.   	if (malloc_debug_func != NULL)
  296.   		{

crypto/mem.c:295:6: Taking true branch
  293.   
  294.   	allow_customize = 0;
  295.   	if (malloc_debug_func != NULL)
              ^
  296.   		{
  297.   		allow_customize_debug = 0;

crypto/mem.c:297:3: 
  295.   	if (malloc_debug_func != NULL)
  296.   		{
  297. > 		allow_customize_debug = 0;
  298.   		malloc_debug_func(NULL, num, file, line, 0);
  299.   		}

crypto/mem.c:298:3: Skipping __function_pointer__(): unresolved function pointer
  296.   		{
  297.   		allow_customize_debug = 0;
  298.   		malloc_debug_func(NULL, num, file, line, 0);
           ^
  299.   		}
  300.   	ret = malloc_ex_func(num,file,line);

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

crypto/mem.c:304:6: Taking true branch
  302.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
  303.   #endif
  304.   	if (malloc_debug_func != NULL)
              ^
  305.   		malloc_debug_func(ret, num, file, line, 1);
  306.   

crypto/mem.c:305:3: Skipping __function_pointer__(): unresolved function pointer
  303.   #endif
  304.   	if (malloc_debug_func != NULL)
  305.   		malloc_debug_func(ret, num, file, line, 1);
           ^
  306.   
  307.           /* Create a dependency on the value of 'cleanse_ctr' so our memory

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

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

crypto/mem.c:311:17: 
  309.            * this for >2Kb so the overhead doesn't bother us. */
  310.           if(ret && (num > 2048))
  311. >                 ((unsigned char *)ret)[0] = cleanse_ctr;
  312.   
  313.   	return ret;

crypto/mem.c:313:2: 
  311.                   ((unsigned char *)ret)[0] = cleanse_ctr;
  312.   
  313. > 	return ret;
  314.   	}
  315.   

crypto/mem.c:314:2: return from a call to CRYPTO_malloc
  312.   
  313.   	return ret;
  314.   	}
          ^
  315.   
  316.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

engines/e_4758_cca.c:410:7: Taking false branch
408.   
409.   	keyToken = OPENSSL_malloc(MAX_CCA_PKA_TOKEN_SIZE + sizeof(long));
410.   	if (!keyToken)
             ^
411.   		{
412.   		CCA4758err(CCA4758_F_IBM_4758_CCA_LOAD_PRIVKEY,

engines/e_4758_cca.c:417:2: Skipping __function_pointer__(): unresolved function pointer
415.   		}
416.   
417.   	keyRecordRead(&returnCode, &reasonCode, &exitDataLength,
        ^
418.   		exitData, &ruleArrayLength, ruleArray, keyLabel,
419.   		&keyTokenLength, keyToken+sizeof(long));

engines/e_4758_cca.c:421:6: Taking false branch
419.   		&keyTokenLength, keyToken+sizeof(long));
420.   
421.   	if (returnCode)
            ^
422.   		{
423.   		CCA4758err(CCA4758_F_IBM_4758_CCA_LOAD_PRIVKEY,

engines/e_4758_cca.c:428:2: Skipping __function_pointer__(): unresolved function pointer
426.   		}
427.   
428.   	publicKeyExtract(&returnCode, &reasonCode, &exitDataLength,
        ^
429.   		exitData, &ruleArrayLength, ruleArray, &keyTokenLength,
430.   		keyToken+sizeof(long), &pubKeyTokenLength, pubKeyToken);

engines/e_4758_cca.c:432:6: Taking false branch
430.   		keyToken+sizeof(long), &pubKeyTokenLength, pubKeyToken);
431.   
432.   	if (returnCode)
            ^
433.   		{
434.   		CCA4758err(CCA4758_F_IBM_4758_CCA_LOAD_PRIVKEY,

engines/e_4758_cca.c:439:7: 
437.   		}
438.   
439. > 	if (!getModulusAndExponent(pubKeyToken, &exponentLength,
440.   			exponent, &modulusLength, &modulusFieldLength,
441.   			modulus))

engines/e_4758_cca.c:852:1: start of procedure getModulusAndExponent()
  850.   	}
  851.   
  852. > static int getModulusAndExponent(const unsigned char*token, long *exponentLength,
  853.   		unsigned char *exponent, long *modulusLength, long *modulusFieldLength,
  854.   		unsigned char *modulus)

engines/e_4758_cca.c:858:6: Taking false branch
  856.   	unsigned long len;
  857.   
  858.   	if (*token++ != (char)0x1E) /* internal PKA token? */
              ^
  859.   		return 0;
  860.   

engines/e_4758_cca.c:861:6: Taking false branch
  859.   		return 0;
  860.   
  861.   	if (*token++) /* token version must be zero */
              ^
  862.   		return 0;
  863.   

engines/e_4758_cca.c:864:2: 
  862.   		return 0;
  863.   
  864. > 	len = *token++;
  865.   	len = len << 8;
  866.   	len |= (unsigned char)*token++;

engines/e_4758_cca.c:865:2: 
  863.   
  864.   	len = *token++;
  865. > 	len = len << 8;
  866.   	len |= (unsigned char)*token++;
  867.   

engines/e_4758_cca.c:866:2: 
  864.   	len = *token++;
  865.   	len = len << 8;
  866. > 	len |= (unsigned char)*token++;
  867.   
  868.   	token += 4; /* skip reserved bytes */

engines/e_4758_cca.c:868:2: 
  866.   	len |= (unsigned char)*token++;
  867.   
  868. > 	token += 4; /* skip reserved bytes */
  869.   
  870.   	if (*token++ == (char)0x04)

engines/e_4758_cca.c:870:6: Taking true branch
  868.   	token += 4; /* skip reserved bytes */
  869.   
  870.   	if (*token++ == (char)0x04)
              ^
  871.   		{
  872.   		if (*token++) /* token version must be zero */

engines/e_4758_cca.c:872:7: Taking false branch
  870.   	if (*token++ == (char)0x04)
  871.   		{
  872.   		if (*token++) /* token version must be zero */
               ^
  873.   			return 0;
  874.   

engines/e_4758_cca.c:875:3: 
  873.   			return 0;
  874.   
  875. > 		len = *token++;
  876.   		len = len << 8;
  877.   		len |= (unsigned char)*token++;

engines/e_4758_cca.c:876:3: 
  874.   
  875.   		len = *token++;
  876. > 		len = len << 8;
  877.   		len |= (unsigned char)*token++;
  878.   

engines/e_4758_cca.c:877:3: 
  875.   		len = *token++;
  876.   		len = len << 8;
  877. > 		len |= (unsigned char)*token++;
  878.   
  879.   		token+=2; /* skip reserved section */

engines/e_4758_cca.c:879:3: 
  877.   		len |= (unsigned char)*token++;
  878.   
  879. > 		token+=2; /* skip reserved section */
  880.   
  881.   		len = *token++;

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

engines/e_4758_cca.c:882:3: 
  880.   
  881.   		len = *token++;
  882. > 		len = len << 8;
  883.   		len |= (unsigned char)*token++;
  884.   

engines/e_4758_cca.c:883:3: 
  881.   		len = *token++;
  882.   		len = len << 8;
  883. > 		len |= (unsigned char)*token++;
  884.   
  885.   		*exponentLength = len;

engines/e_4758_cca.c:885:3: 
  883.   		len |= (unsigned char)*token++;
  884.   
  885. > 		*exponentLength = len;
  886.   
  887.   		len = *token++;

engines/e_4758_cca.c:887:3: 
  885.   		*exponentLength = len;
  886.   
  887. > 		len = *token++;
  888.   		len = len << 8;
  889.   		len |= (unsigned char)*token++;

engines/e_4758_cca.c:888:3: 
  886.   
  887.   		len = *token++;
  888. > 		len = len << 8;
  889.   		len |= (unsigned char)*token++;
  890.   

engines/e_4758_cca.c:889:3: 
  887.   		len = *token++;
  888.   		len = len << 8;
  889. > 		len |= (unsigned char)*token++;
  890.   
  891.   		*modulusLength = len;

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

engines/e_4758_cca.c:893:3: 
  891.   		*modulusLength = len;
  892.   
  893. > 		len = *token++;
  894.   		len = len << 8;
  895.   		len |= (unsigned char)*token++;

engines/e_4758_cca.c:894:3: 
  892.   
  893.   		len = *token++;
  894. > 		len = len << 8;
  895.   		len |= (unsigned char)*token++;
  896.   

engines/e_4758_cca.c:895:3: 
  893.   		len = *token++;
  894.   		len = len << 8;
  895. > 		len |= (unsigned char)*token++;
  896.   
  897.   		*modulusFieldLength = len;

engines/e_4758_cca.c:897:3: 
  895.   		len |= (unsigned char)*token++;
  896.   
  897. > 		*modulusFieldLength = len;
  898.   
  899.   		memcpy(exponent, token, *exponentLength);

engines/e_4758_cca.c:899:3: 
  897.   		*modulusFieldLength = len;
  898.   
  899. > 		memcpy(exponent, token, *exponentLength);
  900.   		token+= *exponentLength;
  901.   

engines/e_4758_cca.c:900:3: 
  898.   
  899.   		memcpy(exponent, token, *exponentLength);
  900. > 		token+= *exponentLength;
  901.   
  902.   		memcpy(modulus, token, *modulusFieldLength);

engines/e_4758_cca.c:902:3: 
  900.   		token+= *exponentLength;
  901.   
  902. > 		memcpy(modulus, token, *modulusFieldLength);
  903.   		return 1;
  904.   		}

engines/e_4758_cca.c:903:3: 
  901.   
  902.   		memcpy(modulus, token, *modulusFieldLength);
  903. > 		return 1;
  904.   		}
  905.   	return 0;

engines/e_4758_cca.c:906:2: return from a call to getModulusAndExponent
  904.   		}
  905.   	return 0;
  906.   	}
          ^
  907.   
  908.   #endif /* OPENSSL_NO_RSA */

engines/e_4758_cca.c:439:7: Taking false branch
437.   		}
438.   
439.   	if (!getModulusAndExponent(pubKeyToken, &exponentLength,
             ^
440.   			exponent, &modulusLength, &modulusFieldLength,
441.   			modulus))

engines/e_4758_cca.c:448:2: 
446.   		}
447.   
448. > 	(*(long*)keyToken) = keyTokenLength;
449.   	rtmp = RSA_new_method(e);
450.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);

engines/e_4758_cca.c:449:2: 
447.   
448.   	(*(long*)keyToken) = keyTokenLength;
449. > 	rtmp = RSA_new_method(e);
450.   	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
451.   

crypto/rsa/rsa_lib.c:121:1: start of procedure RSA_new_method()
  119.   	}
  120.   
  121. > RSA *RSA_new_method(ENGINE *engine)
  122.   	{
  123.   	RSA *ret;

crypto/rsa/rsa_lib.c:125:2: 
  123.   	RSA *ret;
  124.   
  125. > 	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  126.   	if (ret == NULL)
  127.   		{

crypto/mem.c:289:1: start of procedure CRYPTO_malloc()
    287.   	}
    288.   
    289. > void *CRYPTO_malloc(int num, const char *file, int line)
    290.   	{
    291.   	void *ret = NULL;

crypto/mem.c:291:2: 
    289.   void *CRYPTO_malloc(int num, const char *file, int line)
    290.   	{
    291. > 	void *ret = NULL;
    292.   	extern unsigned char cleanse_ctr;
    293.   

crypto/mem.c:294:2: 
    292.   	extern unsigned char cleanse_ctr;
    293.   
    294. > 	allow_customize = 0;
    295.   	if (malloc_debug_func != NULL)
    296.   		{

crypto/mem.c:295:6: Taking true branch
    293.   
    294.   	allow_customize = 0;
    295.   	if (malloc_debug_func != NULL)
                ^
    296.   		{
    297.   		allow_customize_debug = 0;

crypto/mem.c:297:3: 
    295.   	if (malloc_debug_func != NULL)
    296.   		{
    297. > 		allow_customize_debug = 0;
    298.   		malloc_debug_func(NULL, num, file, line, 0);
    299.   		}

crypto/mem.c:298:3: Skipping __function_pointer__(): unresolved function pointer
    296.   		{
    297.   		allow_customize_debug = 0;
    298.   		malloc_debug_func(NULL, num, file, line, 0);
             ^
    299.   		}
    300.   	ret = malloc_ex_func(num,file,line);

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

crypto/mem.c:304:6: Taking true branch
    302.   	fprintf(stderr, "LEVITTE_DEBUG_MEM:         > 0x%p (%d)\n", ret, num);
    303.   #endif
    304.   	if (malloc_debug_func != NULL)
                ^
    305.   		malloc_debug_func(ret, num, file, line, 1);
    306.   

crypto/mem.c:305:3: Skipping __function_pointer__(): unresolved function pointer
    303.   #endif
    304.   	if (malloc_debug_func != NULL)
    305.   		malloc_debug_func(ret, num, file, line, 1);
             ^
    306.   
    307.           /* Create a dependency on the value of 'cleanse_ctr' so our memory

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

crypto/mem.c:313:2: 
    311.                   ((unsigned char *)ret)[0] = cleanse_ctr;
    312.   
    313. > 	return ret;
    314.   	}
    315.   

crypto/mem.c:314:2: return from a call to CRYPTO_malloc
    312.   
    313.   	return ret;
    314.   	}
            ^
    315.   
    316.   void *CRYPTO_realloc(void *str, int num, const char *file, int line)

crypto/rsa/rsa_lib.c:126:6: Taking true branch
  124.   
  125.   	ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
  126.   	if (ret == NULL)
              ^
  127.   		{
  128.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);

crypto/rsa/rsa_lib.c:128:3: 
  126.   	if (ret == NULL)
  127.   		{
  128. > 		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  129.   		return NULL;
  130.   		}

crypto/err/err.c:617:1: start of procedure ERR_put_error()
    615.   /********************************************************/
    616.   
    617. > void ERR_put_error(int lib, int func, int reason, const char *file,
    618.   	     int line)
    619.   	{

crypto/err/err.c:641:2: Skipping ERR_get_state(): empty list of specs
    639.   	}
    640.   #endif
    641.   	es=ERR_get_state();
            ^
    642.   
    643.   	es->top=(es->top+1)%ERR_NUM_ERRORS;

crypto/err/err.c:643:2: 
    641.   	es=ERR_get_state();
    642.   
    643. > 	es->top=(es->top+1)%ERR_NUM_ERRORS;
    644.   	if (es->top == es->bottom)
    645.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;

crypto/err/err.c:644:6: Taking false branch
    642.   
    643.   	es->top=(es->top+1)%ERR_NUM_ERRORS;
    644.   	if (es->top == es->bottom)
                ^
    645.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    646.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);

crypto/err/err.c:646:2: 
    644.   	if (es->top == es->bottom)
    645.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    646. > 	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    647.   	es->err_file[es->top]=file;
    648.   	es->err_line[es->top]=line;

crypto/err/err.c:647:2: 
    645.   		es->bottom=(es->bottom+1)%ERR_NUM_ERRORS;
    646.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    647. > 	es->err_file[es->top]=file;
    648.   	es->err_line[es->top]=line;
    649.   	err_clear_data(es,es->top);

crypto/err/err.c:648:2: 
    646.   	es->err_buffer[es->top]=ERR_PACK(lib,func,reason);
    647.   	es->err_file[es->top]=file;
    648. > 	es->err_line[es->top]=line;
    649.   	err_clear_data(es,es->top);
    650.   	}

crypto/err/err.c:649:2: Taking true branch
    647.   	es->err_file[es->top]=file;
    648.   	es->err_line[es->top]=line;
    649.   	err_clear_data(es,es->top);
            ^
    650.   	}
    651.   

crypto/err/err.c:649:2: Taking false branch
    647.   	es->err_file[es->top]=file;
    648.   	es->err_line[es->top]=line;
    649.   	err_clear_data(es,es->top);
            ^
    650.   	}
    651.   

crypto/err/err.c:650:2: return from a call to ERR_put_error
    648.   	es->err_line[es->top]=line;
    649.   	err_clear_data(es,es->top);
    650.   	}
            ^
    651.   
    652.   void ERR_clear_error(void)

crypto/rsa/rsa_lib.c:129:3: 
  127.   		{
  128.   		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  129. > 		return NULL;
  130.   		}
  131.   

crypto/rsa/rsa_lib.c:185:2: return from a call to RSA_new_method
  183.   		}
  184.   	return(ret);
  185.   	}
          ^
  186.   
  187.   void RSA_free(RSA *r)

engines/e_4758_cca.c:450:2: 
448.   	(*(long*)keyToken) = keyTokenLength;
449.   	rtmp = RSA_new_method(e);
450. > 	RSA_set_ex_data(rtmp, hndidx, (char *)keyToken);
451.   
452.   	rtmp->e = BN_bin2bn(exponent, exponentLength, NULL);
