crypto/asn1/t_pkey.c:212: error: BUFFER_OVERRUN_L3
  Offset: 1 Size: [0, +oo] by call to `print`.
Showing all 7 steps of the trace


crypto/asn1/t_pkey.c:187:3: Assignment
185.   		i=BN_num_bytes(bn)*2;
186.   	else
187.   		i=256;
         ^
188.   	m=(unsigned char *)Malloc((unsigned int)i+10);
189.   	if (m == NULL)

crypto/asn1/t_pkey.c:188:21: Array declaration
186.   	else
187.   		i=256;
188.   	m=(unsigned char *)Malloc((unsigned int)i+10);
                           ^
189.   	if (m == NULL)
190.   		{

crypto/asn1/t_pkey.c:188:2: Assignment
186.   	else
187.   		i=256;
188.   	m=(unsigned char *)Malloc((unsigned int)i+10);
        ^
189.   	if (m == NULL)
190.   		{

crypto/asn1/t_pkey.c:212:25: Call
210.   		goto err;
211.   	if ((x->p != NULL) && !print(bp,"P:   ",x->p,m,off)) goto err;
212.   	if ((x->q != NULL) && !print(bp,"Q:   ",x->q,m,off)) goto err;
                               ^
213.   	if ((x->g != NULL) && !print(bp,"G:   ",x->g,m,off)) goto err;
214.   	ret=1;

crypto/asn1/t_pkey.c:221:1: <Length trace>
219.   #endif /* !NO_DSA */
220.   
221. > static int print(BIO *bp, const char *number, BIGNUM *num, unsigned char *buf,
222.   	     int off)
223.   	{

crypto/asn1/t_pkey.c:221:1: Parameter `*buf`
  219.   #endif /* !NO_DSA */
  220.   
  221. > static int print(BIO *bp, const char *number, BIGNUM *num, unsigned char *buf,
  222.   	     int off)
  223.   	{

crypto/asn1/t_pkey.c:251:7: Array access: Offset: 1 Size: [0, +oo] by call to `print` 
  249.   		n=BN_bn2bin(num,&buf[1]);
  250.   	
  251.   		if (buf[1] & 0x80)
               ^
  252.   			n++;
  253.   		else	buf++;
