public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [BlueZ 00/15] Fix a number of static analysis issues #2
@ 2024-05-16  9:03 Bastien Nocera
  2024-05-16  9:03 ` [BlueZ 01/15] main: Simplify variable assignment Bastien Nocera
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Bastien Nocera @ 2024-05-16  9:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Bastien Nocera

"main: Simplify variable assignment" makes a come back, moving out the
single special-case out of the function.

For "shared/gatt-client: Fix uninitialised variable usage", please verify
that this default value is correct.

Happy to iterate on any patches you feel are suboptimal. Note that the
only patches that received any sort of real-world testing are the one
mentioned above and the gdbus one.

Cheers

Bastien Nocera (15):
  main: Simplify variable assignment
  shared/ecc: Fix uninitialised variable usage
  shared/gatt-client: Fix uninitialised variable usage
  tools/mesh-cfgclient: Fix uninitialised variable usage
  test-runner: Remove unused envp
  test-runner: Fix uninitialised variable usage
  test-runner: Fix uninitialised variable usage
  shared/bap: Fix possible use-after-free
  isotest: Fix bad free
  test-runner: Fix fd leak on failure
  isotest: Fix string size expectations
  mgmt-tester: Fix non-nul-terminated string
  gdbus: Check sprintf retval
  shared/bap: Fix memory leak in error path
  android/handsfree: Check sprintf retval

 android/handsfree.c      | 14 +++++++++---
 gdbus/watch.c            | 46 +++++++++++++++++++++++++++++-----------
 src/main.c               | 19 +++++++++--------
 src/shared/bap.c         | 19 ++++++++++++-----
 src/shared/ecc.c         |  2 ++
 src/shared/gatt-client.c |  2 +-
 tools/isotest.c          | 20 +++++++++++++----
 tools/mesh-cfgclient.c   |  3 +--
 tools/mgmt-tester.c      |  8 +++++--
 tools/test-runner.c      | 15 +++++++++----
 10 files changed, 106 insertions(+), 42 deletions(-)

-- 
2.44.0


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

end of thread, other threads:[~2024-05-27  8:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16  9:03 [BlueZ 00/15] Fix a number of static analysis issues #2 Bastien Nocera
2024-05-16  9:03 ` [BlueZ 01/15] main: Simplify variable assignment Bastien Nocera
2024-05-16  9:03 ` [BlueZ 02/15] shared/ecc: Fix uninitialised variable usage Bastien Nocera
2024-05-16  9:03 ` [BlueZ 03/15] shared/gatt-client: " Bastien Nocera
2024-05-16  9:03 ` [BlueZ 04/15] tools/mesh-cfgclient: " Bastien Nocera
2024-05-16  9:03 ` [BlueZ 05/15] test-runner: Remove unused envp Bastien Nocera
2024-05-16  9:03 ` [BlueZ 06/15] test-runner: Fix uninitialised variable usage Bastien Nocera
2024-05-16  9:03 ` [BlueZ 07/15] " Bastien Nocera
2024-05-16  9:03 ` [BlueZ 08/15] shared/bap: Fix possible use-after-free Bastien Nocera
2024-05-16  9:03 ` [BlueZ 09/15] isotest: Fix bad free Bastien Nocera
2024-05-16  9:03 ` [BlueZ 10/15] test-runner: Fix fd leak on failure Bastien Nocera
2024-05-16  9:03 ` [BlueZ 11/15] isotest: Fix string size expectations Bastien Nocera
2024-05-16  9:03 ` [BlueZ 12/15] mgmt-tester: Fix non-nul-terminated string Bastien Nocera
2024-05-16  9:03 ` [BlueZ 13/15] gdbus: Check sprintf retval Bastien Nocera
2024-05-16  9:03 ` [BlueZ 14/15] shared/bap: Fix memory leak in error path Bastien Nocera
2024-05-16  9:03 ` [BlueZ 15/15] android/handsfree: Check sprintf retval Bastien Nocera
2024-05-16 20:50 ` [BlueZ 00/15] Fix a number of static analysis issues #2 patchwork-bot+bluetooth
2024-05-27  8:23   ` Bastien Nocera

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