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

Find out whether the name field in block header is actually a c-string #9

Open
pushfoo opened this issue May 19, 2020 · 0 comments
Open
Labels

Comments

@pushfoo
Copy link
Member

pushfoo commented May 19, 2020

This is likely a low priority edgecase.

The wording of the wiki is ambiguous as to whether the last byte of the name field in a PRAY block header must be a null:

Null-terminated string containing the name of the block, such as a filename. The remaining space is padded with zeros.

Allowing the last byte to be non-null would be more in line with CL's repeated pattern of using known length or length prefixed strings. A custom PRAY files should be tested against the engine to check.

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

No branches or pull requests

1 participant