Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix segmentation fault observed on OpenBSD/sparc64 #2685

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

Merged
merged 1 commit into from
Nov 3, 2014

Conversation

carlosmn
Copy link
Member

@carlosmn carlosmn commented Nov 3, 2014

A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.


Computers are weird. It doesn't hurt to always map at least readable. I'm 👍 on this but am biased as I'm sat next to Stefan.

A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.
ethomson added a commit that referenced this pull request Nov 3, 2014
Fix segmentation fault observed on OpenBSD/sparc64
@ethomson ethomson merged commit 0fab748 into master Nov 3, 2014
@carlosmn carlosmn deleted the cmn/mmap-readable branch November 3, 2014 14:07
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.

3 participants