From: Etienne Lorrain <etienne_lorrain@yahoo.fr>
To: linux-kernel@vger.kernel.org, hpa@zytor.com
Cc: torvalds@linux-foundation.org, alain@knaff.lu, sam@ravnborg.org
Subject: [GIT PULL] bzip2/lzma kernel compression
Date: Thu, 15 Jan 2009 13:19:42 +0000 (GMT) [thread overview]
Message-ID: <758512.74881.qm@web23602.mail.ird.yahoo.com> (raw)
lib/decompress_inflate.c:
+ /* skip over asciz filename */
+ if (zbuf[3] & 0x8) {
+ while (strm->next_in[0])
+ strm->next_in++;
+ strm->next_in++;
+ }
+ strm->avail_in = len - (strm->next_in - zbuf);
How about also allowing a GZIP comment (as specs) if (zbuf[3] & 0x10) ?
To test, generating a GZIP with comment is easily done by my gzcopy:
gzcopy -a="a comment" in.gz out.gz
found in this other bootloader, and can be downloaded at:
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/g/gu/gujin/install-2.4.tar.gz/install/gzcopy?extract=true
Etienne.
next reply other threads:[~2009-01-15 13:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 13:19 Etienne Lorrain [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-09 18:45 [GIT PULL] bzip2/lzma kernel compression H. Peter Anvin
2009-01-09 20:52 ` Yinghai Lu
2009-01-09 21:43 ` Yinghai Lu
2009-01-11 2:47 ` Ingo Molnar
2009-01-11 2:50 ` H. Peter Anvin
2009-01-11 7:07 ` Yinghai Lu
[not found] ` <4968A737.7040909@knaff.lu>
2009-01-11 0:33 ` H. Peter Anvin
2009-01-11 7:01 ` Alain Knaff
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=758512.74881.qm@web23602.mail.ird.yahoo.com \
--to=etienne_lorrain@yahoo.fr \
--cc=alain@knaff.lu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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