From 7aeb43bf623770a9ff12324337136c1877f7bbf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 6 Sep 2016 16:12:34 -0400 Subject: [PATCH] Fix: uninitialized use of ctf_fs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/ctf/fs/fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/ctf/fs/fs.c b/plugins/ctf/fs/fs.c index 2c0ca58e..bcaf4d5a 100644 --- a/plugins/ctf/fs/fs.c +++ b/plugins/ctf/fs/fs.c @@ -76,6 +76,9 @@ enum bt_notification_iterator_status ctf_fs_iterator_next( goto end; } + ctf_fs = bt_component_get_private_data(component); + assert(ctf_fs); + ret = ctf_fs_data_stream_get_next_notification(ctf_fs, ¬ification); if (ret || !notification) { goto end; -- 2.34.1