openssh-portable
openssh-portable copied to clipboard
Optimize aesctr_inc to avoid undefined behavior
We can ensure that an underflow for "i" never happens by only subtracting after the check for "i" being 0.