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 invalid pointer dereference #573

Merged
merged 1 commit into from
Jun 3, 2018
Merged

Fix invalid pointer dereference #573

merged 1 commit into from
Jun 3, 2018

Conversation

krader1961
Copy link
Contributor

The genvalue() function can incorrectly access an address past the end
of a string pointing to a var name. This is usually harmless. But if the
string ends on a page boundary and the next page is not mapped then a
SIGSEGV occurs.

Partial fix for #483

The `genvalue()` function can incorrectly access an address past the end
of a string pointing to a var name. This is usually harmless. But if the
string ends on a page boundary and the next page is not mapped then a
SIGSEGV occurs.

Partial fix for #483
@siteshwar
Copy link
Contributor

LGTM

@krader1961 krader1961 merged commit 32cda6f into att:master Jun 3, 2018
@krader1961 krader1961 deleted the openbsd branch June 24, 2018 20:33
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