Re: [stable] [PATCH] XZ decompressor: Fix decoding of empty LZMA2streams

From: Greg KH
Date: Wed May 04 2011 - 19:18:53 EST


On Wed, May 04, 2011 at 01:22:36AM +0300, Lasse Collin wrote:
> On 2011-05-04 Andrew Morton wrote:
> > Lasse Collin <lasse.collin@xxxxxxxxxxx> wrote:
> > > From: Lasse Collin <lasse.collin@xxxxxxxxxxx>
> > >
> > > The old code considered valid empty LZMA2 streams to be corrupt.
> > > Note that a typical empty .xz file has no LZMA2 data at all,
> > > and thus most .xz files having no uncompressed data are handled
> > > correctly even without this fix.
> > >
> > > Signed-off-by: Lasse Collin <lasse.collin@xxxxxxxxxxx>
> >
> > The patch didn't have the cc:stable tag, but appears to be needed in
> > 2.6.38.x and perhaps earlier, yes?
> >
> > It's commit 646032e3b05b32d3f20cb108a030593d9d792eb5 in mainline.
>
> Thanks. It's good for 2.6.38.x. Older ones don't have XZ support.

Now queued up, thanks.

greg k-h
--
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/