firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Title: Data Race in - [GULNetwork reachability:statusChanged:] Method (Version 10.25.0)

Open jesus-mg-ios opened this issue 1 year ago • 1 comments

Description

I've identified a potential data race condition in the reachability:statusChanged: method of the Firebase library (version 10.25.0). Specifically, the issue is in the following line of code:

_networkConnected = (status == kGULReachabilityViaCellular || status == kGULReachabilityViaWifi);

Location:

  • GULNetwork.m:266 -> Google Utilities

Reproducing the issue

No response

Firebase SDK Version

10.25.0

Xcode Version

16.1

Installation Method

Swift Package Manager

Firebase Product(s)

All

Targeted Platforms

iOS

Relevant Log Output

Data race in -[GULNetwork reachability:statusChanged:] at 0x10b752180

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

No response

If using CocoaPods, the project's Podfile.lock

No response

jesus-mg-ios avatar Nov 09 '24 15:11 jesus-mg-ios

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Nov 09 '24 15:11 google-oss-bot

Hi there, closing due to inactivity. If the issue still persists, please let me know and I can re-open.

ncooke3 avatar Oct 03 '25 20:10 ncooke3