[Mesa-dev] [Bug 52996] Read out of bounds in swizzle_for_size() (MesaLib/src/mesa/program/ir_to_mesa.cpp)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 31 12:42:15 PDT 2012


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

--- Comment #2 from Ian Romanick <idr at freedesktop.org> 2012-07-31 19:42:15 UTC ---
Is there a way to have AddressSanitizer drop into a debugger (like
--db-attach=yes in Valgrind) when it hits an error?  It would be interesting to
go up to the topmost ir_to_mesa_visitor::visit(ir_dereference_record*) frame
and print ir->type->name.

It seems like the only way this could happen is if either is_scalar or
is_vector is true and vector_elements is zero.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list