1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

One more defensive assert, just to be sure.

[originally from svn r9997]
This commit is contained in:
Simon Tatham 2013-08-06 16:45:49 +00:00
parent a7cc906df0
commit ead9081318

View File

@ -607,6 +607,7 @@ static void internal_add_shifted(BignumInt *number,
addend = (BignumDblInt)n << bshift;
while (addend) {
assert(word <= number[0]);
addend += number[word];
number[word] = (BignumInt) addend & BIGNUM_INT_MASK;
addend >>= BIGNUM_INT_BITS;