Hi all,

I found the following modification necessary to lib/component.c in order to extract a cab file I have:

       abort();
   }

-  self->file_group_count = READ_UINT16(p); p += 2;
+  self->file_group_count = READ_UINT16(p) & 0xff; p += 2;
   if (self->file_group_count > MAX_FILE_GROUP_COUNT) {

Otherwise the count was read as 307. Judging from the value of MAX_FILE_GROUP_COUNT 1 byte for the count is sufficient so the other byte is likely used for something else (flags ? shortcut indicator ? )

                      thank you !

                           Vladimir Dergachev


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to