mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Fix aliasing bug in mp_lshift_fixed_into.
I had not considered what would happen if the input and output mp_ints aliased each other. What happens is that because I wrote the output starting from the low end, input words would get corrupted before I'd finished with them. Easily fixed by reversing the order of the loop.
This commit is contained in:
Reference in New Issue
Block a user