[Bug 102552] Null dereference due to not checking return value of util_format_description

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 7 18:51:32 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102552

Pauk Denis <pauk.denis at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133978|0                           |1
        is obsolete|                            |

--- Comment #5 from Pauk Denis <pauk.denis at gmail.com> ---
Created attachment 134056
  --> https://bugs.freedesktop.org/attachment.cgi?id=134056&action=edit
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170907/d61dac41/attachment.html>


More information about the dri-devel mailing list