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 buffer overread in format_escaped_str, again #457

Closed
wants to merge 1 commit into from

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Feb 14, 2024

Commit 528220f restored the buffer overread that I removed in commit
29884e6 (#455). A buffer overread that doesn’t cross a page boundary is still undefined behavior, even if it doesn’t happen to cause an immediate segfault, and all undefined behavior must be avoided.

Commit 528220f restored the buffer
overread that I removed in commit
29884e6 (ijl#455).  A buffer overread
that doesn’t cross a page boundary is still undefined behavior, even
if it doesn’t happen to cause an immediate segfault, and all undefined
behavior must be avoided.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@andersk
Copy link
Contributor Author

andersk commented Feb 22, 2024

Um, pull requests don’t go stale in 172 hours. Reopened as #459. Please consider fixing your misconfigured stalebot (for example, by removing it).

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

Successfully merging this pull request may close these issues.

1 participant