Skip to content
Commit 57d3da6f authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
parent cdc0434a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment