syslinux-6.04-0.31.fc43
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1]
syslinux-6.04-pre1/bios/com32/cmenu/test.c:79:11: warning[-Wanalyzer-deref-before-check]: check of ‘s’ for NULL after already dereferencing it
syslinux-6.04-pre1/bios/com32/cmenu/test.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/bios/com32/cmenu/test.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test.c:79:11: branch_true: following ‘true’ branch (when ‘s’ is NULL)...
branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/bios/com32/cmenu/test.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test.c:79:11: danger: pointer ‘s’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
syslinux-6.04-pre1/bios/com32/cmenu/test.c:83:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
syslinux-6.04-pre1/bios/com32/cmenu/test.c:276:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmdline’
syslinux-6.04-pre1/bios/com32/cmenu/test.c:284:6: enter_function: entry to ‘runcommand’
syslinux-6.04-pre1/bios/com32/cmenu/test.c:290:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/bios/com32/cmenu/test.c:291:4: call_function: calling ‘gencommand’ from ‘runcommand’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
syslinux-6.04-pre1/bios/com32/cmenu/test.c:319:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xtra’
syslinux-6.04-pre1/bios/com32/cmenu/test.c:317:21: acquire_memory: this call could return NULL
syslinux-6.04-pre1/bios/com32/cmenu/test.c:319:21: danger: ‘xtra’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def5]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:79:11: warning[-Wanalyzer-deref-before-check]: check of ‘s’ for NULL after already dereferencing it
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:79:11: branch_true: following ‘true’ branch (when ‘s’ is NULL)...
branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:79:11: danger: pointer ‘s’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:83:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def7]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:100:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*cmd’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:332:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:493:6: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:494:13: branch_true: ...to here
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:494:13: call_function: calling ‘execdotcmd’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:276:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmdline’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:284:6: enter_function: entry to ‘runcommand’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:290:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:291:4: call_function: calling ‘gencommand’ from ‘runcommand’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:319:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xtra’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:317:21: acquire_memory: this call could return NULL
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:319:21: danger: ‘xtra’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def10]
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:323:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(argsmenu) + 1)’ where non-null expected
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:332:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/bios/com32/cmenu/test2.c:456:3: call_function: calling ‘set_xtra’ from ‘main’
Error: COMPILER_WARNING (CWE-704): [#def11]
syslinux-6.04-pre1/com32/chain/chain.c: scope_hint: In function ‘do_boot’
syslinux-6.04-pre1/com32/chain/chain.c:172:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def12]
syslinux-6.04-pre1/com32/chain/chain.c:172:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def13]
syslinux-6.04-pre1/com32/chain/chain.c:246:53: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def14]
syslinux-6.04-pre1/com32/chain/chain.c:246:53: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def15]
syslinux-6.04-pre1/com32/chain/options.c: scope_hint: In function ‘opt_parse_args’
syslinux-6.04-pre1/com32/chain/options.c:364:39: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/chain/options.c:365:17: note: here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
syslinux-6.04-pre1/com32/chain/partiter.c:511:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gpt_part’
syslinux-6.04-pre1/com32/chain/partiter.c:492:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/chain/partiter.c:505:9: branch_false: ...to here
syslinux-6.04-pre1/com32/chain/partiter.c:505:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/chain/partiter.c:510:19: branch_false: ...to here
syslinux-6.04-pre1/com32/chain/partiter.c:513:5: release_memory: ‘gpt_part’ is NULL
syslinux-6.04-pre1/com32/chain/partiter.c:511:21: danger: dereference of NULL ‘gpt_part’
Error: COMPILER_WARNING: [#def17]
syslinux-6.04-pre1/com32/chain/chain.c:38: included_from: Included from here.
syslinux-6.04-pre1/com32/chain/chain.c: scope_hint: In function ‘main’
syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
syslinux-6.04-pre1/com32/chain/chain.c:521:37: note: in expansion of macro ‘dosmax’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def18]
syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:49:12: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘void[0]’
cc1: note: source object is likely at address zero
Error: CPPCHECK_WARNING (CWE-457): [#def19]
syslinux-6.04-pre1/com32/cmenu/libmenu/des.c:600: warning[uninitvar]: Uninitialized variable: key
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
syslinux-6.04-pre1/com32/cmenu/libmenu/help.c:127:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘text’
syslinux-6.04-pre1/com32/cmenu/libmenu/help.c:198:6: enter_function: entry to ‘runhelp’
syslinux-6.04-pre1/com32/cmenu/libmenu/help.c:208:9: call_function: calling ‘showhelp’ from ‘runhelp’
Error: COMPILER_WARNING (CWE-483): [#def21]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c: scope_hint: In function ‘getmenuoption’
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:485:9: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:489:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)*m.maxmenusize * 8)’
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1036:32: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:5: danger: ‘malloc((long unsigned int)*m.maxmenusize * 8) + (long unsigned int)i * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((unsigned int)*m.maxmenusize * 4)’
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1036:32: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:5: danger: ‘malloc((unsigned int)*m.maxmenusize * 4) + (unsigned int)i * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def24]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1043:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1041:8: branch_true: following ‘true’ branch (when ‘title’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1043:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1043:9: danger: argument 1 (‘malloc(79)’) from [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def25]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1045:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1041:8: branch_true: following ‘true’ branch (when ‘title’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1045:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1045:9: danger: argument 1 (‘malloc(79)’) from [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def26]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1047:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1041:8: branch_false: following ‘false’ branch (when ‘title’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1047:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1047:5: danger: argument 1 (‘malloc(79)’) from [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1050:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1021:8: branch_false: following ‘false’ branch (when ‘num <= 249’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1024:19: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1025:8: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1027:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1036:32: acquire_memory: allocated here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1038:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1037:17: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1040:24: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1041:8: branch_true: following ‘true’ branch (when ‘title’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1042:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1043:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1050:12: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def28]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1066:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(name) + 1)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1064:8: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1065:30: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1065:23: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1066:5: danger: argument 1 (‘malloc(strlen(name) + 1)’) from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def29]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1132:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1126:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1131:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1131:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1132:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1132:9: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1134:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1126:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1131:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1131:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1134:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1134:9: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def31]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1126:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def32]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1127:26: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_true: following ‘true’ branch (when ‘status’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def33]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1145:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1127:26: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_true: following ‘true’ branch (when ‘status’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1145:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1145:9: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def34]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1148:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(79)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1127:26: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_false: following ‘false’ branch (when ‘status’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1148:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1148:5: danger: argument 1 (‘malloc(79)’) from [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def35]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1177:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(256)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1128:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_true: following ‘true’ branch (when ‘status’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1175:8: branch_true: following ‘true’ branch (when ‘data’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1176:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1176:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1177:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1177:9: danger: argument 1 (‘malloc(256)’) from [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def36]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1179:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(256)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1128:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_true: following ‘true’ branch (when ‘status’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1175:8: branch_true: following ‘true’ branch (when ‘data’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1176:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1176:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1179:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1179:9: danger: argument 1 (‘malloc(256)’) from [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def37]
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1182:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(256)’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1120:8: branch_false: following ‘false’ branch (when ‘mi’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1122:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1128:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1130:8: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1139:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1141:8: branch_true: following ‘true’ branch (when ‘status’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1142:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1143:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1175:8: branch_false: following ‘false’ branch (when ‘data’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1182:5: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:1182:5: danger: argument 1 (‘malloc(256)’) from [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:58:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dperm’
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:52:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:54:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:54:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:56:28: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:56:21: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:58:5: danger: ‘dperm’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:65:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dperm’
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:52:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:54:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:54:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:56:28: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:56:21: acquire_memory: allocated here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:62:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:63:20: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:65:16: branch_true: following ‘true’ branch...
branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:65:16: danger: ‘dperm’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:137:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘userdb[<unknown>]’
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:87:17: branch_true: following ‘true’ branch (when ‘i != 128’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:88:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:91:8: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:94:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:95:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:99:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:101:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:102:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:104:13: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:105:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:110:15: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:124:12: branch_true: following ‘true’ branch (when ‘p’ is NULL)...
branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:133:41: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:136:12: branch_true: following ‘true’ branch (when ‘perms’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:137:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:137:13: danger: ‘userdb[<unknown>]’ could be NULL: unchecked value from [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:139:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘userdb[<unknown>]’
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:87:17: branch_true: following ‘true’ branch (when ‘i != 128’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:88:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:91:8: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:94:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:95:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:99:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:101:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:102:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:104:13: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:105:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:110:15: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:124:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:127:13: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:129:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:133:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:133:41: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:136:12: branch_false: following ‘false’ branch (when ‘perms’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:139:54: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:139:13: danger: ‘userdb[<unknown>]’ could be NULL: unchecked value from [(21)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:140:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(strlen(perms) + 3)’
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:87:17: branch_true: following ‘true’ branch (when ‘i != 128’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:88:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:91:8: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:94:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:95:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:99:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:101:13: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:102:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:104:13: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:105:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:110:15: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:124:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:127:13: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:129:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:133:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:136:12: branch_false: following ‘false’ branch (when ‘perms’ is non-NULL)...
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:139:54: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:139:47: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/passwords.c:140:13: danger: ‘malloc(strlen(perms) + 3)’ could be NULL: unchecked value from [(23)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def43]
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:51:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘str’ where non-null expected
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:45:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:47:8: branch_false: following ‘false’ branch (when ‘password == 0’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:50:8: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:50:8: branch_true: following ‘true’ branch (when ‘showoldvalue != 0’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:51:9: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:51:9: danger: argument 1 (‘str’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:54:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘last’
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:45:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:54:12: danger: ‘last’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-124): [#def45]
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:147:21: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:54:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:57:15: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:73:12: branch_false: following ‘false’ branch (when ‘c != 13’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: following ‘false’ branch (when ‘c != 27’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:84:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:191:12: branch_false: following ‘false’ branch (when ‘password != 0’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:73:12: branch_false: following ‘false’ branch (when ‘c != 13’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: following ‘false’ branch (when ‘c != 27’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:84:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:146:24: branch_true: following ‘true’ branch (when ‘q <= last’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:147:32: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:147:21: danger: out-of-bounds write at byte -1 but region starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def46]
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:180:33: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:54:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:57:15: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:73:12: branch_false: following ‘false’ branch (when ‘c != 13’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:75:12: branch_false: following ‘false’ branch (when ‘c != 27’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:84:9: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:165:20: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:166:36: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:165:21: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:167:24: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:167:24: branch_false: following ‘false’ branch (when ‘insmode != 0’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:173:28: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:173:28: branch_false: following ‘false’ branch (when ‘p != last’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:178:33: branch_false: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:179:36: branch_true: following ‘true’ branch (when ‘p <= q’)...
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:180:33: branch_true: ...to here
syslinux-6.04-pre1/com32/cmenu/libmenu/tui.c:180:33: danger: out-of-bounds read at byte -1 but region starts at byte 0
Error: COMPILER_WARNING: [#def47]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:39:6: warning[-Wenum-int-mismatch]: conflicting types for ‘chainboot_file’ due to enum/integer mismatch; have ‘void(const char *, uint32_t)’ {aka ‘void(const char *, unsigned int)’}
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:28: included_from: Included from here.
syslinux-6.04-pre1/com32/include/menu.h:232:6: note: previous declaration of ‘chainboot_file’ with type ‘void(const char *, enum kernel_type)’
Error: COMPILER_WARNING (CWE-704): [#def48]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c: scope_hint: In function ‘chainboot_file’
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:64:17: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def49]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:64:17: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def50]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:88:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def51]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:88:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def52]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:143:50: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def53]
syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:143:50: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:471:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘comm_counter’
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:159:12: branch_false: following ‘false’ branch (when ‘redraw != 2’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: following ‘false’ branch (when ‘redraw == 0’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:211:15: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:469:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:470:24: branch_true: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:470:24: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:471:9: danger: ‘comm_counter’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def55]
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:472:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(len + 1))’ where non-null expected
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:159:12: branch_false: following ‘false’ branch (when ‘redraw != 2’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: following ‘false’ branch (when ‘redraw == 0’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:211:15: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:469:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:470:24: branch_true: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:471:33: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:472:9: danger: argument 1 (‘malloc((long unsigned int)(len + 1))’) from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def56]
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:472:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((unsigned int)(len + 1))’ where non-null expected
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:159:12: branch_false: following ‘false’ branch (when ‘redraw != 2’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:170:12: branch_false: following ‘false’ branch (when ‘redraw == 0’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:211:15: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:469:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:470:24: branch_true: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:471:33: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/elflink/ldlinux/cli.c:472:9: danger: argument 1 (‘malloc((unsigned int)(len + 1))’) from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:139:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:133:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:138:17: branch_true: following ‘true’ branch (when ‘i != 18’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:139:9: branch_true: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:139:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:177:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:171:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:176:17: branch_true: following ‘true’ branch (when ‘i != 274’)...
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:177:9: branch_true: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/colors.c:177:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
syslinux-6.04-pre1/com32/elflink/ldlinux/ldlinux.c:237:1: warning[-Wanalyzer-malloc-leak]: leak of ‘args’
syslinux-6.04-pre1/com32/elflink/ldlinux/ldlinux.c:243:6: enter_function: entry to ‘ldlinux_auto_boot’
syslinux-6.04-pre1/com32/elflink/ldlinux/ldlinux.c:251:17: call_function: calling ‘load_kernel’ from ‘ldlinux_auto_boot’
Error: COMPILER_WARNING (CWE-704): [#def60]
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c: scope_hint: In function ‘pm_load_high’
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:57:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def61]
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:57:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def62]
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:58:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def63]
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:58:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:60:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:42:6: enter_function: entry to ‘pm_load_high’
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:59:17: call_function: inlined call to ‘handle_to_file’ from ‘pm_load_high’
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:60:5: branch_false: ...to here
syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:60:5: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:198:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:1491:6: enter_function: entry to ‘parse_configs’
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:1505:17: call_function: calling ‘new_menu’ from ‘parse_configs’
Error: COMPILER_WARNING (CWE-483): [#def66]
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c: scope_hint: In function ‘record’
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:427:13: warning[-Wmisleading-indentation]: this ‘else’ clause does not guard...
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:27: included_from: Included from here.
syslinux-6.04-pre1/com32/include/dprintf.h:31:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:430:17: note: in expansion of macro ‘dprintf’
Error: COMPILER_WARNING (CWE-704): [#def67]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘main’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:231:30: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def68]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:231:30: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def69]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘gfx_init’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:551:30: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def70]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:551:30: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def71]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:586:52: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def72]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:586:52: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def73]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:588:32: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def74]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:588:32: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def75]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:596:27: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def76]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:596:27: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def77]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:597:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def78]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:597:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def79]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:601:27: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def80]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:601:27: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def81]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:609:18: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def82]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:609:18: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def83]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:623:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def84]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:623:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def85]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘gfx_menu_init’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:651:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def86]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:651:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def87]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘gfx_input’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:681:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def88]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:681:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def89]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘gfx_infobox’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:701:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def90]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:701:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def91]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:702:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def92]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:702:13: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def93]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘gfx_progress_init’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:718:15: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def94]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:718:15: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: GCC_ANALYZER_WARNING (CWE-415): [#def95]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:787:13: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buf’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:792:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def97]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:801:5: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buf’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
Error: COMPILER_WARNING (CWE-704): [#def98]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: scope_hint: In function ‘boot’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:824:23: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def99]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:824:23: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:17: warning[-Wanalyzer-malloc-leak]: leak of ‘kernel’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: return_function: returning to ‘boot_entry’ from ‘load_one’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:917:5: branch_false: following ‘false’ branch (when ‘kernel’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:921:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:17: danger: ‘kernel’ leaks here; was allocated at [(14)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:937:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: return_function: returning to ‘boot_entry’ from ‘load_one’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:917:5: branch_false: following ‘false’ branch (when ‘kernel’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:921:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:921:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:935:12: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:937:9: danger: ‘s’ could be NULL: unchecked value from [(21)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: warning[-Wanalyzer-malloc-leak]: leak of ‘initrd_buf’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:875:6: enter_function: entry to ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:885:5: branch_false: following ‘false’ branch (when ‘menu_ptr’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:887:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:894:3: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:897:5: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:908:12: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: call_function: calling ‘load_one’ from ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:915:12: return_function: returning to ‘boot_entry’ from ‘load_one’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:917:5: branch_false: following ‘false’ branch (when ‘kernel’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:921:6: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:921:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:937:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:941:5: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:941:5: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:942:5: branch_true: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:951:5: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:952:14: branch_true: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:954:11: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: branch_true: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: call_function: calling ‘load_one’ from ‘boot_entry’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: return_function: returning to ‘boot_entry’ from ‘load_one’
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:957:9: branch_false: following ‘false’ branch (when ‘initrd_buf’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:963:7: branch_false: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:954:11: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: branch_true: ...to here
syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:955:20: danger: ‘initrd_buf’ leaks here; was allocated at [(39)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/38)
Error: COMPILER_WARNING: [#def103]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c: scope_hint: In function ‘flags_to_string’
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:44:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 5 equals source length
Error: COMPILER_WARNING: [#def104]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:44:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 5 equals source length
Error: COMPILER_WARNING: [#def105]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:46:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 6 equals source length
Error: COMPILER_WARNING: [#def106]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:46:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 6 equals source length
Error: COMPILER_WARNING: [#def107]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:48:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 8 equals source length
Error: COMPILER_WARNING: [#def108]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:48:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 8 equals source length
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:204:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:109:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:159:22: branch_false: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:159:21: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:167:24: branch_false: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:167:23: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:176:25: branch_false: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:181:20: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:185:33: branch_false: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:185:20: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:191:17: branch_false: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:198:22: acquire_memory: allocated here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:197:20: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:200:28: branch_true: ...to here
syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:204:17: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING (CWE-465): [#def110]
syslinux-6.04-pre1/com32/gpllib/cpuid.c: scope_hint: In function ‘generic_identify’
syslinux-6.04-pre1/com32/gpllib/cpuid.c:344:24: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct cpuinfo_x86’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def111]
syslinux-6.04-pre1/com32/gpllib/cpuid.c:344:24: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct cpuinfo_x86’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
syslinux-6.04-pre1/com32/gpllib/cpuid.c:439:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
syslinux-6.04-pre1/com32/gpllib/cpuid.c:452:5: enter_function: entry to ‘find_smp_config’
syslinux-6.04-pre1/com32/gpllib/cpuid.c:464:9: call_function: calling ‘smp_scan_config’ from ‘find_smp_config’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
syslinux-6.04-pre1/com32/gpllib/disk/write.c:129:8: warning[-Wanalyzer-malloc-leak]: leak of ‘rb’
syslinux-6.04-pre1/com32/gpllib/disk/write.c:126:16: acquire_memory: allocated here
syslinux-6.04-pre1/com32/gpllib/disk/write.c:129:8: branch_true: following ‘true’ branch...
branch_true: ...to here
syslinux-6.04-pre1/com32/gpllib/disk/write.c:129:8: danger: ‘rb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def114]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning[-Wformat-truncation=]: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
Error: COMPILER_WARNING (CWE-758): [#def115]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘dmi’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: scope_hint: In function ‘dmi_decode’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING: [#def116]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 511
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: note: ‘snprintf’ output 5 or more bytes (assuming 516) into a destination of size 512
Error: COMPILER_WARNING (CWE-758): [#def117]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘dmi’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: scope_hint: In function ‘dmi_decode’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING: [#def118]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: scope_hint: In function ‘dmi_decode’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:163:57: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 49
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: note: ‘snprintf’ output 5 or more bytes (assuming 54) into a destination of size 50
Error: COMPILER_WARNING: [#def119]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: scope_hint: In function ‘dmi_decode’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:982:9: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:983:5: note: here
Error: COMPILER_WARNING (CWE-704): [#def120]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: scope_hint: In function ‘parse_dmitable’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:1012:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def121]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:1012:17: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-758): [#def122]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: scope_hint: In function ‘dmi_memory_module_types’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:213:17: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘type’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:189:68: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING (CWE-758): [#def123]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: scope_hint: In function ‘dmi_memory_module_connections’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:225:13: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘connection’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING (CWE-758): [#def124]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:255:9: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘size’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING (CWE-758): [#def125]
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: scope_hint: In function ‘dmi_memory_module_size’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:257:9: warning[-Wrestrict]: ‘snprintf’ argument 4 overlaps destination object ‘size’
syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
Error: COMPILER_WARNING: [#def126]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: scope_hint: In function ‘main_show_kernel’
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:64:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def127]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:64:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def128]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:75:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def129]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:75:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING (CWE-805): [#def130]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: scope_hint: In function ‘main_show_kernel’
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:76:51: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination?
Error: COMPILER_WARNING: [#def131]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:78:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def132]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:78:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def133]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:79:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def134]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:79:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def135]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:84:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def136]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:84:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def137]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: scope_hint: In function ‘show_kernel_modules’
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:117:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def138]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:117:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING (CWE-805): [#def139]
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: scope_hint: In function ‘show_kernel_modules’
syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:123:27: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination?
Error: COMPILER_WARNING: [#def140]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: scope_hint: In function ‘show_pci_device’
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:102:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def141]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:102:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def142]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: scope_hint: In function ‘show_pci_devices’
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:182:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def143]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:182:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def144]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:193:29: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 68 and 77
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:192:13: note: ‘snprintf’ output between 8 and 527 bytes into a destination of size 81
Error: COMPILER_WARNING: [#def145]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:198:33: warning[-Wformat-truncation=]: ‘%-25s’ directive output may be truncated writing between 25 and 255 bytes into a region of size 75
syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:197:17: note: ‘snprintf’ output between 42 and 911 bytes into a destination of size 81
Error: COMPILER_WARNING: [#def146]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c: scope_hint: In function ‘main_show_pxe’
syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65
syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
Error: COMPILER_WARNING: [#def147]
syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65
syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
Error: COMPILER_WARNING: [#def148]
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: scope_hint: In function ‘dump_ipmi’
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:45: warning[-Wformat-truncation=]: ‘snprintf’ output truncated before the last format character
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:9: note: ‘snprintf’ output 17 bytes into a destination of size 16
Error: COMPILER_WARNING: [#def149]
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: scope_hint: In function ‘dump_bios’
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:46: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
Error: COMPILER_WARNING: [#def150]
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:38: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
Error: COMPILER_WARNING: [#def151]
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: scope_hint: In function ‘dump_dmi’
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:52: warning[-Wformat-truncation=]: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 6
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:48: note: directive argument in the range [0, 65535]
syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:17: note: ‘snprintf’ output between 4 and 12 bytes into a destination of size 8
Error: COMPILER_WARNING: [#def152]
syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c: scope_hint: In function ‘dump_pci’
syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c:82:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def153]
syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c:82:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def154]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_system’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def155]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def156]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def157]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def158]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:63: warning[-Wformat-truncation=]: ‘snprintf’ output may be truncated before the last format character
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def159]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 39 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:5: note: ‘snprintf’ output between 13 and 52 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def160]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def161]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def162]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_chassis’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def163]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def164]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def165]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:63: warning[-Wformat-truncation=]: ‘snprintf’ output may be truncated before the last format character
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def166]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_bios’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def167]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def168]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def169]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_motherboard’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def170]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def171]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def172]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def173]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:63: warning[-Wformat-truncation=]: ‘snprintf’ output may be truncated before the last format character
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def174]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def175]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def176]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_ipmi’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def177]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: scope_hint: In function ‘compute_battery’
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def178]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def179]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:64: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 61
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def180]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def181]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def182]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def183]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def184]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 73
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:5: note: ‘snprintf’ output between 7 and 261 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def185]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def186]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:69: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 56
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:5: note: ‘snprintf’ output between 24 and 278 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def187]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def188]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:63: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:5: note: ‘snprintf’ output between 18 and 82 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def189]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def190]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def191]
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 69
syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:5: note: ‘snprintf’ output between 11 and 265 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def192]
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c: scope_hint: In function ‘compute_kernel’
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:63:21: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def193]
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:63:21: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def194]
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def195]
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:74:37: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69
syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:73:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def196]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:48: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
Error: COMPILER_WARNING: [#def197]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 78
Error: COMPILER_WARNING: [#def198]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:48: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
Error: COMPILER_WARNING: [#def199]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:60: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 78
Error: COMPILER_WARNING: [#def200]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:48: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
Error: COMPILER_WARNING: [#def201]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:5: note: ‘snprintf’ output between 13 and 268 bytes into a destination of size 78
Error: COMPILER_WARNING: [#def202]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_pci_device’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:107:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def203]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:107:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def204]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 46
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:9: note: ‘snprintf’ output between 11 and 650 bytes into a destination of size 56
Error: COMPILER_WARNING: [#def205]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:66: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 62
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:9: note: ‘snprintf’ output between 17 and 656 bytes into a destination of size 78
Error: COMPILER_WARNING: [#def206]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:162:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def207]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:162:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def208]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: scope_hint: In function ‘compute_PCI’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:36: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 59
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:9: note: ‘snprintf’ output between 2 and 512 bytes into a destination of size 59
Error: COMPILER_WARNING: [#def209]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:36: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 68
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:176:9: note: ‘snprintf’ output between 45 and 939 bytes into a destination of size 78
Error: COMPILER_WARNING: [#def210]
syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c: scope_hint: In function ‘compute_processor’
syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def211]
syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35
syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def212]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c: scope_hint: In function ‘compute_PXE’
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:57: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def213]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def214]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:57: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def215]
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64
syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def216]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:54: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def217]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:54: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def218]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:38: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 47
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:5: note: ‘snprintf’ output between 1 and 255 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def219]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:57: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 68
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:5: note: ‘snprintf’ output between 12 and 266 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def220]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def221]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:67: warning[-Wformat-truncation=]: ‘snprintf’ output may be truncated before the last format character
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:9: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def222]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def223]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:88:40: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 58
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:87:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def224]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def225]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:95:41: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 57
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:94:9: note: ‘snprintf’ output between 23 and 87 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def226]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def227]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:58: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def228]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:69: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 60
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:9: note: ‘snprintf’ output between 20 and 84 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def229]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c: scope_hint: In function ‘compute_summarymenu’
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:173:21: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def230]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:173:21: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def231]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def232]
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:184:37: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69
syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:183:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def233]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def234]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:59: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def235]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def236]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:60: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def237]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def238]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: scope_hint: In function ‘compute_VESA’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:63: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 62
syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:5: note: ‘snprintf’ output between 18 and 273 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def239]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c: scope_hint: In function ‘compute_vpd’
syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:69: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 20
syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:9: note: ‘snprintf’ output between 28 and 282 bytes into a destination of size 47
Error: COMPILER_WARNING: [#def240]
syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:64: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 65
syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:9: note: ‘snprintf’ output between 15 and 269 bytes into a destination of size 79
Error: COMPILER_WARNING: [#def241]
syslinux-6.04-pre1/com32/include/dprintf.h:30:9: note[note]: this is the location of the previous definition
Error: COMPILER_WARNING: [#def242]
syslinux-6.04-pre1/core/include/core.h:10: included_from: Included from here.
syslinux-6.04-pre1/core/fs/pxe/bios.c:3: included_from: Included from here.
syslinux-6.04-pre1/com32/include/dprintf.h:36:25: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
syslinux-6.04-pre1/core/fs/pxe/bios.c:384:5: note: in expansion of macro ‘ddprintf’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def243]
syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h: scope_hint: Assembler messages
syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
Error: COMPILER_WARNING: [#def244]
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c: scope_hint: In function ‘png_set_crc_action’
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:51:10: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:53:7: note: here
Error: GCC_ANALYZER_WARNING: [#def245]
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3437:25: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:2815:7: branch_true: following ‘true’ branch (when ‘background’ is non-NULL)...
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:2819:10: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:2820:7: branch_true: following ‘true’ branch (when ‘trans_values’ is non-NULL)...
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:2822:7: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3295:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3371:20: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3431:31: branch_true: following ‘true’ branch (when ‘i < row_width’)...
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3433:66: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3435:25: branch_true: following ‘true’ branch (when ‘a == 65535’)...
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3437:25: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:3437:25: danger: overlapping buffers passed as arguments to ‘memcpy’
Error: COMPILER_WARNING: [#def246]
syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c: scope_hint: In function ‘png_inflate’
syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:302:10: warning[-Wdangling-pointer=]: dangling pointer ‘msg’ to ‘umsg’ may be used
syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:280:18: note: ‘umsg’ declared here
Error: COMPILER_WARNING: [#def247]
syslinux-6.04-pre1/com32/lib/lrand48.c:10:29: warning[-Warray-parameter=]: argument 1 of type ‘short unsigned int[3]’ with mismatched bound
syslinux-6.04-pre1/com32/lib/lrand48.c:5: included_from: Included from here.
syslinux-6.04-pre1/com32/include/stdlib.h:61:23: note: previously declared as ‘short unsigned int *’
Error: COMPILER_WARNING: [#def248]
syslinux-6.04-pre1/com32/lib/lrand48.c:32:29: warning[-Warray-parameter=]: argument 1 of type ‘short unsigned int[3]’ with mismatched bound
syslinux-6.04-pre1/com32/include/stdlib.h:63:23: note: previously declared as ‘short unsigned int *’
Error: COMPILER_WARNING: [#def249]
syslinux-6.04-pre1/com32/lib/math/strtod.c: scope_hint: In function ‘strtod’
syslinux-6.04-pre1/com32/lib/math/strtod.c:67:18: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/math/strtod.c:68:5: note: here
Error: COMPILER_WARNING: [#def250]
syslinux-6.04-pre1/com32/lib/math/strtod.c:112:22: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/math/strtod.c:113:9: note: here
Error: COMPILER_WARNING (CWE-1164): [#def251]
syslinux-6.04-pre1/com32/lib/onexit.c:11:19: warning[-Wunused-function]: ‘on_exit_exit’ defined but not used
Error: COMPILER_WARNING: [#def252]
syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:53:5: warning[-Wenum-int-mismatch]: conflicting types for ‘pci_set_config_type’ due to enum/integer mismatch; have ‘int(enum pci_config_type)’
syslinux-6.04-pre1/com32/lib/pci/pci.h:9: included_from: Included from here.
syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:1: included_from: Included from here.
syslinux-6.04-pre1/com32/include/sys/pci.h:135:22: note: previous declaration of ‘pci_set_config_type’ with type ‘enum pci_config_type(enum pci_config_type)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def253]
syslinux-6.04-pre1/com32/lib/pci/scan.c:154:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘module_name[0]’
syslinux-6.04-pre1/com32/lib/pci/scan.c:81:3: branch_true: following ‘true’ branch (when ‘__pci_bus != 256’)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:81:3: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:96:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:99:3: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:105:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:107:10: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:115:12: branch_false: following ‘false’ branch (when ‘result’ is NULL)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:135:23: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:141:5: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:143:29: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:144:33: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:146:32: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:151:29: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:154:27: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:154:20: danger: use of uninitialized value ‘module_name[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def254]
syslinux-6.04-pre1/com32/lib/pci/scan.c:161:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘module_name[0]’
syslinux-6.04-pre1/com32/lib/pci/scan.c:81:3: branch_true: following ‘true’ branch (when ‘__pci_bus != 256’)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:81:3: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:96:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:99:3: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:105:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:107:10: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:115:12: branch_false: following ‘false’ branch (when ‘result’ is NULL)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:135:23: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:141:5: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:143:29: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:144:33: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:146:32: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:142:11: branch_true: following ‘true’ branch...
branch_true: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:151:29: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/lib/pci/scan.c:160:18: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:160:18: branch_false: following ‘false’ branch (when ‘found == 0’)...
syslinux-6.04-pre1/com32/lib/pci/scan.c:161:24: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/pci/scan.c:161:17: danger: use of uninitialized value ‘module_name[0]’ here
Error: COMPILER_WARNING (CWE-483): [#def255]
syslinux-6.04-pre1/com32/lib/pci/scan.c: scope_hint: In function ‘get_module_name_from_alias’
syslinux-6.04-pre1/com32/lib/pci/scan.c:684:16: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
syslinux-6.04-pre1/com32/lib/pci/scan.c:688:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING: [#def256]
syslinux-6.04-pre1/com32/lib/seed48.c:11:45: warning[-Warray-parameter=]: argument 1 of type ‘const short unsigned int[3]’ with mismatched bound
syslinux-6.04-pre1/com32/lib/seed48.c:5: included_from: Included from here.
syslinux-6.04-pre1/com32/include/stdlib.h:65:33: note: previously declared as ‘const short unsigned int *’
Error: COMPILER_WARNING: [#def257]
syslinux-6.04-pre1/com32/lib/sprintf.c: scope_hint: In function ‘sprintf’
syslinux-6.04-pre1/com32/lib/sprintf.c:14:10: warning[-Wformat-truncation=]: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807
Error: COMPILER_WARNING: [#def258]
syslinux-6.04-pre1/com32/lib/sprintf.c: scope_hint: In function ‘sprintf’
syslinux-6.04-pre1/com32/lib/sprintf.c:14:10: warning[-Wformat-truncation=]: specified bound 4294967295 exceeds maximum object size 2147483647
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
syslinux-6.04-pre1/com32/lib/sys/ansi.c:154:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING: [#def260]
syslinux-6.04-pre1/com32/lib/sys/libansi.c: scope_hint: In function ‘cprint_vga2ansi’
syslinux-6.04-pre1/com32/lib/sys/libansi.c:131:42: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (9 chars into 8 available)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:192:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:267:5: enter_function: entry to ‘resolve_symbols’
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:282:16: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:283:17: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:282:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:321:12: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:321:12: branch_true: following ‘true’ branch (when ‘rel_size != 0’)...
branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:323:29: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:324:54: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:324:25: release_memory: ‘crt_rel’ is NULL
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:326:31: call_function: calling ‘perform_relocation’ from ‘resolve_symbols’
Error: COMPILER_WARNING: [#def262]
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c: scope_hint: In function ‘resolve_symbols’
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:290:28: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:294:17: note: here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:192:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:267:5: enter_function: entry to ‘resolve_symbols’
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:285:16: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:286:17: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:285:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:338:12: branch_false: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:338:12: branch_true: following ‘true’ branch (when ‘rel_size != 0’)...
branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:340:29: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:341:54: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:341:25: release_memory: ‘crt_rel’ is NULL
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:343:31: call_function: calling ‘perform_relocation’ from ‘resolve_symbols’
Error: COMPILER_WARNING (CWE-704): [#def264]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c: scope_hint: In function ‘perform_relocation’
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:244:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def265]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:244:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def266]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:293:28: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:298:17: note: here
Error: COMPILER_WARNING (CWE-468): [#def267]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c: scope_hint: In function ‘resolve_symbols’
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:341:52: warning[-Wpointer-arith]: pointer of type ‘void *’ used in arithmetic
Error: COMPILER_WARNING (CWE-468): [#def268]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:354:52: warning[-Wpointer-arith]: pointer of type ‘void *’ used in arithmetic
Error: COMPILER_WARNING (CWE-468): [#def269]
syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:370:56: warning[-Wpointer-arith]: pointer of type ‘void *’ used in arithmetic
Error: COMPILER_WARNING: [#def270]
syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c: scope_hint: In function ‘__stdcon_open’
syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:41:20: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:46:18: note: in expansion of macro ‘BIOS_ROWS’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def271]
syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:42:20: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:47:18: note: in expansion of macro ‘BIOS_COLS’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-758): [#def272]
syslinux-6.04-pre1/com32/lib/sys/vesa/background.c: scope_hint: In function ‘read_png_file’
syslinux-6.04-pre1/com32/lib/sys/vesa/background.c:121:9: warning[-Wclobbered]: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-465): [#def273]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c: scope_hint: In function ‘set_mode’
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:673:57: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def274]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:673:57: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def275]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def276]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def277]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:60: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def278]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:60: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def279]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def280]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def281]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:56: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def282]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:56: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def283]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def284]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def285]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:58: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def286]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:58: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def287]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:707:57: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def288]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:707:57: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def289]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def290]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def291]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:60: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def292]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:60: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def293]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def294]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def295]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:56: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def296]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:56: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def297]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def298]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:37: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def299]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:58: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def300]
syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:58: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-704): [#def301]
syslinux-6.04-pre1/com32/lib/sys/vesa/screencpy.c: scope_hint: In function ‘__vesacon_init_copy_to_screen’
syslinux-6.04-pre1/com32/lib/sys/vesa/screencpy.c:62:23: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def302]
syslinux-6.04-pre1/com32/lib/sys/vesa/screencpy.c:62:23: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def303]
syslinux-6.04-pre1/com32/lib/syslinux/initramfs.c: scope_hint: In function ‘initramfs_init’
syslinux-6.04-pre1/com32/lib/syslinux/initramfs.c:41:23: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
syslinux-6.04-pre1/com32/lib/syslinux/initramfs.c:41:23: note: earlier argument should specify number of elements, later size of each element
Error: GCC_ANALYZER_WARNING (CWE-688): [#def304]
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:85:23: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:150:5: enter_function: entry to ‘initramfs_add_file’
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:154:9: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:155:50: branch_true: ...to here
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:154:9: call_function: calling ‘initramfs_mknod’ from ‘initramfs_add_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:137:8: warning[-Wanalyzer-malloc-leak]: leak of ‘bp’
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:161:5: enter_function: entry to ‘initramfs_add_trailer’
syslinux-6.04-pre1/com32/lib/syslinux/initramfs_file.c:163:12: call_function: calling ‘initramfs_mknod’ from ‘initramfs_add_trailer’
Error: COMPILER_WARNING (CWE-704): [#def306]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: scope_hint: In function ‘map_initramfs’
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:113:55: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def307]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:113:55: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def308]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: scope_hint: In function ‘bios_boot_linux’
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:336:58: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def309]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:336:58: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def310]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:354:31: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def311]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:354:31: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def312]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:372:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def313]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:372:35: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-465): [#def314]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: scope_hint: In function ‘bios_boot_linux’
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:422:30: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct linux_header’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def315]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:422:30: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct linux_header’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def316]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:451:24: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct setup_data_header’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def317]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:451:24: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct setup_data_header’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-704): [#def318]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:458:39: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def319]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:458:39: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def320]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:463:39: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def321]
syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:463:39: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-758): [#def322]
syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:383:54: warning[-Wclobbered]: argument ‘moves’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-758): [#def323]
syslinux-6.04-pre1/com32/lib/syslinux/movebits.c: scope_hint: In function ‘syslinux_compute_movelist’
syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:399:9: warning[-Wclobbered]: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING: [#def324]
syslinux-6.04-pre1/com32/lib/syslinux/reboot.c: scope_hint: In function ‘syslinux_reboot’
syslinux-6.04-pre1/com32/lib/syslinux/reboot.c:42:5: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def325]
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_pm.c: scope_hint: In function ‘syslinux_shuffle_boot_pm’
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_pm.c:72:51: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def326]
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_pm.c:72:51: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def327]
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_rm.c: scope_hint: In function ‘syslinux_shuffle_boot_rm’
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_rm.c:166:51: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def328]
syslinux-6.04-pre1/com32/lib/syslinux/shuffle_rm.c:166:51: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def329]
syslinux-6.04-pre1/com32/lib/vsprintf.c: scope_hint: In function ‘vsprintf’
syslinux-6.04-pre1/com32/lib/vsprintf.c:10:12: warning[-Wformat-truncation=]: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807
Error: COMPILER_WARNING: [#def330]
syslinux-6.04-pre1/com32/lib/vsprintf.c: scope_hint: In function ‘vsprintf’
syslinux-6.04-pre1/com32/lib/vsprintf.c:10:12: warning[-Wformat-truncation=]: specified bound 4294967295 exceeds maximum object size 2147483647
Error: COMPILER_WARNING: [#def331]
syslinux-6.04-pre1/com32/lib/zlib/infback.c: scope_hint: In function ‘inflateBack’
syslinux-6.04-pre1/com32/lib/zlib/infback.c:471:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/infback.c:473:9: note: here
Error: COMPILER_WARNING: [#def332]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c: scope_hint: In function ‘inflate’
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:704:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:705:9: note: here
Error: COMPILER_WARNING: [#def333]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:716:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:717:9: note: here
Error: COMPILER_WARNING: [#def334]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:738:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:739:9: note: here
Error: COMPILER_WARNING: [#def335]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:759:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:760:9: note: here
Error: COMPILER_WARNING: [#def336]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:779:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:780:9: note: here
Error: COMPILER_WARNING: [#def337]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:802:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:803:9: note: here
Error: COMPILER_WARNING: [#def338]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:809:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:810:9: note: here
Error: COMPILER_WARNING: [#def339]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:811:16: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:812:9: note: here
Error: COMPILER_WARNING: [#def340]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:861:16: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:862:9: note: here
Error: COMPILER_WARNING: [#def341]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:863:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:864:9: note: here
Error: COMPILER_WARNING: [#def342]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1003:16: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1004:9: note: here
Error: COMPILER_WARNING: [#def343]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1005:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1006:9: note: here
Error: COMPILER_WARNING: [#def344]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1054:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1055:9: note: here
Error: COMPILER_WARNING: [#def345]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1064:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1065:9: note: here
Error: COMPILER_WARNING: [#def346]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1091:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1092:9: note: here
Error: COMPILER_WARNING: [#def347]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1107:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1108:9: note: here
Error: COMPILER_WARNING: [#def348]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1182:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1183:9: note: here
Error: COMPILER_WARNING: [#def349]
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1195:25: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1196:9: note: here
Error: COMPILER_WARNING: [#def350]
syslinux-6.04-pre1/com32/libupload/serial.c: scope_hint: In function ‘serial_init’
syslinux-6.04-pre1/com32/libupload/serial.c:45:48: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def351]
syslinux-6.04-pre1/com32/libupload/tftp.h:23:28: warning: ‘struct url_info’ declared inside parameter list will not be visible outside of this definition or declaration
Error: COMPILER_WARNING: [#def352]
syslinux-6.04-pre1/com32/libupload/tftp.h:23:28: warning[warning]: ‘struct url_info’ declared inside parameter list will not be visible outside of this definition or declaration
Error: COMPILER_WARNING: [#def353]
syslinux-6.04-pre1/com32/libupload/upload_backend.h:9: included_from: Included from here.
syslinux-6.04-pre1/com32/libupload/cpio.c:12: included_from: Included from here.
syslinux-6.04-pre1/com32/libupload/tftp.h:23:61: warning: ‘struct inode’ declared inside parameter list will not be visible outside of this definition or declaration
Error: COMPILER_WARNING: [#def354]
syslinux-6.04-pre1/com32/libupload/tftp.h:23:61: warning[warning]: ‘struct inode’ declared inside parameter list will not be visible outside of this definition or declaration
Error: COMPILER_WARNING: [#def355]
syslinux-6.04-pre1/com32/libutil/crypt-md5.c: scope_hint: In function ‘_crypt_to64’
syslinux-6.04-pre1/com32/libutil/crypt-md5.c:37:36: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available)
Error: COMPILER_WARNING: [#def356]
syslinux-6.04-pre1/com32/libutil/md5.c: scope_hint: In function ‘MD5Transform’
syslinux-6.04-pre1/com32/libutil/md5.c:170:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def357]
syslinux-6.04-pre1/com32/libutil/md5.c:170:13: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-471): [#def358]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:201:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def359]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:202:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def360]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:203:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def361]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:204:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def362]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:205:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def363]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:206:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def364]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:207:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def365]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:208:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def366]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:209:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def367]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:210:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def368]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:211:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def369]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:212:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def370]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:213:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def371]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:214:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def372]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:215:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: GCC_ANALYZER_WARNING (CWE-471): [#def373]
syslinux-6.04-pre1/com32/libutil/sha1hash.c:216:5: warning[-Wanalyzer-write-to-string-literal]: write to string literal
syslinux-6.04-pre1/com32/libutil/sha1hash.c:271:6: enter_function: entry to ‘SHA1Final’
syslinux-6.04-pre1/com32/libutil/sha1hash.c:276:17: branch_true: following ‘true’ branch (when ‘i <= 7’)...
syslinux-6.04-pre1/com32/libutil/sha1hash.c:277:57: branch_true: ...to here
syslinux-6.04-pre1/com32/libutil/sha1hash.c:280:5: call_function: calling ‘SHA1Update’ from ‘SHA1Final’
Error: CPPCHECK_WARNING (CWE-457): [#def374]
syslinux-6.04-pre1/com32/libutil/sha256crypt.c:207: warning[uninitvar]: Uninitialized variable: resbuf
Error: COMPILER_WARNING: [#def375]
syslinux-6.04-pre1/com32/libutil/sha256crypt.c:289:5: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available)
Error: CPPCHECK_WARNING (CWE-457): [#def376]
syslinux-6.04-pre1/com32/libutil/sha512crypt.c:238: warning[uninitvar]: Uninitialized variable: resbuf
Error: COMPILER_WARNING: [#def377]
syslinux-6.04-pre1/com32/libutil/sha512crypt.c:324:5: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available)
Error: COMPILER_WARNING (CWE-563): [#def378]
syslinux-6.04-pre1/com32/lua/src/cmenu.c: scope_hint: In function ‘l_add_sep’
syslinux-6.04-pre1/com32/lua/src/cmenu.c:42:34: warning[-Wunused-parameter]: unused parameter ‘L’
Error: COMPILER_WARNING: [#def379]
syslinux-6.04-pre1/com32/lua/src/lgc.c: scope_hint: In function ‘freeobj’
syslinux-6.04-pre1/com32/lua/src/lgc.c:679:22: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/lgc.c:681:5: note: here
Error: COMPILER_WARNING: [#def380]
syslinux-6.04-pre1/com32/lua/src/llex.c: scope_hint: In function ‘llex’
syslinux-6.04-pre1/com32/lua/src/llex.c:481:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/llex.c:484:7: note: here
Error: COMPILER_WARNING: [#def381]
syslinux-6.04-pre1/com32/lua/src/lstrlib.c: scope_hint: In function ‘match’
syslinux-6.04-pre1/com32/lua/src/lstrlib.c:492:16: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/lstrlib.c:494:13: note: here
Error: COMPILER_WARNING: [#def382]
syslinux-6.04-pre1/com32/lua/src/ltable.c: scope_hint: In function ‘luaH_get’
syslinux-6.04-pre1/com32/lua/src/ltable.c:486:23: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/ltable.c:494:5: note: here
Error: COMPILER_WARNING: [#def383]
syslinux-6.04-pre1/com32/lua/src/lua.c: scope_hint: In function ‘collectargs’
syslinux-6.04-pre1/com32/lua/src/lua.c:380:21: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/lua.c:381:7: note: here
Error: COMPILER_WARNING: [#def384]
syslinux-6.04-pre1/com32/lua/src/lua.c:386:21: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/lua/src/lua.c:387:7: note: here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def385]
syslinux-6.04-pre1/com32/lua/src/syslinux.c:156:5: warning[-Wanalyzer-null-argument]: use of NULL ‘newcmdline’ where non-null expected
syslinux-6.04-pre1/com32/lua/src/syslinux.c:152:18: acquire_memory: allocated here
syslinux-6.04-pre1/com32/lua/src/syslinux.c:153:8: release_memory: assuming ‘newcmdline’ is NULL
syslinux-6.04-pre1/com32/lua/src/syslinux.c:153:8: branch_true: following ‘true’ branch (when ‘newcmdline’ is NULL)...
syslinux-6.04-pre1/com32/lua/src/syslinux.c:154:9: branch_true: ...to here
syslinux-6.04-pre1/com32/lua/src/syslinux.c:156:5: danger: argument 1 (‘newcmdline’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
syslinux-6.04-pre1/com32/lua/src/syslinux.c:318:16: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
syslinux-6.04-pre1/com32/lua/src/syslinux.c:310:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/lua/src/syslinux.c:311:16: branch_true: ...to here
syslinux-6.04-pre1/com32/lua/src/syslinux.c:311:16: acquire_memory: allocated here
syslinux-6.04-pre1/com32/lua/src/syslinux.c:312:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
syslinux-6.04-pre1/com32/lua/src/syslinux.c:313:9: branch_false: ...to here
syslinux-6.04-pre1/com32/lua/src/syslinux.c:318:16: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-704): [#def387]
syslinux-6.04-pre1/com32/mboot/map.c: scope_hint: In function ‘map_data’
syslinux-6.04-pre1/com32/mboot/map.c:58:43: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def388]
syslinux-6.04-pre1/com32/mboot/map.c:58:43: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def389]
syslinux-6.04-pre1/com32/mboot/map.c: scope_hint: In function ‘map_image’
syslinux-6.04-pre1/com32/mboot/map.c:222:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def390]
syslinux-6.04-pre1/com32/mboot/map.c:222:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def391]
syslinux-6.04-pre1/com32/mboot/map.c:328:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def392]
syslinux-6.04-pre1/com32/mboot/map.c:328:37: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def393]
syslinux-6.04-pre1/com32/mboot/map.c:427:60: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def394]
syslinux-6.04-pre1/com32/mboot/map.c:427:60: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: GCC_ANALYZER_WARNING (CWE-688): [#def395]
syslinux-6.04-pre1/com32/mboot/mboot.c:138:21: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
syslinux-6.04-pre1/com32/mboot/mboot.c:151:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/mboot/mboot.c:163:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:167:14: branch_true: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:183:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: branch_false: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: call_function: calling ‘get_modules’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def396]
syslinux-6.04-pre1/com32/mboot/mboot.c:141:13: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
syslinux-6.04-pre1/com32/mboot/mboot.c:151:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/mboot/mboot.c:163:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:167:14: branch_true: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:183:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: branch_false: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: call_function: calling ‘get_modules’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
syslinux-6.04-pre1/com32/mboot/mboot.c:141:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
syslinux-6.04-pre1/com32/mboot/mboot.c:151:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/mboot/mboot.c:163:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:167:14: branch_true: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:183:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: branch_false: ...to here
syslinux-6.04-pre1/com32/mboot/mboot.c:194:16: call_function: calling ‘get_modules’ from ‘main’
Error: COMPILER_WARNING: [#def398]
syslinux-6.04-pre1/com32/mboot/mem.c:62:18: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
syslinux-6.04-pre1/com32/mboot/mem.c:188:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ard’
syslinux-6.04-pre1/com32/mboot/mem.c:169:6: enter_function: entry to ‘mboot_make_memmap’
syslinux-6.04-pre1/com32/mboot/mem.c:179:12: call_function: calling ‘mboot_scan_memory’ from ‘mboot_make_memmap’
syslinux-6.04-pre1/com32/mboot/mem.c:179:12: return_function: returning to ‘mboot_make_memmap’ from ‘mboot_scan_memory’
syslinux-6.04-pre1/com32/mboot/mem.c:185:17: branch_true: following ‘true’ branch (when ‘i < nmap’)...
syslinux-6.04-pre1/com32/mboot/mem.c:188:20: branch_true: ...to here
syslinux-6.04-pre1/com32/mboot/mem.c:188:20: release_memory: ‘ard’ is NULL
syslinux-6.04-pre1/com32/mboot/mem.c:188:20: release_memory: ‘ard’ is NULL
syslinux-6.04-pre1/com32/mboot/mem.c:188:9: danger: dereference of NULL ‘ard + (unsigned int)i * 24’
Error: COMPILER_WARNING (CWE-457): [#def400]
syslinux-6.04-pre1/com32/mboot/mem.c:218:24: warning[-Wmaybe-uninitialized]: ‘ard’ may be used uninitialized
syslinux-6.04-pre1/com32/mboot/mem.c:172:27: note: ‘ard’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
syslinux-6.04-pre1/com32/menu/colors.c:139:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
syslinux-6.04-pre1/com32/menu/colors.c:133:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/menu/colors.c:138:17: branch_true: following ‘true’ branch (when ‘i != 18’)...
syslinux-6.04-pre1/com32/menu/colors.c:139:9: branch_true: ...to here
syslinux-6.04-pre1/com32/menu/colors.c:139:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
syslinux-6.04-pre1/com32/menu/colors.c:177:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cp’
syslinux-6.04-pre1/com32/menu/colors.c:171:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/com32/menu/colors.c:176:17: branch_true: following ‘true’ branch (when ‘i != 274’)...
syslinux-6.04-pre1/com32/menu/colors.c:177:9: branch_true: ...to here
syslinux-6.04-pre1/com32/menu/colors.c:177:9: danger: ‘cp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def403]
syslinux-6.04-pre1/com32/menu/drain.c: scope_hint: In function ‘drain_keyboard’
syslinux-6.04-pre1/com32/menu/drain.c:20:5: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def404]
syslinux-6.04-pre1/com32/menu/drain.c:21:5: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def405]
syslinux-6.04-pre1/com32/menu/drain.c:22:5: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def406]
syslinux-6.04-pre1/com32/menu/drain.c:23:5: warning[-Warray-bounds=]: ‘memset’ offset [0, 31] is out of the bounds [0, 0]
Error: COMPILER_WARNING: [#def407]
syslinux-6.04-pre1/com32/menu/drain.c:23:5: warning[-Wstringop-overflow=]: ‘memset’ writing 32 bytes into a region of size 0 overflows the destination
Error: GCC_ANALYZER_WARNING (CWE-688): [#def408]
syslinux-6.04-pre1/com32/menu/menumain.c:157:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
syslinux-6.04-pre1/com32/menu/menumain.c:1102:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/menu/menumain.c:1139:8: branch_false: following ‘false’ branch...
branch_false: ...to here
syslinux-6.04-pre1/com32/menu/menumain.c:1146:19: call_function: calling ‘run_menu’ from ‘main’
Error: COMPILER_WARNING (CWE-758): [#def409]
syslinux-6.04-pre1/com32/menu/menumain.c: scope_hint: In function ‘run_menu’
syslinux-6.04-pre1/com32/menu/menumain.c:746:9: warning[-Wclobbered]: variable ‘done’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-758): [#def410]
syslinux-6.04-pre1/com32/menu/menumain.c:748:9: warning[-Wclobbered]: variable ‘prev_entry’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-758): [#def411]
syslinux-6.04-pre1/com32/menu/menumain.c:750:9: warning[-Wclobbered]: variable ‘prev_top’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-758): [#def412]
syslinux-6.04-pre1/com32/menu/menumain.c:751:9: warning[-Wclobbered]: variable ‘clear’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: COMPILER_WARNING (CWE-758): [#def413]
syslinux-6.04-pre1/com32/menu/menumain.c:755:10: warning[-Wclobbered]: variable ‘hotkey’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def414]
syslinux-6.04-pre1/com32/menu/readconfig.c:167:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’
syslinux-6.04-pre1/com32/menu/readconfig.c:1104:6: enter_function: entry to ‘parse_configs’
syslinux-6.04-pre1/com32/menu/readconfig.c:1114:17: call_function: calling ‘new_menu’ from ‘parse_configs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
syslinux-6.04-pre1/com32/modules/dir.c:100:15: warning[-Wanalyzer-malloc-leak]: leak of ‘nde’
syslinux-6.04-pre1/com32/modules/dir.c:154:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/modules/dir.c:164:8: branch_true: following ‘true’ branch (when ‘argc <= 1’)...
syslinux-6.04-pre1/com32/modules/dir.c:165:14: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/dir.c:165:14: call_function: calling ‘display_directory’ from ‘main’
Error: COMPILER_WARNING: [#def416]
syslinux-6.04-pre1/com32/modules/hexdump.c: scope_hint: In function ‘do_page’
syslinux-6.04-pre1/com32/modules/hexdump.c:196:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/modules/hexdump.c:199:13: note: here
Error: COMPILER_WARNING: [#def417]
syslinux-6.04-pre1/com32/modules/hexdump.c:201:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/com32/modules/hexdump.c:202:13: note: here
Error: GCC_ANALYZER_WARNING (CWE-121): [#def418]
syslinux-6.04-pre1/com32/modules/ifcpu.c:82:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
syslinux-6.04-pre1/com32/modules/ifcpu.c:92:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/modules/ifcpu.c:107:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:114:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:151:12: branch_false: following ‘false’ branch (when ‘n != 2’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:27: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:114:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:151:12: branch_true: following ‘true’ branch (when ‘n == 2’)...
branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:154:12: branch_false: following ‘false’ branch (when ‘n == 2’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:158:8: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:158:8: branch_false: following ‘false’ branch (when ‘debug == 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:168:8: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:168:8: branch_false: following ‘false’ branch (when ‘dryrun == 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_true: following ‘true’ branch (when ‘hardware_matches != 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: call_function: calling ‘boot_args’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def419]
syslinux-6.04-pre1/com32/modules/ifcpu.c:84:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
syslinux-6.04-pre1/com32/modules/ifcpu.c:92:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/modules/ifcpu.c:107:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:114:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:151:12: branch_false: following ‘false’ branch (when ‘n != 2’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:27: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:112:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:113:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:114:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:151:12: branch_true: following ‘true’ branch (when ‘n == 2’)...
branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:154:12: branch_false: following ‘false’ branch (when ‘n == 2’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:158:8: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:158:8: branch_false: following ‘false’ branch (when ‘debug == 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:168:8: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:168:8: branch_false: following ‘false’ branch (when ‘dryrun == 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_true: following ‘true’ branch (when ‘hardware_matches != 0’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:169:9: call_function: calling ‘boot_args’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def420]
syslinux-6.04-pre1/com32/modules/ifcpu.c:155:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
syslinux-6.04-pre1/com32/modules/ifcpu.c:107:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:154:12: branch_true: following ‘true’ branch (when ‘n != 2’)...
syslinux-6.04-pre1/com32/modules/ifcpu.c:155:24: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ifcpu.c:155:19: danger: out-of-bounds read from byte -4 till byte -1 but ‘args’ starts at byte 0
Error: COMPILER_WARNING: [#def421]
syslinux-6.04-pre1/com32/modules/ifmemdsk.c:219:24: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘const u_segoff[0]’ {aka ‘const real_addr_t[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def422]
syslinux-6.04-pre1/com32/modules/ifmemdsk.c: scope_hint: In function ‘walk_safe_hooks’
syslinux-6.04-pre1/com32/modules/ifmemdsk.c:219:48: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘const u_segoff[0]’ {aka ‘const real_addr_t[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def423]
syslinux-6.04-pre1/com32/modules/ifmemdsk.c: scope_hint: In function ‘scan_mbfts’
syslinux-6.04-pre1/com32/modules/ifmemdsk.c:271:24: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
syslinux-6.04-pre1/com32/modules/ls.c:100:15: warning[-Wanalyzer-malloc-leak]: leak of ‘nde’
syslinux-6.04-pre1/com32/modules/ls.c:154:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/com32/modules/ls.c:164:8: branch_true: following ‘true’ branch (when ‘argc <= 1’)...
syslinux-6.04-pre1/com32/modules/ls.c:165:14: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/ls.c:165:14: call_function: calling ‘display_directory’ from ‘main’
Error: COMPILER_WARNING: [#def425]
syslinux-6.04-pre1/com32/modules/meminfo.c:99:14: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def426]
syslinux-6.04-pre1/com32/modules/meminfo.c:110:19: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘struct <anonymous>[0]’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def427]
syslinux-6.04-pre1/com32/modules/meminfo.c:110:34: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘struct <anonymous>[0]’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def428]
syslinux-6.04-pre1/com32/modules/pcitest.c: scope_hint: In function ‘display_pci_devices’
syslinux-6.04-pre1/com32/modules/pcitest.c:75:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def429]
syslinux-6.04-pre1/com32/modules/pcitest.c:75:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 3 equals source length
Error: COMPILER_WARNING: [#def430]
syslinux-6.04-pre1/com32/modules/pxechn.c:147:21: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-483): [#def431]
syslinux-6.04-pre1/com32/modules/pxechn.c: scope_hint: In function ‘pxechn_uuid_set’
syslinux-6.04-pre1/com32/modules/pxechn.c:738:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
syslinux-6.04-pre1/com32/modules/pxechn.c:740:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def432]
syslinux-6.04-pre1/com32/modules/pxechn.c:834:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pxe.p[2].data’
syslinux-6.04-pre1/com32/modules/pxechn.c:1100:5: enter_function: entry to ‘pxechn_gpxe’
syslinux-6.04-pre1/com32/modules/pxechn.c:1105:8: branch_true: following ‘true’ branch (when ‘argc != 0’)...
syslinux-6.04-pre1/com32/modules/pxechn.c:1106:9: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:1107:9: call_function: calling ‘pxechn_args’ from ‘pxechn_gpxe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
syslinux-6.04-pre1/com32/modules/pxechn.c:875:8: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
syslinux-6.04-pre1/com32/modules/pxechn.c:825:5: enter_function: entry to ‘pxechn_args’
syslinux-6.04-pre1/com32/modules/pxechn.c:838:8: branch_false: following ‘false’ branch (when ‘ret == 0’)...
syslinux-6.04-pre1/com32/modules/pxechn.c:842:5: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:845:11: call_function: calling ‘pxechn_parse_args’ from ‘pxechn_args’
syslinux-6.04-pre1/com32/modules/pxechn.c:845:11: return_function: returning to ‘pxechn_args’ from ‘pxechn_parse_args’
syslinux-6.04-pre1/com32/modules/pxechn.c:846:8: branch_false: following ‘false’ branch (when ‘ret == 0’)...
syslinux-6.04-pre1/com32/modules/pxechn.c:848:9: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:848:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/modules/pxechn.c:850:15: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:850:15: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/modules/pxechn.c:851:21: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:850:16: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/modules/pxechn.c:853:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:853:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/com32/modules/pxechn.c:854:26: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:854:19: acquire_memory: allocated here
syslinux-6.04-pre1/com32/modules/pxechn.c:855:16: branch_true: following ‘true’ branch (when ‘str’ is non-NULL)...
syslinux-6.04-pre1/com32/modules/pxechn.c:856:17: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:862:12: branch_true: following ‘true’ branch (when ‘str’ is non-NULL)...
syslinux-6.04-pre1/com32/modules/pxechn.c:863:27: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:864:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/com32/modules/pxechn.c:872:19: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/pxechn.c:875:8: danger: ‘str’ leaks here; was allocated at [(33)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def434]
syslinux-6.04-pre1/com32/modules/whichsys.c:95:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
syslinux-6.04-pre1/com32/modules/whichsys.c:82:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:89:12: branch_true: following ‘true’ branch (when ‘arg < argc’)...
syslinux-6.04-pre1/com32/modules/whichsys.c:90:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:90:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/whichsys.c:91:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:95:14: release_memory: ‘0’ is NULL
syslinux-6.04-pre1/com32/modules/whichsys.c:95:14: danger: argument 1 (‘*<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def435]
syslinux-6.04-pre1/com32/modules/whichsys.c:100:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
syslinux-6.04-pre1/com32/modules/whichsys.c:82:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
branch_false: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:89:12: branch_true: following ‘true’ branch (when ‘arg < argc’)...
syslinux-6.04-pre1/com32/modules/whichsys.c:90:25: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:90:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
syslinux-6.04-pre1/com32/modules/whichsys.c:95:14: branch_false: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:95:12: branch_true: following ‘true’ branch (when the strings are equal)...
syslinux-6.04-pre1/com32/modules/whichsys.c:96:13: branch_true: ...to here
syslinux-6.04-pre1/com32/modules/whichsys.c:100:14: release_memory: ‘0’ is NULL
syslinux-6.04-pre1/com32/modules/whichsys.c:100:14: danger: argument 1 (‘*<unknown>’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-704): [#def436]
syslinux-6.04-pre1/com32/samples/hello.c: scope_hint: In function ‘main’
syslinux-6.04-pre1/com32/samples/hello.c:21:61: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def437]
syslinux-6.04-pre1/com32/samples/hello.c:21:61: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def438]
syslinux-6.04-pre1/com32/sysdump/acpi.c: scope_hint: In function ‘scan_for_rsdp’
syslinux-6.04-pre1/com32/sysdump/acpi.c:117:40: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def439]
syslinux-6.04-pre1/com32/sysdump/acpi.c:117:40: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def440]
syslinux-6.04-pre1/com32/sysdump/acpi.c:142:13: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def441]
syslinux-6.04-pre1/com32/sysdump/acpi.c: scope_hint: In function ‘dump_table’
syslinux-6.04-pre1/com32/sysdump/acpi.c:167:64: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def442]
syslinux-6.04-pre1/com32/sysdump/acpi.c:167:64: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def443]
syslinux-6.04-pre1/com32/sysdump/acpi.c: scope_hint: In function ‘dump_rsdt’
syslinux-6.04-pre1/com32/sysdump/acpi.c:178:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def444]
syslinux-6.04-pre1/com32/sysdump/acpi.c:178:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def445]
syslinux-6.04-pre1/com32/sysdump/acpi.c:191:38: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def446]
syslinux-6.04-pre1/com32/sysdump/acpi.c:191:38: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def447]
syslinux-6.04-pre1/com32/sysdump/dmi.c: scope_hint: In function ‘dump_smbios’
syslinux-6.04-pre1/com32/sysdump/dmi.c:81:20: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def448]
syslinux-6.04-pre1/com32/sysdump/dmi.c:81:20: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def449]
syslinux-6.04-pre1/com32/sysdump/dmi.c: scope_hint: In function ‘dump_old_dmi’
syslinux-6.04-pre1/com32/sysdump/dmi.c:107:20: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def450]
syslinux-6.04-pre1/com32/sysdump/dmi.c:107:20: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def451]
syslinux-6.04-pre1/com32/sysdump/memmap.c:50:9: warning[-Warray-bounds=]: ‘memcpy’ offset [0, 23] is out of the bounds [0, 0]
Error: COMPILER_WARNING (CWE-126): [#def452]
syslinux-6.04-pre1/com32/sysdump/memmap.c:50:9: warning[-Wstringop-overread]: ‘memcpy’ reading 24 bytes from a region of size 0
Error: COMPILER_WARNING: [#def453]
syslinux-6.04-pre1/core/bios.c: scope_hint: In function ‘bios_get_mode’
syslinux-6.04-pre1/core/bios.c:22:20: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
syslinux-6.04-pre1/core/bios.c:33:13: note: in expansion of macro ‘BIOS_ROWS’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def454]
syslinux-6.04-pre1/core/bios.c:23:20: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
syslinux-6.04-pre1/core/bios.c:34:13: note: in expansion of macro ‘BIOS_COLS’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def455]
syslinux-6.04-pre1/core/bios.c: scope_hint: In function ‘bios_get_cursor’
syslinux-6.04-pre1/core/bios.c:24:20: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
syslinux-6.04-pre1/core/bios.c:46:21: note: in expansion of macro ‘BIOS_PAGE’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def456]
syslinux-6.04-pre1/core/bios.c:82:33: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘struct curxy[0]’
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def457]
syslinux-6.04-pre1/core/bios.c:508:14: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def458]
syslinux-6.04-pre1/core/bios.c:510:15: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def459]
syslinux-6.04-pre1/core/bios.c: scope_hint: In function ‘bios_scan_memory’
syslinux-6.04-pre1/core/bios.c:537:29: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def460]
syslinux-6.04-pre1/core/bios.c: scope_hint: In function ‘bios_cleanup_hardware’
syslinux-6.04-pre1/core/bios.c:678:17: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-787): [#def461]
syslinux-6.04-pre1/core/dmi.c:309:5: warning[-Wanalyzer-out-of-bounds]: buffer overflow
syslinux-6.04-pre1/core/dmi.c:306:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/dmi.c:309:5: danger: out-of-bounds write from byte 10 till byte 15 but ‘sysff_str’ ends at byte 10
Error: COMPILER_WARNING (CWE-704): [#def462]
syslinux-6.04-pre1/core/elflink/elfutils.h:24:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def463]
syslinux-6.04-pre1/core/elflink/elfutils.h:24:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def464]
syslinux-6.04-pre1/core/elflink/common.h:16: included_from: Included from here.
syslinux-6.04-pre1/core/elflink/load_env32.c:23: included_from: Included from here.
syslinux-6.04-pre1/core/elflink/elfutils.h: scope_hint: In function ‘elf_get_pht’
syslinux-6.04-pre1/core/elflink/elfutils.h:24:28: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def465]
syslinux-6.04-pre1/core/elflink/elfutils.h:24:28: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def466]
syslinux-6.04-pre1/core/elflink/elfutils.h:38:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def467]
syslinux-6.04-pre1/core/elflink/elfutils.h:38:12: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def468]
syslinux-6.04-pre1/core/elflink/elfutils.h: scope_hint: In function ‘elf_get_ph’
syslinux-6.04-pre1/core/elflink/elfutils.h:38:28: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def469]
syslinux-6.04-pre1/core/elflink/elfutils.h:38:28: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def470]
syslinux-6.04-pre1/core/font.c: scope_hint: In function ‘bios_adjust_screen’
syslinux-6.04-pre1/core/font.c:160:16: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’}
cc1: note: source object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
syslinux-6.04-pre1/core/fs/chdir.c:76:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
syslinux-6.04-pre1/core/fs/chdir.c:58:17: enter_function: entry to ‘realpath’
syslinux-6.04-pre1/core/fs/chdir.c:70:12: branch_false: following ‘false’ branch (when ‘rv >= 0’)...
syslinux-6.04-pre1/core/fs/chdir.c:75:16: branch_false: ...to here
syslinux-6.04-pre1/core/fs/chdir.c:75:16: call_function: inlined call to ‘handle_to_file’ from ‘realpath’
syslinux-6.04-pre1/core/fs/chdir.c:76:13: branch_false: ...to here
syslinux-6.04-pre1/core/fs/chdir.c:76:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
syslinux-6.04-pre1/core/fs/chdir.c:106:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
syslinux-6.04-pre1/core/fs/chdir.c:87:14: enter_function: entry to ‘chdir’
syslinux-6.04-pre1/core/fs/chdir.c:97:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/chdir.c:101:10: branch_false: ...to here
syslinux-6.04-pre1/core/fs/chdir.c:102:8: branch_false: following ‘false’ branch (when ‘rv >= 0’)...
syslinux-6.04-pre1/core/fs/chdir.c:105:12: branch_false: ...to here
syslinux-6.04-pre1/core/fs/chdir.c:105:12: call_function: inlined call to ‘handle_to_file’ from ‘chdir’
syslinux-6.04-pre1/core/fs/chdir.c:106:9: branch_false: ...to here
syslinux-6.04-pre1/core/fs/chdir.c:106:9: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING (CWE-704): [#def473]
syslinux-6.04-pre1/core/fs/ext2/ext2.c: scope_hint: In function ‘__ext2_get_group_desc’
syslinux-6.04-pre1/core/fs/ext2/ext2.c:47:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def474]
syslinux-6.04-pre1/core/fs/ext2/ext2.c:47:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-457): [#def475]
syslinux-6.04-pre1/core/fs/fat/fat.c:715:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&filename’
syslinux-6.04-pre1/core/fs/fat/fat.c:615:16: branch_true: following ‘true’ branch (when ‘entries_left != 0’)...
syslinux-6.04-pre1/core/fs/fat/fat.c:616:17: branch_true: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:616:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/fat/fat.c:618:16: branch_false: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:615:16: branch_true: following ‘true’ branch (when ‘entries_left != 0’)...
syslinux-6.04-pre1/core/fs/fat/fat.c:616:17: branch_true: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:616:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/fat/fat.c:618:16: branch_false: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:669:33: branch_true: following ‘true’ branch (when ‘i != 8’)...
syslinux-6.04-pre1/core/fs/fat/fat.c:670:29: branch_true: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:671:28: branch_true: following ‘true’ branch (when ‘c == 32’)...
syslinux-6.04-pre1/core/fs/fat/fat.c:677:25: branch_true: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:677:24: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/fat/fat.c:688:21: branch_false: ...to here
syslinux-6.04-pre1/core/fs/fat/fat.c:715:5: danger: use of uninitialized value ‘&filename’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
syslinux-6.04-pre1/core/fs/fs.c:356:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
syslinux-6.04-pre1/core/fs/fs.c:340:14: enter_function: entry to ‘open_file’
syslinux-6.04-pre1/core/fs/fs.c:349:10: call_function: calling ‘searchdir’ from ‘open_file’
syslinux-6.04-pre1/core/fs/fs.c:349:10: return_function: returning to ‘open_file’ from ‘searchdir’
syslinux-6.04-pre1/core/fs/fs.c:351:8: branch_false: following ‘false’ branch (when ‘rv != -1’)...
syslinux-6.04-pre1/core/fs/fs.c:354:12: branch_false: ...to here
syslinux-6.04-pre1/core/fs/fs.c:354:12: call_function: inlined call to ‘handle_to_file’ from ‘open_file’
syslinux-6.04-pre1/core/fs/fs.c:356:9: branch_false: ...to here
syslinux-6.04-pre1/core/fs/fs.c:356:9: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING (CWE-465): [#def477]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: scope_hint: In function ‘ntfs_filename_cmp’
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:303:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def478]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:303:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-704): [#def479]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: scope_hint: In function ‘index_inode_setup’
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:675:17: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def480]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:675:17: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-465): [#def481]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: scope_hint: In function ‘ntfs_cvt_filename’
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:902:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def482]
syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:902:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-563): [#def483]
syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c: scope_hint: In function ‘parse_dhcp’
syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c:234:9: warning[-Wunused-but-set-variable]: variable ‘min_opt’ set but not used
Error: COMPILER_WARNING: [#def484]
syslinux-6.04-pre1/core/fs/pxe/http.c: scope_hint: In function ‘http_do_bake_cookies’
syslinux-6.04-pre1/core/fs/pxe/http.c:57:39: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: COMPILER_WARNING (CWE-569): [#def485]
syslinux-6.04-pre1/core/fs/pxe/isr.c: scope_hint: In function ‘pxe_start_isr’
syslinux-6.04-pre1/core/fs/pxe/isr.c:269:34: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
Error: COMPILER_WARNING (CWE-569): [#def486]
syslinux-6.04-pre1/core/fs/pxe/isr.c:271:34: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def487]
syslinux-6.04-pre1/core/fs/pxe/pxe.c:330:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inode’
syslinux-6.04-pre1/core/fs/pxe/pxe.c:284:13: release_memory: ‘*file.inode’ is NULL
syslinux-6.04-pre1/core/fs/pxe/pxe.c:284:13: release_memory: ‘*file.inode’ is NULL
syslinux-6.04-pre1/core/fs/pxe/pxe.c:286:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/pxe/pxe.c:323:8: branch_false: ...to here
syslinux-6.04-pre1/core/fs/pxe/pxe.c:323:8: branch_false: following ‘false’ branch (when ‘found_scheme == 0’)...
syslinux-6.04-pre1/core/fs/pxe/pxe.c:326:9: branch_false: ...to here
syslinux-6.04-pre1/core/fs/pxe/pxe.c:330:9: danger: dereference of NULL ‘inode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
syslinux-6.04-pre1/core/fs/readdir.c:22:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
syslinux-6.04-pre1/core/fs/readdir.c:11:15: enter_function: entry to ‘opendir’
syslinux-6.04-pre1/core/fs/readdir.c:17:8: branch_false: following ‘false’ branch (when ‘rv >= 0’)...
syslinux-6.04-pre1/core/fs/readdir.c:20:12: branch_false: ...to here
syslinux-6.04-pre1/core/fs/readdir.c:20:12: call_function: inlined call to ‘handle_to_file’ from ‘opendir’
syslinux-6.04-pre1/core/fs/readdir.c:22:9: branch_false: ...to here
syslinux-6.04-pre1/core/fs/readdir.c:22:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def489]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:130:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:114:1: enter_function: entry to ‘ufs_find_entry’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:122:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/fs/ufs/ufs.c:123:16: branch_true: ...to here
syslinux-6.04-pre1/core/fs/ufs/ufs.c:123:16: call_function: calling ‘ufs_get_cache’ from ‘ufs_find_entry’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:123:16: return_function: returning to ‘ufs_find_entry’ from ‘ufs_get_cache’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:128:16: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/fs/ufs/ufs.c:129:49: branch_true: ...to here
syslinux-6.04-pre1/core/fs/ufs/ufs.c:129:13: release_memory: ‘dir’ is NULL
syslinux-6.04-pre1/core/fs/ufs/ufs.c:130:17: danger: dereference of NULL ‘dir’
Error: COMPILER_WARNING (CWE-465): [#def490]
syslinux-6.04-pre1/core/fs/ufs/ufs.c: scope_hint: In function ‘ufs1_iget_by_inr’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:224:27: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ufs1_inode’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def491]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:224:27: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct ufs1_inode’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-192): [#def492]
syslinux-6.04-pre1/core/fs/ufs/ufs.c: scope_hint: In function ‘get_inode_mode’
syslinux-6.04-pre1/core/fs/ufs/ufs.c:359:37: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def493]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:360:40: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def494]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:361:36: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def495]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:362:38: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def496]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:363:38: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def497]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:364:40: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def498]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:365:39: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def499]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:366:41: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: COMPILER_WARNING (CWE-192): [#def500]
syslinux-6.04-pre1/core/fs/ufs/ufs.c:367:25: warning[-Wenum-conversion]: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:666:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nhdr’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:627:15: enter_function: entry to ‘xfs_dir2_node_find_entry’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:659:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: branch_false: ...to here
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: call_function: calling ‘xfs_dir2_dirblks_get_cached’ from ‘xfs_dir2_node_find_entry’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: return_function: return of NULL to ‘xfs_dir2_node_find_entry’ from ‘xfs_dir2_dirblks_get_cached’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:665:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:666:29: branch_true: ...to here
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:666:29: danger: dereference of NULL ‘nhdr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:670:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nhdr’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:627:15: enter_function: entry to ‘xfs_dir2_node_find_entry’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:659:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: branch_false: ...to here
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: call_function: calling ‘xfs_dir2_dirblks_get_cached’ from ‘xfs_dir2_node_find_entry’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:664:12: return_function: return of NULL to ‘xfs_dir2_node_find_entry’ from ‘xfs_dir2_dirblks_get_cached’
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:665:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:669:15: branch_false: ...to here
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:669:15: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:670:29: branch_true: ...to here
syslinux-6.04-pre1/core/fs/xfs/xfs_dir2.c:670:29: danger: dereference of NULL ‘nhdr’
Error: COMPILER_WARNING (CWE-704): [#def503]
syslinux-6.04-pre1/core/graphics.c: scope_hint: In function ‘vgasetmode’
syslinux-6.04-pre1/core/graphics.c:102:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def504]
syslinux-6.04-pre1/core/graphics.c:102:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def505]
syslinux-6.04-pre1/core/include/bios.h:42:16: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def506]
syslinux-6.04-pre1/core/include/bios.h:47:40: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def507]
syslinux-6.04-pre1/core/include/bios.h:104:24: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def508]
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:1000:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘useg’
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:892:1: enter_function: entry to ‘tcp_output’
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:904:6: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:908:9: branch_false: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:926:6: branch_false: following ‘false’ branch (when ‘useg’ is NULL)...
branch_false: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:952:10: branch_true: following ‘true’ branch (when ‘seg’ is non-NULL)...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:953:10: branch_true: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:952:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:954:5: branch_true: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:954:5: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:963:9: branch_false: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:963:9: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:976:19: branch_true: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:983:5: call_function: calling ‘tcp_output_segment’ from ‘tcp_output’
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:983:5: return_function: returning to ‘tcp_output’ from ‘tcp_output_segment’
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:989:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:990:7: branch_true: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:990:7: release_memory: ‘useg’ is NULL
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:992:10: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:1000:13: branch_false: ...to here
syslinux-6.04-pre1/core/lwip/src/core/tcp_out.c:1000:13: danger: dereference of NULL ‘useg’
Error: COMPILER_WARNING (CWE-704): [#def509]
syslinux-6.04-pre1/core/mem/init.c: scope_hint: In function ‘scan_highmem_area’
syslinux-6.04-pre1/core/mem/init.c:37:22: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def510]
syslinux-6.04-pre1/core/mem/init.c:37:22: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
syslinux-6.04-pre1/core/mem/malloc.c:113:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(size)’
syslinux-6.04-pre1/core/mem/malloc.c:131:7: enter_function: entry to ‘bios_realloc’
syslinux-6.04-pre1/core/mem/malloc.c:139:8: branch_true: following ‘true’ branch (when ‘ptr’ is NULL)...
syslinux-6.04-pre1/core/mem/malloc.c:140:16: branch_true: ...to here
syslinux-6.04-pre1/core/mem/malloc.c:140:16: acquire_memory: allocated here
syslinux-6.04-pre1/core/mem/malloc.c:140:16: call_function: calling ‘malloc’ from ‘bios_realloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
syslinux-6.04-pre1/core/mem/malloc.c:113:12: warning[-Wanalyzer-malloc-leak]: leak of ‘newptr’
syslinux-6.04-pre1/core/mem/malloc.c:131:7: enter_function: entry to ‘bios_realloc’
syslinux-6.04-pre1/core/mem/malloc.c:139:8: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
syslinux-6.04-pre1/core/mem/malloc.c:142:8: branch_false: ...to here
syslinux-6.04-pre1/core/mem/malloc.c:142:8: branch_false: following ‘false’ branch (when ‘size != 0’)...
syslinux-6.04-pre1/core/mem/malloc.c:147:5: branch_false: ...to here
syslinux-6.04-pre1/core/mem/malloc.c:187:12: branch_false: following ‘false’ branch (when ‘xsize < newsize’)...
syslinux-6.04-pre1/core/mem/malloc.c:232:13: branch_false: ...to here
syslinux-6.04-pre1/core/mem/malloc.c:233:22: acquire_memory: allocated here
syslinux-6.04-pre1/core/mem/malloc.c:233:22: call_function: calling ‘malloc’ from ‘bios_realloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
syslinux-6.04-pre1/core/mem/malloc.c:113:12: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
syslinux-6.04-pre1/core/mem/malloc.c:248:16: enter_function: entry to ‘zalloc’
syslinux-6.04-pre1/core/mem/malloc.c:252:11: acquire_memory: allocated here
syslinux-6.04-pre1/core/mem/malloc.c:252:11: call_function: calling ‘malloc’ from ‘zalloc’
Error: COMPILER_WARNING: [#def514]
syslinux-6.04-pre1/core/plaincon.c: scope_hint: In function ‘writechr’
syslinux-6.04-pre1/core/plaincon.c:30:25: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def515]
syslinux-6.04-pre1/core/rawcon.c:28:33: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def516]
syslinux-6.04-pre1/core/rawcon.c:58:41: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def517]
syslinux-6.04-pre1/core/rawcon.c:75:41: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def518]
syslinux-6.04-pre1/core/rawcon.c:85:41: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def519]
syslinux-6.04-pre1/core/rllpack.c: scope_hint: In function ‘rllpack’
syslinux-6.04-pre1/core/rllpack.c:36:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def520]
syslinux-6.04-pre1/core/rllpack.c:36:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def521]
syslinux-6.04-pre1/core/rllpack.c:37:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def522]
syslinux-6.04-pre1/core/rllpack.c:37:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def523]
syslinux-6.04-pre1/core/rllpack.c: scope_hint: In function ‘rllunpack’
syslinux-6.04-pre1/core/rllpack.c:82:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def524]
syslinux-6.04-pre1/core/rllpack.c:82:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def525]
syslinux-6.04-pre1/core/rllpack.c:83:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def526]
syslinux-6.04-pre1/core/rllpack.c:83:18: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def527]
syslinux-6.04-pre1/core/serirq.c: scope_hint: In function ‘irq_common’
syslinux-6.04-pre1/core/serirq.c:47:16: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def528]
syslinux-6.04-pre1/core/serirq.c:47:16: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def529]
syslinux-6.04-pre1/core/serirq.c:106:24: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def530]
syslinux-6.04-pre1/core/serirq.c: scope_hint: In function ‘install_irq_vectors’
syslinux-6.04-pre1/core/serirq.c:106:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def531]
syslinux-6.04-pre1/core/serirq.c:106:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def532]
syslinux-6.04-pre1/core/serirq.c:107:24: warning[-Warray-bounds=]: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def533]
syslinux-6.04-pre1/core/serirq.c:107:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def534]
syslinux-6.04-pre1/core/serirq.c:107:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def535]
syslinux-6.04-pre1/core/serirq.c:108:24: warning[-Warray-bounds=]: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def536]
syslinux-6.04-pre1/core/serirq.c:108:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def537]
syslinux-6.04-pre1/core/serirq.c:108:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def538]
syslinux-6.04-pre1/core/serirq.c:109:24: warning[-Warray-bounds=]: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def539]
syslinux-6.04-pre1/core/serirq.c:109:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def540]
syslinux-6.04-pre1/core/serirq.c:109:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def541]
syslinux-6.04-pre1/core/serirq.c:110:24: warning[-Warray-bounds=]: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def542]
syslinux-6.04-pre1/core/serirq.c:110:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def543]
syslinux-6.04-pre1/core/serirq.c:110:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def544]
syslinux-6.04-pre1/core/serirq.c:111:24: warning[-Warray-bounds=]: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def545]
syslinux-6.04-pre1/core/serirq.c:111:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def546]
syslinux-6.04-pre1/core/serirq.c:111:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def547]
syslinux-6.04-pre1/core/serirq.c:112:24: warning[-Warray-bounds=]: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def548]
syslinux-6.04-pre1/core/serirq.c:112:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def549]
syslinux-6.04-pre1/core/serirq.c:112:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def550]
syslinux-6.04-pre1/core/serirq.c:113:24: warning[-Warray-bounds=]: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def551]
syslinux-6.04-pre1/core/serirq.c:113:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def552]
syslinux-6.04-pre1/core/serirq.c:113:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def553]
syslinux-6.04-pre1/core/serirq.c:115:24: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def554]
syslinux-6.04-pre1/core/serirq.c:115:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def555]
syslinux-6.04-pre1/core/serirq.c:115:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def556]
syslinux-6.04-pre1/core/serirq.c:116:24: warning[-Warray-bounds=]: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def557]
syslinux-6.04-pre1/core/serirq.c:116:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def558]
syslinux-6.04-pre1/core/serirq.c:116:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def559]
syslinux-6.04-pre1/core/serirq.c:117:24: warning[-Warray-bounds=]: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def560]
syslinux-6.04-pre1/core/serirq.c:117:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def561]
syslinux-6.04-pre1/core/serirq.c:117:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def562]
syslinux-6.04-pre1/core/serirq.c:118:24: warning[-Warray-bounds=]: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def563]
syslinux-6.04-pre1/core/serirq.c:118:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def564]
syslinux-6.04-pre1/core/serirq.c:118:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def565]
syslinux-6.04-pre1/core/serirq.c:119:24: warning[-Warray-bounds=]: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def566]
syslinux-6.04-pre1/core/serirq.c:119:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def567]
syslinux-6.04-pre1/core/serirq.c:119:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def568]
syslinux-6.04-pre1/core/serirq.c:120:24: warning[-Warray-bounds=]: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def569]
syslinux-6.04-pre1/core/serirq.c:120:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def570]
syslinux-6.04-pre1/core/serirq.c:120:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def571]
syslinux-6.04-pre1/core/serirq.c:121:24: warning[-Warray-bounds=]: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def572]
syslinux-6.04-pre1/core/serirq.c:121:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def573]
syslinux-6.04-pre1/core/serirq.c:121:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def574]
syslinux-6.04-pre1/core/serirq.c:122:24: warning[-Warray-bounds=]: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING (CWE-704): [#def575]
syslinux-6.04-pre1/core/serirq.c:122:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def576]
syslinux-6.04-pre1/core/serirq.c:122:26: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: GCC_ANALYZER_WARNING (CWE-787): [#def577]
syslinux-6.04-pre1/core/sysappend.c:98:20: warning[-Wanalyzer-out-of-bounds]: buffer overflow
syslinux-6.04-pre1/core/sysappend.c:82:6: enter_function: entry to ‘sysappend_set_uuid’
syslinux-6.04-pre1/core/sysappend.c:89:8: branch_false: following ‘false’ branch (when ‘src’ is non-NULL)...
syslinux-6.04-pre1/core/sysappend.c:89:18: call_function: inlined call to ‘is_valid_uuid’ from ‘sysappend_set_uuid’
syslinux-6.04-pre1/core/sysappend.c:89:9: branch_false: following ‘false’ branch...
branch_false: ...to here
syslinux-6.04-pre1/core/sysappend.c:94:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/core/sysappend.c:95:13: branch_true: ...to here
syslinux-6.04-pre1/core/sysappend.c:97:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
syslinux-6.04-pre1/core/sysappend.c:98:42: branch_true: ...to here
syslinux-6.04-pre1/core/sysappend.c:98:20: danger: out-of-bounds write from byte 45 till byte 52 but ‘sysuuid_str’ ends at byte 45
Error: COMPILER_WARNING: [#def578]
syslinux-6.04-pre1/core/thread/schedule.c:8:9: warning: ‘dprintf’ redefined
syslinux-6.04-pre1/core/include/core.h:10: included_from: Included from here.
syslinux-6.04-pre1/core/thread/schedule.c:4: included_from: Included from here.
syslinux-6.04-pre1/com32/include/dprintf.h:30:9: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def579]
syslinux-6.04-pre1/core/thread/schedule.c:8:9: warning[warning]: ‘dprintf’ redefined
Error: COMPILER_WARNING (CWE-563): [#def580]
syslinux-6.04-pre1/core/thread/schedule.c: scope_hint: In function ‘__schedule’
syslinux-6.04-pre1/core/thread/schedule.c:36:12: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def581]
syslinux-6.04-pre1/core/thread/schedule.c:56:72: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def582]
syslinux-6.04-pre1/core/thread/schedule.c:57:23: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def583]
syslinux-6.04-pre1/core/thread/schedule.c:57:23: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def584]
syslinux-6.04-pre1/core/thread/schedule.c:61:34: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def585]
syslinux-6.04-pre1/core/thread/schedule.c:61:38: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def586]
syslinux-6.04-pre1/core/thread/schedule.c:61:38: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def587]
syslinux-6.04-pre1/core/thread/schedule.c:63:45: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def588]
syslinux-6.04-pre1/core/thread/schedule.c:63:45: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def589]
syslinux-6.04-pre1/core/thread/schedule.c:67:20: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def590]
syslinux-6.04-pre1/core/thread/schedule.c:80:38: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def591]
syslinux-6.04-pre1/core/thread/schedule.c:80:43: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def592]
syslinux-6.04-pre1/core/thread/schedule.c:80:49: warning[-Wunused-value]: left-hand operand of comma expression has no effect
Error: COMPILER_WARNING (CWE-563): [#def593]
syslinux-6.04-pre1/core/thread/schedule.c:80:49: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-563): [#def594]
syslinux-6.04-pre1/core/thread/schedule.c:83:16: warning[-Wunused-value]: statement with no effect
Error: COMPILER_WARNING (CWE-465): [#def595]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:61:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def596]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:67:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def597]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:68:42: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def598]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:70:33: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def599]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:72:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def600]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:73:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def601]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:77:26: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def602]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:85:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def603]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:86:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def604]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:94:21: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def605]
syslinux-6.04-pre1/dos/../libinstaller/fs.c:160:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def606]
syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:61:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def607]
syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:62:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def608]
syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:76:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def609]
syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:77:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
syslinux-6.04-pre1/dos/malloc.c:78:12: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
syslinux-6.04-pre1/dos/malloc.c:103:7: enter_function: entry to ‘calloc’
syslinux-6.04-pre1/dos/malloc.c:107:9: acquire_memory: allocated here
syslinux-6.04-pre1/dos/malloc.c:107:9: call_function: calling ‘malloc’ from ‘calloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
syslinux-6.04-pre1/dos/malloc.c:85:8: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
syslinux-6.04-pre1/dos/malloc.c:103:7: enter_function: entry to ‘calloc’
syslinux-6.04-pre1/dos/malloc.c:107:9: acquire_memory: allocated here
syslinux-6.04-pre1/dos/malloc.c:107:9: call_function: calling ‘malloc’ from ‘calloc’
Error: COMPILER_WARNING: [#def612]
syslinux-6.04-pre1/dos/printf.c: scope_hint: In function ‘vsprintf’
syslinux-6.04-pre1/dos/printf.c:249:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/dos/printf.c:250:9: note: here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def613]
syslinux-6.04-pre1/dos/syslinux.c:89:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
syslinux-6.04-pre1/dos/syslinux.c:613:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/dos/syslinux.c:639:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:641:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:658:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:664:5: call_function: calling ‘read_device’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:664:5: return_function: returning to ‘main’ from ‘read_device’
syslinux-6.04-pre1/dos/syslinux.c:670:8: branch_false: following ‘false’ branch (when ‘errmsg’ is NULL)...
syslinux-6.04-pre1/dos/syslinux.c:677:23: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:681:10: acquire_resource: opened here
syslinux-6.04-pre1/dos/syslinux.c:681:10: call_function: calling ‘creat’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
syslinux-6.04-pre1/dos/syslinux.c:709:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘secp’
syslinux-6.04-pre1/dos/syslinux.c:613:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/dos/syslinux.c:639:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:641:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:658:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:664:5: call_function: calling ‘read_device’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:664:5: return_function: returning to ‘main’ from ‘read_device’
syslinux-6.04-pre1/dos/syslinux.c:670:8: branch_false: following ‘false’ branch (when ‘errmsg’ is NULL)...
syslinux-6.04-pre1/dos/syslinux.c:677:23: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:681:10: call_function: calling ‘creat’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:681:10: return_function: returning to ‘main’ from ‘creat’
syslinux-6.04-pre1/dos/syslinux.c:683:5: call_function: calling ‘write_file’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:683:5: return_function: returning to ‘main’ from ‘write_file’
syslinux-6.04-pre1/dos/syslinux.c:688:10: call_function: calling ‘creat’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:688:10: return_function: returning to ‘main’ from ‘creat’
syslinux-6.04-pre1/dos/syslinux.c:701:15: acquire_memory: this call could return NULL
syslinux-6.04-pre1/dos/syslinux.c:708:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/dos/syslinux.c:709:10: branch_true: ...to here
syslinux-6.04-pre1/dos/syslinux.c:709:9: danger: ‘secp’ could be NULL: unchecked value from [(35)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
syslinux-6.04-pre1/dos/syslinux.c:737:42: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘secp’
syslinux-6.04-pre1/dos/syslinux.c:613:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/dos/syslinux.c:639:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:641:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:641:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:658:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:664:5: call_function: calling ‘read_device’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:664:5: return_function: returning to ‘main’ from ‘read_device’
syslinux-6.04-pre1/dos/syslinux.c:670:8: branch_false: following ‘false’ branch (when ‘errmsg’ is NULL)...
syslinux-6.04-pre1/dos/syslinux.c:677:23: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:681:10: call_function: calling ‘creat’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:681:10: return_function: returning to ‘main’ from ‘creat’
syslinux-6.04-pre1/dos/syslinux.c:683:5: call_function: calling ‘write_file’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:683:5: return_function: returning to ‘main’ from ‘write_file’
syslinux-6.04-pre1/dos/syslinux.c:688:10: call_function: calling ‘creat’ from ‘main’
syslinux-6.04-pre1/dos/syslinux.c:688:10: return_function: returning to ‘main’ from ‘creat’
syslinux-6.04-pre1/dos/syslinux.c:701:15: acquire_memory: this call could return NULL
syslinux-6.04-pre1/dos/syslinux.c:708:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/dos/syslinux.c:713:5: branch_false: ...to here
syslinux-6.04-pre1/dos/syslinux.c:734:17: branch_true: following ‘true’ branch (when ‘i < patch_sectors’)...
syslinux-6.04-pre1/dos/syslinux.c:735:9: branch_true: ...to here
syslinux-6.04-pre1/dos/syslinux.c:737:42: danger: ‘sectors + (unsigned int)i * 8’ could be NULL: unchecked value from [(35)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def616]
syslinux-6.04-pre1/efi/main.c:765:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
Error: COMPILER_WARNING (CWE-465): [#def617]
syslinux-6.04-pre1/efi/main.c: scope_hint: In function ‘build_gdt’
syslinux-6.04-pre1/efi/main.c:906:82: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct dt_desc’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def618]
syslinux-6.04-pre1/efi/main.c:906:82: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct dt_desc’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-617): [#def619]
syslinux-6.04-pre1/efi/wrapper.c:218:17: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
syslinux-6.04-pre1/efi/wrapper.c:175:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
syslinux-6.04-pre1/efi/wrapper.c:180:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:181:12: branch_false: following ‘false’ branch (when ‘f_in’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:186:27: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:187:12: branch_false: following ‘false’ branch (when ‘f_out’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:195:9: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:196:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:204:18: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:204:17: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:217:17: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:218:17: danger: treating ‘exit’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def620]
syslinux-6.04-pre1/efi/wrapper.c:226:17: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
syslinux-6.04-pre1/efi/wrapper.c:175:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
syslinux-6.04-pre1/efi/wrapper.c:180:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:181:12: branch_false: following ‘false’ branch (when ‘f_in’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:186:27: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:187:12: branch_false: following ‘false’ branch (when ‘f_out’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:195:9: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:196:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:197:17: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:226:17: danger: treating ‘exit’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def621]
syslinux-6.04-pre1/efi/wrapper.c:231:17: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
syslinux-6.04-pre1/efi/wrapper.c:175:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
syslinux-6.04-pre1/efi/wrapper.c:180:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:181:12: branch_false: following ‘false’ branch (when ‘f_in’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:186:27: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:187:12: branch_false: following ‘false’ branch (when ‘f_out’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:195:9: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:196:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:197:17: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:222:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:223:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:224:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:229:12: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:231:17: danger: treating ‘exit’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def622]
syslinux-6.04-pre1/efi/wrapper.c:253:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘phdr.p_filesz’
syslinux-6.04-pre1/efi/wrapper.c:175:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
syslinux-6.04-pre1/efi/wrapper.c:180:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:181:12: branch_false: following ‘false’ branch (when ‘f_in’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:186:27: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:187:12: branch_false: following ‘false’ branch (when ‘f_out’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:195:9: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:196:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:197:17: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:222:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:223:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:224:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:229:12: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:229:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:240:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:245:22: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:245:29: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:253:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:253:26: danger: use of uninitialized value ‘phdr.p_filesz’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def623]
syslinux-6.04-pre1/efi/wrapper.c:268:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘phdr.p_filesz’
syslinux-6.04-pre1/efi/wrapper.c:175:12: branch_false: following ‘false’ branch (when ‘argc > 2’)...
syslinux-6.04-pre1/efi/wrapper.c:180:26: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:181:12: branch_false: following ‘false’ branch (when ‘f_in’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:186:27: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:187:12: branch_false: following ‘false’ branch (when ‘f_out’ is non-NULL)...
syslinux-6.04-pre1/efi/wrapper.c:195:9: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:196:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:204:18: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:204:17: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:208:17: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:222:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:223:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:224:15: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:221:13: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:229:12: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:229:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:240:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:255:20: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:255:19: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/wrapper.c:260:22: branch_true: ...to here
syslinux-6.04-pre1/efi/wrapper.c:260:29: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/efi/wrapper.c:268:17: branch_false: ...to here
syslinux-6.04-pre1/efi/wrapper.c:268:17: danger: use of uninitialized value ‘phdr.p_filesz’ here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def624]
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:79:11: warning[-Wanalyzer-deref-before-check]: check of ‘s’ for NULL after already dereferencing it
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:79:11: branch_true: following ‘true’ branch (when ‘s’ is NULL)...
branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:79:11: danger: pointer ‘s’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:83:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:276:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmdline’
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:284:6: enter_function: entry to ‘runcommand’
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:290:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:291:4: call_function: calling ‘gencommand’ from ‘runcommand’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:319:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xtra’
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:317:21: acquire_memory: this call could return NULL
syslinux-6.04-pre1/efi64/com32/cmenu/test.c:319:21: danger: ‘xtra’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def628]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:79:11: warning[-Wanalyzer-deref-before-check]: check of ‘s’ for NULL after already dereferencing it
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:79:11: branch_true: following ‘true’ branch (when ‘s’ is NULL)...
branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:76:10: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:77:8: branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:79:11: danger: pointer ‘s’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def629]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:83:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def630]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:100:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*cmd’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:332:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:493:6: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:494:13: branch_true: ...to here
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:494:13: call_function: calling ‘execdotcmd’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def631]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:276:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmdline’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:284:6: enter_function: entry to ‘runcommand’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:290:19: acquire_memory: this call could return NULL
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:291:4: call_function: calling ‘gencommand’ from ‘runcommand’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:319:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xtra’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:317:21: acquire_memory: this call could return NULL
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:319:21: danger: ‘xtra’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def633]
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:323:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(argsmenu) + 1)’ where non-null expected
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:332:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/efi64/com32/cmenu/test2.c:456:3: call_function: calling ‘set_xtra’ from ‘main’
Error: COMPILER_WARNING (CWE-465): [#def634]
syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:61:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def635]
syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:62:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def636]
syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:76:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def637]
syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:77:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def638]
syslinux-6.04-pre1/extlinux/main.c: scope_hint: In function ‘patch_file_and_bootblock’
syslinux-6.04-pre1/extlinux/main.c:301:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def639]
syslinux-6.04-pre1/extlinux/main.c:301:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def640]
syslinux-6.04-pre1/extlinux/main.c:303:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def641]
syslinux-6.04-pre1/extlinux/main.c:303:16: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def642]
syslinux-6.04-pre1/extlinux/main.c:305:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def643]
syslinux-6.04-pre1/extlinux/main.c:305:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def644]
syslinux-6.04-pre1/extlinux/main.c:307:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def645]
syslinux-6.04-pre1/extlinux/main.c:307:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def646]
syslinux-6.04-pre1/extlinux/main.c:308:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def647]
syslinux-6.04-pre1/extlinux/main.c:308:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def648]
syslinux-6.04-pre1/extlinux/main.c:309:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def649]
syslinux-6.04-pre1/extlinux/main.c:309:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def650]
syslinux-6.04-pre1/extlinux/main.c:310:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def651]
syslinux-6.04-pre1/extlinux/main.c:310:12: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def652]
syslinux-6.04-pre1/extlinux/main.c:644:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘open(path, 65536)’
syslinux-6.04-pre1/extlinux/main.c:1551:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/extlinux/main.c:1555:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1558:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1565:12: branch_false: ...to here
syslinux-6.04-pre1/extlinux/main.c:1565:12: call_function: calling ‘install_loader’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def653]
syslinux-6.04-pre1/extlinux/main.c:853:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(rootdir, 0)’
syslinux-6.04-pre1/extlinux/main.c:1551:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/extlinux/main.c:1555:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1558:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/extlinux/main.c:1559:13: branch_true: ...to here
syslinux-6.04-pre1/extlinux/main.c:1560:20: call_function: calling ‘modify_existing_adv’ from ‘main’
Error: COMPILER_WARNING: [#def654]
syslinux-6.04-pre1/extlinux/main.c: scope_hint: In function ‘find_device’
syslinux-6.04-pre1/extlinux/main.c:1117:49: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/extlinux/main.c:1124:9: note: here
Error: COMPILER_WARNING: [#def655]
syslinux-6.04-pre1/extlinux/main.c:1125:16: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/extlinux/main.c:1131:9: note: here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def656]
syslinux-6.04-pre1/extlinux/main.c:1451:18: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
syslinux-6.04-pre1/extlinux/main.c:1551:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/extlinux/main.c:1555:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1558:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/extlinux/main.c:1559:13: branch_true: ...to here
syslinux-6.04-pre1/extlinux/main.c:1560:20: call_function: calling ‘modify_existing_adv’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def657]
syslinux-6.04-pre1/extlinux/main.c:1451:18: warning[-Wanalyzer-null-argument]: use of NULL ‘devname’ where non-null expected
syslinux-6.04-pre1/extlinux/main.c:1551:5: enter_function: entry to ‘main’
syslinux-6.04-pre1/extlinux/main.c:1555:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1558:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/extlinux/main.c:1565:12: branch_false: ...to here
syslinux-6.04-pre1/extlinux/main.c:1565:12: call_function: calling ‘install_loader’ from ‘main’
Error: COMPILER_WARNING: [#def658]
syslinux-6.04-pre1/extlinux/main.c:53: included_from: Included from here.
syslinux-6.04-pre1/extlinux/xfs_sb.h:22: warning[-Wheader-guard]: header guard ‘XFS_SB_H_’ followed by ‘#define’ of a different macro
syslinux-6.04-pre1/extlinux/xfs_sb.h:23: note: ‘XFS_SB_H__’ is defined here; did you mean ‘XFS_SB_H_’?
Error: COMPILER_WARNING (CWE-465): [#def659]
syslinux-6.04-pre1/libinstaller/fs.c: scope_hint: In function ‘check_fat_bootsect’
syslinux-6.04-pre1/libinstaller/fs.c:61:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def660]
syslinux-6.04-pre1/libinstaller/fs.c:67:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def661]
syslinux-6.04-pre1/libinstaller/fs.c:68:42: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def662]
syslinux-6.04-pre1/libinstaller/fs.c:70:33: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def663]
syslinux-6.04-pre1/libinstaller/fs.c:72:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def664]
syslinux-6.04-pre1/libinstaller/fs.c:73:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def665]
syslinux-6.04-pre1/libinstaller/fs.c:77:26: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def666]
syslinux-6.04-pre1/libinstaller/fs.c:85:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def667]
syslinux-6.04-pre1/libinstaller/fs.c:86:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def668]
syslinux-6.04-pre1/libinstaller/fs.c:94:21: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def669]
syslinux-6.04-pre1/libinstaller/fs.c: scope_hint: In function ‘syslinux_check_bootsect’
syslinux-6.04-pre1/libinstaller/fs.c:160:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def670]
syslinux-6.04-pre1/libinstaller/syslxmod.c: scope_hint: In function ‘generate_extents’
syslinux-6.04-pre1/libinstaller/syslxmod.c:61:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def671]
syslinux-6.04-pre1/libinstaller/syslxmod.c:62:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def672]
syslinux-6.04-pre1/libinstaller/syslxmod.c:76:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def673]
syslinux-6.04-pre1/libinstaller/syslxmod.c:77:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def674]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:61:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def675]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:67:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def676]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:68:42: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def677]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:70:33: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def678]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:72:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def679]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:73:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def680]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:77:26: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def681]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:85:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def682]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:86:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def683]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:94:21: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def684]
syslinux-6.04-pre1/linux/../libinstaller/fs.c:160:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def685]
syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:61:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def686]
syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:62:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def687]
syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:76:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def688]
syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:77:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def689]
syslinux-6.04-pre1/linux/syslinux.c:408:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mnt_cookie’
syslinux-6.04-pre1/linux/syslinux.c:296:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:304:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:324:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:332:9: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:332:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:342:13: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:342:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:349:13: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:349:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:363:16: branch_false: following ‘false’ branch (when ‘rv != -1’)...
syslinux-6.04-pre1/linux/syslinux.c:370:17: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:370:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:405:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/linux/syslinux.c:406:13: branch_true: ...to here
syslinux-6.04-pre1/linux/syslinux.c:408:13: danger: use of uninitialized value ‘mnt_cookie’ here
Error: COMPILER_WARNING (CWE-457): [#def690]
syslinux-6.04-pre1/linux/syslinux.c: scope_hint: In function ‘main’
syslinux-6.04-pre1/linux/syslinux.c:408:13: warning[-Wmaybe-uninitialized]: ‘mnt_cookie’ may be used uninitialized
syslinux-6.04-pre1/linux/syslinux.c:273:9: note: ‘mnt_cookie’ declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def691]
syslinux-6.04-pre1/linux/syslinux.c:493:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mnt_cookie’
syslinux-6.04-pre1/linux/syslinux.c:296:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:304:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:324:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:332:9: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:332:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:342:13: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:342:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:349:13: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:349:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:363:16: branch_false: following ‘false’ branch (when ‘rv != -1’)...
syslinux-6.04-pre1/linux/syslinux.c:370:17: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:370:16: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:427:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/linux/syslinux.c:430:10: branch_false: ...to here
syslinux-6.04-pre1/linux/syslinux.c:431:8: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/linux/syslinux.c:433:9: branch_true: ...to here
syslinux-6.04-pre1/linux/syslinux.c:493:5: danger: use of uninitialized value ‘mnt_cookie’ here
Error: COMPILER_WARNING (CWE-457): [#def692]
syslinux-6.04-pre1/linux/syslinux.c:493:5: warning[-Wmaybe-uninitialized]: ‘mnt_cookie’ may be used uninitialized
syslinux-6.04-pre1/linux/syslinux.c:273:9: note: ‘mnt_cookie’ declared here
Error: COMPILER_WARNING: [#def693]
syslinux-6.04-pre1/memdisk/bda.h:30:25: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def694]
syslinux-6.04-pre1/memdisk/bda.h:35:26: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def695]
syslinux-6.04-pre1/memdisk/bda.h:40:26: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def696]
syslinux-6.04-pre1/memdisk/bda.h:45:12: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def697]
syslinux-6.04-pre1/memdisk/bda.h:50:12: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def698]
syslinux-6.04-pre1/memdisk/bda.h:55:12: warning[-Warray-bounds=]: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’}
cc1: note: source object is likely at address zero
Error: COMPILER_WARNING: [#def699]
syslinux-6.04-pre1/memdisk/conio.c: scope_hint: In function ‘number’
syslinux-6.04-pre1/memdisk/conio.c:162:28: warning[-Warray-bounds=]: array subscript 33 is outside array bounds of ‘const char[17]’
Error: COMPILER_WARNING: [#def700]
syslinux-6.04-pre1/memdisk/conio.c: scope_hint: In function ‘vsprintf’
syslinux-6.04-pre1/memdisk/conio.c:312:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
syslinux-6.04-pre1/memdisk/conio.c:313:9: note: here
Error: COMPILER_WARNING: [#def701]
syslinux-6.04-pre1/memdisk/unzip.c:105: included_from: Included from here.
syslinux-6.04-pre1/memdisk/inflate.c: scope_hint: In function ‘huft_build’
syslinux-6.04-pre1/memdisk/inflate.c:264:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def702]
syslinux-6.04-pre1/memdisk/inflate.c:264:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def703]
syslinux-6.04-pre1/memdisk/inflate.c: scope_hint: In function ‘huft_free’
syslinux-6.04-pre1/memdisk/inflate.c:474:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def704]
syslinux-6.04-pre1/memdisk/inflate.c:474:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def705]
syslinux-6.04-pre1/memdisk/inflate.c: scope_hint: In function ‘inflate_codes’
syslinux-6.04-pre1/memdisk/inflate.c:492:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def706]
syslinux-6.04-pre1/memdisk/inflate.c:492:12: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-476): [#def707]
syslinux-6.04-pre1/memdisk/inflate.c:516:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
syslinux-6.04-pre1/memdisk/unzip.c:354:7: enter_function: entry to ‘unzip’
syslinux-6.04-pre1/memdisk/unzip.c:374:5: call_function: calling ‘makecrc’ from ‘unzip’
syslinux-6.04-pre1/memdisk/unzip.c:374:5: return_function: returning to ‘unzip’ from ‘makecrc’
syslinux-6.04-pre1/memdisk/unzip.c:375:5: call_function: calling ‘gunzip’ from ‘unzip’
Error: COMPILER_WARNING: [#def708]
syslinux-6.04-pre1/memdisk/inflate.c: scope_hint: In function ‘inflate_block’
syslinux-6.04-pre1/memdisk/inflate.c:854:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def709]
syslinux-6.04-pre1/memdisk/inflate.c:854:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-465): [#def710]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:61:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def711]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:67:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def712]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:68:42: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def713]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:70:33: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def714]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:72:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def715]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:73:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def716]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:77:26: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def717]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:85:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def718]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:86:51: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def719]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:94:21: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def720]
syslinux-6.04-pre1/mtools/../libinstaller/fs.c:160:25: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def721]
syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:61:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def722]
syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:62:23: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def723]
syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:76:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def724]
syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:77:19: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
syslinux-6.04-pre1/mtools/syslinux.c:250:9: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("mcopy -D o -D O -o - s:/ldlinux.sys", "w")’
syslinux-6.04-pre1/mtools/syslinux.c:156:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:159:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:186:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:203:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:211:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:214:14: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:215:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:228:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:234:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:242:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:248:11: acquire_memory: allocated here
syslinux-6.04-pre1/mtools/syslinux.c:249:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:250:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:250:9: danger: ‘popen("mcopy -D o -D O -o - s:/ldlinux.sys", "w")’ leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def726]
syslinux-6.04-pre1/mtools/syslinux.c:272:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘secp’
syslinux-6.04-pre1/mtools/syslinux.c:156:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:159:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:186:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:203:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:211:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:214:14: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:215:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:228:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:234:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:242:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:250:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:253:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:256:19: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:256:32: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:265:15: acquire_memory: this call could return NULL
syslinux-6.04-pre1/mtools/syslinux.c:271:12: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:272:10: branch_true: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:272:9: danger: ‘secp’ could be NULL: unchecked value from [(29)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def727]
syslinux-6.04-pre1/mtools/syslinux.c:287:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘secp’
syslinux-6.04-pre1/mtools/syslinux.c:156:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:159:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:186:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:203:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:211:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:214:14: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:215:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:228:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:234:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:242:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:250:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:253:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:256:19: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:256:32: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:265:15: acquire_memory: this call could return NULL
syslinux-6.04-pre1/mtools/syslinux.c:271:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:276:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:284:17: branch_true: following ‘true’ branch (when ‘i < patch_sectors’)...
syslinux-6.04-pre1/mtools/syslinux.c:287:17: branch_true: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:287:39: danger: ‘sectors + (long unsigned int)i * 8’ could be NULL: unchecked value from [(29)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def728]
syslinux-6.04-pre1/mtools/syslinux.c:308:17: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("mcopy -D o -D O -o - s:/ldlinux.c32", "w")’
syslinux-6.04-pre1/mtools/syslinux.c:156:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:159:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:159:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:186:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:203:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:211:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:210:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:214:14: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:215:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:228:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:234:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:242:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:250:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:253:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:249:9: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:256:19: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:256:32: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:271:12: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:276:5: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:284:17: branch_false: following ‘false’ branch (when ‘i >= patch_sectors’)...
syslinux-6.04-pre1/mtools/syslinux.c:291:9: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:291:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:294:18: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:307:11: acquire_memory: allocated here
syslinux-6.04-pre1/mtools/syslinux.c:308:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/mtools/syslinux.c:308:17: branch_false: ...to here
syslinux-6.04-pre1/mtools/syslinux.c:308:17: danger: ‘popen("mcopy -D o -D O -o - s:/ldlinux.c32", "w")’ leaks here; was allocated at [(35)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def729]
syslinux-6.04-pre1/utils/isohybrid.c:596:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
syslinux-6.04-pre1/utils/isohybrid.c:591:10: acquire_resource: opened here
syslinux-6.04-pre1/utils/isohybrid.c:592:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:594:5: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:8: danger: ‘fopen(path, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def730]
syslinux-6.04-pre1/utils/isohybrid.c:596:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
syslinux-6.04-pre1/utils/isohybrid.c:591:10: acquire_memory: allocated here
syslinux-6.04-pre1/utils/isohybrid.c:592:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:594:5: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:8: danger: ‘fopen(path, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def731]
syslinux-6.04-pre1/utils/isohybrid.c:596:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
syslinux-6.04-pre1/utils/isohybrid.c:591:10: acquire_resource: opened here
syslinux-6.04-pre1/utils/isohybrid.c:592:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:594:5: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:596:9: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:9: danger: ‘fopen(path, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
syslinux-6.04-pre1/utils/isohybrid.c:596:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
syslinux-6.04-pre1/utils/isohybrid.c:591:10: acquire_memory: allocated here
syslinux-6.04-pre1/utils/isohybrid.c:592:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:594:5: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:8: branch_false: following ‘false’ branch...
syslinux-6.04-pre1/utils/isohybrid.c:596:9: branch_false: ...to here
syslinux-6.04-pre1/utils/isohybrid.c:596:9: danger: ‘fopen(path, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def733]
syslinux-6.04-pre1/utils/isohybrid.c:822: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def734]
syslinux-6.04-pre1/utils/isohybrid.c:823: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def735]
syslinux-6.04-pre1/utils/isohybrid.c:824: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def736]
syslinux-6.04-pre1/utils/isohybrid.c:825: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def737]
syslinux-6.04-pre1/utils/isohybrid.c:826: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def738]
syslinux-6.04-pre1/utils/isohybrid.c:827: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def739]
syslinux-6.04-pre1/utils/isohybrid.c:828: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def740]
syslinux-6.04-pre1/utils/isohybrid.c:831: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def741]
syslinux-6.04-pre1/utils/isohybrid.c:833: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def742]
syslinux-6.04-pre1/utils/isohybrid.c:834: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def743]
syslinux-6.04-pre1/utils/isohybrid.c:835: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def744]
syslinux-6.04-pre1/utils/isohybrid.c:836: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def745]
syslinux-6.04-pre1/utils/isohybrid.c:841: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: header
Error: CPPCHECK_WARNING (CWE-476): [#def746]
syslinux-6.04-pre1/utils/isohybrid.c:996: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def747]
syslinux-6.04-pre1/utils/isohybrid.c:997: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def748]
syslinux-6.04-pre1/utils/isohybrid.c:1120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def749]
syslinux-6.04-pre1/utils/isohybrid.c:1146: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-184.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | syslinux-6.04-0.31.fc43 |
store-results-to | /tmp/tmpw74bhu1g/syslinux-6.04-0.31.fc43.tar.xz |
time-created | 2025-04-25 15:59:28 |
time-finished | 2025-04-25 16:15:49 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpw74bhu1g/syslinux-6.04-0.31.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpw74bhu1g/syslinux-6.04-0.31.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |