19c1e7c664a3dfef7d40dd5ecc4173c80821dc1f |
|
12-Oct-2012 |
Chris Fester <camaronut@gmail.com> |
util: null-out the node's prev/next pointers in list_del() Note: This is a candidate for the 9.0 branch. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 3fffe8f7b77938fcbf449a7f9a2ae9614c8e2bd4)
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
ccff74971203b533bf16b46b49a9e61753f75e6c |
|
01-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
util: fix undefined behavior container_of() can legally return anything, even invalid addresses that cause segfaults, when 'sample' is an uninitialized pointer. Bug exposed by clang. NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
ebe304fa540f98d047382297f448fec692a67b8b |
|
28-Mar-2011 |
Jerome Glisse <jglisse@redhat.com> |
gallium: list use inline function to avoid macro shot coming Macro can lead to hard to debug list bugs. For instance consider the following : LIST_ADD(item, list->prev) 3 instruction of the macro became : (list->prev)->next->prev = item which is equivalent to : list->prev = item Thus list prev field changes and next instruction in the macro (list->prev)->next = item became : item->next = item And you endup with list corruption, other case lead to similar list corruption. Inline function are not affected by this short coming Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
8556b77c56f3f1f0e75ce46d6b5c0d84c7b4eabd |
|
02-Jul-2010 |
Dave Airlie <airlied@redhat.com> |
r600: use gallium list macros instead of making our own. before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
3708aaeaff5041040783bd252768fadf2b794ec2 |
|
23-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Add a new macro for testing empty lists.
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
bc56e87ce180ddca63bcb9774366fc380214a2ef |
|
10-Apr-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Attribute realloc leaks to the first malloc call.
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|
b9da3791c934e05b82063a8c79c423a0a8e29a94 |
|
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove src/mesa and src/mesa/main from gallium source include paths.
/external/mesa3d/src/gallium/auxiliary/util/u_double_list.h
|