apps/ca.c:932: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 6):unsigned64 by call to `TXT_DB_write`.
Showing all 12 steps of the trace


apps/ca.c:875:7: Call
873.   		goto err;
874.   		}
875.   	db = load_index(dbfile, &db_attr);
             ^
876.   	if (db == NULL) goto err;
877.   

apps/apps.c:1740:15: Call
  1738.   		goto err;
  1739.   		}
  1740.   	if ((tmpdb = TXT_DB_read(in,DB_NUMBER)) == NULL)
                        ^
  1741.   		goto err;
  1742.   

crypto/txt_db/txt_db.c:71:1: Parameter `num`
    69.   const char TXT_DB_version[]="TXT_DB" OPENSSL_VERSION_PTEXT;
    70.   
    71. > TXT_DB *TXT_DB_read(BIO *in, int num)
    72.   	{
    73.   	TXT_DB *ret=NULL;

crypto/txt_db/txt_db.c:88:2: Assignment
    86.   	if ((ret=(TXT_DB *)OPENSSL_malloc(sizeof(TXT_DB))) == NULL)
    87.   		goto err;
    88.   	ret->num_fields=num;
           ^
    89.   	ret->index=NULL;
    90.   	ret->qual=NULL;

apps/ca.c:932:3: Call
930.   		}
931.   #endif
932.   		TXT_DB_write(out,db->db);
         ^
933.   		BIO_printf(bio_err,"%d entries loaded from the database\n",
934.   			db->db->data->num);

crypto/txt_db/txt_db.c:269:8: Assignment
  267.   
  268.   		l=0;
  269.   		for (j=0; j<nn; j++)
                ^
  270.   			{
  271.   			if (pp[j] != NULL)

crypto/txt_db/txt_db.c:274:8: Call
  272.   				l+=strlen(pp[j]);
  273.   			}
  274.   		if (!BUF_MEM_grow_clean(buf,(int)(l*2+nn))) goto err;
                ^
  275.   
  276.   		p=buf->data;

crypto/buffer/buffer.c:128:1: <LHS trace>
126.   	}
127.   
128. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
129.   	{
130.   	char *ret;

crypto/buffer/buffer.c:128:1: Parameter `len`
    126.   	}
    127.   
    128. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
    129.   	{
    130.   	char *ret;

crypto/buffer/buffer.c:128:1: <RHS trace>
126.   	}
127.   
128. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
129.   	{
130.   	char *ret;

crypto/buffer/buffer.c:128:1: Parameter `len`
    126.   	}
    127.   
    128. > int BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
    129.   	{
    130.   	char *ret;

crypto/buffer/buffer.c:135:3: Binary operation: ([0, +oo] - 6):unsigned64 by call to `TXT_DB_write` 
    133.   	if (str->length >= len)
    134.   		{
    135.   		memset(&str->data[len],0,str->length-len);
             ^
    136.   		str->length=len;
    137.   		return(len);
