<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [bisected] Kodi crashes when launching a stream - commit bd2662bf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102530#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [bisected] Kodi crashes when launching a stream - commit bd2662bf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102530">bug 102530</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>(In reply to Erik Faye-Lund from <a href="show_bug.cgi?id=102530#c8">comment #8</a>)
<span class="quote">> Something like this?
>
> ---8<---
>
> diff --git a/src/mesa/main/uniform_query.cpp
> b/src/mesa/main/uniform_query.cpp
> index c6488325a8..642c93270f 100644
> --- a/src/mesa/main/uniform_query.cpp
> +++ b/src/mesa/main/uniform_query.cpp
> @@ -911,6 +911,9 @@ _mesa_uniform(GLint location, GLsizei count, const
> GLvoid *values,
>
> struct gl_uniform_storage *uni;
> if (_mesa_is_no_error_enabled(ctx)) {
> + if (location == -1)
> + return;
> +
> uni = shProg->UniformRemapTable[location];
>
> /* The array index specified by the uniform location is just the
>
> ---8<---</span >
This was already fixed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>