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

codegen: fix use-after-free of module name #49011

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Mar 15, 2023

I had this test fail locally for me once, and noticed the use-after-free bug here when we implicitly delete m as well as the possible over-reading since it used data instead of c_str.

@vtjnash vtjnash added merge me PR is reviewed. Merge when all tests are passing backport 1.9 Change should be backported to release-1.9 labels Mar 15, 2023
@pchintalapudi pchintalapudi merged commit b5aa057 into master Mar 15, 2023
@pchintalapudi pchintalapudi deleted the jn/codegen-badstring branch March 15, 2023 21:52
@pchintalapudi pchintalapudi removed the merge me PR is reviewed. Merge when all tests are passing label Mar 15, 2023
oscardssmith pushed a commit to oscardssmith/julia that referenced this pull request Mar 20, 2023
KristofferC pushed a commit that referenced this pull request Mar 24, 2023
@KristofferC KristofferC mentioned this pull request Mar 24, 2023
52 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Mar 31, 2023
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
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