Re: [U-Boot] [PATCH v1] fs: ubifs: Fix UBIFS decompression on 64 bit

2018-11-08 Thread Heiko Schocher
Hello Paul, Am 05.11.2018 um 06:09 schrieb Paul Davey: 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.

Re: [U-Boot] [PATCH v1] fs: ubifs: Fix UBIFS decompression on 64 bit

2018-11-06 Thread Heiko Schocher
Hello Paul, Am 05.11.2018 um 06:09 schrieb Paul Davey: 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.

[U-Boot] [PATCH v1] fs: ubifs: Fix UBIFS decompression on 64 bit

2018-11-05 Thread Paul Davey
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 Cc: Heiko Schocher --- When