You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid using String while holding an internal libobjc lock. (#938)
`String` can inadvertently touch libobjc when we implicitly cast it to a
C string (when calling `getsectiondata()`), which can result in a
deadlock if that operation needs to acquire one of libobjc's internal
locks.
Switch to `StaticString` which we can guarantee never touches libobjc.
Resolves rdar://144093524.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments