Line | Id | Severity | Message |
---|
toys/posix/expand.c |
36 | variableScope | style | The scope of the variable 'len' can be reduced. |
104 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/date.c |
63 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/pending/ftpget.c |
132 | unusedVariable | style | Unused variable: ptr |
toys/pending/fdisk.c |
1330 | invalidPrintfArgType_uint | warning | %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'. |
1349 | invalidPrintfArgType_uint | warning | %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'. |
1367 | invalidPrintfArgType_uint | warning | %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'. |
606 | selfAssignment | warning | Redundant assignment of 'new_start' to itself. |
208 | variableScope | style | The scope of the variable 'px' can be reduced. |
567 | variableScope | style | The scope of the variable 'q' can be reduced. |
567 | variableScope | style | The scope of the variable 'ext_p' can be reduced. |
567 | variableScope | style | The scope of the variable 'ext_q' can be reduced. |
628 | variableScope | style | The scope of the variable 'val' can be reduced. |
722 | variableScope | style | The scope of the variable 'use_default' can be reduced. |
970 | variableScope | style | The scope of the variable 'pe' can be reduced. |
1165 | variableScope | style | The scope of the variable 'pe' can be reduced. |
1182 | variableScope | style | The scope of the variable 'p' can be reduced. |
1316 | variableScope | style | The scope of the variable 'choice' can be reduced. |
1456 | variableScope | style | The scope of the variable 'choice' can be reduced. |
1456 | variableScope | style | The scope of the variable 'p' can be reduced. |
1441 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
1441 | invalidscanf | warning | scanf without field width limits can crash with huge input data. |
toys/other/pmap.c |
37 | variableScope | style | The scope of the variable 'count' can be reduced. |
64 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
64 | invalidscanf | warning | scanf without field width limits can crash with huge input data. |
78 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
79 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
80 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/wc.c |
50 | variableScope | style | The scope of the variable 'len' can be reduced. |
toys/pending/useradd.c |
223 | variableScope | style | The scope of the variable 'pwd' can be reduced. |
241 | unreadVariable | style | Variable 'pwd' is assigned a value that is never used. |
toys/posix/ls.c |
443 | variableScope | style | The scope of the variable 'dt' can be reduced. |
toys/pending/telnetd.c |
166 | unreadVariable | style | Variable 'size' is assigned a value that is never used. |
toys/other/taskset.c |
39 | variableScope | style | The scope of the variable 'k' can be reduced. |
toys/other/ifconfig.c |
63 | unusedStructMember | style | struct or union member 'ifreq_inet6::ifrinet6_ifindex' is never used. |
kconfig/confdata.c |
1 | ConfigurationNotChecked | information | Skipping configuration 'conf_defname' since the value of 'conf_defname' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
81 | variableScope | style | The scope of the variable 'fullname' can be reduced. |
54 | variableScope | style | The scope of the variable 'sym' can be reduced. |
toys/other/acpi.c |
62 | variableScope | style | The scope of the variable 'curr' can be reduced. |
62 | variableScope | style | The scope of the variable 'max' can be reduced. |
35 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
kconfig/lxdialog/util.c |
463 | variableScope | style | The scope of the variable 'c' can be reduced. |
316 | variableScope | style | The scope of the variable 'cur_x' can be reduced. |
316 | variableScope | style | The scope of the variable 'cur_y' can be reduced. |
442 | variableScope | style | The scope of the variable 'i' can be reduced. |
316 | variableScope | style | The scope of the variable 'newl' can be reduced. |
317 | variableScope | style | The scope of the variable 'room' can be reduced. |
318 | variableScope | style | The scope of the variable 'sp2' can be reduced. |
317 | variableScope | style | The scope of the variable 'wlen' can be reduced. |
318 | variableScope | style | The scope of the variable 'word' can be reduced. |
scripts/config2help.c |
347 | duplicateBreak | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
232 | unreachableCode | style | Statements following return, break, continue, goto or throw will never be executed. |
254 | unreachableCode | style | Statements following return, break, continue, goto or throw will never be executed. |
79 | variableScope | style | The scope of the variable 's' can be reduced. |
195 | unusedVariable | style | Unused variable: file |
kconfig/expr.c |
238 | variableScope | style | The scope of the variable 'tmp' can be reduced. |
toys/pending/fsck.c |
119 | variableScope | style | The scope of the variable 'no' can be reduced. |
164 | variableScope | style | The scope of the variable 'i' can be reduced. |
246 | variableScope | style | The scope of the variable 'child_exited' can be reduced. |
toys/pending/find.c |
105 | variableScope | style | The scope of the variable 'result' can be reduced. |
278 | redundantCondition | style | Redundant condition: If o1 >= 4, the comparison o1 != 1 is always true. |
toys/pending/mdev.c |
62 | invalidScanfArgType_int | warning | %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'. |
62 | invalidScanfArgType_int | warning | %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'int *'. |
62 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/pending/test.c |
44 | variableScope | style | The scope of the variable 'id' can be reduced. |
45 | variableScope | style | The scope of the variable 's' can be reduced. |
toys/pending/dhcp.c |
530 | redundantAssignment | performance | Variable 'ret' is reassigned a value before the old one has been used. |
287 | variableScope | style | The scope of the variable 'ip' can be reduced. |
528 | variableScope | style | The scope of the variable 'count' can be reduced. |
1247 | variableScope | style | The scope of the variable 'buffer' can be reduced. |
toys/pending/mke2fs.c |
484 | unreadVariable | style | Variable 'length' is assigned a value that is never used. |
525 | unreadVariable | style | Variable 'dtiblk' is assigned a value that is never used. |
525 | unreadVariable | style | Variable 'dtbblk' is assigned a value that is never used. |
444 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/cat.c |
24 | variableScope | style | The scope of the variable 'len' can be reduced. |
toys/pending/top.c |
118 | invalidScanfArgType_int | warning | %ld in format string (no. 7) requires 'long *' but the argument type is 'unsigned long *'. |
289 | charBitOp | warning | When using 'char' variables in bit operations, sign extension can generate unexpected results. |
181 | variableScope | style | The scope of the variable 'i' can be reduced. |
355 | variableScope | style | The scope of the variable 'count' can be reduced. |
463 | variableScope | style | The scope of the variable 'j' can be reduced. |
463 | variableScope | style | The scope of the variable 'k' can be reduced. |
464 | variableScope | style | The scope of the variable 'total' can be reduced. |
552 | variableScope | style | The scope of the variable 'j' can be reduced. |
553 | variableScope | style | The scope of the variable 'proc' can be reduced. |
118 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
136 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
369 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
369 | invalidscanf | warning | scanf without field width limits can crash with huge input data. |
380 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
381 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
382 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
383 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
471 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
473 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
475 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
477 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
479 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
481 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
483 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
485 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/paste.c |
33 | variableScope | style | The scope of the variable 'j' can be reduced. |
49 | variableScope | style | The scope of the variable 'f' can be reduced. |
toys/pending/xzcat.c |
1530 | variableScope | style | The scope of the variable 'copy_size' can be reduced. |
2636 | variableScope | style | The scope of the variable 'ret' can be reduced. |
1 | ConfigurationNotChecked | information | Skipping configuration 'get_unaligned_be32' since the value of 'get_unaligned_be32' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'get_unaligned_le32' since the value of 'get_unaligned_le32' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'put_unaligned_be32' since the value of 'put_unaligned_be32' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'put_unaligned_le32' since the value of 'put_unaligned_le32' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
lib/lib.c |
84 | arithOperationsOnVoidPointer | portability | 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. |
691 | variableScope | style | The scope of the variable 'bit' can be reduced. |
690 | variableScope | style | The scope of the variable 'd' can be reduced. |
358 | variableScope | style | The scope of the variable 'fd' can be reduced. |
190 | variableScope | style | The scope of the variable 'suffixes' can be reduced. |
110 | unreadVariable | style | Variable 'or' is assigned a value that is never used. |
515 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
517 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/lsb/passwd.c |
101 | variableScope | style | The scope of the variable 'newp' can be reduced. |
102 | variableScope | style | The scope of the variable 'salt' can be reduced. |
kconfig/mconf.c |
868 | constStatement | warning | Redundant code: Found a statement that begins with string constant. |
869 | constStatement | warning | Redundant code: Found a statement that begins with string constant. |
328 | variableScope | style | The scope of the variable 'j' can be reduced. |
589 | variableScope | style | The scope of the variable 'res' can be reduced. |
toys/pending/telnet.c |
266 | variableScope | style | The scope of the variable 'curr' can be reduced. |
lib/bunzip.c |
134 | variableScope | style | The scope of the variable 'base' can be reduced. |
615 | variableScope | style | The scope of the variable 'bunzip_errors' can be reduced. |
292 | variableScope | style | The scope of the variable 'jj' can be reduced. |
292 | variableScope | style | The scope of the variable 'nextSym' can be reduced. |
135 | variableScope | style | The scope of the variable 'uc' can be reduced. |
kconfig/menu.c |
410 | variableScope | style | The scope of the variable 'type' can be reduced. |
toys/pending/watch.c |
33 | variableScope | style | The scope of the variable 'retval' can be reduced. |
toys/posix/tail.c |
135 | variableScope | style | The scope of the variable 'linepop' can be reduced. |
toys/other/count.c |
21 | variableScope | style | The scope of the variable 'len' can be reduced. |
toys/pending/brctl.c |
179 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
238 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
1 | ConfigurationNotChecked | information | Skipping configuration 'SIOCBRADDBR' since the value of 'SIOCBRADDBR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'SIOCBRADDIF' since the value of 'SIOCBRADDIF' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'SIOCBRDELBR' since the value of 'SIOCBRDELBR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'SIOCBRDELIF' since the value of 'SIOCBRDELIF' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
kconfig/conf.c |
174 | variableScope | style | The scope of the variable 'def' can be reduced. |
174 | variableScope | style | The scope of the variable 'help' can be reduced. |
191 | unreadVariable | style | Variable 'help' is assigned a value that is never used. |
kconfig/lex.zconf.c_shipped |
802 | memleakOnRealloc | error | Common realloc mistake: 'text' nulled but not freed upon failure |
1 | ConfigurationNotChecked | information | Skipping configuration 'YY_USER_INIT' since the value of 'YY_USER_INIT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
2263 | variableScope | style | The scope of the variable 'env' can be reduced. |
2263 | variableScope | style | The scope of the variable 'fullname' can be reduced. |
696 | unusedStructMember | style | struct or union member 'yy_trans_info::yy_nxt' is never used. |
695 | unusedStructMember | style | struct or union member 'yy_trans_info::yy_verify' is never used. |
toys/pending/route.c |
389 | variableScope | style | The scope of the variable 'sockfd' can be reduced. |
396 | variableScope | style | The scope of the variable 'plen' can be reduced. |
125 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
456 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
scripts/install.c |
28 | bufferAccessOutOfBounds | error | Buffer is accessed out of bounds: toy_list |
35 | unreadVariable | style | Variable 'len' is assigned a value that is never used. |
toys/pending/dd.c |
131 | redundantAssignment | performance | Variable 'seconds' is reassigned a value before the old one has been used. |
107 | variableScope | style | The scope of the variable 'i' can be reduced. |
107 | variableScope | style | The scope of the variable 'idx' can be reduced. |
157 | variableScope | style | The scope of the variable 'n' can be reduced. |
203 | variableScope | style | The scope of the variable 'nw' can be reduced. |
221 | variableScope | style | The scope of the variable 'n' can be reduced. |
290 | variableScope | style | The scope of the variable 'res' can be reduced. |
150 | clarifyCondition | style | Suspicious condition (assignment + comparison); Clarify expression with parentheses. |
toys/pending/pgrep.c |
43 | invalidPrintfArgType_sint | warning | %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. |
143 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/other/lsusb.c |
33 | invalidScanfArgType_int | warning | %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'. |
34 | invalidScanfArgType_int | warning | %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'. |
33 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
34 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
35 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/pending/nbd_client.c |
49 | variableScope | style | The scope of the variable 'flags' can be reduced. |
toys/other/vmstat.c |
46 | selfAssignment | warning | Redundant assignment of 'p' to itself. |
46 | selfAssignment | warning | Redundant assignment of 'name' to itself. |
46 | uninitvar | error | Uninitialized variable: p |
46 | uninitvar | error | Uninitialized variable: name |
toys/pending/dhcpd.c |
1132 | redundantAssignment | performance | Variable 'retval' is reassigned a value before the old one has been used. |
245 | variableScope | style | The scope of the variable 'ip' can be reduced. |
754 | variableScope | style | The scope of the variable 'len' can be reduced. |
1002 | variableScope | style | The scope of the variable 'tmp' can be reduced. |
1080 | variableScope | style | The scope of the variable 'retval' can be reduced. |
876 | selfAssignment | warning | Redundant assignment of 'timestamp' to itself. |
1058 | selfAssignment | warning | Redundant assignment of 'timestamp' to itself. |
toys/pending/netstat.c |
267 | invalidPrintfArgType_sint | warning | %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. |
287 | invalidScanfArgType_int | warning | %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. |
287 | invalidScanfArgType_int | warning | %d in format string (no. 9) requires 'int *' but the argument type is 'unsigned int *'. |
287 | invalidScanfArgType_int | warning | %ld in format string (no. 10) requires 'long *' but the argument type is 'unsigned long *'. |
313 | invalidScanfArgType_int | warning | %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. |
313 | invalidScanfArgType_int | warning | %d in format string (no. 15) requires 'int *' but the argument type is 'unsigned int *'. |
313 | invalidScanfArgType_int | warning | %ld in format string (no. 16) requires 'long *' but the argument type is 'unsigned long *'. |
282 | variableScope | style | The scope of the variable 'lip' can be reduced. |
282 | variableScope | style | The scope of the variable 'rip' can be reduced. |
309 | variableScope | style | The scope of the variable 'lip' can be reduced. |
309 | variableScope | style | The scope of the variable 'rip' can be reduced. |
287 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
313 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
341 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
546 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
main.c |
144 | bufferAccessOutOfBounds | error | Buffer is accessed out of bounds: toy_list |
27 | variableScope | style | The scope of the variable 'middle' can be reduced. |
toys/other/uptime.c |
50 | invalidPrintfArgType_sint | warning | %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. |
toys/posix/sort.c |
239 | variableScope | style | The scope of the variable 'x' can be reduced. |
239 | variableScope | style | The scope of the variable 'y' can be reduced. |
toys/pending/syslogd.c |
90 | invalidPrintfArgType_uint | warning | %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'. |
158 | variableScope | style | The scope of the variable 'len' can be reduced. |
242 | variableScope | style | The scope of the variable 'p' can be reduced. |
242 | variableScope | style | The scope of the variable 'tmpfile' can be reduced. |
243 | variableScope | style | The scope of the variable 'port' can be reduced. |
314 | variableScope | style | The scope of the variable 'lvlstr' can be reduced. |
314 | variableScope | style | The scope of the variable 'facstr' can be reduced. |
scripts/mkflags.c |
110 | invalidPrintfArgType_sint | warning | %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. |
118 | invalidPrintfArgType_sint | warning | %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. |
75 | unusedVariable | style | Unused variable: bit |
toys/posix/head.c |
31 | variableScope | style | The scope of the variable 'len' can be reduced. |
toys/pending/lspci.c |
61 | variableScope | style | The scope of the variable 'vtext' can be reduced. |
61 | variableScope | style | The scope of the variable 'dtext' can be reduced. |
79 | variableScope | style | The scope of the variable 'res' can be reduced. |
toys/posix/env.c |
47 | variableScope | style | The scope of the variable 'ep' can be reduced. |
toys/posix/uudecode.c |
29 | selfAssignment | warning | Redundant assignment of 'm' to itself. |
29 | uninitvar | error | Uninitialized variable: m |
toys/other/chvt.c |
24 | selfAssignment | warning | Redundant assignment of 'fd' to itself. |
24 | uninitvar | error | Uninitialized variable: fd |
toys/pending/klogd.c |
41 | invalidPrintfArgType_uint | warning | %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'. |
toys/posix/du.c |
67 | invalidPrintfArgType_int | warning | %c in format string (no. 1) requires 'unsigned int' but the argument type is 'const char *'. |
58 | variableScope | style | The scope of the variable 'buf' can be reduced. |
47 | unusedStructMember | style | struct or union member 'node_size::size' is never used. |
toys/lsb/umount.c |
124 | variableScope | style | The scope of the variable 'type' can be reduced. |
toys/pending/ps.c |
311 | invalidPrintfArgType_sint | warning | %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. |
314 | invalidPrintfArgType_sint | warning | %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. |
355 | invalidPrintfArgType_uint | warning | %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'long'. |
84 | variableScope | style | The scope of the variable 'i' can be reduced. |
147 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
242 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/grep.c |
185 | variableScope | style | The scope of the variable 'len' can be reduced. |
262 | variableScope | style | The scope of the variable 'ss' can be reduced. |
toys/posix/df.c |
100 | variableScope | style | The scope of the variable 'mt2' can be reduced. |
lib/pending.c |
36 | invalidPrintfArgType_int | warning | %c in format string (no. 2) requires 'unsigned int' but the argument type is 'const char *'. |
35 | invalidPrintfArgType_uint | warning | %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'. |
36 | sprintfOverlappingData | error | Undefined behavior: Variable 'buf' is used as parameter and destination in s[n]printf(). |
toys/pending/sh.c |
318 | duplicateExpression | style | Same expression on both sides of '||'. |
toys/other/chroot.c |
20 | variableScope | style | The scope of the variable 'binsh' can be reduced. |
toys/pending/groupadd.c |
73 | variableScope | style | The scope of the variable 'entry' can be reduced. |
106 | unreadVariable | style | Variable 'grp' is assigned a value that is never used. |
toys/posix/od.c |
66 | invalidPrintfArgType_int | warning | %c in format string (no. 1) requires 'unsigned int' but the argument type is 'const char *'. |
52 | unreachableCode | style | Statements following return, break, continue, goto or throw will never be executed. |
114 | unreachableCode | style | Statements following return, break, continue, goto or throw will never be executed. |
51 | variableScope | style | The scope of the variable 'k' can be reduced. |
128 | variableScope | style | The scope of the variable 'abases' can be reduced. |
225 | variableScope | style | The scope of the variable 'type' can be reduced. |
lib/password.c |
42 | redundantAssignment | performance | Variable 'bits' is reassigned a value before the old one has been used. |
143 | redundantAssignment | performance | Variable 'ret' is reassigned a value before the old one has been used. |
toys/other/mountpoint.c |
46 | strncatUsage | warning | Dangerous usage of strncat - 3rd parameter is the maximum number of characters to append. |
toys/pending/arping.c |
62 | variableScope | style | The scope of the variable 'ip' can be reduced. |
toys/pending/gzip.c |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
44 | variableHidingEnum | style | Variable 'FlateErr' hides enumerator with same name |
57 | variableHidingEnum | style | Variable 'Nlitlen' hides enumerator with same name |
57 | variableHidingEnum | style | Variable 'Nlitlen' hides enumerator with same name |
64 | variableHidingEnum | style | Variable 'WinSize' hides enumerator with same name |
653 | variableScope | style | The scope of the variable 'c' can be reduced. |
827 | variableScope | style | The scope of the variable 'count' can be reduced. |
852 | variableScope | style | The scope of the variable 'p' can be reduced. |
870 | variableScope | style | The scope of the variable 'c' can be reduced. |
973 | variableScope | style | The scope of the variable 'c' can be reduced. |
1138 | variableScope | style | The scope of the variable 'k' can be reduced. |
1196 | variableScope | style | The scope of the variable 'hash' can be reduced. |
1218 | variableScope | style | The scope of the variable 'q' can be reduced. |
1295 | variableScope | style | The scope of the variable 'n' can be reduced. |
1295 | variableScope | style | The scope of the variable 'k' can be reduced. |
1320 | variableScope | style | The scope of the variable 'next' can be reduced. |
1358 | variableScope | style | The scope of the variable 'i' can be reduced. |
1391 | variableScope | style | The scope of the variable 'k' can be reduced. |
toys/pending/cpio.c |
85 | variableScope | style | The scope of the variable 'out' can be reduced. |
toys/pending/init.c |
117 | variableScope | style | The scope of the variable 'i' can be reduced. |
117 | variableScope | style | The scope of the variable 'line_number' can be reduced. |
117 | variableScope | style | The scope of the variable 'token_count' can be reduced. |
118 | variableScope | style | The scope of the variable 'q' can be reduced. |
118 | variableScope | style | The scope of the variable 'extracted_token' can be reduced. |
118 | variableScope | style | The scope of the variable 'tty_name' can be reduced. |
118 | variableScope | style | The scope of the variable 'command' can be reduced. |
118 | variableScope | style | The scope of the variable 'tmp' can be reduced. |
215 | variableScope | style | The scope of the variable 'fd' can be reduced. |
toys/pending/traceroute.c |
199 | variableScope | style | The scope of the variable 'fexit' can be reduced. |
217 | variableScope | style | The scope of the variable 'res' can be reduced. |
266 | variableScope | style | The scope of the variable 'hudp' can be reduced. |
267 | variableScope | style | The scope of the variable 'hicmp' can be reduced. |
480 | variableScope | style | The scope of the variable 'opt_len' can be reduced. |
502 | unreadVariable | style | Variable 'opt_len' is assigned a value that is never used. |
1 | ConfigurationNotChecked | information | Skipping configuration 'IPV6_RECVPKTINFO' since the value of 'IPV6_RECVPKTINFO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
1 | ConfigurationNotChecked | information | Skipping configuration 'IP_DONTFRAG' since the value of 'IP_DONTFRAG' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
toys/posix/cp.c |
274 | variableScope | style | The scope of the variable 'new' can be reduced. |
121 | uninitvar | error | Uninitialized variable: s |
toys/other/switch_root.c |
49 | selfAssignment | warning | Redundant assignment of 'console' to itself. |
49 | uninitvar | error | Uninitialized variable: console |
toys/pending/dumpleases.c |
49 | selfAssignment | warning | Redundant assignment of 'written_time' to itself. |
kconfig/symbol.c |
834 | variableScope | style | The scope of the variable 'propp' can be reduced. |
650 | variableScope | style | The scope of the variable 'ptr' can be reduced. |
512 | unreadVariable | style | Variable 'ch' is assigned a value that is never used. |
toys/posix/touch.c |
99 | invalidScanfArgType_int | warning | %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'int *'. |
57 | variableScope | style | The scope of the variable 'date' can be reduced. |
58 | variableScope | style | The scope of the variable 'fd' can be reduced. |
82 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
99 | invalidscanf | portability | scanf without field width limits can crash with huge input data on some versions of libc. |
toys/posix/patch.c |
337 | variableScope | style | The scope of the variable 'i' can be reduced. |
166 | literalWithCharPtrCompare | warning | String literal compared with variable 'data'. Did you intend to use strcmp() instead? |
toys/other/losetup.c |
64 | selfAssignment | warning | Redundant assignment of 'ffd' to itself. |
71 | variableScope | style | The scope of the variable 'i' can be reduced. |
151 | variableScope | style | The scope of the variable 's' can be reduced. |
64 | uninitvar | error | Uninitialized variable: ffd |
lib/xwrap.c |
434 | variableScope | style | The scope of the variable 'len' can be reduced. |
509 | variableScope | style | The scope of the variable 'len' can be reduced. |
toys/posix/cut.c |
192 | variableScope | style | The scope of the variable 'cpos' can be reduced. |
193 | variableScope | style | The scope of the variable 'start' can be reduced. |
193 | variableScope | style | The scope of the variable 'ndelimiters' can be reduced. |
194 | variableScope | style | The scope of the variable 'nprinted_fields' can be reduced. |
241 | variableScope | style | The scope of the variable 'cpos' can be reduced. |