From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 106994] New: [PATCH] Fix null pointer dereference in drmmode_output_dpms Date: Thu, 21 Jun 2018 14:54:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1009730962==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1009730962== Content-Type: multipart/alternative; boundary="15295928800.23CDC.32533" Content-Transfer-Encoding: 7bit --15295928800.23CDC.32533 Date: Thu, 21 Jun 2018 14:54:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106994 Bug ID: 106994 Summary: [PATCH] Fix null pointer dereference in drmmode_output_dpms Product: xorg Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: john-ytntcHzVV1kcWVvVuXF20w@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 140263 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140263&action=3Dedit Fix null pointer dereference in drmmode_output_dpms This fixes an Xorg crash when a Lenovo P50 laptop is undocked, disconnectin= g it from two external DisplayPort monitors. Checking for koutput =3D=3D NULL has precedent in drmmode_output_get_modes. --=20 You are receiving this mail because: You are the assignee for the bug.= --15295928800.23CDC.32533 Date: Thu, 21 Jun 2018 14:54:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 106994
Summary [PATCH] Fix null pointer dereference in drmmode_output_dpms
Product xorg
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter john@jlindgren.net
QA Contact xorg-team@lists.x.org

Created attachment 140263 [details] [review]
Fix null pointer dereference in drmmode_output_dpms

This fixes an Xorg crash when a Lenovo P50 laptop is undocked, disconnectin=
g it
from two external DisplayPort monitors.

Checking for koutput =3D=3D NULL has precedent in drmmode_output_get_modes.=


You are receiving this mail because:
  • You are the assignee for the bug.
= --15295928800.23CDC.32533-- --===============1009730962== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1009730962==--