Re: [Etherboot-developers] [COMMIT] 5.1.2+ boot from disk.
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2002-08-30 12:32:18
|
Michael Brown <mb...@fe...> writes: > OK - I can see only one potential problem with that: if an image is > corrupted by being incomplete (missing bytes from the end) then Etherboot > will (I think) lock up in an endless loop with len=0, eof=1 and > tctx.seglen != 0. That sounds right. So the question becomes how do we handle a truncated file cleanly. The cleanest solution looks like clearing eof if at the top of the file len == 0. (committed). I'd love to do it they way we handle it for elf and a.out files except those are prone to actually executing the truncated files which is another kind of problem. Eric |