add patch avoid-arithmetic-overflow-that-can-trigger-a-BUG