| | | |------------------|-----------------| |Previous ID | SR-2587 | |Radar | None | |Original Reporter | @johnno1962 | |Type | Bug | |Status | Closed | |Resolution | Done | <details> <summary>Additional Detail from JIRA</summary> | | | |------------------|-----------------| |Votes | 0 | |Component/s | Foundation | |Labels | Bug | |Assignee | @johnno1962 | |Priority | Medium | md5: 647012f97ad3fe4b3b854ad423c13a8a </details> **Issue Description:** During the port of Foundation to Android it was found that an optimisation for creating zero length Strings from Data objects was causing a SEGFAULT. <https://github.com/apple/swift-corelibs-foundation/pull/622> The change made to remove this optimisation is here: <https://github.com/SwiftJava/swift-corelibs-foundation/blob/master/CoreFoundation/String.subproj/CFString.c#L1267>