From 5b06e7752b6e9f95f6d82ce9861dd13dbcd9e227 Mon Sep 17 00:00:00 2001 From: Andy Ragusa Date: Wed, 31 Jul 2024 14:00:00 -0700 Subject: [PATCH] blah --- libclamav/ole2_extract.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libclamav/ole2_extract.c b/libclamav/ole2_extract.c index 3c855f709b..45e995f54d 100644 --- a/libclamav/ole2_extract.c +++ b/libclamav/ole2_extract.c @@ -720,7 +720,8 @@ static size_t get_stream_data_offset(ole2_header_t *hdr, const property_t *word_ if (word_block->size < MINISTREAM_CUTOFF_SIZE) { fib_offset = offset + sector_size * hdr->sbat_root_start; - fib_offset += (word_block->start_block * (1 << hdr->log2_small_block_size)); + //fib_offset += (word_block->start_block * (1 << hdr->log2_small_block_size)); + fib_offset += (sector * (1 << hdr->log2_small_block_size)); } else { fib_offset = offset + sector_size * sector; }