Commit 5b8376c
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 <[email protected]>1 parent 1fc2c93 commit 5b8376c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
| 903 | + | |
903 | 904 | | |
904 | 905 | | |
905 | 906 | | |
| |||
0 commit comments