rust-cfb icon indicating copy to clipboard operation
rust-cfb copied to clipboard

Make directory processing more permissive

Open shamilsan opened this issue 1 year ago • 3 comments

Sometimes we are to open CFB files with corrupted directory structure.

In this PR we skip weird dir entries (in permissive mode) instead of returning an error.

Mostly inspired by compoundfiles.entities

shamilsan avatar Sep 02 '24 14:09 shamilsan

@mdsteele Could you please take a look?

shamilsan avatar Sep 04 '24 11:09 shamilsan

Thanks. Could you add some unit tests for this?

mdsteele avatar Sep 05 '24 00:09 mdsteele

Thanks. Could you add some unit tests for this?

Ok, I'll try my best a little bit later.

shamilsan avatar Sep 05 '24 11:09 shamilsan