crypto/rsa/rsa_eay.c:389: error: BUFFER_OVERRUN_L3
  Offset: 1 Size: [0, +oo] by call to `RSA_padding_check_PKCS1_type_1`.
Showing all 11 steps of the trace


crypto/rsa/rsa_eay.c:355:6: Call
353.   	if (ctx == NULL) goto err;
354.   
355.   	num=BN_num_bytes(rsa->n);
            ^
356.   	buf=(unsigned char *)Malloc(num);
357.   	if (buf == NULL)

crypto/bn/bn_lib.c:245:19: Assignment
  243.   	bn_check_top(a);
  244.   
  245.   	if (a->top == 0) return(0);
                           ^
  246.   	l=a->d[a->top-1];
  247.   	i=(a->top-1)*BN_BITS2;

crypto/rsa/rsa_eay.c:355:2: Assignment
353.   	if (ctx == NULL) goto err;
354.   
355.   	num=BN_num_bytes(rsa->n);
        ^
356.   	buf=(unsigned char *)Malloc(num);
357.   	if (buf == NULL)

crypto/rsa/rsa_eay.c:356:23: Array declaration
354.   
355.   	num=BN_num_bytes(rsa->n);
356.   	buf=(unsigned char *)Malloc(num);
                             ^
357.   	if (buf == NULL)
358.   		{

crypto/rsa/rsa_eay.c:356:2: Assignment
354.   
355.   	num=BN_num_bytes(rsa->n);
356.   	buf=(unsigned char *)Malloc(num);
        ^
357.   	if (buf == NULL)
358.   		{

crypto/rsa/rsa_eay.c:389:5: Call
387.   		{
388.   	case RSA_PKCS1_PADDING:
389.   		r=RSA_padding_check_PKCS1_type_1(to,num,buf,i,num);
           ^
390.   		break;
391.   	case RSA_NO_PADDING:

crypto/rsa/rsa_pk1.c:103:1: <Length trace>
101.   	}
102.   
103. > int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
104.   	     unsigned char *from, int flen, int num)
105.   	{

crypto/rsa/rsa_pk1.c:103:1: Parameter `*from`
  101.   	}
  102.   
  103. > int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
  104.   	     unsigned char *from, int flen, int num)
  105.   	{

crypto/rsa/rsa_pk1.c:109:2: Assignment
  107.   	unsigned char *p;
  108.   
  109.   	p=from;
          ^
  110.   	if ((num != (flen+1)) || (*(p++) != 01))
  111.   		{

crypto/rsa/rsa_pk1.c:110:30: Assignment
  108.   
  109.   	p=from;
  110.   	if ((num != (flen+1)) || (*(p++) != 01))
                                      ^
  111.   		{
  112.   		RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1,RSA_R_BLOCK_TYPE_IS_NOT_01);

crypto/rsa/rsa_pk1.c:120:7: Array access: Offset: 1 Size: [0, +oo] by call to `RSA_padding_check_PKCS1_type_1` 
  118.   	for (i=0; i<j; i++)
  119.   		{
  120.   		if (*p != 0xff) /* should decrypt to 0xff */
               ^
  121.   			{
  122.   			if (*p == 0)
