Skip to content
New issue

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

Only read required field for BOF record #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hudbrog
Copy link

@hudbrog hudbrog commented Mar 30, 2021

There are BIFF8 files that have BOF record with size 8. With current implementation binary.Read fails (silently, cause errors are ignored) because struct is 16 bytes. Although standard does specify BOF to be 16 bytes, I've stumbled upon files like that on numerous occasions.

libxls only reads first 4 bytes as well from BOF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant