5e7d0acc69
commit d9c83f71eeceed2cb54bb78be84f2d4055fd9a1f upstream.
We were reading the length of the scatterlist sg after copying value of
tsg inside.
So we are using the size of the previous scatterlist and for the first
one we are using an unitialised value.
Fix this by copying tsg in sg[0] before reading the size.
Fixes :
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
stm32-crc32.c | ||
stm32-cryp.c | ||
stm32-hash.c |