Skip to content

Conversation

lorentey
Copy link
Member

(Cherry-picked from #25364)

We have nondeterministic test failures indicating a memory safety issue in ModelIO’s overlay. This switches the overlay’s property implementations to use the new Array(unsafeUninitializedCount:,initializedWith:) initializer rather than the potentially unreliable &values[0] pattern.

rdar://problem/50449570

We have nondeterministic test failures indicating a memory safety issue in ModelIO’s overlay. This switches the overlay’s property implementations to use the new `Array(unsafeUninitializedCount:,initializedWith:)` initializer rather than the potentially unreliable `&values[0]` pattern.

rdar://problem/50449570
(cherry picked from commit b4998fb)
@lorentey
Copy link
Member Author

@swift-ci test

@lorentey
Copy link
Member Author

@shahmishal @benlangmuir This is ready to merge, I think

@shahmishal shahmishal merged commit c056606 into swiftlang:swift-5.1-branch Jun 13, 2019
@lorentey lorentey deleted the ModelIO-arrays-5.1 branch June 13, 2019 01:13
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