New issue
Advanced search Search tips

Issue 869509 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

[Windows Host] Crash in DaemonProcess::SetScreenResolution

Project Member Reported by joedow@chromium.org, Jul 31

Issue description

We have received a number of crash reports, starting in M68 where the Daemon process receives an invalid screen resolution which then crashes the network process.

The crash originates here:
https://cs.chromium.org/chromium/src/remoting/host/daemon_process.cc?rcl=9a07441f6ae31185f7857818d94112cb06b77ca0&l=233

I suspect this CL:
https://chromium-review.googlesource.com/c/chromium/src/+/1058675
 
Cc: joedow@chromium.org
 Issue 869575  has been merged into this issue.
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/006765f9f478dce9463e272ca3465ff1f578cc30

commit 006765f9f478dce9463e272ca3465ff1f578cc30
Author: Joe Downing <joedow@chromium.org>
Date: Wed Aug 01 04:20:55 2018

[Windows Host] Prevent crash on Windows when sending an empty resolution

This CL fixes an issue introduced by a previous change which allowed clients
to pass an empty resolution to indicate that the host should restore the
original desktop size.

This change worked for Linux and MacOS as they only have a single process which
contains the HostResizeObserver that handles this condition.

On Windows, we have a multi-process architecture where the empty resolution
was forwarded to both the desktop process (which has the HostResize Logic)
and the Daemon process (which treats an empty resolution as a critical
error).

Enabling the host resize logic for RDP is not very useful so I have just added
a check to make sure we don't forward empty resolution values to the Daemon
process.

BUG= 869509 

Change-Id: I87be6beb3137641ad728c4725f587a7e7f15a48f
Reviewed-on: https://chromium-review.googlesource.com/1157540
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579698}
[modify] https://crrev.com/006765f9f478dce9463e272ca3465ff1f578cc30/remoting/host/desktop_session_proxy.cc

Status: Fixed (was: Assigned)

Sign in to add a comment