Skip to content

Conversation

@itingliu
Copy link
Contributor

ICU's UTimeZone isn't actually thread safe. Lock around the access.

I was able to reproduce the UAF crash by calling uatimezone API concurrently. With this fix, I no longer reproduce the crash.

164388304

…nsitionRules

ICU's `UTimeZone` isn't actually thread safe. Lock around the access.

I was able to reproduce the UAF crash by calling uatimezone API concurrently. With this fix, I no longer reproduce the crash.

164388304
@itingliu
Copy link
Contributor Author

@swift-ci please test

@itingliu
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld
Copy link
Contributor

@swift-ci please test macOS platform

@itingliu itingliu merged commit 8685dda into swiftlang:release/6.3 Nov 14, 2025
21 checks passed
@itingliu itingliu deleted the pr/3559 branch November 14, 2025 20:31
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