mbox series

[BlueZ,00/12] Fix a number of static analysis issues #5

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

Message

Bastien Nocera July 4, 2024, 10:24 a.m. UTC
Bastien Nocera (12):
  gatt-server: Don't allocate negative data
  shared/shell: Free w.we_wordv on early function exit
  shared/shell: Free memory allocated by wordexp()
  shared/shell: Fix fd leak if -s is passed multiple times
  btsnoop: Fix possible negative memcpy length
  sdp: Fix possible null dereference
  sdp: Fix mismatched int casting
  emulator: Fix integer truncation warnings
  gatt-server: Fix integer overflow due to cast operation
  mesh: Fix integer overflow due to cast operation
  tools/mesh: Fix integer overflow due to cast operation
  unit/ringbuf: Fix ineffective guard due to signedness

 emulator/amp.c           |  3 ++-
 emulator/bthost.c        |  8 +++++---
 lib/sdp.c                |  6 +++++-
 mesh/pb-adv.c            |  2 +-
 src/shared/gatt-server.c |  8 ++++----
 src/shared/ringbuf.c     |  2 +-
 src/shared/shell.c       | 20 +++++++++++++++-----
 tools/btsnoop.c          |  4 ++--
 tools/mesh/mesh-db.c     |  6 ++----
 9 files changed, 37 insertions(+), 22 deletions(-)