Fix: lttng-sessiond: null pointer used to log session name
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 22 Feb 2022 22:46:14 +0000 (17:46 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 22 Feb 2022 23:15:40 +0000 (18:15 -0500)
The rotation thread attempts to log the name of a session
when it isn't found.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I7bd3f9e82cadc9f1c8acbb847a88e0ff1ed813e3

src/bin/lttng-sessiond/rotation-thread.c

index cf18c8498bccf9889433c6e5abbcf35ee21233ec..590b95dd224b0cc0f6e5351b4cd85f147a66d8ac 100644 (file)
@@ -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
This page took 0.026772 seconds and 4 git commands to generate.