aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorNilesh Javali <[email protected]>2023-06-07 17:08:36 +0530
committerMartin K. Petersen <[email protected]>2023-06-14 22:06:01 -0400
commitd721b591b95cf3f290f8a7cbe90aa2ee0368388d (patch)
tree43cde13cc3d0d7c82b41d45c8ae6009377e68a70 /scripts/clang-tools/gen_compile_commands.py
parenteb91eb809c8dfe7a7cc7aedd0670cdc2bb1174b9 (diff)
scsi: qla2xxx: Array index may go out of bound
Klocwork reports array 'vha->host_str' of size 16 may use index value(s) 16..19. Use snprintf() instead of sprintf(). Cc: [email protected] Co-developed-by: Bikash Hazarika <[email protected]> Signed-off-by: Bikash Hazarika <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions