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

Add null terminators to strings #36

Merged
merged 2 commits into from
Jan 4, 2022
Merged

Add null terminators to strings #36

merged 2 commits into from
Jan 4, 2022

Conversation

TethysSvensson
Copy link
Collaborator

  • Adds null terminators to the end of written strings to fix issue Generated strings should be null terminated #16
  • Adds optional null terminator validation while deserializing gated
    behind a new extra-validation feature flag.
  • Adds extensive testing for the fix.
  • Slightly changes the debug output for deserialized tables.

* Adds null terminators to the end of written strings to fix issue #16
* Adds optional null terminator validation while deserializing gated
  behind a new `extra-validation` feature flag.
* Adds extensive testing for the fix.
* Slightly changes the debug output for deserialized tables.
@TethysSvensson
Copy link
Collaborator Author

cc: @jorgecarleitao

@TethysSvensson
Copy link
Collaborator Author

I can recommend the filtering options in the "files changed" pane when reviewing this PR.

planus/src/errors.rs Show resolved Hide resolved
planus/src/lib.rs Show resolved Hide resolved
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.

2 participants