All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/7] v2 Fix bugs found by SVACE static analisys tool
@ 2022-04-01 10:27 Ildar Kamaletdinov
  2022-04-01 10:27 ` [PATCH BlueZ 1/7] monitor: Fix out-of-bound read in print_le_states Ildar Kamaletdinov
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ildar Kamaletdinov @ 2022-04-01 10:27 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Ildar Kamaletdinov

This patch set includes few fixes that was found by Linux Verification Center
(linuxtesting.org) with the SVACE static analysis tool.

I have manually filtered out non-relevant and false positive problems and only
procedeed with bugs that currently lead to some errors/vulnerabilities or may
lead to them in some specific conditions.

Changelog:
v2 some minor style fixes after CI check.
v1 initial version.

Ildar Kamaletdinov (7):
  monitor: Fix out-of-bound read in print_le_states
  tools: Fix buffer overflow in hciattach_tialt.c
  tools: Fix signed integer overflow in btsnoop.c
  tools: Prevent infinity loops in bluemoon.c
  tools: Limit width of fields in sscanf
  device: Limit width of fields in sscanf
  gatt: Fix double free and freed memory dereference

 monitor/packet.c        |  5 +++--
 src/device.c            | 14 +++++++-------
 src/gatt-database.c     |  4 ++++
 tools/bluemoon.c        | 13 +++++++++++++
 tools/btmgmt.c          |  2 +-
 tools/btsnoop.c         |  2 +-
 tools/hciattach_tialt.c |  3 ++-
 tools/hex2hcd.c         |  2 +-
 8 files changed, 32 insertions(+), 13 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-04 21:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 10:27 [PATCH BlueZ 0/7] v2 Fix bugs found by SVACE static analisys tool Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 1/7] monitor: Fix out-of-bound read in print_le_states Ildar Kamaletdinov
2022-04-01 10:56   ` v2 Fix bugs found by SVACE static analisys tool bluez.test.bot
2022-04-01 10:27 ` [PATCH BlueZ 2/7] tools: Fix buffer overflow in hciattach_tialt.c Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 3/7] tools: Fix signed integer overflow in btsnoop.c Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 4/7] tools: Prevent infinity loops in bluemoon.c Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 5/7] tools: Limit width of fields in sscanf Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 6/7] device: " Ildar Kamaletdinov
2022-04-01 10:27 ` [PATCH BlueZ 7/7] gatt: Fix double free and freed memory dereference Ildar Kamaletdinov
2022-04-04 17:14 ` [PATCH BlueZ 0/7] v2 Fix bugs found by SVACE static analisys tool patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.