cdrkit-1.1.11-59.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/cdda2ogg:65:15: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-149): [#def2]
/usr/bin/pitchplay:31:44: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def3]
/usr/bin/readmult:23:44: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: COMPILER_WARNING: [#def4]
cdrkit-1.1.11/genisoimage/apple.c: scope_hint: In function ‘set_ct’
cdrkit-1.1.11/genisoimage/apple.c:243:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
cdrkit-1.1.11/include/dirdefs.h:80: included_from: Included from here.
cdrkit-1.1.11/genisoimage/genisoimage.h:48: included_from: Included from here.
cdrkit-1.1.11/genisoimage/apple.c:51: included_from: Included from here.
cdrkit-1.1.11/genisoimage/apple.c:243:55: note: length computed here
Error: COMPILER_WARNING: [#def5]
cdrkit-1.1.11/genisoimage/apple.c:244:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
cdrkit-1.1.11/genisoimage/apple.c:244:58: note: length computed here
Error: COMPILER_WARNING (CWE-697): [#def6]
cdrkit-1.1.11/genisoimage/apple.c: scope_hint: In function ‘get_es_info’
cdrkit-1.1.11/genisoimage/apple.c:708:21: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘ctime’ will never be NULL
cdrkit-1.1.11/genisoimage/apple.c:57: included_from: Included from here.
cdrkit-1.1.11/genisoimage/apple.h:223:25: note: ‘ctime’ declared here
Error: COMPILER_WARNING (CWE-697): [#def7]
cdrkit-1.1.11/genisoimage/apple.c:712:21: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘mtime’ will never be NULL
cdrkit-1.1.11/genisoimage/apple.h:225:25: note: ‘mtime’ declared here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
cdrkit-1.1.11/genisoimage/apple.c:1394:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(name, "rb")’
cdrkit-1.1.11/genisoimage/apple.c:1585:1: enter_function: entry to ‘get_fe_info’
cdrkit-1.1.11/genisoimage/apple.c:1597:12: branch_true: following ‘true’ branch (when ‘hfs_info’ is NULL)...
cdrkit-1.1.11/genisoimage/apple.c:1598:33: branch_true: ...to here
cdrkit-1.1.11/genisoimage/apple.c:1598:33: call_function: calling ‘get_hfs_fe_info’ from ‘get_fe_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
cdrkit-1.1.11/genisoimage/apple.c:1394:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(name, "rb")’
cdrkit-1.1.11/genisoimage/apple.c:1585:1: enter_function: entry to ‘get_fe_info’
cdrkit-1.1.11/genisoimage/apple.c:1597:12: branch_true: following ‘true’ branch (when ‘hfs_info’ is NULL)...
cdrkit-1.1.11/genisoimage/apple.c:1598:33: branch_true: ...to here
cdrkit-1.1.11/genisoimage/apple.c:1598:33: call_function: calling ‘get_hfs_fe_info’ from ‘get_fe_info’
Error: CPPCHECK_WARNING (CWE-404): [#def10]
cdrkit-1.1.11/genisoimage/apple.c:1395: error[resourceLeak]: Resource leak: fp
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
cdrkit-1.1.11/genisoimage/apple.c:2463:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(name, "r")’
cdrkit-1.1.11/genisoimage/apple.c:2453:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/apple.c:2457:19: branch_false: ...to here
cdrkit-1.1.11/genisoimage/apple.c:2457:19: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/apple.c:2457:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/apple.c:2460:27: branch_false: ...to here
cdrkit-1.1.11/genisoimage/apple.c:2463:16: danger: ‘fopen(name, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
cdrkit-1.1.11/genisoimage/apple.c:2463:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(name, "r")’
cdrkit-1.1.11/genisoimage/apple.c:2453:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/apple.c:2457:19: branch_false: ...to here
cdrkit-1.1.11/genisoimage/apple.c:2457:19: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/apple.c:2457:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/apple.c:2460:27: branch_false: ...to here
cdrkit-1.1.11/genisoimage/apple.c:2463:16: danger: ‘fopen(name, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def13]
cdrkit-1.1.11/genisoimage/apple.c: scope_hint: In function ‘map_ext’
cdrkit-1.1.11/genisoimage/apple.c:2577:26: warning[-Wunused-variable]: unused variable ‘ret’
Error: CPPCHECK_WARNING (CWE-476): [#def14]
cdrkit-1.1.11/genisoimage/boot-hppa.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
cdrkit-1.1.11/genisoimage/boot-hppa.c:80:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr’
cdrkit-1.1.11/genisoimage/boot-hppa.c:78:20: acquire_memory: this call could return NULL
cdrkit-1.1.11/genisoimage/boot-hppa.c:80:12: danger: ‘ptr’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def16]
cdrkit-1.1.11/genisoimage/boot-hppa.c: scope_hint: In function ‘boot_hppa_write’
cdrkit-1.1.11/genisoimage/boot-hppa.c:139:9: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING: [#def17]
cdrkit-1.1.11/genisoimage/boot-mips.c: scope_hint: In function ‘boot_mips_write’
cdrkit-1.1.11/genisoimage/boot-mips.c:313:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
cdrkit-1.1.11/include/dirdefs.h:80: included_from: Included from here.
cdrkit-1.1.11/genisoimage/genisoimage.h:48: included_from: Included from here.
cdrkit-1.1.11/genisoimage/boot-mips.c:191: included_from: Included from here.
cdrkit-1.1.11/genisoimage/boot-mips.c:313:72: note: length computed here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:106:47: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/boot-mipsel.c:150:14: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:151:8: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:154:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: branch_false: following ‘false’ branch (when ‘error == 1’)...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:158:5: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:106:47: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:106:47: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/boot-mipsel.c:150:14: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:151:8: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:154:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: branch_false: following ‘false’ branch (when ‘error == 1’)...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:158:5: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:106:47: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-1164): [#def20]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:121:13: warning[-Wunused-function]: ‘swap_in_elf32_phdr’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/boot-mipsel.c:150:14: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:151:8: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:154:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/boot-mipsel.c:150:14: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:151:8: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/boot-mipsel.c:154:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot-mipsel.c:155:8: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-404): [#def23]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:156: error[resourceLeak]: Resource leak: loader
Error: CPPCHECK_WARNING (CWE-404): [#def24]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:171: error[resourceLeak]: Resource leak: loader
Error: CPPCHECK_WARNING (CWE-404): [#def25]
cdrkit-1.1.11/genisoimage/boot-mipsel.c:176: error[resourceLeak]: Resource leak: loader
Error: COMPILER_WARNING (CWE-563): [#def26]
cdrkit-1.1.11/genisoimage/boot.c: scope_hint: In function ‘make_sunx86_label’
cdrkit-1.1.11/genisoimage/boot.c:280:18: warning[-Wunused-but-set-variable]: variable ‘p’ set but not used
Error: GCC_ANALYZER_WARNING: [#def27]
cdrkit-1.1.11/genisoimage/boot.c:406:29: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(p, 0)’
cdrkit-1.1.11/genisoimage/boot.c:385:16: branch_true: following ‘true’ branch (when ‘i != 8’)...
cdrkit-1.1.11/genisoimage/boot.c:386:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/boot.c:391:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
cdrkit-1.1.11/genisoimage/boot.c:393:20: branch_false: ...to here
cdrkit-1.1.11/genisoimage/boot.c:400:26: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/boot.c:406:29: danger: ‘open(p, 0)’ could be invalid: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def28]
cdrkit-1.1.11/genisoimage/boot.c:452:21: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(genboot_image, 0)’
cdrkit-1.1.11/genisoimage/boot.c:448:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/boot.c:449:26: branch_true: ...to here
cdrkit-1.1.11/genisoimage/boot.c:449:26: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/boot.c:449:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/boot.c:450:25: branch_true: ...to here
cdrkit-1.1.11/genisoimage/boot.c:452:21: danger: ‘open(genboot_image, 0)’ could be invalid: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING: [#def29]
cdrkit-1.1.11/genisoimage/boot.c:522:21: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(genboot_image, 0)’
cdrkit-1.1.11/genisoimage/boot.c:517:18: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/boot.c:517:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/boot.c:518:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/boot.c:520:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
cdrkit-1.1.11/genisoimage/boot.c:521:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/boot.c:522:21: danger: ‘open(genboot_image, 0)’ could be invalid: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def30]
cdrkit-1.1.11/genisoimage/checksum.c: scope_hint: In function ‘checksum_final’
cdrkit-1.1.11/genisoimage/checksum.c:381:11: warning[-Wunused-variable]: unused variable ‘thread_ret’
Error: COMPILER_WARNING (CWE-563): [#def31]
cdrkit-1.1.11/genisoimage/checksum.c: scope_hint: In function ‘parse_checksum_algo’
cdrkit-1.1.11/genisoimage/checksum.c:449:9: warning[-Wunused-variable]: unused variable ‘error’
Error: COMPILER_WARNING (CWE-563): [#def32]
cdrkit-1.1.11/genisoimage/diag/dump.c: scope_hint: In function ‘main’
cdrkit-1.1.11/genisoimage/diag/dump.c:371:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def33]
cdrkit-1.1.11/genisoimage/diag/dump.c:381:40: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def34]
cdrkit-1.1.11/genisoimage/diag/dump.c:385:40: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def35]
cdrkit-1.1.11/genisoimage/diag/dump.c:395:34: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def36]
cdrkit-1.1.11/genisoimage/diag/isodebug.c:143:42: warning[-Wunused-but-set-variable]: variable ‘vp’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def37]
cdrkit-1.1.11/genisoimage/diag/isodebug.c: scope_hint: In function ‘isodinfo’
cdrkit-1.1.11/genisoimage/diag/isodebug.c:148:41: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def38]
cdrkit-1.1.11/genisoimage/diag/isodump.c: scope_hint: At top level
cdrkit-1.1.11/genisoimage/diag/isodump.c:138:17: warning[-Wunused-function]: ‘isonum_72’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-563): [#def39]
cdrkit-1.1.11/genisoimage/diag/isodump.c: scope_hint: In function ‘main’
cdrkit-1.1.11/genisoimage/diag/isodump.c:658:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def40]
cdrkit-1.1.11/genisoimage/diag/isodump.c:668:40: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def41]
cdrkit-1.1.11/genisoimage/diag/isodump.c:672:40: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def42]
cdrkit-1.1.11/genisoimage/diag/isodump.c:682:34: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def43]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:315: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-682): [#def44]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:316: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def45]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:317: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def46]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:360:13: warning[-Wunused-but-set-variable]: variable ‘extent’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def47]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:362:13: warning[-Wunused-but-set-variable]: variable ‘flag1’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def48]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c: scope_hint: In function ‘parse_rr’
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:425:33: warning[-Wunused-but-set-variable]: variable ‘cflag’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def49]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:455: error[uninitvar]: Uninitialized variable: goof
Error: COMPILER_WARNING (CWE-563): [#def50]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c: scope_hint: In function ‘extract_file’
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:654:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-119): [#def51]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:739: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: idr->date
Error: CPPCHECK_WARNING (CWE-476): [#def52]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:757: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def53]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:758: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def54]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:759: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def55]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:760: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def56]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:762: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def57]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:763: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: CPPCHECK_WARNING (CWE-476): [#def58]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:764: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: td
Error: COMPILER_WARNING (CWE-483): [#def59]
cdrkit-1.1.11/genisoimage/diag/isoinfo.c: scope_hint: In function ‘main’
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:1036:33: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
cdrkit-1.1.11/genisoimage/diag/isoinfo.c:1045:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING (CWE-1164): [#def60]
cdrkit-1.1.11/genisoimage/diag/isovfy.c: scope_hint: At top level
cdrkit-1.1.11/genisoimage/diag/isovfy.c:579:1: warning[-Wunused-function]: ‘check_path_tables’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def61]
cdrkit-1.1.11/genisoimage/diag/isovfy.c: scope_hint: In function ‘check_path_tables’
cdrkit-1.1.11/genisoimage/diag/isovfy.c:598:16: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def62]
cdrkit-1.1.11/genisoimage/diag/isovfy.c:609: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def63]
cdrkit-1.1.11/genisoimage/diag/isovfy.c:609: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pnt++
Error: COMPILER_WARNING (CWE-563): [#def64]
cdrkit-1.1.11/genisoimage/diag/isovfy.c:683:17: warning[-Wunused-but-set-variable]: variable ‘typel_extent’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def65]
cdrkit-1.1.11/genisoimage/diag/isovfy.c:684:17: warning[-Wunused-but-set-variable]: variable ‘typem_extent’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def66]
cdrkit-1.1.11/genisoimage/diag/isovfy.c: scope_hint: In function ‘main’
cdrkit-1.1.11/genisoimage/diag/isovfy.c:685:17: warning[-Wunused-but-set-variable]: variable ‘path_table_size’ set but not used
Error: COMPILER_WARNING: [#def67]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:204:36: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VIDEO_TS.IFO’ directive output may be truncated writing 22 bytes into a region of size between 1 and 4097
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4119 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def68]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:324:36: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VIDEO_TS.VOB’ directive output may be truncated writing 22 bytes into a region of size between 1 and 4097
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4119 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def69]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:361:36: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VIDEO_TS.IFO’ directive output may be truncated writing 22 bytes into a region of size between 1 and 4097
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4119 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def70]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:406:36: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VTS_’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4097
cdrkit-1.1.11/genisoimage/dvd_file.c:406:33: note: directive argument in the range [1, 65535]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4122 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def71]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:579:44: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VTS_’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4097
cdrkit-1.1.11/genisoimage/dvd_file.c:579:41: note: directive argument in the range [1, 65535]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4122 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def72]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:626:52: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VTS_’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4097
cdrkit-1.1.11/genisoimage/dvd_file.c:626:49: note: directive argument in the range [1, 65535]
cdrkit-1.1.11/genisoimage/dvd_file.c:626:49: note: directive argument in the range [1, 9]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4122 bytes into a destination of size 4097
Error: COMPILER_WARNING: [#def73]
cdrkit-1.1.11/genisoimage/dvd_file.c: scope_hint: In function ‘DVDGetFileSet’
cdrkit-1.1.11/genisoimage/dvd_file.c:658:36: warning[-Wformat-truncation=]: ‘/VIDEO_TS/VTS_’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4097
cdrkit-1.1.11/genisoimage/dvd_file.c:658:33: note: directive argument in the range [1, 65535]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 23 and 4122 bytes into a destination of size 4097
Error: CPPCHECK_WARNING (CWE-476): [#def74]
cdrkit-1.1.11/genisoimage/eltorito.c:147: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p1
Error: CPPCHECK_WARNING (CWE-476): [#def75]
cdrkit-1.1.11/genisoimage/eltorito.c:203: warning[nullPointer]: Possible null pointer dereference: this_dir
Error: CPPCHECK_WARNING (CWE-476): [#def76]
cdrkit-1.1.11/genisoimage/eltorito.c:204: warning[nullPointer]: Possible null pointer dereference: this_dir
Error: CPPCHECK_WARNING (CWE-476): [#def77]
cdrkit-1.1.11/genisoimage/eltorito.c:208: warning[nullPointer]: Possible null pointer dereference: this_dir
Error: COMPILER_WARNING (CWE-563): [#def78]
cdrkit-1.1.11/genisoimage/eltorito.c: scope_hint: In function ‘get_torito_desc’
cdrkit-1.1.11/genisoimage/eltorito.c:286:45: warning[-Wunused-variable]: unused variable ‘section_header’
Error: CPPCHECK_WARNING (CWE-119): [#def79]
cdrkit-1.1.11/genisoimage/eltorito.c:290: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: boot_desc->id
Error: GCC_ANALYZER_WARNING: [#def80]
cdrkit-1.1.11/genisoimage/eltorito.c:483:21: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(*<unknown>.whole_name, 0)’
cdrkit-1.1.11/genisoimage/eltorito.c:455:9: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/eltorito.c:458:13: branch_true: ...to here
cdrkit-1.1.11/genisoimage/eltorito.c:463:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/eltorito.c:465:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/eltorito.c:470:27: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/eltorito.c:471:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/eltorito.c:473:25: branch_true: ...to here
cdrkit-1.1.11/genisoimage/eltorito.c:483:21: danger: ‘open(*<unknown>.whole_name, 0)’ could be invalid: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def81]
cdrkit-1.1.11/genisoimage/eltorito.c:666:31: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(*<unknown>.whole_name, 2)’
cdrkit-1.1.11/genisoimage/eltorito.c:642:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/eltorito.c:649:34: branch_true: ...to here
cdrkit-1.1.11/genisoimage/eltorito.c:649:29: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/eltorito.c:650:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/eltorito.c:652:25: branch_true: ...to here
cdrkit-1.1.11/genisoimage/eltorito.c:666:31: danger: ‘open(*<unknown>.whole_name, 2)’ could be invalid: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def82]
cdrkit-1.1.11/genisoimage/eltorito.c: scope_hint: In function ‘fill_boot_desc’
cdrkit-1.1.11/genisoimage/eltorito.c:709:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-768): [#def83]
cdrkit-1.1.11/genisoimage/genisoimage.c:929: error[unknownEvaluationOrder]: Expression '*p++=toupper((unsigned char)*p)' depends on order of evaluation of side effects
Error: COMPILER_WARNING (CWE-483): [#def84]
cdrkit-1.1.11/genisoimage/genisoimage.c: scope_hint: In function ‘main’
cdrkit-1.1.11/genisoimage/genisoimage.c:2546:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
cdrkit-1.1.11/genisoimage/genisoimage.c:2550:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
cdrkit-1.1.11/genisoimage/genisoimage.c:2573:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t’
cdrkit-1.1.11/genisoimage/genisoimage.c:1247:5: enter_function: entry to ‘main’
cdrkit-1.1.11/genisoimage/genisoimage.c:1287:5: branch_false: following ‘false’ branch (when ‘mkisofs_call’ is NULL)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1294:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1296:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: call_function: calling ‘read_rcfile’ from ‘main’
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: return_function: returning to ‘main’ from ‘read_rcfile’
cdrkit-1.1.11/genisoimage/genisoimage.c:1325:29: branch_true: following ‘true’ branch (when ‘i != 168’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1326:29: branch_true: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1326:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:1342:29: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1342:28: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:1343:33: branch_true: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1325:29: branch_false: following ‘false’ branch (when ‘i == 168’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1347:17: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:2567:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:2570:11: branch_true: following ‘true’ branch (when ‘charset’ is non-NULL)...
cdrkit-1.1.11/genisoimage/genisoimage.c:2572:35: branch_true: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:2572:35: acquire_memory: this call could return NULL
cdrkit-1.1.11/genisoimage/genisoimage.c:2573:39: danger: ‘t’ could be NULL: unchecked value from [(45)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/44)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def86]
cdrkit-1.1.11/genisoimage/genisoimage.c:2577:20: warning[-Wanalyzer-null-argument]: use of NULL ‘charset’ where non-null expected
cdrkit-1.1.11/genisoimage/genisoimage.c:1247:5: enter_function: entry to ‘main’
cdrkit-1.1.11/genisoimage/genisoimage.c:1287:5: branch_false: following ‘false’ branch (when ‘mkisofs_call’ is NULL)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1294:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1296:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: call_function: calling ‘read_rcfile’ from ‘main’
cdrkit-1.1.11/genisoimage/genisoimage.c:1303:9: return_function: returning to ‘main’ from ‘read_rcfile’
cdrkit-1.1.11/genisoimage/genisoimage.c:1305:9: release_memory: ‘mkisofs_call’ is NULL
cdrkit-1.1.11/genisoimage/genisoimage.c:1325:29: branch_true: following ‘true’ branch (when ‘i != 168’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1326:29: branch_true: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1326:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:1342:29: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1342:28: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:1343:33: branch_true: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:1325:29: branch_false: following ‘false’ branch (when ‘i == 168’)...
cdrkit-1.1.11/genisoimage/genisoimage.c:1347:17: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:2567:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/genisoimage.c:2570:11: branch_false: following ‘false’ branch (when ‘charset’ is NULL)...
cdrkit-1.1.11/genisoimage/genisoimage.c:2577:20: branch_false: ...to here
cdrkit-1.1.11/genisoimage/genisoimage.c:2577:20: danger: argument 1 (‘charset’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def87]
cdrkit-1.1.11/genisoimage/ifo_read.c: scope_hint: In function ‘ifoOpen’
cdrkit-1.1.11/genisoimage/ifo_read.c:460:15: warning[-Wunused-but-set-variable]: variable ‘offset’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def88]
cdrkit-1.1.11/genisoimage/ifo_read.c:494:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&full_path, 0)’
cdrkit-1.1.11/genisoimage/ifo_read.c:480:21: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/ifo_read.c:480:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:494:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/ifo_read.c:494:12: danger: ‘open(&full_path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def89]
cdrkit-1.1.11/genisoimage/ifo_read.c:553:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ifofile.vtsi_mat’
cdrkit-1.1.11/genisoimage/ifo_read.c:548:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:549:22: branch_true: ...to here
cdrkit-1.1.11/genisoimage/ifo_read.c:549:17: release_memory: first ‘free’ here
cdrkit-1.1.11/genisoimage/ifo_read.c:552:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:553:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/ifo_read.c:553:17: danger: second ‘free’ here; first ‘free’ was at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def90]
cdrkit-1.1.11/genisoimage/ifo_read.c:553:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘<unknown>’
cdrkit-1.1.11/genisoimage/ifo_read.c:453:1: enter_function: entry to ‘ifoOpen’
cdrkit-1.1.11/genisoimage/ifo_read.c:480:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:494:13: branch_false: ...to here
cdrkit-1.1.11/genisoimage/ifo_read.c:494:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:503:14: branch_false: ...to here
cdrkit-1.1.11/genisoimage/ifo_read.c:503:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/ifo_read.c:504:27: call_function: calling ‘ifoReadVGMI’ from ‘ifoOpen’
Error: CPPCHECK_WARNING (CWE-457): [#def91]
cdrkit-1.1.11/genisoimage/joliet.c:246: warning[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
cdrkit-1.1.11/genisoimage/joliet.c:865:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s_entry1’
cdrkit-1.1.11/genisoimage/joliet.c:1416:1: enter_function: entry to ‘jdirtree_write’
cdrkit-1.1.11/genisoimage/joliet.c:1418:9: call_function: calling ‘generate_joliet_directories’ from ‘jdirtree_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
cdrkit-1.1.11/genisoimage/joliet.c:911:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘finddir’
cdrkit-1.1.11/genisoimage/joliet.c:1416:1: enter_function: entry to ‘jdirtree_write’
cdrkit-1.1.11/genisoimage/joliet.c:1418:9: call_function: calling ‘generate_joliet_directories’ from ‘jdirtree_write’
Error: COMPILER_WARNING (CWE-563): [#def94]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘check_exclude_by_name’
cdrkit-1.1.11/genisoimage/jte.c:199:9: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def95]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘check_md5_file_match’
cdrkit-1.1.11/genisoimage/jte.c:242:9: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def96]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘jte_add_mapping’
cdrkit-1.1.11/genisoimage/jte.c:342:9: warning[-Wunused-variable]: unused variable ‘error’
Error: CPPCHECK_WARNING (CWE-476): [#def97]
cdrkit-1.1.11/genisoimage/jte.c:420: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ptr
Error: COMPILER_WARNING (CWE-563): [#def98]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘add_md5_entry’
cdrkit-1.1.11/genisoimage/jte.c:457:9: warning[-Wunused-variable]: unused variable ‘error’
Error: CPPCHECK_WARNING (CWE-476): [#def99]
cdrkit-1.1.11/genisoimage/jte.c:461: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def100]
cdrkit-1.1.11/genisoimage/jte.c:462: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def101]
cdrkit-1.1.11/genisoimage/jte.c:463: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def102]
cdrkit-1.1.11/genisoimage/jte.c:522: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: md5_file
Error: COMPILER_WARNING (CWE-563): [#def103]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘flush_gzip_chunk’
cdrkit-1.1.11/genisoimage/jte.c:582:9: warning[-Wunused-but-set-variable]: variable ‘err’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def104]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘flush_bz2_chunk’
cdrkit-1.1.11/genisoimage/jte.c:621:9: warning[-Wunused-but-set-variable]: variable ‘err’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def105]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘write_jigdo_file’
cdrkit-1.1.11/genisoimage/jte.c:804:26: warning[-Wunused-variable]: unused variable ‘map’
Error: CPPCHECK_WARNING (CWE-476): [#def106]
cdrkit-1.1.11/genisoimage/jte.c:896: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
cdrkit-1.1.11/genisoimage/jte.c:896:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_entry’
cdrkit-1.1.11/genisoimage/jte.c:977:6: enter_function: entry to ‘write_jt_match_record’
cdrkit-1.1.11/genisoimage/jte.c:989:8: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1037:5: call_function: calling ‘add_file_entry’ from ‘write_jt_match_record’
cdrkit-1.1.11/genisoimage/jte.c:1037:5: return_function: returning to ‘write_jt_match_record’ from ‘add_file_entry’
cdrkit-1.1.11/genisoimage/jte.c:1038:8: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/jte.c:1040:24: branch_true: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1041:9: call_function: calling ‘write_compressed_chunk’ from ‘write_jt_match_record’
cdrkit-1.1.11/genisoimage/jte.c:1041:9: return_function: returning to ‘write_jt_match_record’ from ‘write_compressed_chunk’
cdrkit-1.1.11/genisoimage/jte.c:1042:9: call_function: calling ‘add_unmatched_entry’ from ‘write_jt_match_record’
Error: CPPCHECK_WARNING (CWE-476): [#def108]
cdrkit-1.1.11/genisoimage/jte.c:897: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def109]
cdrkit-1.1.11/genisoimage/jte.c:898: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def110]
cdrkit-1.1.11/genisoimage/jte.c:921: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
cdrkit-1.1.11/genisoimage/jte.c:921:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_entry’
cdrkit-1.1.11/genisoimage/jte.c:977:6: enter_function: entry to ‘write_jt_match_record’
cdrkit-1.1.11/genisoimage/jte.c:989:8: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1037:5: call_function: calling ‘add_file_entry’ from ‘write_jt_match_record’
Error: CPPCHECK_WARNING (CWE-476): [#def112]
cdrkit-1.1.11/genisoimage/jte.c:922: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def113]
cdrkit-1.1.11/genisoimage/jte.c:923: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def114]
cdrkit-1.1.11/genisoimage/jte.c:924: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def115]
cdrkit-1.1.11/genisoimage/jte.c:925: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: CPPCHECK_WARNING (CWE-476): [#def116]
cdrkit-1.1.11/genisoimage/jte.c:926: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_entry
Error: COMPILER_WARNING: [#def117]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘jtwrite’
cdrkit-1.1.11/genisoimage/jte.c:946:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def118]
cdrkit-1.1.11/genisoimage/jte.c:946:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-563): [#def119]
cdrkit-1.1.11/genisoimage/jte.c: scope_hint: In function ‘write_jt_match_record’
cdrkit-1.1.11/genisoimage/jte.c:979:25: warning[-Wunused-variable]: unused variable ‘tmp_size’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def120]
cdrkit-1.1.11/genisoimage/jte.c:1009:21: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(filename, "rb")’ where non-null expected
cdrkit-1.1.11/genisoimage/jte.c:989:19: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/jte.c:989:8: release_memory: assuming ‘fopen(filename, "rb")’ is NULL
cdrkit-1.1.11/genisoimage/jte.c:989:8: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/jte.c:991:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1004:12: branch_true: following ‘true’ branch (when ‘remain > 0’)...
cdrkit-1.1.11/genisoimage/jte.c:1006:9: branch_true: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1007:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/jte.c:1009:21: branch_false: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1009:21: danger: argument 4 (‘fopen(filename, "rb")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def121]
cdrkit-1.1.11/genisoimage/jte.c:1026:5: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(filename, "rb")’ where non-null expected
cdrkit-1.1.11/genisoimage/jte.c:989:19: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/jte.c:989:8: release_memory: assuming ‘fopen(filename, "rb")’ is NULL
cdrkit-1.1.11/genisoimage/jte.c:989:8: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/jte.c:991:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1004:12: branch_false: following ‘false’ branch (when ‘remain <= 0’)...
cdrkit-1.1.11/genisoimage/jte.c:1026:5: branch_false: ...to here
cdrkit-1.1.11/genisoimage/jte.c:1026:5: danger: argument 1 (‘fopen(filename, "rb")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*mac_boot.name, "rb")’
cdrkit-1.1.11/genisoimage/mac_label.c:179:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:180:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:180:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:185:33: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:185:27: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/mac_label.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:190:21: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: danger: ‘fopen(*mac_boot.name, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*mac_boot.name, "rb")’
cdrkit-1.1.11/genisoimage/mac_label.c:179:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:180:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:180:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:185:33: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:185:27: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/mac_label.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:190:21: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: danger: ‘fopen(*mac_boot.name, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-404): [#def124]
cdrkit-1.1.11/genisoimage/mac_label.c:193: error[resourceLeak]: Resource leak: fp
Error: GCC_ANALYZER_WARNING (CWE-775): [#def125]
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*mac_boot.name, "rb")’
cdrkit-1.1.11/genisoimage/mac_label.c:179:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:180:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:180:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:185:33: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:185:27: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/mac_label.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:190:21: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: danger: ‘fopen(*mac_boot.name, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*mac_boot.name, "rb")’
cdrkit-1.1.11/genisoimage/mac_label.c:179:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:180:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:180:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:185:33: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:185:27: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/mac_label.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:190:21: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:190:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:198:23: danger: ‘fopen(*mac_boot.name, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-404): [#def127]
cdrkit-1.1.11/genisoimage/mac_label.c:202: error[resourceLeak]: Resource leak: fp
Error: GCC_ANALYZER_WARNING (CWE-457): [#def128]
cdrkit-1.1.11/genisoimage/mac_label.c:302:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&tmp’
cdrkit-1.1.11/genisoimage/mac_label.c:179:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:255:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:270:22: branch_false: following ‘false’ branch (when ‘have_hfs_boot == 0’)...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:298:21: branch_true: following ‘true’ branch (when ‘i < mpc’)...
cdrkit-1.1.11/genisoimage/mac_label.c:299:50: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:300:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/mac_label.c:313:25: branch_false: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:298:21: branch_true: following ‘true’ branch (when ‘i < mpc’)...
cdrkit-1.1.11/genisoimage/mac_label.c:299:50: branch_true: ...to here
cdrkit-1.1.11/genisoimage/mac_label.c:302:25: danger: use of uninitialized value ‘&tmp’ here
Error: COMPILER_WARNING: [#def129]
cdrkit-1.1.11/genisoimage/mac_label.c: scope_hint: In function ‘gen_mac_label’
cdrkit-1.1.11/genisoimage/mac_label.c:373:33: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 32 equals destination size
Error: COMPILER_WARNING: [#def130]
cdrkit-1.1.11/genisoimage/mac_label.c:375:33: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 32 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
cdrkit-1.1.11/genisoimage/match.c:80:17: warning[-Wanalyzer-malloc-leak]: leak of ‘s_mat’
cdrkit-1.1.11/genisoimage/match.c:68:31: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/match.c:69:12: branch_false: following ‘false’ branch (when ‘s_mat’ is non-NULL)...
cdrkit-1.1.11/genisoimage/match.c:78:28: branch_false: ...to here
cdrkit-1.1.11/genisoimage/match.c:78:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/match.c:80:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/match.c:80:17: danger: ‘s_mat’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def132]
cdrkit-1.1.11/genisoimage/match.c:84: error[memleak]: Memory leak: s_mat
Error: GCC_ANALYZER_WARNING (CWE-688): [#def133]
cdrkit-1.1.11/genisoimage/match.c:115:16: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(file, "r")’ where non-null expected
cdrkit-1.1.11/genisoimage/match.c:106:19: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/match.c:106:12: release_memory: assuming ‘fopen(file, "r")’ is NULL
cdrkit-1.1.11/genisoimage/match.c:106:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/match.c:108:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/match.c:115:16: danger: argument 3 (‘fopen(file, "r")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
cdrkit-1.1.11/genisoimage/match.c:198:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mat’
cdrkit-1.1.11/genisoimage/match.c:183:12: branch_false: following ‘false’ branch (when ‘n <= 4’)...
cdrkit-1.1.11/genisoimage/match.c:186:24: branch_false: ...to here
cdrkit-1.1.11/genisoimage/match.c:186:24: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/match.c:187:12: branch_false: following ‘false’ branch (when ‘mat’ is non-NULL)...
cdrkit-1.1.11/genisoimage/match.c:196:26: branch_false: ...to here
cdrkit-1.1.11/genisoimage/match.c:196:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/match.c:198:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/match.c:198:17: danger: ‘mat’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def135]
cdrkit-1.1.11/genisoimage/match.c:202: error[memleak]: Memory leak: mat
Error: GCC_ANALYZER_WARNING (CWE-688): [#def136]
cdrkit-1.1.11/genisoimage/match.c:227:16: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(file, "r")’ where non-null expected
cdrkit-1.1.11/genisoimage/match.c:218:19: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/match.c:218:12: release_memory: assuming ‘fopen(file, "r")’ is NULL
cdrkit-1.1.11/genisoimage/match.c:218:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/match.c:220:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/match.c:227:16: danger: argument 3 (‘fopen(file, "r")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def137]
cdrkit-1.1.11/genisoimage/md5.c:222:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘in[1]’
cdrkit-1.1.11/genisoimage/md5.c:324:5: enter_function: entry to ‘calculate_md5sum’
cdrkit-1.1.11/genisoimage/md5.c:337:8: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/md5.c:350:12: branch_true: following ‘true’ branch (when ‘remain != 0’)...
cdrkit-1.1.11/genisoimage/md5.c:352:15: branch_true: ...to here
cdrkit-1.1.11/genisoimage/md5.c:353:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/genisoimage/md5.c:359:9: branch_false: ...to here
cdrkit-1.1.11/genisoimage/md5.c:359:9: call_function: calling ‘mk_MD5Update’ from ‘calculate_md5sum’
Error: COMPILER_WARNING (CWE-563): [#def138]
cdrkit-1.1.11/genisoimage/md5.c: scope_hint: In function ‘calculate_md5sum’
cdrkit-1.1.11/genisoimage/md5.c:327:9: warning[-Wunused-variable]: unused variable ‘i’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
cdrkit-1.1.11/genisoimage/md5.c:352:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/md5.c:336:14: acquire_resource: opened here
cdrkit-1.1.11/genisoimage/md5.c:337:8: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/md5.c:350:12: branch_true: following ‘true’ branch (when ‘remain != 0’)...
cdrkit-1.1.11/genisoimage/md5.c:352:15: branch_true: ...to here
cdrkit-1.1.11/genisoimage/md5.c:352:15: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
cdrkit-1.1.11/genisoimage/md5.c:352:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
cdrkit-1.1.11/genisoimage/md5.c:336:14: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/md5.c:337:8: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/md5.c:350:12: branch_true: following ‘true’ branch (when ‘remain != 0’)...
cdrkit-1.1.11/genisoimage/md5.c:352:15: branch_true: ...to here
cdrkit-1.1.11/genisoimage/md5.c:352:15: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def141]
cdrkit-1.1.11/genisoimage/multi.c: scope_hint: In function ‘parse_rrflags’
cdrkit-1.1.11/genisoimage/multi.c:305:17: warning[-Wunused-but-set-variable]: variable ‘flag1’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-835): [#def142]
cdrkit-1.1.11/genisoimage/multi.c:623:16: warning[-Wanalyzer-infinite-loop]: infinite loop
cdrkit-1.1.11/genisoimage/multi.c:1500:1: enter_function: entry to ‘merge_previous_session’
Error: CPPCHECK_WARNING (CWE-119): [#def143]
cdrkit-1.1.11/genisoimage/multi.c:1179: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: pri->root_directory_record
Error: COMPILER_WARNING (CWE-563): [#def144]
cdrkit-1.1.11/genisoimage/multi.c:1509:25: warning[-Wunused-but-set-variable]: variable ‘status’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def145]
cdrkit-1.1.11/genisoimage/multi.c: scope_hint: In function ‘merge_previous_session’
cdrkit-1.1.11/genisoimage/multi.c:1510:25: warning[-Wunused-but-set-variable]: variable ‘lstatus’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
cdrkit-1.1.11/genisoimage/multi.c:1881:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d_entry’
cdrkit-1.1.11/genisoimage/multi.c:1846:16: branch_true: following ‘true’ branch (when ‘re’ is non-NULL)...
cdrkit-1.1.11/genisoimage/multi.c:1847:21: branch_true: ...to here
cdrkit-1.1.11/genisoimage/multi.c:1847:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/multi.c:1854:62: branch_true: ...to here
cdrkit-1.1.11/genisoimage/multi.c:1857:28: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/genisoimage/multi.c:1860:32: branch_false: following ‘false’ branch (when ‘d_entry’ is NULL)...
cdrkit-1.1.11/genisoimage/multi.c:1865:28: branch_false: ...to here
cdrkit-1.1.11/genisoimage/multi.c:1865:28: branch_true: following ‘true’ branch (when ‘d_entry’ is NULL)...
cdrkit-1.1.11/genisoimage/multi.c:1867:33: branch_true: ...to here
cdrkit-1.1.11/genisoimage/multi.c:1874:28: branch_true: following ‘true’ branch...
cdrkit-1.1.11/genisoimage/multi.c:1881:44: danger: dereference of NULL ‘d_entry’
Error: COMPILER_WARNING (CWE-563): [#def147]
cdrkit-1.1.11/genisoimage/name.c: scope_hint: In function ‘iso9660_file_length’
cdrkit-1.1.11/genisoimage/name.c:129:25: warning[-Wunused-but-set-variable]: variable ‘ochars_before_dot’ set but not used
Error: COMPILER_WARNING: [#def148]
cdrkit-1.1.11/genisoimage/sha256.c: scope_hint: In function ‘sha256_init_ctx’
cdrkit-1.1.11/genisoimage/sha256.c:179:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def149]
cdrkit-1.1.11/genisoimage/sha256.c:179:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def150]
cdrkit-1.1.11/genisoimage/sha256.c: scope_hint: In function ‘sha256_finish_ctx’
cdrkit-1.1.11/genisoimage/sha256.c:202:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def151]
cdrkit-1.1.11/genisoimage/sha256.c:202:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def152]
cdrkit-1.1.11/genisoimage/sha256.c: scope_hint: In function ‘sha256_process_bytes’
cdrkit-1.1.11/genisoimage/sha256.c:236:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def153]
cdrkit-1.1.11/genisoimage/sha256.c:236:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def154]
cdrkit-1.1.11/genisoimage/sha512.c: scope_hint: In function ‘sha512_init_ctx’
cdrkit-1.1.11/genisoimage/sha512.c:209:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def155]
cdrkit-1.1.11/genisoimage/sha512.c:209:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def156]
cdrkit-1.1.11/genisoimage/sha512.c: scope_hint: In function ‘sha512_finish_ctx’
cdrkit-1.1.11/genisoimage/sha512.c:232:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def157]
cdrkit-1.1.11/genisoimage/sha512.c:232:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def158]
cdrkit-1.1.11/genisoimage/sha512.c: scope_hint: In function ‘sha512_process_bytes’
cdrkit-1.1.11/genisoimage/sha512.c:266:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def159]
cdrkit-1.1.11/genisoimage/sha512.c:266:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-563): [#def160]
cdrkit-1.1.11/genisoimage/tree.c:1151:27: warning[-Wunused-but-set-variable]: variable ‘parent’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def161]
cdrkit-1.1.11/genisoimage/tree.c: scope_hint: In function ‘scan_directory_tree’
cdrkit-1.1.11/genisoimage/tree.c:1153:26: warning[-Wunused-but-set-variable]: variable ‘old_path’ set but not used
Error: COMPILER_WARNING: [#def162]
cdrkit-1.1.11/genisoimage/tree.c: scope_hint: In function ‘insert_file_entry’
cdrkit-1.1.11/genisoimage/tree.c:2080:49: warning[-Wformat-overflow=]: ‘%s’ directive writing up to 4096 bytes into a region of size 2045
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 5 or more bytes (assuming 4101) into a destination of size 2048
Error: COMPILER_WARNING (CWE-563): [#def163]
cdrkit-1.1.11/genisoimage/tree.c: scope_hint: In function ‘find_or_create_directory’
cdrkit-1.1.11/genisoimage/tree.c:2377:33: warning[-Wunused-variable]: unused variable ‘xstatbuf’
Error: COMPILER_WARNING: [#def164]
cdrkit-1.1.11/genisoimage/tree.c: scope_hint: In function ‘delete_directory’
cdrkit-1.1.11/genisoimage/tree.c:2468:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def165]
cdrkit-1.1.11/genisoimage/tree.c:2468:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
cdrkit-1.1.11/genisoimage/tree.c:2620:18: warning[-Wanalyzer-malloc-leak]: leak of ‘subdir’
cdrkit-1.1.11/genisoimage/tree.c:2620:18: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/tree.c:2631:12: branch_true: following ‘true’ branch (when ‘p1’ is non-NULL)...
cdrkit-1.1.11/genisoimage/tree.c:2632:17: branch_true: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2645:24: branch_true: following ‘true’ branch (when ‘dpnt’ is non-NULL)...
cdrkit-1.1.11/genisoimage/tree.c:2651:44: branch_true: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2651:28: branch_true: following ‘true’ branch (when the strings are equal)...
branch_true: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2620:18: danger: ‘subdir’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def167]
cdrkit-1.1.11/genisoimage/tree.c:2622: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: subdir
Error: GCC_ANALYZER_WARNING (CWE-688): [#def168]
cdrkit-1.1.11/genisoimage/tree.c:2622:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘subdir’ where non-null expected
cdrkit-1.1.11/genisoimage/tree.c:2620:18: acquire_memory: this call could return NULL
cdrkit-1.1.11/genisoimage/tree.c:2622:19: danger: argument 1 (‘subdir’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
cdrkit-1.1.11/genisoimage/tree.c:2666:24: warning[-Wanalyzer-malloc-leak]: leak of ‘subdir’
cdrkit-1.1.11/genisoimage/tree.c:2620:18: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/tree.c:2622:12: branch_false: following ‘false’ branch (when ‘subdir != p1’)...
cdrkit-1.1.11/genisoimage/tree.c:2631:12: branch_false: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2631:12: branch_false: following ‘false’ branch (when ‘p1’ is NULL)...
cdrkit-1.1.11/genisoimage/tree.c:2665:17: branch_false: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2666:24: danger: ‘subdir’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
cdrkit-1.1.11/genisoimage/tree.c:2671:28: warning[-Wanalyzer-malloc-leak]: leak of ‘subdir’
cdrkit-1.1.11/genisoimage/tree.c:2620:18: acquire_memory: allocated here
cdrkit-1.1.11/genisoimage/tree.c:2622:12: branch_false: following ‘false’ branch (when ‘subdir != p1’)...
cdrkit-1.1.11/genisoimage/tree.c:2631:12: branch_false: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2631:12: branch_false: following ‘false’ branch (when ‘p1’ is NULL)...
cdrkit-1.1.11/genisoimage/tree.c:2665:17: branch_false: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2666:24: branch_true: following ‘true’ branch (when ‘depnt’ is non-NULL)...
cdrkit-1.1.11/genisoimage/tree.c:2671:46: branch_true: ...to here
cdrkit-1.1.11/genisoimage/tree.c:2671:28: danger: ‘subdir’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
cdrkit-1.1.11/genisoimage/write.c:1117:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘finddir’
cdrkit-1.1.11/genisoimage/write.c:2255:1: enter_function: entry to ‘file_gen’
cdrkit-1.1.11/genisoimage/write.c:2262:14: call_function: calling ‘assign_file_addresses’ from ‘file_gen’
Error: COMPILER_WARNING: [#def172]
cdrkit-1.1.11/genisoimage/write.c: scope_hint: In function ‘pvd_write’
cdrkit-1.1.11/genisoimage/write.c:1899:33: warning[-Wformat-overflow=]: ‘%2.2d’ directive writing between 2 and 11 bytes into a region of size between 6 and 13
cdrkit-1.1.11/genisoimage/write.c:1899:27: note: directive argument in the range [-2147483647, 2147483647]
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 17 and 69 bytes into a destination of size 17
Error: CPPCHECK_WARNING (CWE-119): [#def173]
cdrkit-1.1.11/genisoimage/write.c:1915: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: vol_desc.id
Error: CPPCHECK_WARNING (CWE-119): [#def174]
cdrkit-1.1.11/genisoimage/write.c:2038: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: evol_desc.id
Error: CPPCHECK_WARNING (CWE-476): [#def175]
cdrkit-1.1.11/icedax/aifc.c:137: error[nullPointer]: Null pointer dereference: (struct AIFCHDR*)0
Error: CPPCHECK_WARNING (CWE-476): [#def176]
cdrkit-1.1.11/icedax/aifc.c:155: error[nullPointer]: Null pointer dereference: (struct AIFCHDR*)0
Error: CPPCHECK_WARNING (CWE-476): [#def177]
cdrkit-1.1.11/icedax/aifc.c:169: error[nullPointer]: Null pointer dereference: (struct AIFCHDR*)0
Error: CPPCHECK_WARNING (CWE-476): [#def178]
cdrkit-1.1.11/icedax/aiff.c:113: error[nullPointer]: Null pointer dereference: (struct AIFFHDR*)0
Error: CPPCHECK_WARNING (CWE-476): [#def179]
cdrkit-1.1.11/icedax/aiff.c:119: error[nullPointer]: Null pointer dereference: (struct AIFFHDR*)0
Error: CPPCHECK_WARNING (CWE-476): [#def180]
cdrkit-1.1.11/icedax/aiff.c:132: error[nullPointer]: Null pointer dereference: (struct AIFFHDR*)0
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
cdrkit-1.1.11/icedax/base64.c:105:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘d’
cdrkit-1.1.11/icedax/base64.c:103:13: acquire_memory: this call could return NULL
cdrkit-1.1.11/icedax/base64.c:104:15: branch_true: following ‘true’ branch (when ‘srcl != 0’)...
cdrkit-1.1.11/icedax/base64.c:105:14: branch_true: ...to here
cdrkit-1.1.11/icedax/base64.c:105:5: danger: ‘d’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
cdrkit-1.1.11/icedax/base64.c:118:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘d’
cdrkit-1.1.11/icedax/base64.c:103:13: acquire_memory: this call could return NULL
cdrkit-1.1.11/icedax/base64.c:104:15: branch_false: following ‘false’ branch (when ‘srcl == 0’)...
cdrkit-1.1.11/icedax/base64.c:118:3: branch_false: ...to here
cdrkit-1.1.11/icedax/base64.c:118:3: danger: ‘d’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
cdrkit-1.1.11/icedax/cd_extra.c:296:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:1827:13: enter_function: entry to ‘dump_extra_info’
cdrkit-1.1.11/icedax/toc.c:1836:10: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:1837:14: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:1853:5: call_function: calling ‘Read_Subinfo’ from ‘dump_extra_info’
Error: COMPILER_WARNING (CWE-563): [#def184]
cdrkit-1.1.11/icedax/icedax.c: scope_hint: In function ‘switch_to_realtime_priority’
cdrkit-1.1.11/icedax/icedax.c:976:13: warning[-Wunused-but-set-variable]: variable ‘sched_fifo_min’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-479): [#def185]
cdrkit-1.1.11/icedax/icedax.c:1042:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
cdrkit-1.1.11/icedax/icedax.c:2028:5: enter_function: entry to ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: call_function: calling ‘init_globals’ from ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: return_function: returning to ‘main’ from ‘init_globals’
cdrkit-1.1.11/icedax/icedax.c:2101:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2166:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2169:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2173:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2173:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2176:14: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2178:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2196:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2262:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2265:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2265:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2268:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2268:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2272:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2272:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2283:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2283:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2286:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2286:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2289:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2289:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2292:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2292:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2295:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2295:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2299:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2299:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2307:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2307:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2311:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2311:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2314:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2326:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2329:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2329:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2335:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2335:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2339:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2339:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2343:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2343:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: following ‘false’ branch (when ‘rectime >= 0.0’)...
cdrkit-1.1.11/icedax/icedax.c:2353:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2353:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2357:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2361:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2425:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2427:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2427:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2436:10: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2444:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2453:6: branch_false: following ‘false’ branch (when ‘argc <= moreargs’)...
cdrkit-1.1.11/icedax/icedax.c:2469:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:1049:13: enter_function: entry to ‘exit_wrapper’
cdrkit-1.1.11/icedax/icedax.c:1056:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/icedax.c:1057:31: branch_true: ...to here
cdrkit-1.1.11/icedax/icedax.c:1062:25: call_function: inlined call to ‘on_exitscsi’ from ‘exit_wrapper’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def186]
cdrkit-1.1.11/icedax/icedax.c:1065:17: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
cdrkit-1.1.11/icedax/icedax.c:2028:5: enter_function: entry to ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: call_function: calling ‘init_globals’ from ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: return_function: returning to ‘main’ from ‘init_globals’
cdrkit-1.1.11/icedax/icedax.c:2101:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2166:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2169:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2173:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2173:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2176:14: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2178:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2196:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2262:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2265:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2265:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2268:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2268:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2272:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2272:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2283:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2283:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2286:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2286:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2289:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2289:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2292:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2292:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2295:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2295:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2299:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2299:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2307:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2307:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2311:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2311:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2314:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2326:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2329:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2329:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2335:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2335:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2339:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2339:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2343:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2343:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: following ‘false’ branch (when ‘rectime >= 0.0’)...
cdrkit-1.1.11/icedax/icedax.c:2353:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2353:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2357:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2361:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2425:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2427:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2427:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2436:10: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2444:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2453:6: branch_false: following ‘false’ branch (when ‘argc <= moreargs’)...
cdrkit-1.1.11/icedax/icedax.c:2469:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:1049:13: enter_function: entry to ‘exit_wrapper’
cdrkit-1.1.11/icedax/icedax.c:1056:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:1065:17: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:1065:17: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def187]
cdrkit-1.1.11/icedax/icedax.c:1090:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
cdrkit-1.1.11/icedax/icedax.c:2028:5: enter_function: entry to ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: call_function: calling ‘init_globals’ from ‘main’
cdrkit-1.1.11/icedax/icedax.c:2048:3: return_function: returning to ‘main’ from ‘init_globals’
cdrkit-1.1.11/icedax/icedax.c:2101:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2166:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2169:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2173:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2173:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2176:14: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2178:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2196:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2262:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2265:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2265:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2268:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2268:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2272:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2272:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2283:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2283:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2286:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2286:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2289:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2289:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2292:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2292:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2295:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2295:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2299:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2299:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2307:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2307:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2311:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2311:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2314:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2326:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2329:13: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2329:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2335:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2335:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2339:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2339:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2343:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2343:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2346:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2348:6: branch_false: following ‘false’ branch (when ‘rectime >= 0.0’)...
cdrkit-1.1.11/icedax/icedax.c:2353:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2353:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2357:8: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2361:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2425:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2427:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2427:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:6: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2436:10: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2435:7: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2444:7: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2453:6: branch_false: following ‘false’ branch (when ‘argc <= moreargs’)...
cdrkit-1.1.11/icedax/icedax.c:2469:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2469:5: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2470:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2470:5: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2471:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2471:5: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2472:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:2472:5: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/icedax.c:2474:5: branch_false: ...to here
cdrkit-1.1.11/icedax/icedax.c:1073:13: enter_function: entry to ‘set_nonforked’
cdrkit-1.1.11/icedax/icedax.c:1090:9: danger: call to ‘exit’ from within signal handler
Error: COMPILER_WARNING (CWE-563): [#def188]
cdrkit-1.1.11/icedax/icedax.c: scope_hint: In function ‘do_read’
cdrkit-1.1.11/icedax/icedax.c:1367:29: warning[-Wunused-but-set-variable]: variable ‘retval’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def189]
cdrkit-1.1.11/icedax/icedax.c:2504: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def190]
cdrkit-1.1.11/icedax/icedax.c:2504: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: CPPCHECK_WARNING (CWE-476): [#def191]
cdrkit-1.1.11/icedax/ringbuff.c:135: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def192]
cdrkit-1.1.11/icedax/ringbuff.c:135: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: CPPCHECK_WARNING (CWE-476): [#def193]
cdrkit-1.1.11/icedax/ringbuff.c:156: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def194]
cdrkit-1.1.11/icedax/ringbuff.c:156: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: CPPCHECK_WARNING (CWE-476): [#def195]
cdrkit-1.1.11/icedax/ringbuff.c:158: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def196]
cdrkit-1.1.11/icedax/ringbuff.c:158: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: GCC_ANALYZER_WARNING: [#def197]
cdrkit-1.1.11/icedax/scsi_cmds.c:629:41: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
cdrkit-1.1.11/icedax/scsi_cmds.c:393:17: enter_function: entry to ‘collect_tracks’
cdrkit-1.1.11/icedax/scsi_cmds.c:431:21: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/scsi_cmds.c:439:20: branch_true: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:439:20: branch_false: following ‘false’ branch (when ‘bcd_flag == 0’)...
cdrkit-1.1.11/icedax/scsi_cmds.c:448:25: branch_false: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:593:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/scsi_cmds.c:603:28: branch_false: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:603:28: branch_false: following ‘false’ branch (when ‘bcd_flag == 0’)...
cdrkit-1.1.11/icedax/scsi_cmds.c:606:29: branch_false: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:606:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/scsi_cmds.c:607:51: branch_false: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:606:29: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/scsi_cmds.c:615:55: call_function: inlined call to ‘dvd_lba’ from ‘collect_tracks’
cdrkit-1.1.11/icedax/scsi_cmds.c:621:36: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/scsi_cmds.c:629:66: branch_false: ...to here
cdrkit-1.1.11/icedax/scsi_cmds.c:629:41: danger: overlapping buffers passed as arguments to ‘memcpy’
Error: COMPILER_WARNING: [#def198]
cdrkit-1.1.11/icedax/scsi_cmds.c: scope_hint: In function ‘ReadStandardSub’
cdrkit-1.1.11/icedax/scsi_cmds.c:1392:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def199]
cdrkit-1.1.11/icedax/scsi_cmds.c:1392:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def200]
cdrkit-1.1.11/icedax/scsi_cmds.c: scope_hint: In function ‘SpeedSelectSCSIYamaha’
cdrkit-1.1.11/icedax/scsi_cmds.c:1512:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def201]
cdrkit-1.1.11/icedax/scsi_cmds.c:1512:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def202]
cdrkit-1.1.11/icedax/sndconfig.c: scope_hint: In function ‘set_snd_device’
cdrkit-1.1.11/icedax/sndconfig.c:84:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 200 equals destination size
Error: COMPILER_WARNING: [#def203]
cdrkit-1.1.11/icedax/toc.c:412:25: warning[-Warray-bounds=]: array subscript 171 is above array bounds of ‘struct TOC_t[101]’
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘DisplayToc’
cdrkit-1.1.11/icedax/toc.c:3323:14: note: while referencing ‘g_toc’
Error: COMPILER_WARNING: [#def204]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘calc_cdindex_id’
cdrkit-1.1.11/icedax/toc.c:633:29: warning[-Wformat-overflow=]: ‘__sprintf_chk’ may write a terminating nul past the end of the destination
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 9 and 10 bytes into a destination of size 9
Error: COMPILER_WARNING: [#def205]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘calc_cdindex_id’
cdrkit-1.1.11/icedax/toc.c:638:37: warning[-Wformat-overflow=]: ‘__sprintf_chk’ may write a terminating nul past the end of the destination
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 9 and 10 bytes into a destination of size 9
Error: COMPILER_WARNING (CWE-563): [#def206]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘emit_cddb_form’
cdrkit-1.1.11/icedax/toc.c:707:12: warning[-Wunused-but-set-variable]: variable ‘first_audio’ set but not used
Error: COMPILER_WARNING: [#def207]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘FixupTOC’
cdrkit-1.1.11/icedax/toc.c:774:43: warning[-Wformat-overflow=]: ‘__sprintf_chk’ may write a terminating nul past the end of the destination
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 9 and 11 bytes into a destination of size 10
Error: CPPCHECK_WARNING (CWE-401): [#def208]
cdrkit-1.1.11/icedax/toc.c:936: error[memleakOnRealloc]: Common realloc mistake: 'target' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-563): [#def209]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘handle_userchoice’
cdrkit-1.1.11/icedax/toc.c:1072:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def210]
cdrkit-1.1.11/icedax/toc.c:1132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def211]
cdrkit-1.1.11/icedax/toc.c:1133: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def212]
cdrkit-1.1.11/icedax/toc.c:1134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def213]
cdrkit-1.1.11/icedax/toc.c:1135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def214]
cdrkit-1.1.11/icedax/toc.c:1136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: COMPILER_WARNING: [#def215]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘request_titles’
cdrkit-1.1.11/icedax/toc.c:1136:32: warning[-Warray-bounds=]: array subscript ‘char *[0]’ is partly outside array bounds of ‘unsigned char[4]’
cdrkit-1.1.11/icedax/toc.c:1135:35: note: object of size 4 allocated by ‘malloc’
Error: CPPCHECK_WARNING (CWE-476): [#def216]
cdrkit-1.1.11/icedax/toc.c:1137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: (struct in_addr*)(he->h_addr_list[0])
Error: CPPCHECK_WARNING (CWE-476): [#def217]
cdrkit-1.1.11/icedax/toc.c:1137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def218]
cdrkit-1.1.11/icedax/toc.c:1140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def219]
cdrkit-1.1.11/icedax/toc.c:1149: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def220]
cdrkit-1.1.11/icedax/toc.c:1150: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def221]
cdrkit-1.1.11/icedax/toc.c:1162: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: se
Error: CPPCHECK_WARNING (CWE-476): [#def222]
cdrkit-1.1.11/icedax/toc.c:1163: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: se
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
cdrkit-1.1.11/icedax/toc.c:2375:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:2373:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2373:13: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/toc.c:2375:21: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2375:21: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def224]
cdrkit-1.1.11/icedax/toc.c:2381: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def225]
cdrkit-1.1.11/icedax/toc.c:2381: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: CPPCHECK_WARNING (CWE-119): [#def226]
cdrkit-1.1.11/icedax/toc.c:2444: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (char*)subq_cat->media_catalog_number
Error: COMPILER_WARNING: [#def227]
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘Read_MCN_ISRC’
cdrkit-1.1.11/icedax/toc.c:2446:64: warning[-Wformat-overflow=]: ‘%1.1X’ directive writing between 1 and 2 bytes into a region of size between 1 and 7
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
cdrkit-1.1.11/icedax/toc.c:2446:33: note: directive argument in the range [0, 255]
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 14 and 27 bytes into a destination of size 13
Error: CPPCHECK_WARNING (CWE-476): [#def228]
cdrkit-1.1.11/icedax/toc.c:2479: error[nullPointer]: Null pointer dereference: (struct myringbuff*)0
Error: CPPCHECK_WARNING (CWE-476): [#def229]
cdrkit-1.1.11/icedax/toc.c:2479: error[nullPointer]: Null pointer dereference: (struct ringbuffheader*)0
Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
cdrkit-1.1.11/icedax/toc.c:2626:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:2496:13: enter_function: entry to ‘Get_Set_ISRC’
cdrkit-1.1.11/icedax/toc.c:2510:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2511:17: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2513:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2513:13: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2517:32: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2555:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2586:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/toc.c:2612:28: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2612:28: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2619:40: branch_true: following ‘true’ branch (when ‘bits != 30’)...
cdrkit-1.1.11/icedax/toc.c:2620:51: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2621:36: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2626:53: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2626:53: call_function: inlined call to ‘Get_ISRC’ from ‘Get_Set_ISRC’
cdrkit-1.1.11/icedax/toc.c:2626:41: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2626:41: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
cdrkit-1.1.11/icedax/toc.c:2665:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:2496:13: enter_function: entry to ‘Get_Set_ISRC’
cdrkit-1.1.11/icedax/toc.c:2510:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2511:17: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2513:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2513:13: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2517:32: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2657:38: branch_true: following ‘true’ branch (when ‘ii != 12’)...
cdrkit-1.1.11/icedax/toc.c:2658:39: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2662:28: branch_true: following ‘true’ branch (when ‘ii != 12’)...
cdrkit-1.1.11/icedax/toc.c:2665:45: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2665:45: call_function: inlined call to ‘Get_ISRC’ from ‘Get_Set_ISRC’
cdrkit-1.1.11/icedax/toc.c:2665:33: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2665:33: danger: dereference of NULL ‘<unknown>’
Error: CPPCHECK_WARNING (CWE-457): [#def232]
cdrkit-1.1.11/icedax/toc.c:2690: warning[uninitvar]: Uninitialized variable: p_start
Error: GCC_ANALYZER_WARNING (CWE-476): [#def233]
cdrkit-1.1.11/icedax/toc.c:2722:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:2699:6: enter_function: entry to ‘Read_MCN_ISRC’
cdrkit-1.1.11/icedax/toc.c:2715:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2718:17: call_function: inlined call to ‘InitIterator’ from ‘Read_MCN_ISRC’
cdrkit-1.1.11/icedax/toc.c:2720:24: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2721:43: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2721:43: call_function: calling ‘it_getNextTrack’ from ‘Read_MCN_ISRC’
cdrkit-1.1.11/icedax/toc.c:2721:43: return_function: returning to ‘Read_MCN_ISRC’ from ‘it_getNextTrack’
cdrkit-1.1.11/icedax/toc.c:2724:28: branch_false: following ‘false’ branch (when ‘ii != 170’)...
cdrkit-1.1.11/icedax/toc.c:2726:30: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2720:24: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2721:43: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2721:43: call_function: calling ‘it_getNextTrack’ from ‘Read_MCN_ISRC’
cdrkit-1.1.11/icedax/toc.c:2721:43: return_function: returning to ‘Read_MCN_ISRC’ from ‘it_getNextTrack’
cdrkit-1.1.11/icedax/toc.c:2722:39: danger: dereference of NULL ‘i.getNextTrack(&i)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
cdrkit-1.1.11/icedax/toc.c:3306:10: warning[-Wanalyzer-malloc-leak]: leak of ‘baseindex_pool’
cdrkit-1.1.11/icedax/toc.c:3149:35: acquire_memory: allocated here
cdrkit-1.1.11/icedax/toc.c:3306:10: danger: ‘baseindex_pool’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
cdrkit-1.1.11/icedax/toc.c:3413:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/icedax/toc.c:2496:13: enter_function: entry to ‘Get_Set_ISRC’
cdrkit-1.1.11/icedax/toc.c:2510:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2511:17: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2513:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2513:13: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2517:32: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2586:28: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/toc.c:2612:28: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2612:28: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2619:40: branch_true: following ‘true’ branch (when ‘bits != 30’)...
cdrkit-1.1.11/icedax/toc.c:2620:51: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2621:36: branch_false: following ‘false’ branch...
cdrkit-1.1.11/icedax/toc.c:2634:40: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2637:36: branch_false: following ‘false’ branch (when ‘bits != 6’)...
cdrkit-1.1.11/icedax/toc.c:2619:51: branch_false: ...to here
cdrkit-1.1.11/icedax/toc.c:2690:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/icedax/toc.c:2691:25: branch_true: ...to here
cdrkit-1.1.11/icedax/toc.c:2691:25: call_function: inlined call to ‘Set_ISRC’ from ‘Get_Set_ISRC’
Error: COMPILER_WARNING: [#def236]
cdrkit-1.1.11/icedax/toc.c:3698:21: warning[-Warray-bounds=]: array subscript 4294967295 is above array bounds of ‘struct TOC_t[101]’
cdrkit-1.1.11/icedax/toc.c: scope_hint: In function ‘FixupTOC’
cdrkit-1.1.11/icedax/toc.c:3323:14: note: while referencing ‘g_toc’
Error: COMPILER_WARNING: [#def237]
cdrkit-1.1.11/wodim/drv_mmc.c:51: included_from: Included from here.
cdrkit-1.1.11/wodim/drv_mmc.c: scope_hint: In function ‘drivemode_plextor’
cdrkit-1.1.11/include/intcvt.h:41:48: warning[-Warray-bounds=]: array subscript 2 is above array bounds of ‘Uchar[2]’
cdrkit-1.1.11/libusal/usal/usalcmd.h:56: included_from: Included from here.
cdrkit-1.1.11/wodim/drv_mmc.c:54: included_from: Included from here.
cdrkit-1.1.11/libusal/usal/scsicdb.h:125:17: note: while referencing ‘count’
Error: COMPILER_WARNING: [#def238]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fcons.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fcons.c: scope_hint: In function ‘_fcons64’
cdrkit-1.1.11/include/schily.h:97:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/fcons.c:68:1: note: in expansion of macro ‘_fcons’
Error: COMPILER_WARNING: [#def239]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fdup.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fdup.c: scope_hint: In function ‘fdup64’
cdrkit-1.1.11/include/schily.h:98:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/fdup.c:40:1: note: in expansion of macro ‘fdup’
Error: COMPILER_WARNING: [#def240]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileluopen.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileluopen.c: scope_hint: In function ‘fileluopen64’
cdrkit-1.1.11/include/schily.h:99:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/fileluopen.c:56:1: note: in expansion of macro ‘fileluopen’
Error: COMPILER_WARNING: [#def241]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileopen.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileopen.c: scope_hint: In function ‘fileopen64’
cdrkit-1.1.11/include/schily.h:100:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/fileopen.c:35:1: note: in expansion of macro ‘fileopen’
Error: COMPILER_WARNING: [#def242]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filepos.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filepos.c: scope_hint: In function ‘filepos64’
cdrkit-1.1.11/include/schily.h:102:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/filepos.c:40:1: note: in expansion of macro ‘filepos’
Error: COMPILER_WARNING: [#def243]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filereopen.c:34: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filereopen.c: scope_hint: In function ‘filereopen64’
cdrkit-1.1.11/include/schily.h:103:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/filereopen.c:70:1: note: in expansion of macro ‘filereopen’
Error: COMPILER_WARNING: [#def244]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileseek.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/fileseek.c: scope_hint: In function ‘fileseek64’
cdrkit-1.1.11/include/schily.h:104:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/fileseek.c:42:1: note: in expansion of macro ‘fileseek’
Error: COMPILER_WARNING: [#def245]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filesize.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filesize.c: scope_hint: In function ‘filesize64’
cdrkit-1.1.11/include/schily.h:105:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/filesize.c:36:1: note: in expansion of macro ‘filesize’
Error: COMPILER_WARNING: [#def246]
cdrkit-1.1.11/librols/stdio/schilyio.h:40: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filestat.c:32: included_from: Included from here.
cdrkit-1.1.11/librols/stdio/filestat.c: scope_hint: In function ‘filestat64’
cdrkit-1.1.11/include/schily.h:106:33: warning[-Wold-style-definition]: old-style function definition
cdrkit-1.1.11/librols/stdio/filestat.c:36:1: note: in expansion of macro ‘filestat’
Error: CPPCHECK_WARNING (CWE-457): [#def247]
cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19: error[uninitvar]: Uninitialized variable: b
Error: CPPCHECK_WARNING (CWE-664): [#def248]
cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19: error[va_list_usedBeforeStarted]: va_list 'a' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def249]
cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19: error[va_list_usedBeforeStarted]: va_list 'b' used before va_start() was called.
Error: COMPILER_WARNING: [#def250]
cdrkit-1.1.11/libedc/edc_ecc.c:247:32: warning[-Warray-parameter=]: argument 1 of type ‘unsigned char[2352]’ with mismatched bound
cdrkit-1.1.11/libedc/edc_ecc.c:45: included_from: Included from here.
cdrkit-1.1.11/libedc/ecc.h:98:33: note: previously declared as ‘unsigned char *’
Error: COMPILER_WARNING: [#def251]
cdrkit-1.1.11/libedc/edc_ecc.c:251:28: warning[-Warray-parameter=]: argument 1 of type ‘unsigned char[2352]’ with mismatched bound
cdrkit-1.1.11/libedc/ecc.h:98:33: note: previously declared as ‘unsigned char *’
Error: CPPCHECK_WARNING (CWE-823): [#def252]
cdrkit-1.1.11/libedc/edc_ecc.c:360: error[arrayIndexOutOfBounds]: Array 'inout[32]' accessed at index 2323, which is out of bounds.
Error: COMPILER_WARNING (CWE-1164): [#def253]
cdrkit-1.1.11/libedc/edc_ecc.c:597:5: warning[-Wunused-function]: ‘do_decode_L1’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def254]
cdrkit-1.1.11/libedc/edc_ecc.c:677:12: warning[-Wunused-function]: ‘do_decode_L2’ defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def255]
cdrkit-1.1.11/libedc/edcspeed.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sect
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
cdrkit-1.1.11/libedc/edcspeed.c:41:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sect’
cdrkit-1.1.11/libedc/edcspeed.c:33:16: acquire_memory: this call could return NULL
cdrkit-1.1.11/libedc/edcspeed.c:40:19: branch_true: following ‘true’ branch (when ‘i != 2352’)...
cdrkit-1.1.11/libedc/edcspeed.c:41:22: branch_true: ...to here
cdrkit-1.1.11/libedc/edcspeed.c:41:17: danger: ‘sect + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def257]
cdrkit-1.1.11/libedc/edcspeed.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sect
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
cdrkit-1.1.11/libedc/edcspeed.c:66:16: warning[-Wanalyzer-malloc-leak]: leak of ‘sect’
cdrkit-1.1.11/libedc/edcspeed.c:33:16: acquire_memory: allocated here
cdrkit-1.1.11/libedc/edcspeed.c:40:19: branch_true: following ‘true’ branch (when ‘i != 2352’)...
cdrkit-1.1.11/libedc/edcspeed.c:41:22: branch_true: ...to here
cdrkit-1.1.11/libedc/edcspeed.c:40:19: branch_true: following ‘true’ branch (when ‘i != 2352’)...
cdrkit-1.1.11/libedc/edcspeed.c:41:22: branch_true: ...to here
cdrkit-1.1.11/libedc/edcspeed.c:46:19: branch_true: following ‘true’ branch (when ‘i != 750000000’)...
cdrkit-1.1.11/libedc/edcspeed.c:57:25: branch_true: ...to here
cdrkit-1.1.11/libedc/edcspeed.c:66:16: danger: ‘sect’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def259]
cdrkit-1.1.11/libhfs_iso/hfs.c:404:10: warning[-Wanalyzer-infinite-loop]: infinite loop
cdrkit-1.1.11/libhfs_iso/hfs.c:404:10: danger: infinite loop here
cdrkit-1.1.11/libhfs_iso/hfs.c:404:10: branch_true: if it ever follows ‘true’ branch, it will always do so...
cdrkit-1.1.11/libhfs_iso/hfs.c:403:1: branch_true: ...to here
Error: CPPCHECK_WARNING (CWE-682): [#def260]
cdrkit-1.1.11/libhfs_iso/hfs.c:691: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: COMPILER_WARNING: [#def261]
cdrkit-1.1.11/librols/astoi.c: scope_hint: In function ‘astoi’
cdrkit-1.1.11/librols/astoi.c:77:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def262]
cdrkit-1.1.11/librols/astoi.c:77:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def263]
cdrkit-1.1.11/librols/astoi.c: scope_hint: In function ‘astol’
cdrkit-1.1.11/librols/astoi.c:90:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def264]
cdrkit-1.1.11/librols/astoi.c:90:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def265]
cdrkit-1.1.11/librols/astoi.c: scope_hint: In function ‘astolb’
cdrkit-1.1.11/librols/astoi.c:98:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def266]
cdrkit-1.1.11/librols/astoi.c:98:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def267]
cdrkit-1.1.11/librols/astoll.c: scope_hint: In function ‘astoll’
cdrkit-1.1.11/librols/astoll.c:59:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def268]
cdrkit-1.1.11/librols/astoll.c:59:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def269]
cdrkit-1.1.11/librols/astoll.c: scope_hint: In function ‘astollb’
cdrkit-1.1.11/librols/astoll.c:67:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def270]
cdrkit-1.1.11/librols/astoll.c:67:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def271]
cdrkit-1.1.11/librols/astoull.c: scope_hint: In function ‘astoull’
cdrkit-1.1.11/librols/astoull.c:76:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def272]
cdrkit-1.1.11/librols/astoull.c:76:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def273]
cdrkit-1.1.11/librols/astoull.c: scope_hint: In function ‘astoullb’
cdrkit-1.1.11/librols/astoull.c:84:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def274]
cdrkit-1.1.11/librols/astoull.c:84:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def275]
cdrkit-1.1.11/librols/cmpbytes.c: scope_hint: In function ‘cmpbytes’
cdrkit-1.1.11/librols/cmpbytes.c:41:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def276]
cdrkit-1.1.11/librols/cmpbytes.c:41:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def277]
cdrkit-1.1.11/librols/comerr.c: scope_hint: In function ‘on_comerr’
cdrkit-1.1.11/librols/comerr.c:66:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def278]
cdrkit-1.1.11/librols/comerr.c:66:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def279]
cdrkit-1.1.11/librols/comerr.c: scope_hint: In function ‘_comerr’
cdrkit-1.1.11/librols/comerr.c:200:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def280]
cdrkit-1.1.11/librols/comerr.c:200:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def281]
cdrkit-1.1.11/librols/comerr.c: scope_hint: In function ‘comexit’
cdrkit-1.1.11/librols/comerr.c:231:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def282]
cdrkit-1.1.11/librols/comerr.c:231:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def283]
cdrkit-1.1.11/librols/comerr.c: scope_hint: In function ‘errmsgstr’
cdrkit-1.1.11/librols/comerr.c:243:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def284]
cdrkit-1.1.11/librols/comerr.c:243:1: warning[-Wold-style-definition]: old-style function definition
Error: CPPCHECK_WARNING (CWE-682): [#def285]
cdrkit-1.1.11/librols/fexec.c:112: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def286]
cdrkit-1.1.11/librols/fexec.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pav++
Error: CPPCHECK_WARNING (CWE-682): [#def287]
cdrkit-1.1.11/librols/fexec.c:169: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def288]
cdrkit-1.1.11/librols/fexec.c:169: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pav++
Error: COMPILER_WARNING: [#def289]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘rols_fexecv’
cdrkit-1.1.11/librols/fexec.c:180:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def290]
cdrkit-1.1.11/librols/fexec.c:180:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def291]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘rols_fexecve’
cdrkit-1.1.11/librols/fexec.c:191:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def292]
cdrkit-1.1.11/librols/fexec.c:191:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def293]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘fdcopy’
cdrkit-1.1.11/librols/fexec.c:357:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def294]
cdrkit-1.1.11/librols/fexec.c:357:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def295]
cdrkit-1.1.11/librols/fexec.c:361:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd2’
cdrkit-1.1.11/librols/fexec.c:191:1: enter_function: entry to ‘rols_fexecve’
cdrkit-1.1.11/librols/fexec.c:264:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/librols/fexec.c:265:24: branch_true: ...to here
cdrkit-1.1.11/librols/fexec.c:282:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/librols/fexec.c:283:17: branch_true: ...to here
cdrkit-1.1.11/librols/fexec.c:283:17: release_resource: first ‘close’ here
cdrkit-1.1.11/librols/fexec.c:295:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/librols/fexec.c:299:23: branch_true: ...to here
cdrkit-1.1.11/librols/fexec.c:330:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/librols/fexec.c:336:12: branch_false: ...to here
cdrkit-1.1.11/librols/fexec.c:336:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/librols/fexec.c:342:12: branch_false: ...to here
cdrkit-1.1.11/librols/fexec.c:342:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/librols/fexec.c:343:17: call_function: inlined call to ‘fdmove’ from ‘rols_fexecve’
Error: COMPILER_WARNING: [#def296]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘fdmove’
cdrkit-1.1.11/librols/fexec.c:366:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def297]
cdrkit-1.1.11/librols/fexec.c:366:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def298]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘getpath’
cdrkit-1.1.11/librols/fexec.c:383:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def299]
cdrkit-1.1.11/librols/fexec.c:383:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def300]
cdrkit-1.1.11/librols/fexec.c: scope_hint: In function ‘chkname’
cdrkit-1.1.11/librols/fexec.c:408:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def301]
cdrkit-1.1.11/librols/fexec.c:408:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def302]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘getfiles’
cdrkit-1.1.11/librols/getargs.c:162:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def303]
cdrkit-1.1.11/librols/getargs.c:162:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def304]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘_getargs’
cdrkit-1.1.11/librols/getargs.c:186:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def305]
cdrkit-1.1.11/librols/getargs.c:186:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def306]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘dofile’
cdrkit-1.1.11/librols/getargs.c:220:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def307]
cdrkit-1.1.11/librols/getargs.c:220:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def308]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘doflag’
cdrkit-1.1.11/librols/getargs.c:275:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def309]
cdrkit-1.1.11/librols/getargs.c:275:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-563): [#def310]
cdrkit-1.1.11/librols/getargs.c:283:17: warning[-Wunused-but-set-variable]: variable ‘argstr’ set but not used
Error: COMPILER_WARNING: [#def311]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘dosflags’
cdrkit-1.1.11/librols/getargs.c:666:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def312]
cdrkit-1.1.11/librols/getargs.c:666:1: warning[-Wold-style-definition]: old-style function definition
Error: CPPCHECK_WARNING (CWE-457): [#def313]
cdrkit-1.1.11/librols/getargs.c:703: warning[uninitvar]: Uninitialized variable: rsf
Error: CPPCHECK_WARNING (CWE-664): [#def314]
cdrkit-1.1.11/librols/getargs.c:707: error[va_end_missing]: va_list 'args' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-404): [#def315]
cdrkit-1.1.11/librols/getargs.c:792:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
cdrkit-1.1.11/librols/getargs.c:696:9: acquire_resource: ‘va_copy’ called here
cdrkit-1.1.11/librols/getargs.c:698:12: branch_false: following ‘false’ branch (when ‘setargs == 0’)...
branch_false: ...to here
cdrkit-1.1.11/librols/getargs.c:719:16: branch_false: following ‘false’ branch...
branch_false: ...to here
cdrkit-1.1.11/librols/getargs.c:792:1: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def316]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘checkfmt’
cdrkit-1.1.11/librols/getargs.c:802:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def317]
cdrkit-1.1.11/librols/getargs.c:802:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def318]
cdrkit-1.1.11/librols/getargs.c: scope_hint: In function ‘checkeql’
cdrkit-1.1.11/librols/getargs.c:828:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def319]
cdrkit-1.1.11/librols/getargs.c:828:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def320]
cdrkit-1.1.11/librols/handlecond.c: scope_hint: In function ‘starthandlecond’
cdrkit-1.1.11/librols/handlecond.c:210:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def321]
cdrkit-1.1.11/librols/handlecond.c:210:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def322]
cdrkit-1.1.11/librols/handlecond.c: scope_hint: In function ‘unhandlecond’
cdrkit-1.1.11/librols/handlecond.c:252:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def323]
cdrkit-1.1.11/librols/handlecond.c:252:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def324]
cdrkit-1.1.11/librols/movebytes.c: scope_hint: In function ‘movebytes’
cdrkit-1.1.11/librols/movebytes.c:41:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def325]
cdrkit-1.1.11/librols/movebytes.c:41:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-563): [#def326]
cdrkit-1.1.11/librols/raisecond.c:61:34: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
cdrkit-1.1.11/librols/raisecond.c:176:9: note: in expansion of macro ‘eprints’
Error: COMPILER_WARNING (CWE-563): [#def327]
cdrkit-1.1.11/librols/raisecond.c:62:34: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
cdrkit-1.1.11/librols/raisecond.c:176:44: note: in expansion of macro ‘eprintl’
Error: COMPILER_WARNING: [#def328]
cdrkit-1.1.11/librols/raisecond.c: scope_hint: In function ‘raisecond’
cdrkit-1.1.11/librols/raisecond.c:107:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def329]
cdrkit-1.1.11/librols/raisecond.c:107:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def330]
cdrkit-1.1.11/librols/raisecond.c: scope_hint: In function ‘framehandle’
cdrkit-1.1.11/librols/raisecond.c:152:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def331]
cdrkit-1.1.11/librols/raisecond.c:152:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def332]
cdrkit-1.1.11/librols/raisecond.c: scope_hint: In function ‘raiseabort’
cdrkit-1.1.11/librols/raisecond.c:173:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def333]
cdrkit-1.1.11/librols/raisecond.c:173:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def334]
cdrkit-1.1.11/librols/saveargs.c: scope_hint: In function ‘save_args’
cdrkit-1.1.11/librols/saveargs.c:57:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def335]
cdrkit-1.1.11/librols/saveargs.c:57:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def336]
cdrkit-1.1.11/librols/saveargs.c: scope_hint: In function ‘set_progname’
cdrkit-1.1.11/librols/saveargs.c:99:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def337]
cdrkit-1.1.11/librols/saveargs.c:99:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def338]
cdrkit-1.1.11/librols/seterrno.c: scope_hint: In function ‘seterrno’
cdrkit-1.1.11/librols/seterrno.c:47:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def339]
cdrkit-1.1.11/librols/seterrno.c:47:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def340]
cdrkit-1.1.11/librols/spawn.c: scope_hint: In function ‘fspawnv’
cdrkit-1.1.11/librols/spawn.c:53:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def341]
cdrkit-1.1.11/librols/spawn.c:53:1: warning[-Wold-style-definition]: old-style function definition
Error: CPPCHECK_WARNING (CWE-682): [#def342]
cdrkit-1.1.11/librols/spawn.c:113: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def343]
cdrkit-1.1.11/librols/spawn.c:113: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pav++
Error: COMPILER_WARNING: [#def344]
cdrkit-1.1.11/librols/spawn.c: scope_hint: In function ‘fspawnv_nowait’
cdrkit-1.1.11/librols/spawn.c:124:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def345]
cdrkit-1.1.11/librols/spawn.c:124:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def346]
cdrkit-1.1.11/librols/spawn.c: scope_hint: In function ‘wait_chld’
cdrkit-1.1.11/librols/spawn.c:152:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def347]
cdrkit-1.1.11/librols/spawn.c:152:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def348]
cdrkit-1.1.11/librols/stdio/cvmod.c: scope_hint: In function ‘_cvmod’
cdrkit-1.1.11/librols/stdio/cvmod.c:42:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def349]
cdrkit-1.1.11/librols/stdio/cvmod.c:42:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def350]
cdrkit-1.1.11/librols/stdio/fcons.c:68:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def351]
cdrkit-1.1.11/librols/stdio/fdown.c: scope_hint: In function ‘fdown’
cdrkit-1.1.11/librols/stdio/fdown.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def352]
cdrkit-1.1.11/librols/stdio/fdown.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def353]
cdrkit-1.1.11/librols/stdio/fdup.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def354]
cdrkit-1.1.11/librols/stdio/ffileread.c: scope_hint: In function ‘ffileread’
cdrkit-1.1.11/librols/stdio/ffileread.c:36:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def355]
cdrkit-1.1.11/librols/stdio/ffileread.c:36:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def356]
cdrkit-1.1.11/librols/stdio/ffilewrite.c: scope_hint: In function ‘ffilewrite’
cdrkit-1.1.11/librols/stdio/ffilewrite.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def357]
cdrkit-1.1.11/librols/stdio/ffilewrite.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def358]
cdrkit-1.1.11/librols/stdio/fgetline.c: scope_hint: In function ‘rols_fgetline’
cdrkit-1.1.11/librols/stdio/fgetline.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def359]
cdrkit-1.1.11/librols/stdio/fgetline.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def360]
cdrkit-1.1.11/librols/stdio/fgetline.c: scope_hint: In function ‘rols_getline’
cdrkit-1.1.11/librols/stdio/fgetline.c:79:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def361]
cdrkit-1.1.11/librols/stdio/fgetline.c:79:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def362]
cdrkit-1.1.11/librols/stdio/file_raise.c: scope_hint: In function ‘file_raise’
cdrkit-1.1.11/librols/stdio/file_raise.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def363]
cdrkit-1.1.11/librols/stdio/file_raise.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def364]
cdrkit-1.1.11/librols/stdio/fileclose.c: scope_hint: In function ‘fileclose’
cdrkit-1.1.11/librols/stdio/fileclose.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def365]
cdrkit-1.1.11/librols/stdio/fileclose.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def366]
cdrkit-1.1.11/librols/stdio/fileluopen.c:56:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def367]
cdrkit-1.1.11/librols/stdio/fileopen.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def368]
cdrkit-1.1.11/librols/stdio/filepos.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def369]
cdrkit-1.1.11/librols/stdio/fileread.c: scope_hint: In function ‘fileread’
cdrkit-1.1.11/librols/stdio/fileread.c:85:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def370]
cdrkit-1.1.11/librols/stdio/fileread.c:85:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def371]
cdrkit-1.1.11/librols/stdio/filereopen.c:70:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def372]
cdrkit-1.1.11/librols/stdio/fileseek.c:42:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def373]
cdrkit-1.1.11/librols/stdio/filesize.c:36:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def374]
cdrkit-1.1.11/librols/stdio/filestat.c:36:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def375]
cdrkit-1.1.11/librols/stdio/filewrite.c: scope_hint: In function ‘filewrite’
cdrkit-1.1.11/librols/stdio/filewrite.c:86:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def376]
cdrkit-1.1.11/librols/stdio/filewrite.c:86:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def377]
cdrkit-1.1.11/librols/stdio/flag.c: scope_hint: In function ‘_more_flags’
cdrkit-1.1.11/librols/stdio/flag.c:48:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def378]
cdrkit-1.1.11/librols/stdio/flag.c:48:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def379]
cdrkit-1.1.11/librols/stdio/flag.c: scope_hint: In function ‘_io_get_my_flag’
cdrkit-1.1.11/librols/stdio/flag.c:77:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def380]
cdrkit-1.1.11/librols/stdio/flag.c:77:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-465): [#def381]
cdrkit-1.1.11/librols/stdio/flag.c:91:16: warning[-Wanalyzer-deref-before-check]: check of ‘fl’ for NULL after already dereferencing it
cdrkit-1.1.11/librols/stdio/flag.c:131:1: enter_function: entry to ‘_io_add_my_flag’
cdrkit-1.1.11/librols/stdio/flag.c:135:25: call_function: calling ‘_io_get_my_flag’ from ‘_io_add_my_flag’
Error: COMPILER_WARNING: [#def382]
cdrkit-1.1.11/librols/stdio/flag.c: scope_hint: In function ‘_io_set_my_flag’
cdrkit-1.1.11/librols/stdio/flag.c:101:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def383]
cdrkit-1.1.11/librols/stdio/flag.c:101:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def384]
cdrkit-1.1.11/librols/stdio/flag.c: scope_hint: In function ‘_io_add_my_flag’
cdrkit-1.1.11/librols/stdio/flag.c:131:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def385]
cdrkit-1.1.11/librols/stdio/flag.c:131:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def386]
cdrkit-1.1.11/librols/stdio/fpipe.c: scope_hint: In function ‘fpipe’
cdrkit-1.1.11/librols/stdio/fpipe.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def387]
cdrkit-1.1.11/librols/stdio/fpipe.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def388]
cdrkit-1.1.11/librols/stdio/niread.c: scope_hint: In function ‘_niread’
cdrkit-1.1.11/librols/stdio/niread.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def389]
cdrkit-1.1.11/librols/stdio/niread.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def390]
cdrkit-1.1.11/librols/stdio/niwrite.c: scope_hint: In function ‘_niwrite’
cdrkit-1.1.11/librols/stdio/niwrite.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def391]
cdrkit-1.1.11/librols/stdio/niwrite.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def392]
cdrkit-1.1.11/librols/stdio/nixread.c: scope_hint: In function ‘_nixread’
cdrkit-1.1.11/librols/stdio/nixread.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def393]
cdrkit-1.1.11/librols/stdio/nixread.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def394]
cdrkit-1.1.11/librols/stdio/nixwrite.c: scope_hint: In function ‘_nixwrite’
cdrkit-1.1.11/librols/stdio/nixwrite.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def395]
cdrkit-1.1.11/librols/stdio/nixwrite.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def396]
cdrkit-1.1.11/librols/stdio/openfd.c: scope_hint: In function ‘_openfd’
cdrkit-1.1.11/librols/stdio/openfd.c:39:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def397]
cdrkit-1.1.11/librols/stdio/openfd.c:39:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def398]
cdrkit-1.1.11/librols/stdio/peekc.c: scope_hint: In function ‘peekc’
cdrkit-1.1.11/librols/stdio/peekc.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def399]
cdrkit-1.1.11/librols/stdio/peekc.c:35:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def400]
cdrkit-1.1.11/librols/streql.c: scope_hint: In function ‘streql’
cdrkit-1.1.11/librols/streql.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def401]
cdrkit-1.1.11/librols/streql.c:38:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def402]
cdrkit-1.1.11/librols/swabbytes.c: scope_hint: In function ‘swabbytes’
cdrkit-1.1.11/librols/swabbytes.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def403]
cdrkit-1.1.11/librols/swabbytes.c:40:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-775): [#def404]
cdrkit-1.1.11/libunls/nls_file.c:97:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
cdrkit-1.1.11/libunls/nls_file.c:82:12: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
cdrkit-1.1.11/libunls/nls_file.c:90:13: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:90:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_file.c:93:19: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:93:19: acquire_resource: opened here
cdrkit-1.1.11/libunls/nls_file.c:93:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_file.c:98:25: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:97:12: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
cdrkit-1.1.11/libunls/nls_file.c:97:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
cdrkit-1.1.11/libunls/nls_file.c:82:12: branch_false: following ‘false’ branch (when ‘filename’ is non-NULL)...
cdrkit-1.1.11/libunls/nls_file.c:90:13: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:90:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_file.c:93:19: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:93:19: acquire_memory: allocated here
cdrkit-1.1.11/libunls/nls_file.c:93:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_file.c:98:25: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_file.c:97:12: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-404): [#def406]
cdrkit-1.1.11/libunls/nls_file.c:100: error[resourceLeak]: Resource leak: fp
Error: COMPILER_WARNING (CWE-1164): [#def407]
cdrkit-1.1.11/libunls/nls_iconv.c:53:1: warning[-Wunused-function]: ‘inc_use_count’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def408]
cdrkit-1.1.11/libunls/nls_iconv.c:59:1: warning[-Wunused-function]: ‘dec_use_count’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
cdrkit-1.1.11/libunls/nls_iconv.c:81:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UCS-2BE", charset)’
cdrkit-1.1.11/libunls/nls_iconv.c:71:12: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
cdrkit-1.1.11/libunls/nls_iconv.c:78:13: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_iconv.c:78:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_iconv.c:81:24: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_iconv.c:81:24: acquire_memory: allocated here
cdrkit-1.1.11/libunls/nls_iconv.c:81:12: danger: ‘iconv_open("UCS-2BE", charset)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
cdrkit-1.1.11/libunls/nls_iconv.c:86:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UCS-2BE", charset)’
cdrkit-1.1.11/libunls/nls_iconv.c:71:12: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
cdrkit-1.1.11/libunls/nls_iconv.c:78:13: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_iconv.c:78:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_iconv.c:81:24: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_iconv.c:81:24: acquire_memory: allocated here
cdrkit-1.1.11/libunls/nls_iconv.c:81:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libunls/nls_iconv.c:86:43: branch_false: ...to here
cdrkit-1.1.11/libunls/nls_iconv.c:86:12: danger: ‘iconv_open("UCS-2BE", charset)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def411]
cdrkit-1.1.11/libusal/scsi-linux-ata.c:685:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
cdrkit-1.1.11/libusal/scsi-linux-ata.c:278:1: enter_function: entry to ‘scan_internal’
cdrkit-1.1.11/libusal/scsi-linux-ata.c:334:37: call_function: calling ‘sg_amapdev’ from ‘scan_internal’
Error: COMPILER_WARNING: [#def412]
cdrkit-1.1.11/libusal/scsi-linux-sg.c:248: included_from: Included from here.
cdrkit-1.1.11/libusal/scsi-linux-ata.c: scope_hint: In function ‘sg_amapdev’
cdrkit-1.1.11/libusal/scsi-linux-ata.c:685:17: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 260 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-688): [#def413]
cdrkit-1.1.11/libusal/scsi-linux-ata.c:707:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
cdrkit-1.1.11/libusal/scsi-linux-ata.c:659:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:693:16: branch_true: following ‘true’ branch...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:693:16: release_memory: ‘0’ is NULL
cdrkit-1.1.11/libusal/scsi-linux-ata.c:693:16: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:697:12: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-linux-ata.c:697:12: branch_false: following ‘false’ branch (when ‘i != 8’)...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:698:18: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-linux-ata.c:697:13: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:699:17: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-linux-ata.c:697:13: branch_false: following ‘false’ branch (when the strings are equal)...
cdrkit-1.1.11/libusal/scsi-linux-ata.c:707:22: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-linux-ata.c:707:22: release_memory: ‘0’ is NULL
cdrkit-1.1.11/libusal/scsi-linux-ata.c:707:14: danger: argument 1 (‘token[1]’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-1164): [#def414]
cdrkit-1.1.11/libusal/scsihack.c:136: included_from: Included from here.
cdrkit-1.1.11/libusal/scsi-linux-sg.c:242:13: warning[-Wunused-function]: ‘get_max_secs’ declared ‘static’ but never defined
Error: GCC_ANALYZER_WARNING (CWE-775): [#def415]
cdrkit-1.1.11/libusal/scsi-linux-sg.c:263:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sg_open_excl(device, 2050, 0)’
cdrkit-1.1.11/libusal/scsi-linux-sg.c:377:1: enter_function: entry to ‘usalo_open’
cdrkit-1.1.11/libusal/scsi-linux-sg.c:391:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-linux-sg.c:449:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-linux-sg.c:475:12: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-linux-sg.c:475:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/libusal/scsi-linux-sg.c:487:21: call_function: calling ‘sg_open_excl’ from ‘usalo_open’
cdrkit-1.1.11/libusal/scsi-linux-sg.c:487:21: return_function: returning to ‘usalo_open’ from ‘sg_open_excl’
cdrkit-1.1.11/libusal/scsi-linux-sg.c:263:12: danger: ‘sg_open_excl(device, 2050, 0)’ leaks here; was opened at [(12)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def416]
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1055:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1038:11: branch_true: following ‘true’ branch...
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1042:23: branch_true: ...to here
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1051:25: branch_true: following ‘true’ branch...
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1054:36: branch_true: ...to here
cdrkit-1.1.11/libusal/scsi-linux-sg.c:1055:25: danger: dereference of NULL ‘strstr(*<unknown>, "/device/")’
Error: COMPILER_WARNING: [#def417]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rversion’
cdrkit-1.1.11/libusal/scsi-remote.c:216:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def418]
cdrkit-1.1.11/libusal/scsi-remote.c:216:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def419]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rhelp’
cdrkit-1.1.11/libusal/scsi-remote.c:262:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def420]
cdrkit-1.1.11/libusal/scsi-remote.c:262:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def421]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_ropen’
cdrkit-1.1.11/libusal/scsi-remote.c:272:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def422]
cdrkit-1.1.11/libusal/scsi-remote.c:272:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def423]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rclose’
cdrkit-1.1.11/libusal/scsi-remote.c:344:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def424]
cdrkit-1.1.11/libusal/scsi-remote.c:344:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def425]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rmaxdma’
cdrkit-1.1.11/libusal/scsi-remote.c:377:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def426]
cdrkit-1.1.11/libusal/scsi-remote.c:377:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def427]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rgetbuf’
cdrkit-1.1.11/libusal/scsi-remote.c:388:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def428]
cdrkit-1.1.11/libusal/scsi-remote.c:388:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def429]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rfreebuf’
cdrkit-1.1.11/libusal/scsi-remote.c:414:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def430]
cdrkit-1.1.11/libusal/scsi-remote.c:414:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def431]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rhavebus’
cdrkit-1.1.11/libusal/scsi-remote.c:433:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def432]
cdrkit-1.1.11/libusal/scsi-remote.c:433:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def433]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rfileno’
cdrkit-1.1.11/libusal/scsi-remote.c:444:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def434]
cdrkit-1.1.11/libusal/scsi-remote.c:444:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def435]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rinitiator_id’
cdrkit-1.1.11/libusal/scsi-remote.c:465:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def436]
cdrkit-1.1.11/libusal/scsi-remote.c:465:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def437]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_risatapi’
cdrkit-1.1.11/libusal/scsi-remote.c:475:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def438]
cdrkit-1.1.11/libusal/scsi-remote.c:475:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def439]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rreset’
cdrkit-1.1.11/libusal/scsi-remote.c:485:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def440]
cdrkit-1.1.11/libusal/scsi-remote.c:485:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def441]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘usalo_rsend’
cdrkit-1.1.11/libusal/scsi-remote.c:496:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def442]
cdrkit-1.1.11/libusal/scsi-remote.c:496:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def443]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiabrt’
cdrkit-1.1.11/libusal/scsi-remote.c:516:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def444]
cdrkit-1.1.11/libusal/scsi-remote.c:516:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def445]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsigetconn’
cdrkit-1.1.11/libusal/scsi-remote.c:523:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def446]
cdrkit-1.1.11/libusal/scsi-remote.c:523:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def447]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiversion’
cdrkit-1.1.11/libusal/scsi-remote.c:589:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def448]
cdrkit-1.1.11/libusal/scsi-remote.c:589:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def449]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiopen’
cdrkit-1.1.11/libusal/scsi-remote.c:608:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def450]
cdrkit-1.1.11/libusal/scsi-remote.c:608:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-563): [#def451]
cdrkit-1.1.11/libusal/scsi-remote.c:616:17: warning[-Wunused-but-set-variable]: variable ‘chan’ set but not used
Error: COMPILER_WARNING: [#def452]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiclose’
cdrkit-1.1.11/libusal/scsi-remote.c:635:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def453]
cdrkit-1.1.11/libusal/scsi-remote.c:635:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def454]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsimaxdma’
cdrkit-1.1.11/libusal/scsi-remote.c:643:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def455]
cdrkit-1.1.11/libusal/scsi-remote.c:643:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def456]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsigetbuf’
cdrkit-1.1.11/libusal/scsi-remote.c:655:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def457]
cdrkit-1.1.11/libusal/scsi-remote.c:655:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def458]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsifreebuf’
cdrkit-1.1.11/libusal/scsi-remote.c:699:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def459]
cdrkit-1.1.11/libusal/scsi-remote.c:699:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def460]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsihavebus’
cdrkit-1.1.11/libusal/scsi-remote.c:707:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def461]
cdrkit-1.1.11/libusal/scsi-remote.c:707:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def462]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsifileno’
cdrkit-1.1.11/libusal/scsi-remote.c:721:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def463]
cdrkit-1.1.11/libusal/scsi-remote.c:721:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def464]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiinitiator_id’
cdrkit-1.1.11/libusal/scsi-remote.c:739:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def465]
cdrkit-1.1.11/libusal/scsi-remote.c:739:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def466]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiisatapi’
cdrkit-1.1.11/libusal/scsi-remote.c:747:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def467]
cdrkit-1.1.11/libusal/scsi-remote.c:747:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def468]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsireset’
cdrkit-1.1.11/libusal/scsi-remote.c:755:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def469]
cdrkit-1.1.11/libusal/scsi-remote.c:755:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def470]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiscmd’
cdrkit-1.1.11/libusal/scsi-remote.c:767:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def471]
cdrkit-1.1.11/libusal/scsi-remote.c:767:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def472]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsifillrbuf’
cdrkit-1.1.11/libusal/scsi-remote.c:827:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def473]
cdrkit-1.1.11/libusal/scsi-remote.c:827:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def474]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsirchar’
cdrkit-1.1.11/libusal/scsi-remote.c:838:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def475]
cdrkit-1.1.11/libusal/scsi-remote.c:838:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def476]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsireadbuf’
cdrkit-1.1.11/libusal/scsi-remote.c:852:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def477]
cdrkit-1.1.11/libusal/scsi-remote.c:852:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def478]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsivoidarg’
cdrkit-1.1.11/libusal/scsi-remote.c:881:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def479]
cdrkit-1.1.11/libusal/scsi-remote.c:881:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def480]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsicmd’
cdrkit-1.1.11/libusal/scsi-remote.c:899:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def481]
cdrkit-1.1.11/libusal/scsi-remote.c:899:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def482]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsisendcmd’
cdrkit-1.1.11/libusal/scsi-remote.c:910:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def483]
cdrkit-1.1.11/libusal/scsi-remote.c:910:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def484]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsigetline’
cdrkit-1.1.11/libusal/scsi-remote.c:924:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def485]
cdrkit-1.1.11/libusal/scsi-remote.c:924:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def486]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsireadnum’
cdrkit-1.1.11/libusal/scsi-remote.c:945:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def487]
cdrkit-1.1.11/libusal/scsi-remote.c:945:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def488]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsigetstatus’
cdrkit-1.1.11/libusal/scsi-remote.c:956:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def489]
cdrkit-1.1.11/libusal/scsi-remote.c:956:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def490]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘rscsiaborted’
cdrkit-1.1.11/libusal/scsi-remote.c:1005:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def491]
cdrkit-1.1.11/libusal/scsi-remote.c:1005:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def492]
cdrkit-1.1.11/libusal/scsi-remote.c: scope_hint: In function ‘_rcmdrsh’
cdrkit-1.1.11/libusal/scsi-remote.c:1031:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def493]
cdrkit-1.1.11/libusal/scsi-remote.c:1031:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-775): [#def494]
cdrkit-1.1.11/libusal/scsi-remote.c:1076:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pp[1], 0)’
cdrkit-1.1.11/libusal/scsi-remote.c:1049:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-remote.c:1062:13: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1062:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-remote.c:1067:15: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1068:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
cdrkit-1.1.11/libusal/scsi-remote.c:1070:19: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1070:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
cdrkit-1.1.11/libusal/scsi-remote.c:1075:24: branch_true: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1076:21: acquire_resource: opened here
cdrkit-1.1.11/libusal/scsi-remote.c:1076:20: danger: ‘dup2(pp[1], 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def495]
cdrkit-1.1.11/libusal/scsi-remote.c:1076:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(0, 1)’
cdrkit-1.1.11/libusal/scsi-remote.c:1049:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-remote.c:1062:13: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1062:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-remote.c:1067:15: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1068:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
cdrkit-1.1.11/libusal/scsi-remote.c:1070:19: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1070:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
cdrkit-1.1.11/libusal/scsi-remote.c:1075:24: branch_true: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1076:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/libusal/scsi-remote.c:1077:21: branch_false: ...to here
cdrkit-1.1.11/libusal/scsi-remote.c:1077:21: acquire_resource: opened here
cdrkit-1.1.11/libusal/scsi-remote.c:1076:21: danger: ‘dup2(0, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING (CWE-1164): [#def496]
cdrkit-1.1.11/readom/readom.c: scope_hint: At top level
cdrkit-1.1.11/readom/readom.c:593:1: warning[-Wunused-function]: ‘excdr’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def497]
cdrkit-1.1.11/readom/readom.c: scope_hint: In function ‘prstats’
cdrkit-1.1.11/readom/readom.c:610:17: warning[-Wunused-but-set-variable]: variable ‘tmsec’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def498]
cdrkit-1.1.11/readom/readom.c: scope_hint: In function ‘prstats_silent’
cdrkit-1.1.11/readom/readom.c:638:17: warning[-Wunused-but-set-variable]: variable ‘tmsec’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def499]
cdrkit-1.1.11/readom/readom.c:927: error[uninitvar]: Uninitialized variable: tp->first
Error: CPPCHECK_WARNING (CWE-457): [#def500]
cdrkit-1.1.11/readom/readom.c:1573: warning[uninitvar]: Uninitialized variable: parmp->askrange
Error: CPPCHECK_WARNING (CWE-457): [#def501]
cdrkit-1.1.11/readom/readom.c:1757: error[legacyUninitvar]: Uninitialized variable: end
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
cdrkit-1.1.11/readom/readom.c:2175:17: warning[-Wanalyzer-malloc-leak]: leak of ‘badsecs’
cdrkit-1.1.11/readom/readom.c:2167:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/readom/readom.c:2168:17: branch_true: ...to here
cdrkit-1.1.11/readom/readom.c:2169:27: acquire_memory: allocated here
cdrkit-1.1.11/readom/readom.c:2170:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/readom/readom.c:2173:13: branch_false: ...to here
cdrkit-1.1.11/readom/readom.c:2173:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/readom/readom.c:2174:24: branch_true: ...to here
cdrkit-1.1.11/readom/readom.c:2175:17: danger: ‘badsecs’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def503]
cdrkit-1.1.11/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-2nT7lV/src.c:7:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘in’
Error: COMPILER_WARNING: [#def504] [important]
cdrkit-1.1.11/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-QtB8EP/src.c:3:29: error[-Wimplicit-function-declaration]: implicit declaration of function ‘drand’; did you mean ‘srand’?
Error: COMPILER_WARNING: [#def505]
cdrkit-1.1.11/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-b8kWW2/HAVE_CAMLIB_H.c:3:10: warning[fatal error]: camlib.h: No such file or directory
Error: COMPILER_WARNING: [#def506]
cdrkit-1.1.11/wodim/../include/usal/scsicdb.h:125:17: note[note]: at offset 2 into destination object ‘count’ of size 2
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
cdrkit-1.1.11/wodim/auinfo.c:187:25: warning[-Wanalyzer-malloc-leak]: leak of ‘savestr(readtstr("Albumperformer"))’
cdrkit-1.1.11/wodim/auinfo.c:148:1: enter_function: entry to ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:165:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:167:21: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:184:21: call_function: calling ‘readtstr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:184:21: return_function: returning to ‘auinfo’ from ‘readtstr’
cdrkit-1.1.11/wodim/auinfo.c:185:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:186:31: call_function: calling ‘gettextptr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:186:31: return_function: returning to ‘auinfo’ from ‘gettextptr’
cdrkit-1.1.11/wodim/auinfo.c:187:45: call_function: calling ‘savestr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:187:45: return_function: returning to ‘auinfo’ from ‘savestr’
cdrkit-1.1.11/wodim/auinfo.c:187:25: danger: ‘savestr(readtstr("Albumperformer"))’ leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
cdrkit-1.1.11/wodim/auinfo.c:192:25: warning[-Wanalyzer-malloc-leak]: leak of ‘savestr(readtstr("Performer"))’
cdrkit-1.1.11/wodim/auinfo.c:148:1: enter_function: entry to ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:165:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:167:21: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/auinfo.c:189:21: branch_false: ...to here
cdrkit-1.1.11/wodim/auinfo.c:189:21: call_function: calling ‘readtstr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:189:21: return_function: returning to ‘auinfo’ from ‘readtstr’
cdrkit-1.1.11/wodim/auinfo.c:190:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:191:31: call_function: calling ‘gettextptr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:191:31: return_function: returning to ‘auinfo’ from ‘gettextptr’
cdrkit-1.1.11/wodim/auinfo.c:192:45: call_function: calling ‘savestr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:192:45: return_function: returning to ‘auinfo’ from ‘savestr’
cdrkit-1.1.11/wodim/auinfo.c:192:25: danger: ‘savestr(readtstr("Performer"))’ leaks here; was allocated at [(23)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
cdrkit-1.1.11/wodim/auinfo.c:197:25: warning[-Wanalyzer-malloc-leak]: leak of ‘savestr(readtstr("Albumtitle"))’
cdrkit-1.1.11/wodim/auinfo.c:148:1: enter_function: entry to ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:165:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:167:21: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:185:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/auinfo.c:189:21: branch_false: ...to here
cdrkit-1.1.11/wodim/auinfo.c:190:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/auinfo.c:194:21: branch_false: ...to here
cdrkit-1.1.11/wodim/auinfo.c:194:21: call_function: calling ‘readtstr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:194:21: return_function: returning to ‘auinfo’ from ‘readtstr’
cdrkit-1.1.11/wodim/auinfo.c:195:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:196:31: call_function: calling ‘gettextptr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:196:31: return_function: returning to ‘auinfo’ from ‘gettextptr’
cdrkit-1.1.11/wodim/auinfo.c:197:41: call_function: calling ‘savestr’ from ‘auinfo’
cdrkit-1.1.11/wodim/auinfo.c:197:41: return_function: returning to ‘auinfo’ from ‘savestr’
cdrkit-1.1.11/wodim/auinfo.c:197:25: danger: ‘savestr(readtstr("Albumtitle"))’ leaks here; was allocated at [(25)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/24)
Error: CPPCHECK_WARNING (CWE-476): [#def510]
cdrkit-1.1.11/wodim/auinfo.c:381: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-688): [#def511]
cdrkit-1.1.11/wodim/auinfo.c:381:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
cdrkit-1.1.11/wodim/auinfo.c:380:13: acquire_memory: this call could return NULL
cdrkit-1.1.11/wodim/auinfo.c:381:9: danger: argument 1 (‘p’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def512]
cdrkit-1.1.11/wodim/auinfo.c:473: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-688): [#def513]
cdrkit-1.1.11/wodim/auinfo.c:473:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
cdrkit-1.1.11/wodim/auinfo.c:427:42: branch_true: following ‘true’ branch (when ‘i != 2’)...
cdrkit-1.1.11/wodim/auinfo.c:428:18: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:429:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/auinfo.c:427:49: branch_false: ...to here
cdrkit-1.1.11/wodim/auinfo.c:446:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
cdrkit-1.1.11/wodim/auinfo.c:447:18: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:448:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:448:20: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:460:21: branch_true: following ‘true’ branch (when ‘i != 7’)...
cdrkit-1.1.11/wodim/auinfo.c:461:18: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:462:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:462:20: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:472:13: acquire_memory: this call could return NULL
cdrkit-1.1.11/wodim/auinfo.c:473:9: danger: argument 1 (‘p’) from [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def514]
cdrkit-1.1.11/wodim/auinfo.c:495: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: idxlist
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
cdrkit-1.1.11/wodim/auinfo.c:495:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘idxlist’
cdrkit-1.1.11/wodim/auinfo.c:493:19: acquire_memory: this call could return NULL
cdrkit-1.1.11/wodim/auinfo.c:495:9: danger: ‘idxlist’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
cdrkit-1.1.11/wodim/auinfo.c:524:9: warning[-Wanalyzer-malloc-leak]: leak of ‘idxlist’
cdrkit-1.1.11/wodim/auinfo.c:493:19: acquire_memory: allocated here
cdrkit-1.1.11/wodim/auinfo.c:497:16: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/auinfo.c:498:21: branch_true: ...to here
cdrkit-1.1.11/wodim/auinfo.c:524:9: danger: ‘idxlist’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def517]
cdrkit-1.1.11/wodim/cdr_drv.c:202: error[uninitvar]: Uninitialized variable: &n
Error: GCC_ANALYZER_WARNING (CWE-457): [#def518]
cdrkit-1.1.11/wodim/cdr_drv.c:203:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘n’
cdrkit-1.1.11/wodim/cdr_drv.c:193:12: branch_false: following ‘false’ branch (when ‘dpp’ is non-NULL)...
cdrkit-1.1.11/wodim/cdr_drv.c:196:14: branch_false: ...to here
cdrkit-1.1.11/wodim/cdr_drv.c:200:27: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/cdr_drv.c:201:17: branch_true: ...to here
cdrkit-1.1.11/wodim/cdr_drv.c:203:17: danger: use of uninitialized value ‘n’ here
Error: COMPILER_WARNING (CWE-1164): [#def519]
cdrkit-1.1.11/wodim/cdtext.c:529:13: warning[-Wunused-function]: ‘six2eight’ defined but not used
Error: GCC_ANALYZER_WARNING: [#def520]
cdrkit-1.1.11/wodim/clone.c:101:15: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(&filename, 0)’
cdrkit-1.1.11/wodim/clone.c:98:13: acquire_resource: opened here
cdrkit-1.1.11/wodim/clone.c:99:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/clone.c:100:17: branch_true: ...to here
cdrkit-1.1.11/wodim/clone.c:101:15: danger: ‘open(&filename, 0)’ could be invalid: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def521]
cdrkit-1.1.11/wodim/cue.c: scope_hint: In function ‘parse_file.isra.0’
cdrkit-1.1.11/wodim/cue.c:477:39: warning[-Wformat-truncation=]: ‘__snprintf_chk’ output may be truncated before the last format character
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024
Error: COMPILER_WARNING (CWE-1164): [#def522]
cdrkit-1.1.11/wodim/cue.c:1006:1: warning[-Wunused-function]: ‘wdebug’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def523]
cdrkit-1.1.11/wodim/cue.c:1060:1: warning[-Wunused-function]: ‘ungetline’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def524]
cdrkit-1.1.11/wodim/cue.c:1153:1: warning[-Wunused-function]: ‘nextword’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def525]
cdrkit-1.1.11/wodim/cue.c:1165:1: warning[-Wunused-function]: ‘curword’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
cdrkit-1.1.11/wodim/defaults.c:139:1: warning[-Wanalyzer-malloc-leak]: leak of ‘devcand’
cdrkit-1.1.11/wodim/defaults.c:49:16: branch_false: following ‘false’ branch (when ‘t’ is NULL)...
cdrkit-1.1.11/wodim/defaults.c:51:26: branch_false: ...to here
cdrkit-1.1.11/wodim/defaults.c:51:16: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/defaults.c:52:25: branch_true: ...to here
cdrkit-1.1.11/wodim/defaults.c:52:25: acquire_memory: allocated here
cdrkit-1.1.11/wodim/defaults.c:54:11: branch_true: following ‘true’ branch (when ‘devcand’ is non-NULL)...
cdrkit-1.1.11/wodim/defaults.c:54:34: branch_true: ...to here
cdrkit-1.1.11/wodim/defaults.c:101:11: branch_false: following ‘false’ branch (when ‘p_fifosize’ is NULL)...
cdrkit-1.1.11/wodim/defaults.c:134:11: branch_false: ...to here
cdrkit-1.1.11/wodim/defaults.c:139:1: danger: ‘devcand’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def527]
cdrkit-1.1.11/wodim/drv_7501.c:729:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: CPPCHECK_WARNING (CWE-401): [#def528]
cdrkit-1.1.11/wodim/drv_7501.c:739: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
cdrkit-1.1.11/wodim/drv_7501.c:742:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cp’
cdrkit-1.1.11/wodim/drv_7501.c:731:21: branch_true: following ‘true’ branch (when ‘i <= tracks’)...
cdrkit-1.1.11/wodim/drv_7501.c:732:38: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:737:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/drv_7501.c:738:25: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:740:25: release_memory: ‘cue’ is NULL
cdrkit-1.1.11/wodim/drv_7501.c:741:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
cdrkit-1.1.11/wodim/drv_7501.c:742:33: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:742:33: danger: dereference of NULL ‘cp’
Error: CPPCHECK_WARNING (CWE-401): [#def530]
cdrkit-1.1.11/wodim/drv_7501.c:759: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def531]
cdrkit-1.1.11/wodim/drv_7501.c:771: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def532]
cdrkit-1.1.11/wodim/drv_7501.c:777: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def533]
cdrkit-1.1.11/wodim/drv_7501.c:786: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def534]
cdrkit-1.1.11/wodim/drv_7501.c:800: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
cdrkit-1.1.11/wodim/drv_7501.c:813:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cue’
cdrkit-1.1.11/wodim/drv_7501.c:714:1: enter_function: entry to ‘cw7501_gen_cue’
cdrkit-1.1.11/wodim/drv_7501.c:729:15: acquire_memory: allocated here
cdrkit-1.1.11/wodim/drv_7501.c:731:21: branch_true: following ‘true’ branch (when ‘i <= tracks’)...
cdrkit-1.1.11/wodim/drv_7501.c:732:38: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:737:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/drv_7501.c:757:20: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:757:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
cdrkit-1.1.11/wodim/drv_7501.c:758:25: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:761:25: call_function: calling ‘fillcue’ from ‘cw7501_gen_cue’
cdrkit-1.1.11/wodim/drv_7501.c:761:25: return_function: returning to ‘cw7501_gen_cue’ from ‘fillcue’
cdrkit-1.1.11/wodim/drv_7501.c:731:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_7501.c:797:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:802:9: call_function: calling ‘fillcue’ from ‘cw7501_gen_cue’
cdrkit-1.1.11/wodim/drv_7501.c:802:9: return_function: returning to ‘cw7501_gen_cue’ from ‘fillcue’
cdrkit-1.1.11/wodim/drv_7501.c:804:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/drv_7501.c:809:12: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:809:12: branch_true: following ‘true’ branch (when ‘vcuep’ is non-NULL)...
cdrkit-1.1.11/wodim/drv_7501.c:810:17: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:813:16: danger: ‘cue’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def536]
cdrkit-1.1.11/wodim/drv_7501.c:825:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cp’
cdrkit-1.1.11/wodim/drv_7501.c:714:1: enter_function: entry to ‘cw7501_gen_cue’
cdrkit-1.1.11/wodim/drv_7501.c:731:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_7501.c:797:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_7501.c:801:9: release_memory: ‘cue’ is NULL
cdrkit-1.1.11/wodim/drv_7501.c:802:9: call_function: calling ‘fillcue’ from ‘cw7501_gen_cue’
Error: COMPILER_WARNING (CWE-563): [#def537]
cdrkit-1.1.11/wodim/drv_jvc.c: scope_hint: In function ‘teac_getdisktype’
cdrkit-1.1.11/wodim/drv_jvc.c:313:17: warning[-Wunused-but-set-variable]: variable ‘len’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def538]
cdrkit-1.1.11/wodim/drv_jvc.c: scope_hint: In function ‘select_secsize_teac’
cdrkit-1.1.11/wodim/drv_jvc.c:380:17: warning[-Wunused-but-set-variable]: variable ‘len’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def539]
cdrkit-1.1.11/wodim/drv_jvc.c:1012:1: warning[-Wunused-function]: ‘read_disk_info_teac’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def540]
cdrkit-1.1.11/wodim/drv_jvc.c: scope_hint: At top level
cdrkit-1.1.11/wodim/drv_jvc.c:1249:1: warning[-Wunused-function]: ‘buffer_inquiry_teac’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def541]
cdrkit-1.1.11/wodim/drv_mmc.c: scope_hint: In function ‘hasdrvopt’
cdrkit-1.1.11/wodim/drv_mmc.c:510:17: warning[-Wunused-but-set-variable]: variable ‘optnamelen’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def542]
cdrkit-1.1.11/wodim/drv_mmc.c:1458:1: warning[-Wunused-function]: ‘get_pma’ defined but not used
Error: COMPILER_WARNING (CWE-483): [#def543]
cdrkit-1.1.11/wodim/drv_mmc.c: scope_hint: In function ‘getdisktype_mdvd’
cdrkit-1.1.11/wodim/drv_mmc.c:1515:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
cdrkit-1.1.11/wodim/drv_mmc.c:1523:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: CPPCHECK_WARNING (CWE-457): [#def544]
cdrkit-1.1.11/wodim/drv_mmc.c:1523: error[uninitvar]: Uninitialized variable: track_info
Error: COMPILER_WARNING (CWE-1164): [#def545]
cdrkit-1.1.11/wodim/drv_mmc.c: scope_hint: At top level
cdrkit-1.1.11/wodim/drv_mmc.c:1704:1: warning[-Wunused-function]: ‘print_di’ defined but not used
Error: CPPCHECK_WARNING (CWE-457): [#def546]
cdrkit-1.1.11/wodim/drv_mmc.c:2134: error[uninitvar]: Uninitialized variable: track_info
Error: CPPCHECK_WARNING (CWE-457): [#def547]
cdrkit-1.1.11/wodim/drv_mmc.c:2263: error[uninitvar]: Uninitialized variable: track_info
Error: CPPCHECK_WARNING (CWE-457): [#def548]
cdrkit-1.1.11/wodim/drv_mmc.c:2273: error[uninitvar]: Uninitialized variable: disk_info
Error: GCC_ANALYZER_WARNING (CWE-131): [#def549]
cdrkit-1.1.11/wodim/drv_mmc.c:3193:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: CPPCHECK_WARNING (CWE-401): [#def550]
cdrkit-1.1.11/wodim/drv_mmc.c:3213: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def551]
cdrkit-1.1.11/wodim/drv_mmc.c:3216:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cp’
cdrkit-1.1.11/wodim/drv_mmc.c:3195:21: branch_true: following ‘true’ branch (when ‘i <= tracks’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3196:38: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3211:20: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/drv_mmc.c:3212:25: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3214:25: release_memory: ‘cue’ is NULL
cdrkit-1.1.11/wodim/drv_mmc.c:3215:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3216:33: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3216:33: danger: dereference of NULL ‘cp’
Error: CPPCHECK_WARNING (CWE-401): [#def552]
cdrkit-1.1.11/wodim/drv_mmc.c:3240: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def553]
cdrkit-1.1.11/wodim/drv_mmc.c:3252: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def554]
cdrkit-1.1.11/wodim/drv_mmc.c:3258: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def555]
cdrkit-1.1.11/wodim/drv_mmc.c:3267: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def556]
cdrkit-1.1.11/wodim/drv_mmc.c:3298: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
cdrkit-1.1.11/wodim/drv_mmc.c:3311:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cue’
cdrkit-1.1.11/wodim/drv_mmc.c:3193:15: acquire_memory: allocated here
cdrkit-1.1.11/wodim/drv_mmc.c:3195:21: branch_true: following ‘true’ branch (when ‘i <= tracks’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3196:38: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3211:20: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/drv_mmc.c:3231:20: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3231:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3232:25: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3195:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3278:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3302:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/drv_mmc.c:3307:12: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3307:12: branch_true: following ‘true’ branch (when ‘vcuep’ is non-NULL)...
cdrkit-1.1.11/wodim/drv_mmc.c:3308:17: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3311:16: danger: ‘cue’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def558]
cdrkit-1.1.11/wodim/drv_mmc.c:3323:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cp’
cdrkit-1.1.11/wodim/drv_mmc.c:3195:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_mmc.c:3278:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_mmc.c:3299:9: release_memory: ‘cue’ is NULL
cdrkit-1.1.11/wodim/drv_mmc.c:3300:9: call_function: inlined call to ‘fillcue’ from ‘gen_cue_mmc’
Error: COMPILER_WARNING: [#def559]
cdrkit-1.1.11/wodim/drv_mmc.c: scope_hint: In function ‘drivemode_plextor’
cdrkit-1.1.11/wodim/drv_mmc.c:3543:17: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
cdrkit-1.1.11/libusal/usal/scsicdb.h:125:17: note: at offset 2 into destination object ‘count’ of size 2
Error: COMPILER_WARNING: [#def560]
cdrkit-1.1.11/wodim/drv_mmc.c:3543:17: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
Error: CPPCHECK_WARNING (CWE-457): [#def561]
cdrkit-1.1.11/wodim/drv_philips.c:949: error[uninitvar]: Uninitialized variable: fwa
Error: COMPILER_WARNING (CWE-1164): [#def562]
cdrkit-1.1.11/wodim/drv_sony.c:454:1: warning[-Wunused-function]: ‘flush_sony’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def563]
cdrkit-1.1.11/wodim/drv_sony.c: scope_hint: At top level
cdrkit-1.1.11/wodim/drv_sony.c:498:1: warning[-Wunused-function]: ‘set_wr_parameter_sony’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def564]
cdrkit-1.1.11/wodim/drv_sony.c: scope_hint: In function ‘get_page22_sony’
cdrkit-1.1.11/wodim/drv_sony.c:949:42: warning[-Wunused-but-set-variable]: variable ‘xp’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-131): [#def565]
cdrkit-1.1.11/wodim/drv_sony.c:1012:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: CPPCHECK_WARNING (CWE-401): [#def566]
cdrkit-1.1.11/wodim/drv_sony.c:1047: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def567]
cdrkit-1.1.11/wodim/drv_sony.c:1059: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def568]
cdrkit-1.1.11/wodim/drv_sony.c:1065: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def569]
cdrkit-1.1.11/wodim/drv_sony.c:1074: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def570]
cdrkit-1.1.11/wodim/drv_sony.c:1089: error[memleakOnRealloc]: Common realloc mistake: 'cue' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
cdrkit-1.1.11/wodim/drv_sony.c:1102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cue’
cdrkit-1.1.11/wodim/drv_sony.c:997:1: enter_function: entry to ‘gen_cue_sony’
cdrkit-1.1.11/wodim/drv_sony.c:1012:15: acquire_memory: allocated here
cdrkit-1.1.11/wodim/drv_sony.c:1014:21: branch_true: following ‘true’ branch (when ‘i <= tracks’)...
cdrkit-1.1.11/wodim/drv_sony.c:1015:38: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1042:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
cdrkit-1.1.11/wodim/drv_sony.c:1043:25: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1049:25: call_function: calling ‘fillcue’ from ‘gen_cue_sony’
cdrkit-1.1.11/wodim/drv_sony.c:1049:25: return_function: returning to ‘gen_cue_sony’ from ‘fillcue’
cdrkit-1.1.11/wodim/drv_sony.c:1014:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_sony.c:1085:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1091:9: call_function: calling ‘fillcue’ from ‘gen_cue_sony’
cdrkit-1.1.11/wodim/drv_sony.c:1091:9: return_function: returning to ‘gen_cue_sony’ from ‘fillcue’
cdrkit-1.1.11/wodim/drv_sony.c:1093:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/drv_sony.c:1098:12: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1098:12: branch_true: following ‘true’ branch (when ‘vcuep’ is non-NULL)...
cdrkit-1.1.11/wodim/drv_sony.c:1099:17: branch_true: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1102:16: danger: ‘cue’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
cdrkit-1.1.11/wodim/drv_sony.c:1115:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cp’
cdrkit-1.1.11/wodim/drv_sony.c:997:1: enter_function: entry to ‘gen_cue_sony’
cdrkit-1.1.11/wodim/drv_sony.c:1014:21: branch_false: following ‘false’ branch (when ‘i > tracks’)...
cdrkit-1.1.11/wodim/drv_sony.c:1085:30: branch_false: ...to here
cdrkit-1.1.11/wodim/drv_sony.c:1090:9: release_memory: ‘cue’ is NULL
cdrkit-1.1.11/wodim/drv_sony.c:1091:9: call_function: calling ‘fillcue’ from ‘gen_cue_sony’
Error: COMPILER_WARNING (CWE-563): [#def573]
cdrkit-1.1.11/wodim/drv_sony.c: scope_hint: In function ‘send_cue_sony’
cdrkit-1.1.11/wodim/drv_sony.c:1137:25: warning[-Wunused-but-set-variable]: variable ‘disktype’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def574]
cdrkit-1.1.11/wodim/isosize.c: scope_hint: In function ‘isosize’
cdrkit-1.1.11/wodim/isosize.c:72:24: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-805): [#def575]
cdrkit-1.1.11/wodim/scsi_cdr.c: scope_hint: In function ‘getdev’
cdrkit-1.1.11/wodim/scsi_cdr.c:2150:55: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination?
Error: COMPILER_WARNING (CWE-805): [#def576]
cdrkit-1.1.11/wodim/scsi_cdr.c:2151:53: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination?
Error: COMPILER_WARNING (CWE-805): [#def577]
cdrkit-1.1.11/wodim/scsi_cdr.c:2152:59: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination?
Error: COMPILER_WARNING: [#def578]
cdrkit-1.1.11/wodim/scsi_cdr.c:2184:33: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def579]
cdrkit-1.1.11/wodim/scsi_cdr.c:2185:33: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def580]
cdrkit-1.1.11/wodim/scsi_cdr.c: scope_hint: In function ‘getdev’
cdrkit-1.1.11/wodim/scsi_cdr.c:2186:33: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def581]
cdrkit-1.1.11/wodim/scsi_cdr.c:2190:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def582]
cdrkit-1.1.11/wodim/scsi_cdr.c:2191:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def583]
cdrkit-1.1.11/wodim/scsi_cdr.c:2192:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def584]
cdrkit-1.1.11/wodim/scsi_cdr.c:2195:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def585]
cdrkit-1.1.11/wodim/scsi_cdr.c:2196:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def586]
cdrkit-1.1.11/wodim/scsi_cdr.c:2197:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def587]
cdrkit-1.1.11/wodim/scsi_cdr.c:2200:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def588]
cdrkit-1.1.11/wodim/scsi_cdr.c:2201:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def589]
cdrkit-1.1.11/wodim/scsi_cdr.c:2202:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def590]
cdrkit-1.1.11/wodim/scsi_cdr.c:2205:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def591]
cdrkit-1.1.11/wodim/scsi_cdr.c:2206:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def592]
cdrkit-1.1.11/wodim/scsi_cdr.c:2207:41: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def593]
cdrkit-1.1.11/wodim/scsi_cdr.c:2237:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def594]
cdrkit-1.1.11/wodim/scsi_cdr.c:2238:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def595]
cdrkit-1.1.11/wodim/scsi_cdr.c:2239:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING: [#def596]
cdrkit-1.1.11/wodim/scsi_cdr.c:2244:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length
Error: COMPILER_WARNING: [#def597]
cdrkit-1.1.11/wodim/scsi_cdr.c:2245:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length
Error: COMPILER_WARNING: [#def598]
cdrkit-1.1.11/wodim/scsi_cdr.c:2246:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length
Error: COMPILER_WARNING (CWE-563): [#def599]
cdrkit-1.1.11/wodim/scsi_cdr.c: scope_hint: In function ‘mmc_getval’
cdrkit-1.1.11/wodim/scsi_cdr.c:2708:17: warning[-Wunused-but-set-variable]: variable ‘iscd_wr’ set but not used
Error: COMPILER_WARNING: [#def600]
cdrkit-1.1.11/wodim/scsi_scan.c: scope_hint: In function ‘open_auto’
cdrkit-1.1.11/wodim/scsi_scan.c:159:49: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 5 bytes from a string of the same length
Error: COMPILER_WARNING (CWE-563): [#def601]
cdrkit-1.1.11/wodim/scsi_scan.c: scope_hint: In function ‘list_devices’
cdrkit-1.1.11/wodim/scsi_scan.c:196:17: warning[-Wunused-but-set-variable]: variable ‘initiator’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def602]
cdrkit-1.1.11/wodim/scsi_scan.c: scope_hint: In function ‘select_target’
cdrkit-1.1.11/wodim/scsi_scan.c:298:17: warning[-Wunused-but-set-variable]: variable ‘high’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def603]
cdrkit-1.1.11/wodim/sector.c:154:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*trackp.secsize’
cdrkit-1.1.11/wodim/sector.c:106:1: enter_function: entry to ‘encspeed’
cdrkit-1.1.11/wodim/sector.c:121:21: branch_true: following ‘true’ branch (when ‘i != 2352’)...
cdrkit-1.1.11/wodim/sector.c:122:22: branch_true: ...to here
cdrkit-1.1.11/wodim/sector.c:126:21: branch_true: following ‘true’ branch (when ‘i != 75000’)...
cdrkit-1.1.11/wodim/sector.c:127:17: branch_true: ...to here
cdrkit-1.1.11/wodim/sector.c:127:17: call_function: calling ‘encsectors’ from ‘encspeed’
Error: COMPILER_WARNING (CWE-1164): [#def604]
cdrkit-1.1.11/wodim/subchan.c:970:1: warning[-Wunused-function]: ‘subinterleave’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def605]
cdrkit-1.1.11/wodim/wodim.c: scope_hint: At top level
cdrkit-1.1.11/wodim/wodim.c:256:17: warning[-Wunused-function]: ‘linuxcheck’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-670): [#def606]
cdrkit-1.1.11/wodim/wodim.c: scope_hint: In function ‘printdata’
cdrkit-1.1.11/wodim/wodim.c:2487:63: warning[-Wint-in-bool-context]: ‘?:’ using integer constants in boolean context
Error: COMPILER_WARNING (CWE-563): [#def607]
cdrkit-1.1.11/wodim/wodim.c: scope_hint: In function ‘audioread’
cdrkit-1.1.11/wodim/wodim.c:4094:16: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: CPPCHECK_WARNING (CWE-401): [#def608]
cdrkit-1.1.11/wodim/xio.c:84: error[memleak]: Memory leak: xp.x_name
Error: GCC_ANALYZER_WARNING (CWE-476): [#def609]
cdrkit-1.1.11/wodim/xio.c:154:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pp’
cdrkit-1.1.11/wodim/xio.c:140:12: branch_false: following ‘false’ branch...
cdrkit-1.1.11/wodim/xio.c:142:13: branch_false: ...to here
cdrkit-1.1.11/wodim/xio.c:145:12: branch_true: following ‘true’ branch...
cdrkit-1.1.11/wodim/xio.c:146:23: branch_true: ...to here
cdrkit-1.1.11/wodim/xio.c:147:24: branch_false: following ‘false’ branch (when ‘pp’ is NULL)...
cdrkit-1.1.11/wodim/xio.c:154:21: branch_false: ...to here
cdrkit-1.1.11/wodim/xio.c:154:21: danger: dereference of NULL ‘pp’
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-106.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 | cdrkit-1.1.11-59.fc43 |
store-results-to | /tmp/tmp_q06s54z/cdrkit-1.1.11-59.fc43.tar.xz |
time-created | 2025-04-25 12:09:12 |
time-finished | 2025-04-25 12:11:11 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp_q06s54z/cdrkit-1.1.11-59.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_q06s54z/cdrkit-1.1.11-59.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |