Fix: Check flatbuffer integrity before parsing
Description
Provide details of the change, and generalize the change in the PR title above. Fix: Check flatbuffer integrity before parsing Updated flatbuffer to latest version to get verify buffer Use strol for key parsing to ensure exceptions do not result in a crash.
Testing
Describe how you've tested these changes. Link any manually triggered
Integration testsorCPP binary SDK PackagingGithub Action workflows, if applicable.
Integration test in github
Type of Change
Place an x the applicable box:
- [X] Bug fix. Add the issue # below if applicable.
- [ ] New feature. A non-breaking change which adds functionality.
- [ ] Other, such as a build process or documentation change.
Notes
- Bug fixes and feature changes require an update to the
Release Notessection ofrelease_build_files/readme.md. - Read the contribution guidelines CONTRIBUTING.md.
- Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.
Integration test with FLAKINESS (succeeded after retry)
Requested by @AustinBenoit on commit 272108f241250e73c4528402ede80c249d723118 Last updated: Fri Jul 3 15:14 PDT 2026 View integration test log & download artifacts
| Failures | Configs |
|---|---|
| firestore | [TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/2 android_device: android_target](1 failed tests)NumericTransformsTest.MultipleDoubleIncrements(1 failed tests)CRASH/TIMEOUT |
| functions | [TEST] [FLAKINESS] [Android] [1/3 os: ubuntu] [1/2 android_device: emulator_ftl_target](1 failed tests)CRASH/TIMEOUT |
| messaging | [TEST] [FLAKINESS] [Android] [1/3 os: macos] [All 2 android_device](1 failed tests)CRASH/TIMEOUT |
Add flaky tests to go/fpl-cpp-flake-tracker
/gemini review
/gemini review
Wiz Scan Summary
⚠️ Many findings detected
Many findings were detected, but only a subset of the findings are displayed inline due to API constraints. To view all findings inline, please click here.
| Scanner | Findings |
|---|---|
| 26 |
|
| - | |
| - | |
| - | |
| - | |
| - | |
| Total | 26 |
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.
@AustinBenoit should this fix crashes we’re seeing in flatbuffers::GetMutableRoot<T> (see #1433)?