Skip to content

Commit

Permalink
Merge pull request #11 from dfir-dd/Creation-of-timeline-fails,-when-…
Browse files Browse the repository at this point in the history
…the-given-transaction-log-is-empty

don't fail on empty transaction logs
  • Loading branch information
janstarke authored Mar 9, 2024
2 parents 7849fc2 + db8cbbb commit 39b9497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nt_hive2"
version = "4.0.1"
version = "4.0.2"
edition = "2021"
authors = ["Jan Starke <[email protected]>", "Muteb Alqahtani <[email protected]>"]
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/transactionlog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct TransactionLog {
#[br(try, args(FileType::TransactionLogVariant3,))]
base_block: Option<HiveBaseBlock>,

#[br(parse_with=read_log_entries, assert(!log_entries.is_empty()))]
#[br(parse_with=read_log_entries)]
log_entries: Vec<TransactionLogsEntry>
}

Expand Down

0 comments on commit 39b9497

Please sign in to comment.