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

Shao Miller sha0.miller at gmail.com
Wed Oct 24 20:01:18 UTC 2012

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(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cpio-Deal-with-CPIO-trailers.patch
Type: application/octet-stream
Size: 1439 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20121024/8f42d46d/attachment.obj>

More information about the ipxe-devel mailing list