Commit: 85d98aecd6a9504cb51a4bd4f8b37cc11a0057f8
Parent: 0fda2dd545fc0c2d879db729ab3be22e88be7072
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-07-08 17:40:39
Tree: 6a3bca2075ab9e39679dce68db63156b8d5860e6

shared/shell: prevent integer overflow in bt_shell_init() An integer overflow will occur if index < offest. It is necessary to prevent this case. Found with the SVACE static analysis tool.

Diffstat

M src/shared/shell.c | 2 +-

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

View Full Diff | Patch