We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
application/x-ole-storage
application/vnd.ms-excel
Hi, there are 2 problems here:
XLS file not being detected by cfb dependency, because it can't handle the partial buffer of 8192 bytes. open here:
open
infer/src/matchers/doc.rs
Line 112 in 81e537f
kind: InvalidData, error: "Malformed FAT (FAT has 66 entries, but file has only 15 sectors)"
Not sure what's the best solution here, in this doc I found they suggest to look at offset 512 to determine the doc type such as doc/xls/ppt: https://sceweb.sce.uhcl.edu/abeysekera/itec3831/labs/FILE%20SIGNATURES%20TABLE.pdf
Second problem is that it falls back to MSI, but it has nothing to do with MSI or installers, so perhaps MSI should have a stricter check.
CreditCard.zip
The text was updated successfully, but these errors were encountered:
Here's a working implementation if you want to borrow it: https://github.com/mmalecot/file-format/blob/bb09c0f71415a22909ae41fa6bc6521b06367375/src/readers.rs#L171
Sorry, something went wrong.
No branches or pull requests
Hi, there are 2 problems here:
XLS file not being detected by cfb dependency, because it can't handle the partial buffer of 8192 bytes.
open
here:infer/src/matchers/doc.rs
Line 112 in 81e537f
returns:
Not sure what's the best solution here, in this doc I found they suggest to look at offset 512 to determine the doc type such as doc/xls/ppt:
https://sceweb.sce.uhcl.edu/abeysekera/itec3831/labs/FILE%20SIGNATURES%20TABLE.pdf
Second problem is that it falls back to MSI, but it has nothing to do with MSI or installers, so perhaps MSI should have a stricter check.
CreditCard.zip
The text was updated successfully, but these errors were encountered: