Skip to content
New issue

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

FPRTruncatedURLString crash issue #13199

Closed
Kyle-Ye opened this issue Jun 28, 2024 · 2 comments · Fixed by #13200
Closed

FPRTruncatedURLString crash issue #13199

Kyle-Ye opened this issue Jun 28, 2024 · 2 comments · Fixed by #13200

Comments

@Kyle-Ye
Copy link
Contributor

Kyle-Ye commented Jun 28, 2024

Description

Recently, due to some invalid URL data passed from our server, our iOS projects received a lot of crash report on Firebase related library.

eg.

Fatal Exception: NSRangeException
*** -[__NSCFString substringToIndex:]: Index 9223372036854775807 out of bounds; string length 2269

Note: 9223372036854775807 = 0x7FFFFFFFFFFFFFFF = NSNotFound

image

Reproducing the issue

Not yet.

Firebase SDK Version

10.25.0

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

Performance

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk.git",
      "state" : {
        "revision" : "97940381e57703c07f31a8058d8f39ec53b7c272",
        "version" : "10.25.0"
      }
    },

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@Kyle-Ye
Copy link
Contributor Author

Kyle-Ye commented Jul 4, 2024

Hi, forgive me for not knowing much about the release pattern and rules of Firebase-iOS-SDK.

Do we have any plans or timeline for releasing a new version containing this issue's fix patch (eg. 10.28.2) @paulb777

@paulb777
Copy link
Member

paulb777 commented Jul 4, 2024

@Kyle-Ye The fix will release in 10.29.0, planned for the week of July 8. thanks again for the issue and fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants