public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [BlueZ 00/14] Fix a number of static analysis issues
@ 2024-05-10  9:10 Bastien Nocera
  2024-05-10  9:10 ` [BlueZ 01/14] adapter: Use false instead of 0 for bool Bastien Nocera
                   ` (13 more replies)
  0 siblings, 14 replies; 17+ messages in thread
From: Bastien Nocera @ 2024-05-10  9:10 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

This is the first batch of bug fixes for issues found by Red Hat's
internal static analysis tools.

The best course of action would probably be to merge the one that
are ready for upstream inclusion after review, and mark the others as
needing work, so I can include a new version of the patch in following
batches.

Cheers

Bastien Nocera (14):
  adapter: Use false instead of 0 for bool
  attrib/gatt: Guard against possible integer overflow
  client/gatt: Don't pass negative fd on error
  client/gatt: Check write_value() retval
  client/main: Fix array access
  client/main: Fix mismatched free
  monitor/att: Fix memory leak
  bap: Fix memory leaks
  media: Fix memory leak
  main: Fix memory leaks
  isotest: Consider "0" fd to be valid
  isotest: Fix error check after opening file
  client/player: Fix copy/paste error
  shared/vcp: Fix copy/paste error

 attrib/gatt.c          |  8 ++++---
 client/gatt.c          | 21 +++++++++++++++----
 client/main.c          |  7 ++++++-
 client/player.c        |  2 +-
 monitor/att.c          | 19 +++++++++++++++++
 profiles/audio/bap.c   | 47 +++++++++++++++++++++++++++++-------------
 profiles/audio/media.c |  1 +
 src/adapter.c          |  2 +-
 src/main.c             |  4 ++++
 src/shared/vcp.c       |  2 +-
 tools/isotest.c        |  4 ++--
 11 files changed, 90 insertions(+), 27 deletions(-)

-- 
2.44.0


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

end of thread, other threads:[~2024-05-10 11:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10  9:10 [BlueZ 00/14] Fix a number of static analysis issues Bastien Nocera
2024-05-10  9:10 ` [BlueZ 01/14] adapter: Use false instead of 0 for bool Bastien Nocera
2024-05-10 11:47   ` Fix a number of static analysis issues bluez.test.bot
2024-05-10 11:49     ` Bastien Nocera
2024-05-10  9:11 ` [BlueZ 02/14] attrib/gatt: Guard against possible integer overflow Bastien Nocera
2024-05-10  9:11 ` [BlueZ 03/14] client/gatt: Don't pass negative fd on error Bastien Nocera
2024-05-10  9:11 ` [BlueZ 04/14] client/gatt: Check write_value() retval Bastien Nocera
2024-05-10  9:11 ` [BlueZ 05/14] client/main: Fix array access Bastien Nocera
2024-05-10  9:11 ` [BlueZ 06/14] client/main: Fix mismatched free Bastien Nocera
2024-05-10  9:11 ` [BlueZ 07/14] monitor/att: Fix memory leak Bastien Nocera
2024-05-10  9:11 ` [BlueZ 08/14] bap: Fix memory leaks Bastien Nocera
2024-05-10  9:11 ` [BlueZ 09/14] media: Fix memory leak Bastien Nocera
2024-05-10  9:11 ` [BlueZ 10/14] main: Fix memory leaks Bastien Nocera
2024-05-10  9:11 ` [BlueZ 11/14] isotest: Consider "0" fd to be valid Bastien Nocera
2024-05-10  9:11 ` [BlueZ 12/14] isotest: Fix error check after opening file Bastien Nocera
2024-05-10  9:11 ` [BlueZ 13/14] client/player: Fix copy/paste error Bastien Nocera
2024-05-10  9:11 ` [BlueZ 14/14] shared/vcp: " Bastien Nocera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox