mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lasse Collin <lasse.collin@tukaani.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org, stable@kernel.org
Subject: Re: [PATCH] XZ decompressor: Fix decoding of empty LZMA2 streams
Date: Wed, 4 May 2011 01:22:36 +0300	[thread overview]
Message-ID: <201105040122.36545.lasse.collin@tukaani.org> (raw)
In-Reply-To: <20110503143620.c6b4d272.akpm@linux-foundation.org>

On 2011-05-04 Andrew Morton wrote:
> Lasse Collin <lasse.collin@tukaani.org> wrote:
> > From: Lasse Collin <lasse.collin@tukaani.org>
> > 
> > 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@tukaani.org>
> 
> 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.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode

  reply	other threads:[~2011-05-03 22:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01 16:38 Lasse Collin
2011-05-03 21:36 ` Andrew Morton
2011-05-03 22:22   ` Lasse Collin [this message]
2011-05-04 23:11     ` [stable] " Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201105040122.36545.lasse.collin@tukaani.org \
    --to=lasse.collin@tukaani.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®