We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: e7ebf0e1d370230c4351c00395881ddc
Issue Description:
During the port to Android of Foundation #622 I was seeing a crash in CFStringGetCString when called for zero length strings (bufferSize == 1) and had to put some defensive code around it https://github.com/SwiftJava/swift-corelibs-foundation/blob/master/CoreFoundation/Base.subproj/CFUtilities.c#L790. Was crashing at line https://github.com/SwiftJava/swift-corelibs-foundation/blob/master/CoreFoundation/String.subproj/CFString.c#L2182.
The text was updated successfully, but these errors were encountered:
johnno1962
No branches or pull requests
Additional Detail from JIRA
md5: e7ebf0e1d370230c4351c00395881ddc
Issue Description:
During the port to Android of Foundation #622 I was seeing a crash in CFStringGetCString when called for zero length strings (bufferSize == 1) and had to put some defensive code around it https://github.com/SwiftJava/swift-corelibs-foundation/blob/master/CoreFoundation/Base.subproj/CFUtilities.c#L790. Was crashing at line https://github.com/SwiftJava/swift-corelibs-foundation/blob/master/CoreFoundation/String.subproj/CFString.c#L2182.
The text was updated successfully, but these errors were encountered: