-
Notifications
You must be signed in to change notification settings - Fork 30
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
A file with junk bytes after the tree leads to a read failure #441
Comments
as we discussed in standup, perhaps this merits changing the ASDF Standard to NOT support junk bytes |
I think so. Some of it comes down to what the standard means by What do you think we should do here? |
making it more explicit will make our lives easier - There may be an arbitrary amount of unused space between the end of the tree and the first block.
+ There may be 0 bytes of unused space between the end of the tree and the first block. |
Updating the standard sounds good to me. We can work out the wording in the PR and I think a reference file that contains some I'll try to transfer this issue to |
Description of the problem
The standard mentions:
However using the following file:
Results in an error:
Note that null characters are ok (and don't produce an error).
System information
The error occurs for all asdf version 3.0.0 and newer. 2.15 (and 2.13) were tested and don't produce errors.
The text was updated successfully, but these errors were encountered: