[PATCH v2 3/5] util, lineread, tap: Overflow checks on long signed sums and subtractions