File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -139,3 +139,21 @@ jobs:
139
139
- name : PodLibLint Performance Cron
140
140
run : |
141
141
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebasePerformance.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
142
+
143
+ sanitizers :
144
+ # Don't run on private repo unless it is a PR.
145
+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
146
+ runs-on : macos-11
147
+ strategy :
148
+ matrix :
149
+ target : [iOS, tvOS]
150
+ test : [unit, proddev]
151
+ sanitizer : [asan, tsan, ubsan]
152
+ env :
153
+ SANITIZERS : ${{ matrix.sanitizer }}
154
+ steps :
155
+ - uses : actions/checkout@v2
156
+ - name : Setup Bundler
157
+ run : scripts/setup_bundler.sh
158
+ - name : BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
159
+ run : scripts/third_party/travis/retry.sh scripts/build.sh Performance ${{ matrix.target }} ${{ matrix.test }}
Original file line number Diff line number Diff line change 1
1
# Pending
2
+ * Fix heap-buffer overflow when encoding sessions. (#8849 )
3
+
4
+ # Version 8.8.0
2
5
* Create a random number of delay for remote config fetch during app starts.
3
6
* Fix log spamming when Firebase Performance is disabled. (#8423 , #8577 )
4
7
* Fix heap-heap-buffer overflow when decoding strings. (#8628 )
Original file line number Diff line number Diff line change @@ -184,12 +184,12 @@ static firebase_perf_v1_NetworkConnectionInfo_MobileSubtype FPRCellularNetworkTy
184
184
perfSessions[perfSessionIndex].session_verbosity_count = 0 ;
185
185
if ((session.options & FPRSessionOptionsEvents) ||
186
186
(session.options & FPRSessionOptionsGauges)) {
187
+ perfSessions[perfSessionIndex].session_verbosity_count = 1 ;
187
188
perfSessions[perfSessionIndex].session_verbosity =
188
189
calloc (perfSessions[perfSessionIndex].session_verbosity_count ,
189
190
sizeof (firebase_perf_v1_SessionVerbosity));
190
191
perfSessions[perfSessionIndex].session_verbosity [0 ] =
191
192
firebase_perf_v1_SessionVerbosity_GAUGES_AND_SYSTEM_EVENTS;
192
- perfSessions[perfSessionIndex].session_verbosity_count = 1 ;
193
193
}
194
194
perfSessionIndex++;
195
195
}];
You can’t perform that action at this time.
0 commit comments