Closed lietusme closed 4 years ago
Thanks for reporting this. We should be able to include a fix for this bug in the next SDK release.
Thanks. Any estimates when next release can be expected?
We're aiming to have a release out by the end of this week.
Hi @lietusme this is fixed in version 4.2.1, thanks for reporting this issue!
Describe the bug Crashes with stack overflow when comparing optional nil value to nil. Comparison executes LD extension for operator ==. Does not crash if optional value is set.
Similar to https://github.com/launchdarkly/ios-client-sdk/issues/186
To reproduce Sample code, crashes on if parameters == nil
Reproduce crash:
Works fine:
Comparison overflows within this LD extension on return rhs == nil:
Expected behavior Return true because optional is nil.
SDK version 4.2.0
Language version, developer tools Swift 5.0, CocoaPods, XCode 11.0
OS/platform iOS 13 SDK