Skip to content

Commit

Permalink
fix: skip malformed formats
Browse files Browse the repository at this point in the history
  • Loading branch information
sftse committed Nov 12, 2024
1 parent 3ee7883 commit b5a8bf5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/xls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,11 @@ impl<RS: Read + Seek> Xls<RS> {
self.is_1904 = true
}
}
// FORMATTING
// 2.4.126 FORMATTING
0x041E => {
let (idx, format) = parse_format(&mut r, &encoding)?;
let Ok((idx, format)) = parse_format(&mut r, &encoding) else {
continue;
};
formats.insert(idx, format);
}
// XFS
Expand Down

0 comments on commit b5a8bf5

Please sign in to comment.