crypto/objects/o_names.c:249: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `lh_doall_arg`.
Showing all 4 steps of the trace


crypto/objects/o_names.c:249:2: Call
247.   	d.arg=arg;
248.   
249.   	lh_doall_arg(names_lh,(LHASH_DOALL_ARG_FN_TYPE)do_all_fn,&d);
        ^
250.   	}
251.   

crypto/lhash/lhash.c:282:1: <LHS trace>
280.   	}
281.   
282. > void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
283.   	{
284.   	int i;

crypto/lhash/lhash.c:282:1: Parameter `lh->num_nodes`
  280.   	}
  281.   
  282. > void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
  283.   	{
  284.   	int i;

crypto/lhash/lhash.c:289:7: Binary operation: ([0, +oo] - 1):unsigned32 by call to `lh_doall_arg` 
  287.   	/* reverse the order so we search from 'top to bottom'
  288.   	 * We were having memory leaks otherwise */
  289.   	for (i=lh->num_nodes-1; i>=0; i--)
               ^
  290.   		{
  291.   		a=lh->b[i];

void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)
	{
	int i;
	LHASH_NODE *a,*n;
	for (i=lh->num_nodes-1; i>=0; i--)
		{
		a=lh->b[i];
		while (a != NULL)
			{
			n=a->next;
			func(a->data,arg);
			a=n;
			}
		}
	}
['void OBJ_NAME_do_all(int type,void (*fn)(const OBJ_NAME *,void *arg),void *arg)\n\t{\n\tstruct doall d;\n\td.type=type;\n\td.fn=fn;\n\td.arg=arg;\n\tlh_doall_arg(names_lh,(LHASH_DOALL_ARG_FN_TYPE)do_all_fn,&d);\n\t}', 'void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg)\n\t{\n\tint i;\n\tLHASH_NODE *a,*n;\n\tfor (i=lh->num_nodes-1; i>=0; i--)\n\t\t{\n\t\ta=lh->b[i];\n\t\twhile (a != NULL)\n\t\t\t{\n\t\t\tn=a->next;\n\t\t\tfunc(a->data,arg);\n\t\t\ta=n;\n\t\t\t}\n\t\t}\n\t}']