Skip to content

[lldb] Fix use-after-free of StringRefs in GetNominal #8026

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

Conversation

augusto2112
Copy link

GetNominal returns StringRefs tied to a Demangler local variable. Fix this by passing the Demangler as a parameter.

rdar://121464845

GetNominal returns StringRefs tied to a Demangler local variable. Fix
this by passing the Demangler as a parameter.

rdar://121464845
@augusto2112
Copy link
Author

@swift-ci test

Copy link

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

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

Does this bug also exist on swift/release/5.10? If yes, can you cherry-pick it there?

@augusto2112 augusto2112 merged commit 0c2cc6c into swiftlang:stable/20230725 Jan 24, 2024
@augusto2112
Copy link
Author

Does this bug also exist on swift/release/5.10? If yes, can you cherry-pick it there?

Looks like this is not needed in swift/release/5.10

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