Skip to content

Conversation

MikeHolman
Copy link
Contributor

@MikeHolman MikeHolman commented Oct 1, 2016

This assert is outside the lock, so if another JIT is happening at same time, the page can become read/write/execute

@MikeHolman
Copy link
Contributor Author

@dotnet-bot test Ubuntu ubuntu_linux_release_static

Copy link
Contributor

@leirocks leirocks left a comment

Choose a reason for hiding this comment

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

Nice find

@digitalinfinity
Copy link
Contributor

LGTM to me although if the assert was moved within the lock, would it then be legitimate?

@MikeHolman
Copy link
Contributor Author

@digitalinfinity there actually already is an assert for this inside the lock.

@digitalinfinity
Copy link
Contributor

Ah excellent- thanks for checking!

@chakrabot chakrabot merged commit a4f409b into chakra-core:master Oct 3, 2016
chakrabot pushed a commit that referenced this pull request Oct 3, 2016
Merge pull request #1677 from MikeHolman:executeassert

This assert is outside the lock, so if another JIT is happening at same time, the page can become read/write/execute
@MikeHolman MikeHolman deleted the executeassert branch October 3, 2016 19:36
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.

6 participants