Skip to content
Commit e4aa10ba authored by Paul Davey's avatar Paul Davey Committed by Heiko Schocher
Browse files

fs: ubifs: Fix UBIFS decompression on 64 bit



Add local size_t variable to crypto_comp_decompress as intermediate
storage for destination length to avoid memory corruption and incorrect
results on 64 bit targets.

This is what linux does for the various lz compression implementations.

Signed-off-by: default avatarPaul Davey <paul.davey@alliedtelesis.co.nz>
Cc: Heiko Schocher <hs@denx.de>
Tested-by: default avatarHeiko Schocher <hs@denx.de>
parent dd610e61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment