commit | ef3d4581bdc823fe67c3c0a978238aaefa586585 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Nov 04 16:37:43 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 16 12:43:48 2023 -0500 |
tree | 90c228d2d71b95eec6b4cbdd1db57c07bb923fa9 | |
parent | ec66ca837e8b5ffc0b27954c08c8d07d2782823a [diff] |
spl: legacy: Honor bl_len when decompressing When allocating a buffer to load compressed data into, we need to ensure we have enough space for over- and under-flow due to alignment. Otherwise we will clobber the malloc bookkeeping data. Calculate the correct amount of overhead and use it when determining the size. Signed-off-by: Sean Anderson <seanga2@gmail.com>