[Issue 10077] Integer overflow in util-int.c