[ipxe-devel] [PATCH] [cpio] Deal with CPIO trailers

Shao Miller sha0.miller at gmail.com
Wed Oct 24 20:08:34 UTC 2012

Yeah, that patch is for wimboot, not for iPXE.  Sorry about that.  Thanks
for pointing that out, Brandon.

Also: I neglected to include:

Tested-by: Brandon Penglase <bpenglase-ipxe at Spaceservices.net>

Sorry about that, too.

- Shao Miller

-----Original Message-----
From: Shao Miller [mailto:sha0.miller at gmail.com] 
Sent: Wednesday, October 24, 2012 16:01
To: ipxe-devel at lists.ipxe.org
Subject: [PATCH] [cpio] Deal with CPIO trailers

Attached is the patch, as one of { my MTA, my MUA } wrecks e-mail-body
patches.  - Shao

>From 4c5c28938d47e4888be73d84c2c8241aa60e2391 Mon Sep 17 00:00:00 2001
From: Shao Miller <sha0.miller at gmail.com>
Date: Wed, 24 Oct 2012 15:52:23 -0400
Subject: [PATCH] [cpio] Deal with CPIO trailers

For the case where wimboot is given a CPIO archive that has not been
prepared by iPXE, there could be the magic "TRAILER!!!" file at the end
of the archive.  We should stop processing CPIO files if we reach this.

Signed-off-by: Shao Miller <sha0.miller at gmail.com>
 src/cpio.c | 6 ++++++
 src/cpio.h | 3 +++
 2 files changed, 9 insertions(+)

More information about the ipxe-devel mailing list