[Bug 93447] [r600g] llvm crash because of use of uninitialized stack

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 21 04:57:14 PST 2015


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

--- Comment #2 from Grazvydas Ignotas <notasas at gmail.com> ---
I believe this bug can also be triggered by radeonsi though, as it also calls
radeon_llvm_emit_prepare_cube_coords(). When target == TGSI_TEXTURE_CUBE and
opcode == TGSI_OPCODE_TXF, si_shader.c will take and use garbage value from
that function.

Unfortunately I don't have any radeonsi hardware to make a testcase to prove my
point. It might also be difficult anyway due to nature of uinitialized variable
bugs (it's likely to end up with a value that doesn't cause a crash).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151221/9b990137/attachment.html>


More information about the dri-devel mailing list