Revert "Fix an overflow found by ASAN."

This reverts commit 324dd35e473d529b6c1ab0c6ce482ab6585afe54.