commit | 7f91838d0e6d9619c3d69a7b3bd947b0d5b24e47 | [log] [tgz] |
---|---|---|
author | Paul Davey <paul.davey@alliedtelesis.co.nz> | Mon Nov 05 18:09:29 2018 +1300 |
committer | Heiko Schocher <hs@denx.de> | Wed Nov 07 08:49:27 2018 +0100 |
tree | 10771073ad0c27e127f55072065db6390e3dd5fc | |
parent | 4443c5caf33ece7c3f512c2f5712b2a18e7fc350 [diff] |
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: Paul Davey <paul.davey@alliedtelesis.co.nz> Cc: Heiko Schocher <hs@denx.de> Tested-by: Heiko Schocher <hs@denx.de>