[PATCH] gostr3411-94: fix the iteration count for length filling loop

Werner Koch wk at gnupg.org
Tue Jan 6 15:05:00 CET 2015


On Sun, 28 Dec 2014 10:05, dbaryshkov at gmail.com said:
> The maximum iteration count for filling the l (bit length) array was
> incrrectly set to 32 (missed that in u8->u32 refactoring). This was not
> resulting in stack corruption, since nblocks variable would be exausted
> earlier compared to 8 32-bit values (the size of the array).
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>

Thanks.  Pushed.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list