mbox series

[0/9] Fix a number of static analysis issues #4

Message ID 20240702084900.773620-1-hadess@hadess.net
Headers show
Series Fix a number of static analysis issues #4 | expand

Message

Bastien Nocera July 2, 2024, 8:47 a.m. UTC
"main: Simplify parse_config_string()" is a repeat. If you don't want
the patch, please let me know and I'll carry it downstream.

More fixes incoming, please review carefully, thanks!

Bastien Nocera (9):
  main: Simplify parse_config_string()
  avdtp: Fix manipulating struct as an array
  mesh: Avoid accessing array out-of-bounds
  obexd: Fix possible memleak
  obexd: Fix memory leak in entry struct
  obexd: Fix leak in backup_object struct
  health/mcap: Fix memory leak in mcl struct
  sdp: Fix memory leak in sdp_data_alloc*()
  sdp: Check memory allocation in sdp_copy_seq()

 lib/sdp.c                      | 13 ++++++++--
 mesh/prov-initiator.c          |  9 +++++--
 obexd/plugins/messages-dummy.c | 12 ++++++++-
 obexd/plugins/pcsuite.c        |  1 +
 profiles/audio/avdtp.c         | 45 +++++++++++++++++-----------------
 profiles/health/mcap.c         |  1 +
 src/main.c                     | 19 +++++++-------
 7 files changed, 64 insertions(+), 36 deletions(-)