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

fix: Don't forget to zero-terminate in octal_into #374

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

xzfc
Copy link
Collaborator

@xzfc xzfc commented Aug 22, 2024

Usually, numeric fields like size are set only once, implicitly assuming that the previous data is zero-initialized. However, it's not always the case, particularly when overriding large values written in the extended form.

Usually, numeric fields like `size` are set only once, implicitly
assuming that the previous data is zero-initialized.  However, it's not
always the case, particularly when overriding large values written in
the extended form.
@xzfc xzfc changed the title fix: Don't forget to set zero-terminate in octal_into fix: Don't forget to zero-terminate in octal_into Aug 22, 2024
Copy link
Owner

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton alexcrichton merged commit 97d5033 into alexcrichton:main Aug 23, 2024
7 checks passed
@xzfc xzfc deleted the fix-octal_into branch September 10, 2024 13:01
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