From: Jérémie Galarneau Date: Mon, 6 Apr 2020 16:39:17 +0000 (-0400) Subject: Fix: relayd: unchecked allocation result of unlinked file pool X-Git-Tag: v2.13.0-rc1~675 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=9604bd17bfb1f116b6d4e56ab1d95e08cde17a06;hp=9604bd17bfb1f116b6d4e56ab1d95e08cde17a06 Fix: relayd: unchecked allocation result of unlinked file pool `pool` is not checked for NULL after its allocation. Error out if the allocation fails. In lttng_unlinked_file_pool_create: Return value of function which returns null is dereferenced without checking (CWE-476) Reported-by: Coverity Scan Signed-off-by: Jérémie Galarneau Change-Id: I2a7717701cf3d11de557b9ecdc6609c1f6a1fd6f ---