From: Jérémie Galarneau Date: Wed, 5 Aug 2020 16:09:36 +0000 (-0400) Subject: Fix: uprobe: inequality comparison against NULL X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=2cde05107ba33959b71d623579ea3d6c93346488;hp=2cde05107ba33959b71d623579ea3d6c93346488;ds=sidebyside Fix: uprobe: inequality comparison against NULL The expression will not have its intended effect. In lttng_userspace_probe_location_function_serialize: Comparing a pointer against NULL using an operator such as < or >=. `binary_fd` is now a fd_handle instance rather than a "raw" fd. All instances of `binary_fd` are renamed to `binary_fd_handle` to prevent such errors in the future. Reported-by: Coverity Scan Signed-off-by: Jérémie Galarneau Change-Id: I57f1a3d5a01029084889a183881fac6f1fe9b6d9 ---