mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00: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:
parent
2bd76ed88c
commit
0d9ab2f14b
Loading…
Reference in New Issue
Block a user