mbox series

[0/4] libtraceevent: fix misc issues found by static analysis

Message ID 20240607160542.46152-1-jmarchan@redhat.com (mailing list archive)
Headers show
Series libtraceevent: fix misc issues found by static analysis | expand

Message

Jerome Marchand June 7, 2024, 4:05 p.m. UTC
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(-)