Commit: 1e664b9838cd84a921360806de084c749a60304b
Parent: 497a0b220dbdd9b10d0ba797645d327cd6cfb6e5
Author: Ildar Kamaletdinov <i.kamaletdinov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-04-04 19:41:59
Tree: 47e3707221873870945e5ab537fecc6e494ea31a

tools: Limit width of fields in sscanf In tools/btmgmt.c and tools/hex2hcd.c few sscanf does not limit width of fields. This could lead to static overflow and stack corruption. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.

Diffstat

M tools/btmgmt.c | 2 +-
M tools/hex2hcd.c | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)

View Full Diff | Patch