All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/6] [v4] Fix bugs found by SVACE static analisys tool
@ 2022-04-01 12:16 Ildar Kamaletdinov
  2022-04-01 12:16 ` [PATCH BlueZ 1/6] monitor: Fix out-of-bound read in print_le_states Ildar Kamaletdinov
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Ildar Kamaletdinov @ 2022-04-01 12:16 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:
[v4] one patch was dropped due to overchecking, seems that it is not required
[v3] one fix wasn't staged, sorry, one more fix after CI checks
[v2] some minor style fixes after CI check.
[v1] initial version.

Ildar Kamaletdinov (6):
  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: Limit width of fields in sscanf
  device: Limit width of fields in sscanf
  gatt: Fix double free and freed memory dereference

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

-- 
2.35.1


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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 12:16 [PATCH BlueZ 0/6] [v4] Fix bugs found by SVACE static analisys tool Ildar Kamaletdinov
2022-04-01 12:16 ` [PATCH BlueZ 1/6] monitor: Fix out-of-bound read in print_le_states Ildar Kamaletdinov
2022-04-01 16:00   ` Fix bugs found by SVACE static analisys tool bluez.test.bot
2022-04-01 12:16 ` [PATCH BlueZ 2/6] tools: Fix buffer overflow in hciattach_tialt.c Ildar Kamaletdinov
2022-04-01 12:16 ` [PATCH BlueZ 3/6] tools: Fix signed integer overflow in btsnoop.c Ildar Kamaletdinov
2022-04-01 12:16 ` [PATCH BlueZ 4/6] tools: Limit width of fields in sscanf Ildar Kamaletdinov
2022-04-01 12:16 ` [PATCH BlueZ 5/6] device: " Ildar Kamaletdinov
2022-04-01 12:16 ` [PATCH BlueZ 6/6] gatt: Fix double free and freed memory dereference Ildar Kamaletdinov
2022-04-04 17:14 ` [PATCH BlueZ 0/6] [v4] 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.