frame->GetSource read access violation

Issue #2898 resolved
Andrei Kurushin created an issue

With some probability frame->GetSource() may lead to read access violation in:

Unhandled exception thrown: read access violation.
**this** was nullptr.

int CefResponseManager::RegisterHandler(CefRefPtr<Handler> handler) {
  int request_id = GetNextRequestId(); << read AV
void CefFrameHostImpl::SendCommand(
  if (responseHandler.get()) {
    params.request_id = response_manager_->RegisterHandler(responseHandler); << response_manager_ == nullptr !!!

It seems SendCommand(“GetSource”…) was called for detached frame which already has no valid response_manager_

Comments (4)

  1. Log in to comment