Skip to content

[Bug] Crashes at RemoteConfigResponse related to FlatBufferBuilder #1348

Open
@feixuwu

Description

@feixuwu

[READ] For Firebase Unity SDK question, please report to Firebase Unity Sample

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 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:
image
the rdx is zero
image

and the correspond code is
image
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:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions