[ECOS] decompression error: incorrect data check

Mark Salter msalter@redhat.com
Thu Sep 12 14:29:00 GMT 2002


>>>>> Jack Morton writes:

> Mark-
> Thanks for the quick reply.  I updated my inflate.c file and ran my test
> again and the "Decompression error:  incorrect data check" error didn't
> show up.  Unfortunately, it still looks like the end of my file is
> getting truncated.  It appears that the file is loaded up until the last
> 256-byte boundary and then stops, e.g. if the file was 540 bytes (before
> compression), only the first 512 bytes get written into memory.  Any
> idea why this may be happening?

A bug in RedBoot. I missed it with my test case because I wasn't looking
closely enough. Anyway, a fix is now checked in to the redboot package.

Thanks for finding and reporting that, BTW.

--Mark

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list