We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c699087 commit dc44ed5Copy full SHA for dc44ed5
cab.c
@@ -274,7 +274,7 @@ static u_char *cab_digest_calc(FILE_FORMAT_CTX *ctx, const EVP_MD *md)
274
* (u8 * cFolders) CFFOLDER - structure contains information about
275
* one of the folders or partial folders stored in this cabinet file
276
*/
277
- while (nfolders) {
+ while (nfolders && idx < fileend) {
278
BIO_write(bhash, ctx->options->indata + idx, 8);
279
idx += 8;
280
nfolders--;
0 commit comments