Add a bit of protection against oversized files
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 26 Jun 2008 08:38:28 +0000 (11:38 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 26 Jun 2008 08:38:28 +0000 (11:38 +0300)
commitef34894567a3ecd82035fc3b82ca06a3773d9ac3
tree2b67d164a6ea8adba5682686b757a2b871fecc2b
parent6985cd23724b8cde7f7a73507d8130be18c270af
Add a bit of protection against oversized files
- max size of individual files in cpio new ascii format is well known,
  check we don't try to stuff in larger than what fits and abort cleanly
- this should do as long as we only support new ascii format cpio payloads
build/files.c
lib/cpio.h