Skip to content

Commit

Permalink
CHORE: technical fix of tdf blob reader without effect
Browse files Browse the repository at this point in the history
  • Loading branch information
sander-willems-bruker committed Jul 3, 2024
1 parent bff0a73 commit 6d8ab0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/readers/file_readers/tdf_blob_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl TdfBlobReader {
byte_count: usize,
offset: usize,
) -> Result<usize, TdfBlobError> {
if (byte_count <= (HEADER_SIZE * U32_SIZE))
if (byte_count < (HEADER_SIZE * U32_SIZE))
|| ((offset + byte_count) > self.len())
{
return Err(TdfBlobError::ByteCount(
Expand Down

0 comments on commit 6d8ab0e

Please sign in to comment.