linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] libtraceevent: fix misc issues found by static analysis
@ 2024-06-07 16:05 Jerome Marchand
  2024-06-07 16:05 ` [PATCH 1/4] libtraceevent: close shared object in the error path of load_plugin() Jerome Marchand
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jerome Marchand @ 2024-06-07 16:05 UTC (permalink / raw)
  To: Linux Trace Devel; +Cc: Steven Rostedt, Jerome Marchand

A few issues were found by running static analysers on the code
of trace-cmd with openscanhub[1].

[1] https://fedoraproject.org/wiki/OpenScanHub

Jerome Marchand (4):
  libtraceevent: close shared object in the error path of load_plugin()
  libtraceevent: prevent a memory leak in process_fields()
  libtraceevent: prevent a memory leak in tep_plugin_add_option()
  libtraceevent: don't return a pointer to a local variable
    get_field_str()

 src/event-parse.c  |  2 +-
 src/event-plugin.c | 10 ++++++----
 src/parse-filter.c |  3 ++-
 3 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-14 19:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-07 16:05 [PATCH 0/4] libtraceevent: fix misc issues found by static analysis Jerome Marchand
2024-06-07 16:05 ` [PATCH 1/4] libtraceevent: close shared object in the error path of load_plugin() Jerome Marchand
2024-06-07 16:05 ` [PATCH 2/4] libtraceevent: prevent a memory leak in process_fields() Jerome Marchand
2024-06-07 16:05 ` [PATCH 3/4] libtraceevent: prevent a memory leak in tep_plugin_add_option() Jerome Marchand
2024-06-07 16:05 ` [PATCH 4/4] libtraceevent: don't return a pointer to a local variable get_field_str() Jerome Marchand
2024-06-14 19:49   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).