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 #459

Closed
wants to merge 1 commit into from

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Feb 22, 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.

(Reopened from #457.)

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 andersk changed the title Fix buffer overread in format_escaped_str, again Fix buffer overread in format_escaped_str, again Feb 22, 2024
@ijl
Copy link
Owner

ijl commented Feb 23, 2024

3.9.15

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