Skip to content

browser and frame maybe nullptr in CefMessageRouterBrowserSideImpl::SendQuery #4119

@EndoSakura

Description

@EndoSakura

browser_request_info_map_.Add(browser->GetIdentifier(),

Steps to reproduce the behavior:
test_crash.html

  1. open the above HTML file in cefclient.exe
  2. click “Remove iframe”
  3. see crash
  • OS: [Windows 10]
  • CEF Version: 131

This crash will occur if the child frame is destroyed but the main frame still calls its functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions