> -----Original Message-----
> From: Trahe, Fiona
> Sent: Wednesday, October 31, 2018 1:40 AM
> To: [email protected]
> Cc: [email protected]; [email protected]; Jozwiak, TomaszX
> <[email protected]>; [email protected]; Trahe,
> Fiona <[email protected]>
> Subject: [PATCH] compress/qat: fix out-of-bounds error
>
> QAT array for sgls in intermediate buffer structure was #defined to 1, but
> setup code hardcoded as if 2 buffers so causing out of bounds write.
> Reworked to loop correctly using #define.
>
> Fixes: a124830a6f00 ("compress/qat: enable dynamic huffman encoding")
>
> Reported-by: Jerin Jacob <[email protected]>
> Signed-off-by: Fiona Trahe <[email protected]>
> ---
Acked-by: Tomasz Jozwiak <[email protected]