From: Jérémie Galarneau Date: Tue, 22 Feb 2022 22:46:14 +0000 (-0500) Subject: Fix: lttng-sessiond: null pointer used to log session name X-Git-Tag: v2.13.5~52 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cb2e451438cacef211d42ab9d46aa20af9fc598c;p=lttng-tools.git Fix: lttng-sessiond: null pointer used to log session name The rotation thread attempts to log the name of a session when it isn't found. Signed-off-by: Jérémie Galarneau Change-Id: I7bd3f9e82cadc9f1c8acbb847a88e0ff1ed813e3 --- diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index cf18c8498..590b95dd2 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -584,8 +584,6 @@ int handle_job_queue(struct rotation_thread_handle *handle, session_lock_list(); session = job->session; if (!session) { - DBG("Session \"%s\" not found", - session->name); /* * This is a non-fatal error, and we cannot report it to * the user (timer), so just print the error and