<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - heap-use-after-free in glsl"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99677#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - heap-use-after-free in glsl"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99677">bug 99677</a>
from <span class="vcard"><a class="email" href="mailto:bartosz.tomczyk86@gmail.com" title="Bartosz Tomczyk <bartosz.tomczyk86@gmail.com>"> <span class="fn">Bartosz Tomczyk</span></a>
</span></b>
<pre>Hi Samuel,
I don't have setup to reproduce it right now. I will update you will more
details in the evening.
But I looked at current mesa git and the bug is definitively there.
Look at src/compiler/glsl/ast_to_hir.cpp:5210 - function
get_variable_being_redeclared can free 'var', and then it could be
dereferenced at src/compiler/glsl/ast_to_hir.cpp:5266. This is exactly what
address sanitizer showed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>