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

Tracing ETW events for the JIT queue may crash in stress scenarios. #5631

Closed
VSadov opened this issue Aug 24, 2018 · 0 comments
Closed

Tracing ETW events for the JIT queue may crash in stress scenarios. #5631

VSadov opened this issue Aug 24, 2018 · 0 comments
Assignees

Comments

@VSadov
Copy link
Contributor

VSadov commented Aug 24, 2018

Only a problem when producing JSCRIPT_FUNCTION_JIT_QUEUED or JSCRIPT_FUNCTION_JIT_DEQUEUED events.

That calls GetDisplayName helper that may miscalculate the length of the source name and read extra chars, causing a crash in stress scenarios.

@VSadov VSadov self-assigned this Aug 24, 2018
VSadov added a commit to VSadov/ChakraCore that referenced this issue Aug 24, 2018
chakrabot pushed a commit that referenced this issue Aug 24, 2018
…ng ETW events for the JIT queue.

Merge pull request #5632 from VSadov:fix5631

Fix incorrect length of display name when tracing ETW events for the JIT queue.

Fixes:#5631
chakrabot pushed a commit that referenced this issue Aug 24, 2018
…ame when tracing ETW events for the JIT queue.

Merge pull request #5632 from VSadov:fix5631

Fix incorrect length of display name when tracing ETW events for the JIT queue.

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

No branches or pull requests

2 participants