mesa/src/util
Tapani Pälli 70d25cae8b util/build-id: check dlpi_name before strstr call
According to dl_iterate_phdr man page first object visited is the
main program where dlpi_name is an empty string. This fixes segfault
on Android when using build-id as identifier.

Fixes: d4fa083e11 ("util: Add utility build-id code.")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2017-03-17 07:34:26 +02:00
..
sha1 util/sha1: add non-typedef name for the SHA1_CTX struct 2017-03-15 11:15:53 +00:00
tests/hash_table
.gitignore
Android.mk android: fix libz dynamic library dependencies 2017-03-04 21:47:26 +00:00
bitscan.c util/bitscan: use correct signature for ffs/ffsll 2017-03-13 11:16:34 +00:00
bitscan.h util/bitscan: use correct signature for ffs/ffsll 2017-03-13 11:16:34 +00:00
bitset.h
build_id.c util/build-id: check dlpi_name before strstr call 2017-03-17 07:34:26 +02:00
build_id.h util/build-id: Return a pointer rather than copying the data 2017-03-01 15:31:44 -08:00
crc32.c util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
crc32.h util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
debug.c
debug.h
disk_cache.c util/disk_cache: do eviction before creating .tmp 2017-03-16 09:36:18 +11:00
disk_cache.h util/disk_cache: fix make check 2017-03-06 16:39:55 +11:00
format_r11g11b10f.h
format_rgb9e5.h
format_srgb.h
format_srgb.py util: remove shebang from format_srgb.py 2017-03-10 14:12:48 +00:00
half_float.c
half_float.h
hash_table.c
hash_table.h
list.h util: fix list_is_singular() 2017-01-12 13:58:32 +11:00
macros.h mesa: removed redundant #else 2016-11-21 12:44:46 -06:00
Makefile.am util/disk_cache: compress individual cache entries 2017-03-03 12:09:08 +11:00
Makefile.sources gallium/util: move u_queue.{c,h} to src/util 2017-03-12 17:49:03 +11:00
mesa-sha1.c util/sha1: drop _mesa_sha1_{update, format} return type 2017-03-15 11:18:45 +00:00
mesa-sha1.h util/sha1: drop _mesa_sha1_{update, format} return type 2017-03-15 11:18:45 +00:00
ralloc.c ralloc: don't leave out the alignment factor 2017-03-06 11:28:48 -08:00
ralloc.h ralloc: Delete autofree handling. 2017-02-27 15:46:12 -08:00
register_allocate.c
register_allocate.h
rgtc.c
rgtc.h
roundeven_test.c
rounding.h
SConscript util: import sha1 implementation from OpenBSD 2017-01-18 19:07:23 +00:00
set.c
set.h
simple_list.h
slab.c
slab.h
string_to_uint_map.cpp
string_to_uint_map.h
strndup.c
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
u_atomic.h
u_atomic_test.c
u_endian.h
u_queue.c gallium/util: move u_queue.{c,h} to src/util 2017-03-12 17:49:03 +11:00
u_queue.h util/u_queue: make u_queue accessible to cpp 2017-03-13 09:50:26 +11:00
u_string.h gallium/util: move u_string.h to src/util/u_string.h 2017-03-12 17:43:06 +11:00
u_thread.h util/u_thread.h: Include stdint.h for int64_t definition. 2017-03-13 12:23:11 +00:00
u_vector.c
u_vector.h util: use STATIC_ASSERT instead of static_assert 2016-11-11 07:59:29 +02:00
vk_alloc.h util/vk_alloc: Add a vk_zalloc2 helper 2016-11-17 12:03:24 -08:00
vk_util.h util/vk: Add helpers for finding an extension struct 2017-03-15 08:22:02 +10:00