From: Jonathan Rajotte Date: Wed, 29 Nov 2017 21:42:29 +0000 (-0500) Subject: Fix: consumerd(64/32)_lib_dir can be NULL X-Git-Tag: v2.11.0-rc1~424 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=46b23495cca0157ed2d4e607a7e4b801635eaea2;hp=46b23495cca0157ed2d4e607a7e4b801635eaea2;p=lttng-tools.git Fix: consumerd(64/32)_lib_dir can be NULL Reproducer: lttng-sessiond \ --consumerd32-path=/usr/local/lib/lttng/libexec/lttng-consumerd \ --consumerd64-path=/usr/local/lib/lttng/libexec/lttng-consumerd lttng create lttng enable-event -u -a On a 64bit machine the invocation of the 64bit consumerd will not fail since its libdir is populated by sessiond_config_init but will segfault on spawning of the 32 bit consumerd when performing the check of libdir value. On a 32bit machine the opposite will happen. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---