Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jul 31, 2024
1 parent fdab56c commit 5b06e77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libclamav/ole2_extract.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5b06e77

Please sign in to comment.