This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: decompression error: incorrect data check
- From: Mark Salter <msalter at redhat dot com>
- To: jmorton at bandspeed dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 12 Sep 2002 17:29:40 -0400
- Subject: Re: [ECOS] decompression error: incorrect data check
- References: <F2DE90354F0ED94EB7061060D9396547030A50@mars.bandspeed.com>
>>>>> 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