Skip to content

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented May 12, 2022

Cherry-pick #58770 to release/5.7.

When a reflection section has a size that only fits a partial record, we detect it, log an error, and abort. However, things like Remote Mirror need to be robust to bad data, so instead handle this by terminating iteration at the last full record.

rdar://91954103
(cherry picked from commit 5d1f635)

When a reflection section has a size that only fits a partial record, we detect it, log an error, and abort. However, things like Remote Mirror need to be robust to bad data, so instead handle this by terminating iteration at the last full record.

rdar://91954103
(cherry picked from commit 5d1f635)
@mikeash mikeash requested a review from a team as a code owner May 12, 2022 15:45
@mikeash
Copy link
Contributor Author

mikeash commented May 12, 2022

@swift-ci please test

@mikeash mikeash merged commit fa6883a into swiftlang:release/5.7 May 13, 2022
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