Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix construction of signed CAB header
Commit 0f51a06 ("Separate common and format-dependent functions") performed a substantial amount of refactoring. Within the CFFOLDER header construction loop in cab_add_header(), the line tmp = GET_UINT32_LE(indata + i); seems to have been accidentally deleted, instead of being refactored to become tmp = GET_UINT32_LE(ctx->options->indata + i); with the result that adding a signature to a .cab file will currently produce an invalid .cab file. Fix by adding back in the missing line of code. Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
- Loading branch information