Fix: malloc libc instrumentation wrapper
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 8 Feb 2014 22:12:16 +0000 (17:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 12 Feb 2014 14:32:17 +0000 (09:32 -0500)
commit2594a5b4f2b60642973b4941ee506be41786c4d3
treef38a764a64162e26eeb6c3cb26e8316fa6650301
parent5b5ffa03ce2a490ddf34d3715c21c7b633567b9a
Fix: malloc libc instrumentation wrapper

calloc and realloc wrt dlsym and dlerror can trigger segmentation
faults. Ensure that we fully populate the allocator symbols all at once,
and also ensure that we use the static allocator while doing the dlsym
lookups.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-libc-wrapper/lttng-ust-malloc.c
liblttng-ust/lttng-ust-comm.c
This page took 0.024814 seconds and 4 git commands to generate.