Core: Check if from + size don't cause overflow and fail with a better error