Fix endless loop when trying to add a too large file to CBFS,
authorPatrick Georgi <patrick.georgi@coresystems.de>
Wed, 30 Sep 2009 11:21:18 +0000 (11:21 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Wed, 30 Sep 2009 11:21:18 +0000 (11:21 +0000)
commit56f5fb734bb92efd147912794071ff57c35cab04
tree8f5c053087594166fb260c92e3bbd7d177518f50
parent53ad9f585ddc3f40671adcd92a6341eadd229a06
Fix endless loop when trying to add a too large file to CBFS,
and report the correct error code, and a hopefully helpful
error message.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4692 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/cbfstool/cbfstool.c
util/cbfstool/common.c