commit | 3b6096fc8d2865fae0deafc2723aec8c7742342e | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Jan 24 12:49:27 2024 -0500 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Jan 24 12:58:42 2024 -0500 |
tree | 0daebd9aefbf467f29f4f740d1ab3f6f2a969300 | |
parent | 1439b8f5189414b259905102da23446ba78db033 [diff] |
trace-cmd split: Initialize current in parse_file() The code fix to correctly split start/end/time-window parameters removed an initialization of "current" which can now fall out being uninitialized and used for a later compare. Found with valgrind. Link: https://lore.kernel.org/linux-trace-devel/20240124122832.4e0b33b7@gandalf.local.home/ Link: https://lore.kernel.org/linux-trace-devel/20240124124927.3551e982@gandalf.local.home Cc: Pierre Gondois <pierre.gondois@arm.com> Fixes: 1439b8f518 ("trace-cmd split: Correctly split with start/end/time-window parameters") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>