mbox series

[BlueZ,0/8] Fix a number of static analysis issues #6

Message ID 20240805140840.1606239-1-hadess@hadess.net (mailing list archive)
Headers show
Series Fix a number of static analysis issues #6 | expand

Message

Bastien Nocera Aug. 5, 2024, 2:06 p.m. UTC
Last batch of static analysis fixes, all the other warnings were filed
as issues against Coverity, or were already submitted as part of earlier
patch sets.

Let me know if you have any questions about those patches, or the
earlier ones.

Bastien Nocera (8):
  sdp: Ensure size doesn't overflow
  tools/isotest: Ensure ret doesn't overflow
  health: mcap: Ensure sent doesn't overflow
  shared/tester: Add early failure check
  mesh: Fix possible integer overflow
  shared/gatt-db: Fix possible buffer overrun
  shared/btsnoop: Avoid underflowing toread variable
  monitor: Check for possible integer underflow

 lib/sdp.c              |  6 +++---
 mesh/net.c             | 13 +++++++++++--
 monitor/control.c      |  8 +++++++-
 profiles/health/mcap.c |  2 +-
 src/shared/btsnoop.c   |  7 ++++++-
 src/shared/gatt-db.c   | 11 ++++++++---
 src/shared/tester.c    |  2 ++
 tools/isotest.c        |  2 ++
 8 files changed, 40 insertions(+), 11 deletions(-)