Skip to content

[6.0][Tests] Fix Interpreter/layout_string_witnesses_objc.swift #77303

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
Oct 30, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Oct 30, 2024

  • Explanation: The allocation and destruction was accidentally using a wrapper, but the initialization did not, so this test could crash if the uninitialized memory contained a valid address.
  • Scope: Tests only
  • Issues: rdar://138141889, rdar://138917831
  • Original PRs:[Tests] Fix Interpreter/layout_string_witnesses_objc.swift #77092
  • Risk: Low. Only adjusting a test that crashes when running with ASan.

rdar://138141889

The allocation and destruction was accidentally using a wrapper, but the initialization did not, so this test could crash if the uninitialized memory contained a valid address.
@drexin drexin requested a review from a team as a code owner October 30, 2024 18:13
@drexin drexin changed the title [Tests] Fix Interpreter/layout_string_witnesses_objc.swift [6.0][Tests] Fix Interpreter/layout_string_witnesses_objc.swift Oct 30, 2024
@drexin drexin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Oct 30, 2024
@drexin
Copy link
Contributor Author

drexin commented Oct 30, 2024

@swift-ci test

@drexin drexin enabled auto-merge October 30, 2024 22:30
@drexin drexin merged commit d85933b into swiftlang:release/6.0 Oct 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants