From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 70931] Xv causes player segfaults when 4K is decoded Date: Fri, 22 Aug 2014 01:29:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1194432820==" Return-path: In-Reply-To: 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 --===============1194432820== Content-Type: multipart/alternative; boundary="1408670974.CdEdc3C3.22670"; charset="us-ascii" --1408670974.CdEdc3C3.22670 Date: Fri, 22 Aug 2014 01:29:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=70931 --- Comment #2 from Ilia Mirkin --- Created attachment 105069 --> https://bugs.freedesktop.org/attachment.cgi?id=105069&action=edit patch Untested patch to get rid of the wrong size check. Unfortunately at query time we aren't passed the port pointer by the DDX API. Instead check it at PutImage time and return a BadMatch if you do something bad. -- You are receiving this mail because: You are the assignee for the bug. --1408670974.CdEdc3C3.22670 Date: Fri, 22 Aug 2014 01:29:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 70931 from
Created attachment 105069 [details] [review]
patch

Untested patch to get rid of the wrong size check. Unfortunately at query time
we aren't passed the port pointer by the DDX API. Instead check it at PutImage
time and return a BadMatch if you do something bad.


You are receiving this mail because:
  • You are the assignee for the bug.
--1408670974.CdEdc3C3.22670-- --===============1194432820== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1194432820==--