Reading from the top-right of the selection buffer could read past the buffer bounds. Resolve by ensuring the clamped buffer isn't empty. Relates to #141591.
Reading from the top-right of the selection buffer could read past the buffer bounds. Resolve by ensuring the clamped buffer isn't empty. Relates to #141591.