firebase / firebase/firebase-cpp-sdk
[Bug] Crashes at RemoteConfigResponse related to FlatBufferBuilder
- 主要言語
- C++
- スター
- 326
- フォーク
- 137
- 平均マージ
- 3日 9時間
- マージ済み PR(30日)
- 5
説明
### [READ] For Firebase Unity SDK question, please report to [Firebase Unity Sample](https://github.com/firebase/quickstart-unity/issues/new/choose)
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
### [REQUIRED] Please fill in the following fields:
* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) or open-source from this repo: 10.3.0
* Firebase C++ SDK version: 10.3.0
* Main Firebase Components in concern: remote_config
* Other Firebase Components in use: auth
* Platform you are using the C++ SDK on: windows
* Platform you are targeting: windows
### [REQUIRED] Please describe the question here:
hi, I found some crash on my customer's PC,
from the minidump, the crash is like this:

the rdx is zero

and the correspond code is

the rbx+68h get the builder_
the rax+170h use the builder_ get the buffer pointer,
the crash reason is GetRoot function will try use the buffer pointer from builder_,
but if the buffer pointer is null, it will crash,
so I think it should do some protect like this:

コントリビューションガイド
調査の方向性
FlatBufferBuilder、builder_、GetRoot が関係する RemoteConfigResponse のコードパスから始め、Windows SDK 10.3.0 のパスで null バッファーがどのように発生し得るかを調査してください。その状態で意図されている動作を確認し、報告された minidump パスでクラッシュが発生しなくなったことを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- api
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100