Re: [PATCH] lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

From: Jan Beulich
Date: Fri Jul 04 2014 - 02:13:04 EST


>>> On 04.07.14 at 01:11, <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> Jan points out that I forgot to make the needed fixes to the
> lz4_uncompress_unknownoutputsize() function to mirror the changes done
> in lz4_decompress() with regards to potential pointer overflows.

Except that meanwhile Don agreed with my statement that neither
this nor the two earlier patches really fix the issue. So rather than
pushing this into 3.16 and stable trees, I wonder whether the two
earlier ones shouldn't be reverted and then a clean and correct
fix be applied.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/