mesa/src
Jason Ekstrand 6ac469a6c3 anv/allocator: Use VG_NOACCESS_WRITE in anv_bo_pool_free
Previously, we were relying on the fact that VALGRIND_MEMPOOL_FREE came
later on in the function to prevent "link->bo = bo" from causing an invalid
write.  However, in the case where the size requested by the user is very
small (less than sizeof(struct anv_bo)), this isn't sufficient.  Instead,
we should call VALGRIND_MEMPOOL_FREE early and then use VG_NOACCESS_WRITE.
We do, however, have to call VALGRIND_MEMPOOL_FREE after reading bo_in
because it may be stored in the bo itself.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2016-09-13 10:44:03 -07:00
..
amd android: add support for libmesa_amdgpu_addrlib 2016-09-13 10:06:04 +10:00
compiler mesa/glsl: Move string_to_uint_map into the util folder 2016-09-12 10:48:35 +10:00
egl egl: Rename MESA_configless_context bit to KHR_no_config_context 2016-09-12 11:29:09 -04:00
gallium android: add support for libmesa_amdgpu_addrlib 2016-09-13 10:06:04 +10:00
gbm gbm: fix potential NULL deref of mapImage/unmapImage. 2016-09-12 16:52:55 +01:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx/glvnd: list the strcmp arguments in correct order 2016-09-05 11:59:07 +01:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl Introduce .editorconfig 2016-08-31 17:06:54 -07:00
intel anv/allocator: Use VG_NOACCESS_WRITE in anv_bo_pool_free 2016-09-13 10:44:03 -07:00
loader loader/dri3: Always use at least two back buffers 2016-09-06 13:04:48 +09:00
mapi mapi: add gl32.h to the list of GLES3 headers for installation 2016-09-06 22:45:44 -04:00
mesa i965: Use blorp_copy for all copy_image operations on gen6+ 2016-09-12 19:44:05 -07:00
util u_endian: add android to glibc clause 2016-09-13 10:04:13 +10:00
Makefile.am mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00