This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: decompression error: incorrect data check


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]