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: Tue, 05 Sep 2017 19:40:17 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1975715625==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B23936E5CC for ; Tue, 5 Sep 2017 19:40:17 +0000 (UTC) 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 --===============1975715625== Content-Type: multipart/alternative; boundary="15046404170.61B0baCB4.19551"; charset="UTF-8" --15046404170.61B0baCB4.19551 Date: Tue, 5 Sep 2017 19:40:17 +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 Bug ID: 102552 Summary: Null dereference due to not checking return value of util_format_description Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: enhancement Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: pauk.denis@gmail.com QA Contact: dri-devel@lists.freedesktop.org In case unsupported format util_format_description return NULL, and derefer= ence will produce segffault. --=20 You are receiving this mail because: You are the assignee for the bug.= --15046404170.61B0baCB4.19551 Date: Tue, 5 Sep 2017 19:40:17 +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 102552
Summary Null dereference due to not checking return value of util_for= mat_description
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS All
Status NEW
Severity enhancement
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter pauk.denis@gmail.com
QA Contact dri-devel@lists.freedesktop.org

In case unsupported format util_format_description return NULL=
, and dereference
will produce segffault.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15046404170.61B0baCB4.19551-- --===============1975715625== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1975715625==-- 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: Tue, 05 Sep 2017 19:46:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0357001856==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id CE8876E5DD for ; Tue, 5 Sep 2017 19:46:46 +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 --===============0357001856== Content-Type: multipart/alternative; boundary="15046408060.d33E667.20251"; charset="UTF-8" --15046408060.d33E667.20251 Date: Tue, 5 Sep 2017 19:46:46 +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 ---------------------------------------------------------------------------- CC| |pauk.denis@gmail.com --- Comment #1 from Pauk Denis --- Created attachment 133978 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133978&action=3Dedit gallium/{r600,radeonsi}: Fix segfault with color format Possible fix for r600/radionsi --=20 You are receiving this mail because: You are the assignee for the bug.= --15046408060.d33E667.20251 Date: Tue, 5 Sep 2017 19:46:46 +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 Pauk Denis changed bug 10255= 2
What Removed Added
CC   pauk.denis@gmail.com

Commen= t # 1 on bug 10255= 2 from Pauk Denis
Created attachment 133978 [details] [review]
gallium/{r600,radeonsi}: Fix segfault with color format

Possible fix for r600/radionsi


You are receiving this mail because:
  • You are the assignee for the bug.
= --15046408060.d33E667.20251-- --===============0357001856== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0357001856==-- 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: Tue, 05 Sep 2017 20:43:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1586019350==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C9C246E5DF for ; Tue, 5 Sep 2017 20:43:11 +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 --===============1586019350== Content-Type: multipart/alternative; boundary="15046441910.3d89AF.26150"; charset="UTF-8" --15046441910.3d89AF.26150 Date: Tue, 5 Sep 2017 20:43:11 +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 --- Comment #2 from Ilia Mirkin --- What format is this happening with? There should be a description for every format, maybe except PIPE_FORMAT_NONE. --=20 You are receiving this mail because: You are the assignee for the bug.= --15046441910.3d89AF.26150 Date: Tue, 5 Sep 2017 20:43:11 +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

Commen= t # 2 on bug 10255= 2 from Ilia Mirkin
What format is this happening with? There should be a descript=
ion for every
format, maybe except PIPE_FORMAT_NONE.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15046441910.3d89AF.26150-- --===============1586019350== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1586019350==-- 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: Wed, 06 Sep 2017 19:56:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1075447892==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EF226E7E8 for ; Wed, 6 Sep 2017 19:56:41 +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 --===============1075447892== Content-Type: multipart/alternative; boundary="15047278010.dB3E.10383"; charset="UTF-8" --15047278010.dB3E.10383 Date: Wed, 6 Sep 2017 19:56:41 +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 --- Comment #3 from Pauk Denis --- I have found this behaiviour because of error in my code when some time is_format_supported called with uninitialized value and had value > PIPE_FORMAT_COUNT.=20 With check like: ----- for(int i=3D0; iis_format_supported(pscreen, i, PIPE_TEXTURE_2D, 0, PIPE_BIND_SAMPLER_VIEW); } ----- Such code has possible issues with: 73, 78, 79, 80, 81, 86 (holes in enum pipe_format). --=20 You are receiving this mail because: You are the assignee for the bug.= --15047278010.dB3E.10383 Date: Wed, 6 Sep 2017 19:56:41 +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

Commen= t # 3 on bug 10255= 2 from Pauk Denis
I have found this behaiviour because of error in my code when =
some time
is_format_supported called with uninitialized value and had value >
PIPE_FORMAT_COUNT.=20

With check like:
-----
for(int i=3D0; i<PIPE_FORMAT_COUNT; i++) {
   pscreen->is_format_supported(pscreen, i, PIPE_TEXTURE_2D, 0,
PIPE_BIND_SAMPLER_VIEW);
   }
-----

Such code has possible issues with: 73, 78, 79, 80, 81, 86 (holes in enum
pipe_format).


You are receiving this mail because:
  • You are the assignee for the bug.
= --15047278010.dB3E.10383-- --===============1075447892== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1075447892==-- 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: Wed, 06 Sep 2017 21:02:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0553883133==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 405936E23C for ; Wed, 6 Sep 2017 21:02:04 +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 --===============0553883133== Content-Type: multipart/alternative; boundary="15047317240.bEB6.18206"; charset="UTF-8" --15047317240.bEB6.18206 Date: Wed, 6 Sep 2017 21:02:04 +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 --- Comment #4 from Ilia Mirkin --- Oh interesting. I think some of those formats were removed recently. I wond= er if such call sites should be fixed. Nouveau calls util_format_is_supported = up high in is_format_supported, I suspect that gets it out of trouble. Either way, is_format_supported or its callers should be fixed, not utility functions like util_format_get_first_non_void_channel. --=20 You are receiving this mail because: You are the assignee for the bug.= --15047317240.bEB6.18206 Date: Wed, 6 Sep 2017 21:02:04 +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

Commen= t # 4 on bug 10255= 2 from Ilia Mirkin
Oh interesting. I think some of those formats were removed rec=
ently. I wonder
if such call sites should be fixed. Nouveau calls util_format_is_supported =
up
high in is_format_supported, I suspect that gets it out of trouble.

Either way, is_format_supported or its callers should be fixed, not utility
functions like util_format_get_first_non_void_channel.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15047317240.bEB6.18206-- --===============0553883133== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0553883133==-- 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==-- 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: Sun, 10 Sep 2017 14:25:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0089484806==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FEED6E18B for ; Sun, 10 Sep 2017 14:25:54 +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 --===============0089484806== Content-Type: multipart/alternative; boundary="15050535540.D98Ccc651.22361"; charset="UTF-8" --15050535540.D98Ccc651.22361 Date: Sun, 10 Sep 2017 14:25:54 +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 #134056|0 |1 is obsolete| | --- Comment #6 from Pauk Denis --- Created attachment 134129 --> https://bugs.freedesktop.org/attachment.cgi?id=3D134129&action=3Dedit gallium/{r600,radeonsi}: Fix segfault with color format Fix radeonsi --=20 You are receiving this mail because: You are the assignee for the bug.= --15050535540.D98Ccc651.22361 Date: Sun, 10 Sep 2017 14:25:54 +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 Pauk Denis changed bug 10255= 2
What Removed Added
Attachment #134056 is obsolete   1

Commen= t # 6 on bug 10255= 2 from Pauk Denis
Created attachment 134129 [details] [review]
gallium/{r600,radeonsi}: Fix segfault with color format

Fix radeonsi


You are receiving this mail because:
  • You are the assignee for the bug.
= --15050535540.D98Ccc651.22361-- --===============0089484806== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0089484806==-- 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: Sun, 10 Sep 2017 14:35:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0468995345==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3970C6E198 for ; Sun, 10 Sep 2017 14:35:18 +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 --===============0468995345== Content-Type: multipart/alternative; boundary="15050541180.ec32d.23821"; charset="UTF-8" --15050541180.ec32d.23821 Date: Sun, 10 Sep 2017 14:35:18 +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 --- Comment #7 from Pauk Denis --- In 'si_is_sampler_format_supported': 'util_format_get_first_non_void_channe= l' - tried to check 'struct util_format_description' before 'si_translate_texfor= mat' call so we have segfault before check. --=20 You are receiving this mail because: You are the assignee for the bug.= --15050541180.ec32d.23821 Date: Sun, 10 Sep 2017 14:35:18 +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

Commen= t # 7 on bug 10255= 2 from Pauk Denis
In 'si_is_sampler_format_supported': 'util_format_get_first_no=
n_void_channel' -
tried to check 'struct util_format_description' before 'si_translate_texfor=
mat'
call so we have segfault before check.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15050541180.ec32d.23821-- --===============0468995345== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0468995345==-- 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: Tue, 12 Sep 2017 20:44:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0280119589==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D6F16E6F5 for ; Tue, 12 Sep 2017 20:44:03 +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 --===============0280119589== Content-Type: multipart/alternative; boundary="15052490430.Db6Bc48e.30021"; charset="UTF-8" --15052490430.Db6Bc48e.30021 Date: Tue, 12 Sep 2017 20:44:03 +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 --- Comment #8 from Pauk Denis --- I have sent version patch to mesa-dev@lists.freedesktop.org. https://patchwork.freedesktop.org/series/30086/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15052490430.Db6Bc48e.30021 Date: Tue, 12 Sep 2017 20:44:03 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15052490430.Db6Bc48e.30021-- --===============0280119589== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0280119589==-- 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, 14 Sep 2017 05:19:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0334972184==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 674756E93C for ; Thu, 14 Sep 2017 05:19:53 +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 --===============0334972184== Content-Type: multipart/alternative; boundary="15053663930.B7de.16051"; charset="UTF-8" --15053663930.B7de.16051 Date: Thu, 14 Sep 2017 05:19:53 +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 ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #9 from Pauk Denis --- Fixed in https://cgit.freedesktop.org/mesa/mesa/commit/?id=3D74d2456491fbd96eb3fb99c= f8dd3595b223c2065 --=20 You are receiving this mail because: You are the assignee for the bug.= --15053663930.B7de.16051 Date: Thu, 14 Sep 2017 05:19:53 +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 Pauk Denis changed bug 10255= 2
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED


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