[Bug 102552] Null dereference due to not checking return value of util_format_description
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 6 21:02:04 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102552
--- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Oh interesting. I think some of those formats were removed recently. 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170906/52d86c2f/attachment-0001.html>
More information about the dri-devel
mailing list