d0f14ae223
[ Upstream commit 2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 ]
In spu2_dump_omd() value of ptr is increased by ciph_key_len
instead of hash_iv_len which could lead to going beyond the
buffer boundaries.
Fix this bug by changing ciph_key_len to hash_iv_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
cipher.c | ||
cipher.h | ||
spu.c | ||
spu.h | ||
spu2.c | ||
spu2.h | ||
spum.h | ||
util.c | ||
util.h |