commit | c86872fe05300766f6b252b4795f184cb4fde664 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu Feb 24 15:48:22 2022 -0800 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Mon Feb 28 17:39:12 2022 -0500 |
tree | 47bac8ea27e5e76c9372236da69667ac5eb75190 | |
parent | fb1da0142e5ae05711edec2544c6c6c21b25493d [diff] |
libtracefs: Avoid null access The for loop handles devents == NULL, but the test afterwards needs to also. Link: https://lore.kernel.org/linux-trace-devel/20220224234823.1190425-2-irogers@google.com Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com> Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>