Ticket #15170: ProcessController-flawfinder.txt

File ProcessController-flawfinder.txt, 3.0 KB (added by Coldfirex, 3 years ago)
Line 
1/boot/home/Desktop/sources/haiku/src/apps/processcontroller/KernelMemoryBarMenuItem.cpp:141: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
2
3 char infos[128];
4
5/boot/home/Desktop/sources/haiku/src/apps/processcontroller/MemoryBarMenu.cpp:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
6
7 char buffer[64];
8
9/boot/home/Desktop/sources/haiku/src/apps/processcontroller/MemoryBarMenuItem.cpp:206: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
10
11 char infos[128];
12
13/boot/home/Desktop/sources/haiku/src/apps/processcontroller/ProcessController.cpp:249: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
14
15 char paramString[16];
16
17/boot/home/Desktop/sources/haiku/src/apps/processcontroller/ProcessController.cpp:250: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
18
19 char idString[16];
20
21/boot/home/Desktop/sources/haiku/src/apps/processcontroller/ProcessController.cpp:290: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
22
23 char question[1000];
24
25/boot/home/Desktop/sources/haiku/src/apps/processcontroller/ProcessController.cpp:829: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
26
27 char item_name[32];
28
29/boot/home/Desktop/sources/haiku/src/apps/processcontroller/Utilities.h:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.
30
31 char team_name[B_PATH_NAME_LENGTH];
32