From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102552] Null dereference due to not checking return value of util_format_description Date: Thu, 07 Sep 2017 18:51:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0475630191==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 673156E9D2 for ; Thu, 7 Sep 2017 18:51:32 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0475630191== Content-Type: multipart/alternative; boundary="15048102920.3A9d0.32559"; charset="UTF-8" --15048102920.3A9d0.32559 Date: Thu, 7 Sep 2017 18:51:32 +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=3D102552 Pauk Denis changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133978|0 |1 is obsolete| | --- Comment #5 from Pauk Denis --- Created attachment 134056 --> https://bugs.freedesktop.org/attachment.cgi?id=3D134056&action=3Dedit Updated version with changes related only to *_supported functions. I have deleted all changes not realted to *_supported functions. Change in src/gallium/auxiliary/util/u_format.c:util_format_is_supported - check that value of format in correct range ( Pauk Denis changed bug 10255= 2
What Removed Added
Attachment #133978 is obsolete   1

Commen= t # 5 on bug 10255= 2 from Pauk Denis
Created attachment 134056 [details] [review]
Updated version with changes related only to *_supported functions.

I have deleted all changes not realted to *_supported functions.

Change in src/gallium/auxiliary/util/u_format.c:util_format_is_supported -
check that value of format in correct range (<PIPE_FORMAT_COUNT).

Changes in src/gallium/drivers/{r600,radeonsi} - check for holes in format
values.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15048102920.3A9d0.32559-- --===============0475630191== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0475630191==--