Skip to content

Fix a number of static analysis issues #6

Bastien Nocera linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8sdp: Ensure size doesn't overflowlib/sdp.c+3 -33 replies
2/8tools/isotest: Ensure ret doesn't overflowtools/isotest.c+2 -00 replies
3/8health: mcap: Ensure sent doesn't overflowprofiles/health/mcap.c+1 -10 replies
4/8shared/tester: Add early failure checksrc/shared/tester.c+2 -00 replies
5/8mesh: Fix possible integer overflowmesh/net.c+11 -20 replies
6/8shared/gatt-db: Fix possible buffer overrunsrc/shared/gatt-db.c+8 -33 replies
7/8shared/btsnoop: Avoid underflowing toread variablesrc/shared/btsnoop.c+6 -10 replies
8/8monitor: Check for possible integer underflowmonitor/control.c+7 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.2