Skip to content

Conversation

@aashishpatil-g
Copy link
Contributor

@aashishpatil-g aashishpatil-g commented Jan 26, 2023

Discussion

Fix for #10707

Added a check for self within the block. Found some other places in the file and fixed those too.

#no-changelog

@google-oss-bot
Copy link

google-oss-bot commented Jan 26, 2023

Coverage Report 1

Affected Products

  • FirebaseMessaging-iOS-FirebaseMessaging.framework

    Overall coverage changed from 60.59% (4171a3b) to 60.21% (15ee3d6) by -0.39%.

    FilenameBase (4171a3b)Merge (15ee3d6)Diff
    FIRMessagingTokenManager.m15.56%14.82%-0.73%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/EA2mtAqASE.html

@aashishpatil-g aashishpatil-g merged commit d9e19cd into master Jan 27, 2023
@aashishpatil-g aashishpatil-g deleted the ap/self-dereference-crash branch January 27, 2023 20:25
@aashishpatil-g aashishpatil-g added this to the 10.5.0 - M127 milestone Jan 27, 2023
@firebase firebase locked and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible crash if FIRMessagingTokenManager is dealloc'ed while a token fetch is in progress

4 participants