2025-05-09 15:55 ftp://ftp.de.debian.org/debian/pool/main/c/cdrkit/cdrkit_1.1.11.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: d655a3a (2025-05-09 12:19:47 +0200) count: 1824 1810 elapsed-time: 36.8 35.2 head-timing-info: old-timing-info: head results: cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:51:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:50:21: style: Condition '(sizeof(hdr))&3' is always false [knownConditionTrueFalse] cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:67:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pointer_block [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:66:26: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:66:26: note: Assignment 'pointer_block=xmalloc(pointer_bytes)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:67:10: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/compress.c:48:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/3rd-party/zisofs_tools/copytime.c:63:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hp [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:70:33: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:70:33: note: Assignment 'hp=xmalloc(sizeof(struct file_hash))', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:72:3: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hp [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:70:33: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:70:33: note: Assignment 'hp=xmalloc(sizeof(struct file_hash))', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:74:3: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:44:41: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/3rd-party/zisofs_tools/hash.c:67:36: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/3rd-party/zisofs_tools/iso9660.c:47:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/3rd-party/zisofs_tools/iso9660.c:62:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/3rd-party/zisofs_tools/iso9660.c:89:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/3rd-party/zisofs_tools/iso9660.c:107:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/3rd-party/zisofs_tools/mkzftree.c:139:20: error: There is an unknown macro here somewhere. Configuration is required. If ZISOFS_TOOLS_VERSION is a macro then please configure it. [unknownMacro] cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:60:12: warning: If memory allocation fails, then there is a possible null pointer dereference: inbuf [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assignment 'inbuf=xmalloc(1<<15)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:60:12: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:63:19: warning: If memory allocation fails, then there is a possible null pointer dereference: inbuf [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assignment 'inbuf=xmalloc(1<<15)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:63:19: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:65:30: warning: If memory allocation fails, then there is a possible null pointer dereference: inbuf [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:58:20: note: Assignment 'inbuf=xmalloc(1<<15)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:65:30: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:86:23: warning: If memory allocation fails, then there is a possible null pointer dereference: pointer_block [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:84:26: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:84:26: note: Assignment 'pointer_block=xmalloc(ptrblock_bytes)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/uncompress.c:86:23: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/util.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:123:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:197:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:164:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:146:5: error: Memory leak: in_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:146:5: error: Memory leak: out_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:154:5: error: Memory leak: in_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:154:5: error: Memory leak: out_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:161:5: error: Memory leak: in_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:161:5: error: Memory leak: out_path [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:161:5: error: Resource leak: thisdir [resourceLeak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:254:7: error: Memory leak: buffer [memleak] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:124:10: warning: If memory allocation fails, then there is a possible null pointer dereference: in_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:123:20: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:123:20: note: Assignment 'in_path=xmalloc(strlen(intree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:124:10: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:125:20: warning: If memory allocation fails, then there is a possible null pointer dereference: in_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:123:20: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:123:20: note: Assignment 'in_path=xmalloc(strlen(intree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:125:20: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:129:10: warning: If memory allocation fails, then there is a possible null pointer dereference: out_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:128:21: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:128:21: note: Assignment 'out_path=xmalloc(strlen(outtree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:129:10: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:130:21: warning: If memory allocation fails, then there is a possible null pointer dereference: out_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:128:21: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:128:21: note: Assignment 'out_path=xmalloc(strlen(outtree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:130:21: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:135:12: warning: If memory allocation fails, then there is a possible null pointer dereference: crib_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:134:24: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:134:24: note: Assignment 'crib_path=xmalloc(strlen(cribtree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:135:12: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:136:24: warning: If memory allocation fails, then there is a possible null pointer dereference: crib_path [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:134:24: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:134:24: note: Assignment 'crib_path=xmalloc(strlen(cribtree)+NAME_MAX+2)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:136:24: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:251:37: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assignment 'buffer=xmalloc(buffer_len)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:251:37: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:256:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assignment 'buffer=xmalloc(buffer_len)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:251:58: note: Assuming condition is false cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:256:5: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:257:18: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assuming allocation function fails cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:250:27: note: Assignment 'buffer=xmalloc(buffer_len)', assigned value is 0 cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:251:58: note: Assuming condition is false cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:257:18: note: Null pointer dereference cdrkit-1.1.11/3rd-party/zisofs_tools/walk.c:117:18: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/apple.c:2684:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/apple.c:2675:12: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/apple_driver.c:47:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/apple_driver.c:56:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot-alpha.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-alpha.c:129:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-hppa.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-hppa.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-hppa.c:80:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/boot-hppa.c:78:26: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/boot-hppa.c:78:26: note: Assignment 'hppa_cmdline=strdup(cmdline)', assigned value is 0 cdrkit-1.1.11/genisoimage/boot-hppa.c:79:11: note: Assignment 'ptr=hppa_cmdline', assigned value is 0 cdrkit-1.1.11/genisoimage/boot-hppa.c:80:13: note: Null pointer dereference cdrkit-1.1.11/genisoimage/boot-hppa.c:75:40: style: Parameter 'cmdline' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot-hppa.c:121:30: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot-hppa.c:121:42: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot-hppa.c:161:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-hppa.c:172:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-hppa.c:186:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-hppa.c:197:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-hppa.c:139:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/boot-hppa.c:139:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/boot-mips.c:233:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-mips.c:303:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-mips.c:277:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/boot-mips.c:281:14: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-mips.c:309:16: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-mips.c:310:16: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/genisoimage/boot-mips.c:70:10: style: struct member 'device_parameters::dp_skew' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:71:10: style: struct member 'device_parameters::dp_gap1' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:72:10: style: struct member 'device_parameters::dp_gap2' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:73:10: style: struct member 'device_parameters::dp_spares_cyl' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:84:11: style: struct member 'device_parameters::dp_shd0' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:86:10: style: struct member 'device_parameters::dp_ctq_depth' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:87:10: style: struct member 'device_parameters::dp_cylshi' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:88:11: style: struct member 'device_parameters::dp_unused' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:91:11: style: struct member 'device_parameters::dp_interleave' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:93:10: style: struct member 'device_parameters::dp_datarate' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:94:10: style: struct member 'device_parameters::dp_nretries' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:95:10: style: struct member 'device_parameters::dp_mspw' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:96:11: style: struct member 'device_parameters::dp_xgap1' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:97:11: style: struct member 'device_parameters::dp_xsync' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:98:11: style: struct member 'device_parameters::dp_xrdly' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:99:11: style: struct member 'device_parameters::dp_xgap2' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:100:11: style: struct member 'device_parameters::dp_xrgate' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:101:11: style: struct member 'device_parameters::dp_xwcont' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/boot-mips.c:272:26: style: Variable 'length' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/boot-mips.c:273:26: style: Variable 'extent' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/boot-mipsel.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-mipsel.c:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot-mipsel.c:156:9: error: Resource leak: loader [resourceLeak] cdrkit-1.1.11/genisoimage/boot-mipsel.c:171:9: error: Resource leak: loader [resourceLeak] cdrkit-1.1.11/genisoimage/boot-mipsel.c:176:9: error: Resource leak: loader [resourceLeak] cdrkit-1.1.11/genisoimage/boot-mipsel.c:181:9: error: Resource leak: loader [resourceLeak] cdrkit-1.1.11/genisoimage/boot-mipsel.c:143:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot.c:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:377:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:449:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:501:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:517:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/boot.c:391:9: style: Condition 'p!=NULL' is always true [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/boot.c:120:24: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot.c:127:25: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/boot.c:235:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/boot.c:280:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/boot.c:367:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/boot.c:443:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/checksum.c:429:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/checksum.c:484:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/checksum.c:169:68: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/checksum.c:419:31: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/checksum.c:84:20: style: struct member 'checksum_details::prog' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/checksum.c:222:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/checksum.c:222:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/checksum.c:449:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/checksum.c:450:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/checksum.c:452:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/checksum.c:449:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/dump.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETAF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETAF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:140:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:222:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/dump.c:385:5: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] cdrkit-1.1.11/genisoimage/diag/dump.c:402:13: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/dump.c:405:14: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/dump.c:423:13: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isodebug.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodebug.c:148:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodebug.c:206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodebug.c:143:29: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isodebug.c:60:7: style: struct member 'iso9660_voldesc::vd_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:61:7: style: struct member 'iso9660_voldesc::vd_version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:62:7: style: struct member 'iso9660_voldesc::vd_fill' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:66:7: style: struct member 'iso9660_boot_voldesc::vd_type' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:67:7: style: struct member 'iso9660_boot_voldesc::vd_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:68:7: style: struct member 'iso9660_boot_voldesc::vd_version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:69:7: style: struct member 'iso9660_boot_voldesc::vd_bootsys' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:70:7: style: struct member 'iso9660_boot_voldesc::vd_bootid' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:71:7: style: struct member 'iso9660_boot_voldesc::vd_bootcode' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodebug.c:148:16: style: Variable 'found' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isodebug.c:166:5: style: Variable 'vp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isodebug.c:179:10: style: Variable 'found' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isodebug.c:195:9: style: Variable 'sec_off' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isodump.c:206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETAF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETAF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:427:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:456:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:514:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:532:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isodump.c:672:5: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] cdrkit-1.1.11/genisoimage/diag/isodump.c:459:12: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isodump.c:689:13: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isodump.c:692:14: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isodump.c:710:13: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isodump.c:152:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isodump.c:161:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isodump.c:88:16: style: struct member 'iso_primary_descriptor::type' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:89:16: style: struct member 'iso_primary_descriptor::id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:90:16: style: struct member 'iso_primary_descriptor::version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:91:16: style: struct member 'iso_primary_descriptor::unused1' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:92:16: style: struct member 'iso_primary_descriptor::system_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:93:16: style: struct member 'iso_primary_descriptor::volume_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:94:16: style: struct member 'iso_primary_descriptor::unused2' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:95:16: style: struct member 'iso_primary_descriptor::volume_space_size' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:96:16: style: struct member 'iso_primary_descriptor::unused3' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:97:16: style: struct member 'iso_primary_descriptor::volume_set_size' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:98:16: style: struct member 'iso_primary_descriptor::volume_sequence_number' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:100:16: style: struct member 'iso_primary_descriptor::path_table_size' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:101:16: style: struct member 'iso_primary_descriptor::type_l_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:102:16: style: struct member 'iso_primary_descriptor::opt_type_l_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:103:16: style: struct member 'iso_primary_descriptor::type_m_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:104:16: style: struct member 'iso_primary_descriptor::opt_type_m_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:106:16: style: struct member 'iso_primary_descriptor::volume_set_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:107:16: style: struct member 'iso_primary_descriptor::publisher_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:108:16: style: struct member 'iso_primary_descriptor::preparer_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:109:16: style: struct member 'iso_primary_descriptor::application_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:110:16: style: struct member 'iso_primary_descriptor::copyright_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:111:16: style: struct member 'iso_primary_descriptor::abstract_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:112:16: style: struct member 'iso_primary_descriptor::bibliographic_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:113:16: style: struct member 'iso_primary_descriptor::creation_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:114:16: style: struct member 'iso_primary_descriptor::modification_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:115:16: style: struct member 'iso_primary_descriptor::expiration_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:116:16: style: struct member 'iso_primary_descriptor::effective_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:117:16: style: struct member 'iso_primary_descriptor::file_structure_version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:118:16: style: struct member 'iso_primary_descriptor::unused4' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:119:16: style: struct member 'iso_primary_descriptor::application_data' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:120:16: style: struct member 'iso_primary_descriptor::unused5' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isodump.c:415:7: style: Variable 'goof' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isodump.c:286:7: style: Variable 'goof' is not assigned a value. [unassignedVariable] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:504:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:782:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:790:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:835:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:739:24: error: Buffer is accessed out of bounds: idr->date [bufferAccessOutOfBounds] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:315:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:32: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:8: note: Assignment 'buf=(unsigned char*)malloc((size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:315:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:757:5: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:757:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:758:5: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:758:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:759:5: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:759:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:760:5: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:760:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:762:12: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:762:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:763:12: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:763:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:764:12: warning: If memory allocation fails, then there is a possible null pointer dereference: td [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:39: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:752:17: note: Assignment 'td->next=(struct todo*)malloc(sizeof(*td))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:753:13: note: Assignment 'td=td->next', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:764:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isoinfo.c:316:44: error:inconclusive: Pointer addition with NULL pointer. [nullPointerArithmetic] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:32: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:8: note: Assignment 'buf=(unsigned char*)malloc((size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:316:44: note: Null pointer addition cdrkit-1.1.11/genisoimage/diag/isoinfo.c:317:45: error:inconclusive: Pointer addition with NULL pointer. [nullPointerArithmetic] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:32: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isoinfo.c:303:8: note: Assignment 'buf=(unsigned char*)malloc((size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isoinfo.c:317:45: note: Null pointer addition cdrkit-1.1.11/genisoimage/diag/isoinfo.c:681:12: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:197:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:220:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:229:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:247:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:266:13: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:298:29: style: Variable 'up' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:499:28: style: Variable 'xadp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:551:40: style: Parameter 'idr' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:659:17: style: Parameter 'rootname' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:665:29: style: Variable 'up' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:1244:36: style: Variable 'evp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:455:6: error: Uninitialized variable: goof [uninitvar] cdrkit-1.1.11/genisoimage/diag/isoinfo.c:365:6: style: Variable 'goof' is not assigned a value. [unassignedVariable] cdrkit-1.1.11/genisoimage/diag/isovfy.c:366:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isovfy.c:557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isovfy.c:657:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isovfy.c:675:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pnt++ [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:25: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:10: note: Assignment 'typel=(char*)malloc((path_table_size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:601:8: note: Assignment 'pnt=typel', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: note: Null pointer dereference cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:25: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:10: note: Assignment 'typel=(char*)malloc((path_table_size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:601:8: note: Assignment 'pnt=typel', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: note: Null pointer addition cdrkit-1.1.11/genisoimage/diag/isovfy.c:434:12: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/diag/isovfy.c:148:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isovfy.c:170:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isovfy.c:176:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isovfy.c:185:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isovfy.c:192:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/diag/isovfy.c:84:16: style: struct member 'iso_primary_descriptor::type' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:85:16: style: struct member 'iso_primary_descriptor::id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:86:16: style: struct member 'iso_primary_descriptor::version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:87:16: style: struct member 'iso_primary_descriptor::unused1' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:88:16: style: struct member 'iso_primary_descriptor::system_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:89:16: style: struct member 'iso_primary_descriptor::volume_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:90:16: style: struct member 'iso_primary_descriptor::unused2' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:91:16: style: struct member 'iso_primary_descriptor::volume_space_size' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:92:16: style: struct member 'iso_primary_descriptor::unused3' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:93:16: style: struct member 'iso_primary_descriptor::volume_set_size' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:94:16: style: struct member 'iso_primary_descriptor::volume_sequence_number' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:98:16: style: struct member 'iso_primary_descriptor::opt_type_l_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:100:16: style: struct member 'iso_primary_descriptor::opt_type_m_path_table' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:102:16: style: struct member 'iso_primary_descriptor::volume_set_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:103:16: style: struct member 'iso_primary_descriptor::publisher_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:104:16: style: struct member 'iso_primary_descriptor::preparer_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:105:16: style: struct member 'iso_primary_descriptor::application_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:106:16: style: struct member 'iso_primary_descriptor::copyright_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:107:16: style: struct member 'iso_primary_descriptor::abstract_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:108:16: style: struct member 'iso_primary_descriptor::bibliographic_file_id' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:109:16: style: struct member 'iso_primary_descriptor::creation_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:110:16: style: struct member 'iso_primary_descriptor::modification_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:111:16: style: struct member 'iso_primary_descriptor::expiration_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:112:16: style: struct member 'iso_primary_descriptor::effective_date' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:113:16: style: struct member 'iso_primary_descriptor::file_structure_version' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:114:16: style: struct member 'iso_primary_descriptor::unused4' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:115:16: style: struct member 'iso_primary_descriptor::application_data' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:116:16: style: struct member 'iso_primary_descriptor::unused5' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:573:15: style: struct member 'path_table_info::extent' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:574:17: style: struct member 'path_table_info::index' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:575:17: style: struct member 'path_table_info::parent' is never used. [unusedStructMember] cdrkit-1.1.11/genisoimage/diag/isovfy.c:779:15: style: Variable 'typel_extent' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isovfy.c:780:15: style: Variable 'typem_extent' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/diag/isovfy.c:781:18: style: Variable 'path_table_size' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/eltorito.c:159:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/eltorito.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/eltorito.c:391:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/eltorito.c:704:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/eltorito.c:498:6: style:inconclusive: Boolean expression 's_cyl_sec!=1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] cdrkit-1.1.11/genisoimage/eltorito.c:289:18: error: Buffer is accessed out of bounds: boot_desc->id [bufferAccessOutOfBounds] cdrkit-1.1.11/genisoimage/eltorito.c:147:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p1 [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/eltorito.c:144:13: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/eltorito.c:144:13: note: Assignment 'p1=strdup(boot_catalog)', assigned value is 0 cdrkit-1.1.11/genisoimage/eltorito.c:147:20: note: Null pointer dereference cdrkit-1.1.11/genisoimage/eltorito.c:126:26: style: Variable 'de' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/eltorito.c:130:10: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/eltorito.c:281:18: style: Variable 'checksum_ptr' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/endian.c:28:45: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:58:45: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:86:45: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:110:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:132:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:152:41: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/endian.c:169:41: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/exclude.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/exclude.c:42:18: warning: Either the condition 'i==1000' is redundant or the array 'excl[1000]' is accessed at index 1000, which is out of bounds. [arrayIndexOutOfBoundsCond] cdrkit-1.1.11/genisoimage/exclude.c:45:8: note: Assuming that condition 'i==1000' is not redundant cdrkit-1.1.11/genisoimage/exclude.c:42:18: note: Array index out of bounds cdrkit-1.1.11/genisoimage/exclude.c:42:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cdrkit-1.1.11/genisoimage/exclude.c:72:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cdrkit-1.1.11/genisoimage/exclude.c:38:15: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/exclude.c:65:19: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/files.c:395:10: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cdrkit-1.1.11/genisoimage/fnmatch.c:117:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Uchar [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/fnmatch.c:168:17: style: Redundant initialization for 'cend'. The initialized value is overwritten before it is read. [redundantInitialization] cdrkit-1.1.11/genisoimage/fnmatch.c:163:34: note: cend is initialized cdrkit-1.1.11/genisoimage/fnmatch.c:168:17: note: cend is overwritten cdrkit-1.1.11/genisoimage/fnmatch.c:87:22: style:inconclusive: Function 'fnmatch' argument 1 names different: declaration '__pattern' definition 'pattern'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/fnmatch.h:95:32: note: Function 'fnmatch' argument 1 names different: declaration '__pattern' definition 'pattern'. cdrkit-1.1.11/genisoimage/fnmatch.c:87:22: note: Function 'fnmatch' argument 1 names different: declaration '__pattern' definition 'pattern'. cdrkit-1.1.11/genisoimage/fnmatch.c:87:43: style:inconclusive: Function 'fnmatch' argument 2 names different: declaration '__string' definition 'string'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/fnmatch.h:95:55: note: Function 'fnmatch' argument 2 names different: declaration '__string' definition 'string'. cdrkit-1.1.11/genisoimage/fnmatch.c:87:43: note: Function 'fnmatch' argument 2 names different: declaration '__string' definition 'string'. cdrkit-1.1.11/genisoimage/fnmatch.c:87:55: style:inconclusive: Function 'fnmatch' argument 3 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/fnmatch.h:95:69: note: Function 'fnmatch' argument 3 names different: declaration '__flags' definition 'flags'. cdrkit-1.1.11/genisoimage/fnmatch.c:87:55: note: Function 'fnmatch' argument 3 names different: declaration '__flags' definition 'flags'. cdrkit-1.1.11/genisoimage/genisoimage.c:896:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:1051:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:1068:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:1348:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:3792:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:3819:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/genisoimage.c:1159:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cdrkit-1.1.11/genisoimage/genisoimage.c:1172:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cdrkit-1.1.11/genisoimage/genisoimage.c:3145:26: style: Condition 'graft_point[len]!='/'' is always true [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/genisoimage.c:3144:9: note: len is assigned 'strlen(graft_point)' here. cdrkit-1.1.11/genisoimage/genisoimage.c:3144:17: note: Return index of first '\0' character in string cdrkit-1.1.11/genisoimage/genisoimage.c:3145:26: note: Condition 'graft_point[len]!='/'' is always true cdrkit-1.1.11/genisoimage/genisoimage.c:925:9: error: Expression '*p++=toupper((unsigned char)*p)' depends on order of evaluation of side effects [unknownEvaluationOrder] cdrkit-1.1.11/genisoimage/genisoimage.c:885:23: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/genisoimage.c:909:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/genisoimage.c:988:19: style: Parameter 'appname' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/genisoimage.c:1262:9: style: Variable 'log_file' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/genisoimage.c:1264:9: style: Variable 'pathnames' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/genisoimage.c:1273:9: style: Variable 'mkisofs_call' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/genisoimage.c:3787:27: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/getopt.c:428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/getopt.c:646:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/hash.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/hash.c:276:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/hash.c:349:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/hash.c:294:12: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/hash.c:364:42: style: Parameter 'de' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/joliet.c:192:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unls_high [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:311:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unls_high [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:459:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:685:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:851:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1029:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1378:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1402:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1433:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/joliet.c:1330:7: style: Condition 'ret' is always false [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/joliet.c:1329:29: note: Calling function 'joliet_sort_n_finish' returns 0 cdrkit-1.1.11/genisoimage/joliet.c:1329:29: note: Assignment 'ret=joliet_sort_n_finish(dpnt)', assigned value is 0 cdrkit-1.1.11/genisoimage/joliet.c:1330:7: note: Condition 'ret' is always false cdrkit-1.1.11/genisoimage/joliet.c:732:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/joliet.c:798:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/joliet.c:975:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/joliet.c:975:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/joliet.c:910:14: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/joliet.c:1086:15: style: Variable 's_entry' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/joliet.c:1081:10: note: s_entry is assigned cdrkit-1.1.11/genisoimage/joliet.c:1086:15: note: s_entry is overwritten cdrkit-1.1.11/genisoimage/joliet.c:171:17: style: Variable 'up' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/joliet.c:238:5: style: Variable 'up' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/joliet.c:371:54: style: Parameter 'inls' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/joliet.c:643:9: style: Variable 'npnt' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/joliet.c:246:18: warning: Uninitialized variable: buffer [uninitvar] cdrkit-1.1.11/genisoimage/joliet.c:1238:22: note: Calling function 'convert_to_unicode', 1st argument 'rtmp' value is cdrkit-1.1.11/genisoimage/joliet.c:246:18: note: Uninitialized variable: buffer cdrkit-1.1.11/genisoimage/joliet.c:693:9: style: Variable 'npnt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:179:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:220:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:287:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:361:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:400:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:436:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:514:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:560:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:633:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_FINISH [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:652:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JTE_TEMP_BZIP2 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:668:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JTE_TEMP_BZIP2 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:756:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHECK_MD5 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:775:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:807:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHECK_MD5 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:992:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/jte.c:678:13: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/jte.c:832:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/jte.c:843:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/jte.c:418:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:627:22: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:627:22: note: Assignment 'comp_buf=malloc(2*size)', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:646:21: note: Calling function 'template_fwrite', 1st argument 'comp_buf' value is 0 cdrkit-1.1.11/genisoimage/jte.c:418:19: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:459:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assignment 'new=calloc(1,sizeof(struct md5_list_entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:459:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:460:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assignment 'new=calloc(1,sizeof(struct md5_list_entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:460:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:461:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:458:17: note: Assignment 'new=calloc(1,sizeof(struct md5_list_entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:461:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:894:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:894:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:895:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:895:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:896:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:893:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:896:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:919:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:919:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:920:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:920:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:921:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:921:12: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:922:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:922:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:923:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:923:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:924:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/jte.c:918:23: note: Assignment 'new_entry=calloc(1,sizeof(struct entry_t))', assigned value is 0 cdrkit-1.1.11/genisoimage/jte.c:924:5: note: Null pointer dereference cdrkit-1.1.11/genisoimage/jte.c:594:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/jte.c:587:9: note: err is assigned cdrkit-1.1.11/genisoimage/jte.c:594:9: note: err is overwritten cdrkit-1.1.11/genisoimage/jte.c:595:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/jte.c:594:9: note: err is assigned cdrkit-1.1.11/genisoimage/jte.c:595:9: note: err is overwritten cdrkit-1.1.11/genisoimage/jte.c:598:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/jte.c:595:9: note: err is assigned cdrkit-1.1.11/genisoimage/jte.c:598:9: note: err is overwritten cdrkit-1.1.11/genisoimage/jte.c:633:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/jte.c:626:9: note: err is assigned cdrkit-1.1.11/genisoimage/jte.c:633:9: note: err is overwritten cdrkit-1.1.11/genisoimage/jte.c:636:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/jte.c:633:9: note: err is assigned cdrkit-1.1.11/genisoimage/jte.c:636:9: note: err is overwritten cdrkit-1.1.11/genisoimage/jte.c:193:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:236:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:453:42: style: Parameter 'md5' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:453:78: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:477:54: style: Parameter 'in' can be declared as const array [constParameter] cdrkit-1.1.11/genisoimage/jte.c:763:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:802:26: style: Variable 'map' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/jte.c:804:27: style: Variable 'info' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/jte.c:913:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:913:71: style: Parameter 'md5' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:975:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/jte.c:281:20: warning: Using 'sizeof' on array given as function argument returns size of a pointer. [sizeofwithsilentarraypointer] cdrkit-1.1.11/genisoimage/jte.c:197:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:197:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:240:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:240:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:340:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:340:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:390:20: style: Variable 'new_name' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:455:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:455:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:506:29: style: Variable 'size' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:598:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:636:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:792:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:802:30: style: Variable 'map' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:802:26: style: Variable 'map' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:977:34: style: Variable 'tmp_size' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:981:26: style: Variable 'use' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/jte.c:977:25: style: Variable 'tmp_size' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/mac_label.c:169:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hfs_map [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/mac_label.c:412:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable autoname [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/mac_label.c:193:4: error: Resource leak: fp [resourceLeak] cdrkit-1.1.11/genisoimage/mac_label.c:202:4: error: Resource leak: fp [resourceLeak] cdrkit-1.1.11/genisoimage/mac_label.c:209:4: error: Resource leak: fp [resourceLeak] cdrkit-1.1.11/genisoimage/mac_label.c:215:4: error: Resource leak: fp [resourceLeak] cdrkit-1.1.11/genisoimage/match.c:191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/match.c:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/match.c:202:3: error: Memory leak: mat [memleak] cdrkit-1.1.11/genisoimage/match.c:212:20: style:inconclusive: Function 'gen_add_list' argument 1 names different: declaration 'fn' definition 'file'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/match.h:46:32: note: Function 'gen_add_list' argument 1 names different: declaration 'fn' definition 'file'. cdrkit-1.1.11/genisoimage/match.c:212:20: note: Function 'gen_add_list' argument 1 names different: declaration 'fn' definition 'file'. cdrkit-1.1.11/genisoimage/match.c:179:21: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/match.c:212:20: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/match.c:245:19: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/md5.c:340:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/md5.c:84:35: style:inconclusive: Function 'mk_MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/md5.h:31:40: note: Function 'mk_MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:84:35: note: Function 'mk_MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:100:37: style:inconclusive: Function 'mk_MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/md5.h:32:42: note: Function 'mk_MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:100:37: note: Function 'mk_MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:148:62: style:inconclusive: Function 'mk_MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/md5.h:35:28: note: Function 'mk_MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:148:62: note: Function 'mk_MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. cdrkit-1.1.11/genisoimage/md5.c:207:56: style:inconclusive: Function 'mk_MD5Transform' argument 2 names different: declaration 'in' definition 'inraw'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/md5.h:36:61: note: Function 'mk_MD5Transform' argument 2 names different: declaration 'in' definition 'inraw'. cdrkit-1.1.11/genisoimage/md5.c:207:56: note: Function 'mk_MD5Transform' argument 2 names different: declaration 'in' definition 'inraw'. cdrkit-1.1.11/genisoimage/md5.c:324:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/md5.c:186:9: warning: Size of pointer 'ctx' used instead of size of its data. [pointerSize] cdrkit-1.1.11/genisoimage/md5.c:327:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/md5.c:327:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:190:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:268:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:407:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:503:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:695:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1461:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1534:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1763:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1869:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/multi.c:1179:19: error: Buffer is accessed out of bounds: pri->root_directory_record [bufferAccessOutOfBounds] cdrkit-1.1.11/genisoimage/multi.c:1845:5: style: Redundant initialization for 're'. The initialized value is overwritten before it is read. [redundantInitialization] cdrkit-1.1.11/genisoimage/multi.c:1842:29: note: re is initialized cdrkit-1.1.11/genisoimage/multi.c:1845:5: note: re is overwritten cdrkit-1.1.11/genisoimage/multi.c:1845:2: style: Variable 're' is assigned an expression that holds the same value. [redundantAssignment] cdrkit-1.1.11/genisoimage/multi.c:1842:29: note: re is assigned 're_dirs' here. cdrkit-1.1.11/genisoimage/multi.c:1845:2: note: Variable 're' is assigned an expression that holds the same value. cdrkit-1.1.11/genisoimage/multi.c:99:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:105:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:127:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:186:16: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:186:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:201:15: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:201:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:212:28: style: Variable 'xadp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/multi.c:265:28: style: Variable 'xadp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/multi.c:471:19: style: Parameter 'lstatbuf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:582:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/multi.c:1087:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:1122:19: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:1502:16: style: Parameter 'reloc_root' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/multi.c:311:8: style: Variable 'flag1' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:327:10: style: Variable 'flag1' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:536:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:1623:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:1624:12: style: Variable 'lstatus' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:1656:10: style: Variable 'status' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/multi.c:1657:11: style: Variable 'lstatus' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/genisoimage/name.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/name.c:178:16: style: Condition 'last_dot==NULL' is always false [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/name.c:179:4: style: Variable 'last_dot' is assigned an expression that holds the same value. [redundantAssignment] cdrkit-1.1.11/genisoimage/name.c:168:11: note: last_dot is assigned 'strrchr(pnt,'.')' here. cdrkit-1.1.11/genisoimage/name.c:171:8: note: Assignment 'cp=last_dot', assigned value is symbolic=strrchr(pnt,'.') cdrkit-1.1.11/genisoimage/name.c:171:6: note: cp is assigned 'last_dot' here. cdrkit-1.1.11/genisoimage/name.c:168:11: note: last_dot is assigned 'strrchr(pnt,'.')' here. cdrkit-1.1.11/genisoimage/name.c:173:12: note: last_dot is assigned 'strrchr(pnt,'.')' here. cdrkit-1.1.11/genisoimage/name.c:168:11: note: last_dot is assigned 'strrchr(pnt,'.')' here. cdrkit-1.1.11/genisoimage/name.c:171:8: note: Assignment 'cp=last_dot', assigned value is symbolic=strrchr(pnt,'.') cdrkit-1.1.11/genisoimage/name.c:179:4: note: Variable 'last_dot' is assigned an expression that holds the same value. cdrkit-1.1.11/genisoimage/name.c:113:46: style:inconclusive: Function 'iso9660_file_length' argument 3 names different: declaration 'flag' definition 'dirflag'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/genisoimage.h:567:49: note: Function 'iso9660_file_length' argument 3 names different: declaration 'flag' definition 'dirflag'. cdrkit-1.1.11/genisoimage/name.c:113:46: note: Function 'iso9660_file_length' argument 3 names different: declaration 'flag' definition 'dirflag'. cdrkit-1.1.11/genisoimage/rock.c:122:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/rock.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/rock.c:248:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/rock.c:855:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/rock.c:469:22: style: Condition 'nchar<0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/rock.c:467:12: note: Assignment 'nchar=-1', assigned value is -1 cdrkit-1.1.11/genisoimage/rock.c:469:22: note: Condition 'nchar<0' is always true cdrkit-1.1.11/genisoimage/rock.c:221:10: style: Redundant assignment of 'statbuf' to itself. [selfAssignment] cdrkit-1.1.11/genisoimage/rock.c:215:15: style:inconclusive: Function 'generate_xa_rr_attributes' argument 6 names different: declaration 'deep_flag' definition 'deep_opt'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/genisoimage.h:584:19: note: Function 'generate_xa_rr_attributes' argument 6 names different: declaration 'deep_flag' definition 'deep_opt'. cdrkit-1.1.11/genisoimage/rock.c:215:15: note: Function 'generate_xa_rr_attributes' argument 6 names different: declaration 'deep_flag' definition 'deep_opt'. cdrkit-1.1.11/genisoimage/rock.c:105:25: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rock.c:180:21: style: Parameter 'lstatbuf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rock.c:211:33: style: Parameter 'whole_name' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rock.c:821:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rock.c:821:46: style: Parameter 'descriptor' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rock.c:821:64: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/rsync.c:96:20: style: Variable 'limit' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/stream.c:158:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/stream.c:216:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/stream.c:257:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:324:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:969:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1000:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1026:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1070:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1150:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:2252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:2468:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:2535:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:2613:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/tree.c:1178:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cdrkit-1.1.11/genisoimage/tree.c:1254:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cdrkit-1.1.11/genisoimage/tree.c:2617:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] cdrkit-1.1.11/genisoimage/tree.c:2069:23: style: Condition 'nchar<0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/genisoimage/tree.c:2067:13: note: Assignment 'nchar=-1', assigned value is -1 cdrkit-1.1.11/genisoimage/tree.c:2069:23: note: Condition 'nchar<0' is always true cdrkit-1.1.11/genisoimage/tree.c:2428:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/tree.c:2535:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/tree.c:2535:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/tree.c:2612:19: warning: If memory allocation fails, then there is a possible null pointer dereference: subdir [nullPointerOutOfMemory] cdrkit-1.1.11/genisoimage/tree.c:2610:17: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/tree.c:2610:17: note: Assignment 'subdir=strdup(filename)', assigned value is 0 cdrkit-1.1.11/genisoimage/tree.c:2612:19: note: Null pointer dereference cdrkit-1.1.11/genisoimage/tree.c:1247:11: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/tree.c:1140:33: style:inconclusive: Function 'scan_directory_tree' argument 3 names different: declaration 'self' definition 'de'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/genisoimage.h:442:37: note: Function 'scan_directory_tree' argument 3 names different: declaration 'self' definition 'de'. cdrkit-1.1.11/genisoimage/tree.c:1140:33: note: Function 'scan_directory_tree' argument 3 names different: declaration 'self' definition 'de'. cdrkit-1.1.11/genisoimage/tree.c:2231:29: style:inconclusive: Function 'find_or_create_directory' argument 3 names different: declaration 'self' definition 'de'. [funcArgNamesDifferent] cdrkit-1.1.11/genisoimage/genisoimage.h:437:29: note: Function 'find_or_create_directory' argument 3 names different: declaration 'self' definition 'de'. cdrkit-1.1.11/genisoimage/tree.c:2231:29: note: Function 'find_or_create_directory' argument 3 names different: declaration 'self' definition 'de'. cdrkit-1.1.11/genisoimage/tree.c:168:22: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:232:19: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:242:20: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:1016:54: style: Parameter 'attr_type' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:1145:20: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/tree.c:1147:9: style: Variable 'old_path' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/tree.c:2233:18: style: Parameter 'stat_template' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:2236:26: style: Variable 'orig_de' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/tree.c:2601:48: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/tree.c:2367:15: style: Unused variable: xstatbuf [unusedVariable] cdrkit-1.1.11/genisoimage/write.c:272:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:450:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:558:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:666:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:817:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:859:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1038:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1417:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1645:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1803:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1942:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2018:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2040:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2095:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2168:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2184:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2262:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2370:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2394:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:2411:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/genisoimage/write.c:1915:17: error: Buffer is accessed out of bounds: vol_desc.id [bufferAccessOutOfBounds] cdrkit-1.1.11/genisoimage/write.c:2038:18: error: Buffer is accessed out of bounds: evol_desc.id [bufferAccessOutOfBounds] cdrkit-1.1.11/genisoimage/write.c:1892:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cdrkit-1.1.11/genisoimage/write.c:1893:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cdrkit-1.1.11/genisoimage/write.c:1259:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1523:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1542:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1542:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1686:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1718:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1851:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1859:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1866:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/genisoimage/write.c:1116:14: style: Same expression on both sides of '=='. [duplicateExpression] cdrkit-1.1.11/genisoimage/write.c:1069:16: style: Variable 's_entry' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/genisoimage/write.c:1068:11: note: s_entry is assigned cdrkit-1.1.11/genisoimage/write.c:1069:16: note: s_entry is overwritten cdrkit-1.1.11/genisoimage/write.c:2118:7: style: Redundant initialization for 'len'. The initialized value is overwritten before it is read. [redundantInitialization] cdrkit-1.1.11/genisoimage/write.c:2111:10: note: len is initialized cdrkit-1.1.11/genisoimage/write.c:2118:7: note: len is overwritten cdrkit-1.1.11/genisoimage/write.c:262:16: style: Local variable 'outfile' shadows outer variable [shadowVariable] cdrkit-1.1.11/genisoimage/genisoimage.h:379:8: note: Shadowed declaration cdrkit-1.1.11/genisoimage/write.c:262:16: note: Shadow variable cdrkit-1.1.11/genisoimage/write.c:214:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:223:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:232:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:637:9: style: Variable 'rpnt' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/write.c:638:5: style: Variable 'lpnt' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/write.c:1030:20: style: Variable 's_hash' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/write.c:1598:9: style: Variable 'npnt' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/write.c:1728:28: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:2132:24: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:2132:36: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/genisoimage/write.c:2135:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/genisoimage/write.c:1657:9: style: Variable 'npnt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/icedax/mytype.h:26:46: error: syntax error [syntaxError] cdrkit-1.1.11/icedax/cd_extra.c:46:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_FRAMESIZE_RAW [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/cd_extra.c:125:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_FRAMESIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/cd_extra.c:166:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_FRAMESIZE_RAW [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/cd_extra.c:171:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/icedax/cd_extra.c:235:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/icedax/cd_extra.c:235:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/icedax/cd_extra.c:34:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/icedax/cd_extra.c:58:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/icedax/cd_extra.c:82:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/icedax/cd_extra.c:239:12: style: Variable 'Subp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/icedax/cd_extra.c:240:14: style: Variable 'length' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/icedax/cd_text.c:192:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracktitle [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/cd_text.c:64:74: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/icedax/cd_text.c:182:43: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/icedax/cd_text.c:20:16: style: struct member 'cdtextpackdata::textdatafield' is never used. [unusedStructMember] cdrkit-1.1.11/icedax/global.h:23:1: error: syntax error: ! typedef [syntaxError] cdrkit-1.1.11/icedax/setuid.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:135:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:174:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:219:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/setuid.c:289:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/icedax/sha_func.c:170:5: error: syntax error: -- .. for [syntaxError] cdrkit-1.1.11/include/test_BITFIELDS_HTOL.c:19:33: style: struct member 'Anonymous1::bf2' is never used. [unusedStructMember] cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19:5: error: Uninitialized variable: b [uninitvar] cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19:3: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19:1: error: va_list 'a' used before va_start() was called. [va_list_usedBeforeStarted] cdrkit-1.1.11/include/test_VA_LIST_IS_ARRAY.c:19:5: error: va_list 'b' used before va_start() was called. [va_list_usedBeforeStarted] cdrkit-1.1.11/libedc/edc_ecc.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UInt32_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L2sq [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L2sq [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDC_crctable [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:336:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_l12_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:362:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_l12_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:418:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_sub_rw_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:443:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_sub_rw_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:467:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_sub_rw_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:489:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rs_sub_rw_log [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libedc/edc_ecc.c:360:15: error: Array 'inout[32]' accessed at index 2323, which is out of bounds. [arrayIndexOutOfBounds] cdrkit-1.1.11/libedc/edc_ecc.c:357:16: note: Assuming that condition 'i<(1024*2)+(26*2*2)+(43*2*2)' is not redundant cdrkit-1.1.11/libedc/edc_ecc.c:360:15: note: Array index out of bounds cdrkit-1.1.11/libedc/edc_ecc.c:326:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] cdrkit-1.1.11/libedc/edc_ecc.c:408:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] cdrkit-1.1.11/libedc/edc_ecc.c:515:58: style:inconclusive: Function 'do_encode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. [funcArgNamesDifferent] cdrkit-1.1.11/libedc/ecc.h:55:48: note: Function 'do_encode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:515:58: note: Function 'do_encode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:599:58: style:inconclusive: Function 'do_decode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. [funcArgNamesDifferent] cdrkit-1.1.11/libedc/edc_ecc.c:58:49: note: Function 'do_decode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:599:58: note: Function 'do_decode_L1' argument 6 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:697:35: style:inconclusive: Function 'do_encode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. [funcArgNamesDifferent] cdrkit-1.1.11/libedc/ecc.h:128:19: note: Function 'do_encode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:697:35: note: Function 'do_encode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:748:31: style:inconclusive: Function 'do_decode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. [funcArgNamesDifferent] cdrkit-1.1.11/libedc/ecc.h:131:23: note: Function 'do_decode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:748:31: note: Function 'do_decode_sub' argument 4 names different: declaration 'scramble' definition 'permute'. cdrkit-1.1.11/libedc/edc_ecc.c:232:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libedc/edc_ecc.c:375:38: style: Parameter 'inout' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:382:38: style: Parameter 'in' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:389:31: style: Parameter 'inout' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:396:31: style: Parameter 'inout' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:456:33: style: Parameter 'inout' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:478:33: style: Parameter 'inout' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:677:39: style: Parameter 'in' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edc_ecc.c:678:39: style: Parameter 'out' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edcspeed.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sect [nullPointerOutOfMemory] cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assuming allocation function fails cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assignment 'sect=malloc(2352)', assigned value is 0 cdrkit-1.1.11/libedc/edcspeed.c:38:9: note: Null pointer dereference cdrkit-1.1.11/libedc/edcspeed.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sect [nullPointerOutOfMemory] cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assuming allocation function fails cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assignment 'sect=malloc(2352)', assigned value is 0 cdrkit-1.1.11/libedc/edcspeed.c:40:3: note: Null pointer dereference cdrkit-1.1.11/libedc/edcspeed.c:41:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sect [nullPointerOutOfMemory] cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assuming allocation function fails cdrkit-1.1.11/libedc/edcspeed.c:33:15: note: Assignment 'sect=malloc(2352)', assigned value is 0 cdrkit-1.1.11/libedc/edcspeed.c:41:3: note: Null pointer dereference cdrkit-1.1.11/libedc/edcspeed.c:68:26: style: Parameter 'argv' can be declared as const array [constParameter] cdrkit-1.1.11/libedc/edcspeed.c:38:9: warning: Size of pointer 'sect' used instead of size of its data. [pointerSize] cdrkit-1.1.11/libhfs_iso/block.c:86:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/block.c:151:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/block.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/block.c:203:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/block.c:51:22: style: Parameter 'vol' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/block.c:114:23: style: Parameter 'vol' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/btree.c:67:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:317:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:399:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:465:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:591:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:652:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/btree.c:702:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/data.c:298:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cdrkit-1.1.11/libhfs_iso/data.c:107:28: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/data.c:116:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/data.c:127:28: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/data.c:269:42: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/data.c:293:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libhfs_iso/file.c:208:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/file.c:316:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/file.c:449:11: style: Variable 'vol' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libhfs_iso/hfs.c:90:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:378:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:481:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:942:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1022:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1097:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1211:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1322:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1396:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1438:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1548:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1568:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1598:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1638:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1701:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1792:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:1879:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/hfs.c:511:7: error: Resource leak: vol.fd [resourceLeak] cdrkit-1.1.11/libhfs_iso/hfs.c:468:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/hfs.c:1266:26: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/hfs.c:1905:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libhfs_iso/low.c:56:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/low.c:102:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/low.c:184:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/low.c:483:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/node.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/node.c:190:21: style: Parameter 'bt' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/node.c:190:40: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/node.c:336:41: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/record.c:382:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdrStABN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/record.c:400:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdrStABN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/record.c:75:30: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/record.c:409:53: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/record.c:440:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/volume.c:145:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:198:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:298:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:457:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:533:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:618:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdrStABN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libhfs_iso/volume.c:268:47: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libhfs_iso/volume.c:289:35: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:54:36: style: Parameter 'buffA' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:54:52: style: Parameter 'buffB' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:69:36: style: Parameter 'buffA' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:69:52: style: Parameter 'buffB' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:82:31: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:82:43: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:216:38: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:216:50: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/gap.c:64:8: style: Variable 'beginB' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libparanoia/isort.c:152:38: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/overlap.c:129:23: style: Condition 'p->stage2.offpoints' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libparanoia/overlap.c:124:26: note: Assuming that condition 'p->stage2.offpoints>=10' is not redundant cdrkit-1.1.11/libparanoia/overlap.c:129:23: note: Condition 'p->stage2.offpoints' is always true cdrkit-1.1.11/libparanoia/overlap.c:179:29: style: Condition 'p->stage1.offpoints' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libparanoia/overlap.c:174:26: note: Assuming that condition 'p->stage1.offpoints>=10' is not redundant cdrkit-1.1.11/libparanoia/overlap.c:179:29: note: Condition 'p->stage1.offpoints' is always true cdrkit-1.1.11/libparanoia/p_block.c:343:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/p_block.c:368:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/p_block.c:383:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/p_block.c:394:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/p_block.c:450:19: style: Variable 'p->maxdynoverlap' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/libparanoia/p_block.c:449:19: note: p->maxdynoverlap is assigned cdrkit-1.1.11/libparanoia/p_block.c:450:19: note: p->maxdynoverlap is overwritten cdrkit-1.1.11/libparanoia/p_block.c:71:39: style:inconclusive: Function 'add_elem' argument 1 names different: declaration 'list' definition 'l'. [funcArgNamesDifferent] cdrkit-1.1.11/libparanoia/p_block.h:63:46: note: Function 'add_elem' argument 1 names different: declaration 'list' definition 'l'. cdrkit-1.1.11/libparanoia/p_block.c:71:39: note: Function 'add_elem' argument 1 names different: declaration 'list' definition 'l'. cdrkit-1.1.11/libparanoia/p_block.c:210:42: style:inconclusive: Function 'new_v_fragment' argument 5 names different: declaration 'lastsector' definition 'last'. [funcArgNamesDifferent] cdrkit-1.1.11/libparanoia/p_block.h:118:17: note: Function 'new_v_fragment' argument 5 names different: declaration 'lastsector' definition 'last'. cdrkit-1.1.11/libparanoia/p_block.c:210:42: note: Function 'new_v_fragment' argument 5 names different: declaration 'lastsector' definition 'last'. cdrkit-1.1.11/libparanoia/p_block.c:227:34: style:inconclusive: Function 'free_v_fragment' argument 1 names different: declaration 'c' definition 'v'. [funcArgNamesDifferent] cdrkit-1.1.11/libparanoia/p_block.h:115:41: note: Function 'free_v_fragment' argument 1 names different: declaration 'c' definition 'v'. cdrkit-1.1.11/libparanoia/p_block.c:227:34: note: Function 'free_v_fragment' argument 1 names different: declaration 'c' definition 'v'. cdrkit-1.1.11/libparanoia/p_block.c:127:32: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/p_block.c:291:15: style: Variable 'l' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libparanoia/p_block.c:305:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/p_block.c:335:46: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/p_block.c:374:49: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/p_block.c:386:36: style: Parameter 'vector' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/p_block.c:450:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] cdrkit-1.1.11/libparanoia/paranoia.c:663:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/paranoia.c:766:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/paranoia.c:1065:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/paranoia.c:1316:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int16_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libparanoia/paranoia.c:726:22: warning: Either the condition '!v' is redundant or there is possible null pointer dereference: v. [nullPointerRedundantCheck] cdrkit-1.1.11/libparanoia/paranoia.c:729:6: note: Assuming that condition '!v' is not redundant cdrkit-1.1.11/libparanoia/paranoia.c:726:22: note: Null pointer dereference cdrkit-1.1.11/libparanoia/paranoia.c:887:32: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] cdrkit-1.1.11/libparanoia/paranoia.c:965:11: note: Assuming that condition 'l' is not redundant cdrkit-1.1.11/libparanoia/paranoia.c:887:32: note: Null pointer dereference cdrkit-1.1.11/libparanoia/paranoia.c:888:16: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] cdrkit-1.1.11/libparanoia/paranoia.c:965:11: note: Assuming that condition 'l' is not redundant cdrkit-1.1.11/libparanoia/paranoia.c:888:16: note: Null pointer dereference cdrkit-1.1.11/libparanoia/paranoia.c:948:39: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] cdrkit-1.1.11/libparanoia/paranoia.c:965:11: note: Assuming that condition 'l' is not redundant cdrkit-1.1.11/libparanoia/paranoia.c:948:39: note: Null pointer dereference cdrkit-1.1.11/libparanoia/paranoia.c:949:17: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] cdrkit-1.1.11/libparanoia/paranoia.c:965:11: note: Assuming that condition 'l' is not redundant cdrkit-1.1.11/libparanoia/paranoia.c:949:17: note: Null pointer dereference cdrkit-1.1.11/libparanoia/paranoia.c:1338:46: style:inconclusive: Function 'paranoia_modeset' argument 2 names different: declaration 'mode' definition 'enable'. [funcArgNamesDifferent] cdrkit-1.1.11/libparanoia/cdda_paranoia.h:81:54: note: Function 'paranoia_modeset' argument 2 names different: declaration 'mode' definition 'enable'. cdrkit-1.1.11/libparanoia/paranoia.c:1338:46: note: Function 'paranoia_modeset' argument 2 names different: declaration 'mode' definition 'enable'. cdrkit-1.1.11/libparanoia/paranoia.c:1599:36: style:inconclusive: Function 'paranoia_read_limited' argument 3 names different: declaration 'maxretries' definition 'max_retries'. [funcArgNamesDifferent] cdrkit-1.1.11/libparanoia/cdda_paranoia.h:86:19: note: Function 'paranoia_read_limited' argument 3 names different: declaration 'maxretries' definition 'max_retries'. cdrkit-1.1.11/libparanoia/paranoia.c:1599:36: note: Function 'paranoia_read_limited' argument 3 names different: declaration 'maxretries' definition 'max_retries'. cdrkit-1.1.11/libparanoia/paranoia.c:187:29: style: Parameter 'buffA' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:187:45: style: Parameter 'buffB' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:213:30: style: Parameter 'buffA' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:213:46: style: Parameter 'buffB' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:213:60: style: Parameter 'flagsA' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:214:28: style: Parameter 'flagsB' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libparanoia/paranoia.c:311:10: style: Variable 'Bflags' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libparanoia/paranoia.c:605:12: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libparanoia/paranoia.c:666:10: warning: Size of pointer 'avec' used instead of size of its data. [pointerSize] cdrkit-1.1.11/libparanoia/paranoia.c:199:8: style: Variable 'beginB' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libparanoia/paranoia.c:240:8: style: Variable 'beginB' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libparanoia/paranoia.c:428:16: style: Variable 'matched' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libparanoia/paranoia.c:442:13: style: Variable 'matched' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/librols/astoull.c:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/comerr.c:211:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/comerr.c:207:8: style: Variable 'errnam' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/librols/comerr.c:208:8: style: Variable 'prognam' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/librols/fexec.c:196:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHNAME [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/fexec.c:362:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/findbytes.c:98:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_LONG [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/findbytes.c:126:18: error: Uninitialized variable: magic_mask [uninitvar] cdrkit-1.1.11/librols/findbytes.c:61:17: style: Unused variable: lmask [unusedVariable] cdrkit-1.1.11/librols/findbytes.c:62:17: style: Variable 'magic_mask' is not assigned a value. [unassignedVariable] cdrkit-1.1.11/librols/getargs.c:167:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/getargs.c:288:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/getargs.c:775:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/getargs.c:703:8: warning: Uninitialized variable: rsf [uninitvar] cdrkit-1.1.11/librols/getargs.c:675:25: note: Assignment 'rsf=sf', assigned value is cdrkit-1.1.11/librols/getargs.c:703:8: note: Uninitialized variable: rsf cdrkit-1.1.11/librols/getargs.c:558:14: style: Variable 'argstr[1]' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/librols/getargs.c:616:14: style: Variable 'argstr[1]' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/librols/getargs.c:707:20: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] cdrkit-1.1.11/librols/gethostid.c:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/handlecond.c:253:19: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/librols/movebytes.c:90:9: style: Condition 'n>0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/librols/movebytes.c:53:16: note: Assuming that condition '(n=cnt)<=0' is not redundant cdrkit-1.1.11/librols/movebytes.c:61:9: note: Assuming condition is false cdrkit-1.1.11/librols/movebytes.c:90:9: note: Condition 'n>0' is always true cdrkit-1.1.11/librols/movebytes.c:131:9: style: Condition 'n>0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/librols/movebytes.c:53:16: note: Assuming that condition '(n=cnt)<=0' is not redundant cdrkit-1.1.11/librols/movebytes.c:104:9: note: Assuming condition is false cdrkit-1.1.11/librols/movebytes.c:131:9: note: Condition 'n>0' is always true cdrkit-1.1.11/librols/raisecond.c:134:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sb_savfp [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/raisecond.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/rename.c:77:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/spawn.c:161:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/cvmod.c:50:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/ffileread.c:47:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/ffilewrite.c:37:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/librols/stdio/fgetline.c:83:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/file_raise.c:40:12: style: Local variable '_io_glflag' shadows outer variable [shadowVariable] cdrkit-1.1.11/librols/stdio/schilyio.h:124:12: note: Shadowed declaration cdrkit-1.1.11/librols/stdio/file_raise.c:40:12: note: Shadow variable cdrkit-1.1.11/librols/stdio/filewrite.c:92:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/librols/stdio/flush.c:37:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/niread.c:46:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/niwrite.c:46:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/niwrite.c:40:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/librols/stdio/nixread.c:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/nixwrite.c:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/stdio/peekc.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/librols/streql.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libunls/nls_base.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libunls/nls_base.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libunls/nls_base.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libunls/nls_base.c:71:36: style: Parameter 'unls' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libunls/nls_base.c:86:17: style: Parameter 'charset' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libunls/nls_base.c:100:21: style: Variable 'unls' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libunls/nls_base.c:121:32: style: Parameter 'nls' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libunls/nls_file.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unls_unicode [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libunls/nls_file.c:100:3: error: Resource leak: fp [resourceLeak] cdrkit-1.1.11/libunls/nls_file.c:70:22: style:inconclusive: Function 'init_unls_file' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] cdrkit-1.1.11/libunls/nls.h:124:33: note: Function 'init_unls_file' argument 1 names different: declaration 'name' definition 'filename'. cdrkit-1.1.11/libunls/nls_file.c:70:22: note: Function 'init_unls_file' argument 1 names different: declaration 'name' definition 'filename'. cdrkit-1.1.11/libusal/scsi-aix.c:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:193:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:276:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:288:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:294:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:313:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:419:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-aix.c:75:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-aix.c:204:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-aix.c:246:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-aix.c:280:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-aix.c:286:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-aix.c:232:8: portability: 'ret' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] cdrkit-1.1.11/libusal/scsi-aix.c:206:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-aix.c:392:22: error: Uninitialized variable: s_cmd [uninitvar] cdrkit-1.1.11/libusal/scsi-amigaos.c:128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __sccsid [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:264:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:305:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:329:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:341:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:348:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_NO_ERROR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:479:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOERR_ABORTED [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:618:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:679:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timerequest [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-amigaos.c:286:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-amigaos.c:515:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:552:6: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:576:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:590:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:618:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:635:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:649:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:649:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:649:6: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/libusal/scsi-amigaos.c:498:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s1 [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-amigaos.c:727:20: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-amigaos.c:727:20: note: Assignment 'tmp=strdup(device)', assigned value is 0 cdrkit-1.1.11/libusal/scsi-amigaos.c:729:9: note: Calling function 'strlwr', 1st argument 'tmp' value is 0 cdrkit-1.1.11/libusal/scsi-amigaos.c:497:7: note: Assignment 's1=(unsigned char*)s', assigned value is 0 cdrkit-1.1.11/libusal/scsi-amigaos.c:498:10: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-amigaos.c:731:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-amigaos.c:727:20: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-amigaos.c:727:20: note: Assignment 'tmp=strdup(device)', assigned value is 0 cdrkit-1.1.11/libusal/scsi-amigaos.c:731:23: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-amigaos.c:404:5: warning: Redundant code: Found unused member access. [constStatement] cdrkit-1.1.11/libusal/scsi-amigaos.c:113:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:274:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:299:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:333:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:339:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:345:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:724:26: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:746:25: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:749:15: style: Variable 'DeviceLibNode' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-amigaos.c:276:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-amigaos.c:450:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-amigaos.c:450:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-apollo.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __sccsid [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:148:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:209:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:235:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:292:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_G0_CDBLEN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:351:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-apollo.c:127:50: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-apollo.c:181:8: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-apollo.c:72:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-apollo.c:200:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-apollo.c:240:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-apollo.c:249:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-beos.c:209:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-beos.c:270:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-beos.c:327:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-beos.c:341:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-beos.c:368:3: error: fprintf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum] cdrkit-1.1.11/libusal/scsi-beos.c:299:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-beos.c:298:32: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-beos.c:298:7: note: Assignment 'f=(struct _fdmap_*)malloc(sizeof(struct _fdmap_))', assigned value is 0 cdrkit-1.1.11/libusal/scsi-beos.c:299:3: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-beos.c:300:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-beos.c:298:32: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-beos.c:298:7: note: Assignment 'f=(struct _fdmap_*)malloc(sizeof(struct _fdmap_))', assigned value is 0 cdrkit-1.1.11/libusal/scsi-beos.c:300:3: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-beos.c:301:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-beos.c:298:32: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-beos.c:298:7: note: Assignment 'f=(struct _fdmap_*)malloc(sizeof(struct _fdmap_))', assigned value is 0 cdrkit-1.1.11/libusal/scsi-beos.c:301:3: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-beos.c:302:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-beos.c:298:32: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-beos.c:298:7: note: Assignment 'f=(struct _fdmap_*)malloc(sizeof(struct _fdmap_))', assigned value is 0 cdrkit-1.1.11/libusal/scsi-beos.c:302:3: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-beos.c:303:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] cdrkit-1.1.11/libusal/scsi-beos.c:298:32: note: Assuming allocation function fails cdrkit-1.1.11/libusal/scsi-beos.c:298:7: note: Assignment 'f=(struct _fdmap_*)malloc(sizeof(struct _fdmap_))', assigned value is 0 cdrkit-1.1.11/libusal/scsi-beos.c:303:3: note: Null pointer dereference cdrkit-1.1.11/libusal/scsi-beos.c:400:14: style: Variable 'sp->error' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] cdrkit-1.1.11/libusal/scsi-beos.c:396:14: note: $symbol is assigned cdrkit-1.1.11/libusal/scsi-beos.c:400:14: note: $symbol is overwritten cdrkit-1.1.11/libusal/scsi-beos.c:401:17: style: Variable 'sp->ux_errno' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] cdrkit-1.1.11/libusal/scsi-beos.c:397:17: note: $symbol is assigned cdrkit-1.1.11/libusal/scsi-beos.c:401:17: note: $symbol is overwritten cdrkit-1.1.11/libusal/scsi-beos.c:237:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] cdrkit-1.1.11/libusal/scsi-beos.c:351:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cdrkit-1.1.11/libusal/scsi-beos.c:160:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:189:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:234:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:290:9: style: Variable 'tgtstr' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-beos.c:310:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:316:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:325:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-beos.c:237:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-bsd-os.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:233:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:249:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:288:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPHYS [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:319:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:343:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:355:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:364:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:377:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd-os.c:86:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:115:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:286:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:313:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:347:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:353:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd-os.c:359:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:260:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:277:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:349:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:373:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:394:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:400:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:423:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-bsd.c:330:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-bsd.c:104:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:133:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:316:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:343:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:377:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:383:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-bsd.c:417:17: style: Variable 'lp1' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-dos.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:249:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:266:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:444:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:527:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRB [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-dos.c:139:22: style: Condition 'tgt>=0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-dos.c:139:10: note: Assuming that condition 'tgt>=0' is not redundant cdrkit-1.1.11/libusal/scsi-dos.c:139:22: note: Condition 'tgt>=0' is always true cdrkit-1.1.11/libusal/scsi-dos.c:144:30: style: Condition 'tgt!=-1' is always false [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-dos.c:144:17: note: Assuming that condition 'tgt!=-1' is not redundant cdrkit-1.1.11/libusal/scsi-dos.c:144:30: note: Condition 'tgt!=-1' is always false cdrkit-1.1.11/libusal/scsi-dos.c:139:15: style: Same expression on both sides of '&&'. [duplicateExpression] cdrkit-1.1.11/libusal/scsi-dos.c:144:23: style: Same expression on both sides of '||'. [duplicateExpression] cdrkit-1.1.11/libusal/scsi-dos.c:88:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:113:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:180:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:187:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:212:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:221:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:235:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:241:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:247:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-dos.c:559:39: style: Parameter 'regs' can be declared as pointer to const. However it seems that 'SCSIMgrCallBack' is a callback function, if 'regs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsi-dos.c:474:46: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsi-dos.c:559:39: note: Parameter 'regs' can be declared as pointer to const cdrkit-1.1.11/libusal/scsi-hpux.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:190:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:256:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:268:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:292:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-hpux.c:213:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-hpux.c:74:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:103:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:201:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:226:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:260:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:266:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-hpux.c:203:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-linux-pg.c:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SCG [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:291:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TGT [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:389:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:416:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:562:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-pg.c:108:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:250:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:303:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:373:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:379:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:385:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-pg.c:537:22: error: Uninitialized variable: s_cmd [uninitvar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:263:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_EXCL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:392:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:640:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pgbus [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:680:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:699:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:788:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:831:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buscookies [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:879:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1027:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfile [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSIbuf [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1145:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1245:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1464:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1753:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filenames [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:270:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1097:8: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1541:15: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] cdrkit-1.1.11/libusal/scsi-linux-sg.c:479:7: style: Condition 'device' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-linux-sg.c:812:11: style: Condition 'ret<0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-linux-sg.c:810:11: note: Assuming that condition 'ret==0' is not redundant cdrkit-1.1.11/libusal/scsi-linux-sg.c:812:11: note: Condition 'ret<0' is always true cdrkit-1.1.11/libusal/scsi-linux-sg.c:1240:26: style:inconclusive: Function 'sg_settimeout' argument 2 names different: declaration 'timeout' definition 'tmo'. [funcArgNamesDifferent] cdrkit-1.1.11/libusal/scsi-linux-sg.c:238:38: note: Function 'sg_settimeout' argument 2 names different: declaration 'timeout' definition 'tmo'. cdrkit-1.1.11/libusal/scsi-linux-sg.c:1240:26: note: Function 'sg_settimeout' argument 2 names different: declaration 'timeout' definition 'tmo'. cdrkit-1.1.11/libusal/scsi-linux-sg.c:257:24: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:518:10: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:691:78: style: Parameter 'origname' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:765:18: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:999:32: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1010:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1115:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1149:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1159:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1197:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1266:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-linux-sg.c:791:22: error: Uninitialized variable: sg_rep [uninitvar] cdrkit-1.1.11/libusal/scsi-linux-sg.c:1534:22: error: Uninitialized variable: sg_rq [uninitvar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:131:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOReturnSuccess [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:329:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsiTaskDeviceInterface [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:387:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:412:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:440:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsiTaskDeviceInterface [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:86:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:127:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:347:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:384:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:392:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:398:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:404:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-mac-iokit.c:410:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:192:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfile [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:208:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_scsibus [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:289:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:307:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_scsibus [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:329:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:335:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:354:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-next.c:273:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-next.c:80:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:109:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:240:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:321:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:327:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-next.c:349:17: style: Unused variable: lp1 [unusedVariable] cdrkit-1.1.11/libusal/scsi-next.c:350:17: style: Unused variable: lp2 [unusedVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:372:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:684:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:732:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:781:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:805:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:836:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:850:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:871:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_MAX_SENSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:889:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_MAX_SENSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-openserver.c:761:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-openserver.c:448:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cdrkit-1.1.11/libusal/scsi-openserver.c:211:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:255:12: style: Variable 't1' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-openserver.c:256:12: style: Variable 't2' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-openserver.c:674:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:748:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:775:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:809:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:834:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-openserver.c:941:22: error: Uninitialized variable: s_cmd [uninitvar] cdrkit-1.1.11/libusal/scsi-openserver.c:309:7: style: Unused variable: atapi [unusedVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:310:7: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:310:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:680:12: style: Variable 'nopen' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:679:6: style: Unused variable: f [unusedVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:680:6: style: Variable 'nopen' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:681:7: style: Unused variable: devname [unusedVariable] cdrkit-1.1.11/libusal/scsi-openserver.c:888:7: style: Unused variable: i [unusedVariable] cdrkit-1.1.11/libusal/scsi-os2.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:286:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:363:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:528:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:587:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:625:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-os2.c:337:16: style: Variable 'sp->ux_errno' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/libusal/scsi-os2.c:336:16: note: sp->ux_errno is assigned cdrkit-1.1.11/libusal/scsi-os2.c:337:16: note: sp->ux_errno is overwritten cdrkit-1.1.11/libusal/scsi-os2.c:115:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:144:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:184:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:191:20: style: Parameter 'cgp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:238:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:250:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:265:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:271:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:328:16: style: Parameter 'srb' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-os2.c:240:15: style: Unused variable: t [unusedVariable] cdrkit-1.1.11/libusal/scsi-os2.c:241:15: style: Unused variable: l [unusedVariable] cdrkit-1.1.11/libusal/scsi-os2.c:455:10: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-osf.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:197:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfile [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:226:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:277:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:296:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfile [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:308:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:314:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:330:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-osf.c:259:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-osf.c:85:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:114:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:245:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:272:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:300:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:306:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-osf.c:312:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:147:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:190:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:200:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:214:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCMD_CAM_DEVINFO [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:223:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-qnx.c:90:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] cdrkit-1.1.11/libusal/scsi-qnx.c:77:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:107:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:154:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:188:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:204:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:221:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-qnx.c:109:6: style: Unused variable: fd [unusedVariable] cdrkit-1.1.11/libusal/scsi-qnx.c:230:7: style: Unused variable: i [unusedVariable] cdrkit-1.1.11/libusal/scsi-sgi.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:131:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:218:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:292:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usalfiles [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DS_ENTER [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:407:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sgi.c:244:19: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-sgi.c:89:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:118:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:232:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:257:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:297:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:303:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:309:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:332:44: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sgi.c:234:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-sgi.c:395:6: style: Unused variable: i [unusedVariable] cdrkit-1.1.11/libusal/scsi-sgi.c:396:6: style: Variable 'amt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-sun.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:279:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_files [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:342:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_files [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:367:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:373:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RESET_NOP [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:401:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCGIO_CMD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-sun.c:385:27: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-sun.c:156:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sun.c:192:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sun.c:287:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sun.c:346:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-sun.c:365:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:162:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:211:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:473:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTCS [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTCS [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:596:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:613:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTCS [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:633:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:662:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:701:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISCB_TYPE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:817:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:845:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:894:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-unixware.c:576:28: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] cdrkit-1.1.11/libusal/scsi-unixware.c:259:4: warning:inconclusive: Width 7 given in format string (no. 4) is smaller than destination buffer 'class[80]'. [invalidScanfFormatWidth_smaller] cdrkit-1.1.11/libusal/scsi-unixware.c:262:4: warning:inconclusive: Width 7 given in format string (no. 5) is smaller than destination buffer 'class[80]'. [invalidScanfFormatWidth_smaller] cdrkit-1.1.11/libusal/scsi-unixware.c:150:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:466:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:563:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:590:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:658:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:875:25: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-unixware.c:565:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-unixware.c:817:19: error: Uninitialized variable: s_cmd [uninitvar] cdrkit-1.1.11/libusal/scsi-unixware.c:660:8: style: Variable 'f' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-unixware.c:660:6: style: Variable 'f' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-unixware.c:695:8: style: Unused variable: i [unusedVariable] cdrkit-1.1.11/libusal/scsi-unixware.c:877:8: style: Unused variable: ret [unusedVariable] cdrkit-1.1.11/libusal/scsi-vms.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:332:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:340:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:373:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_CMD_RETRY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:504:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:531:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-vms.c:441:17: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] cdrkit-1.1.11/libusal/scsi-vms.c:175:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:204:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:299:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:305:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:313:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:321:26: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:338:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-vms.c:301:2: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] cdrkit-1.1.11/libusal/scsi-vms.c:504:22: error: Uninitialized variable: s_cmd [uninitvar] cdrkit-1.1.11/libusal/scsi-vms.c:259:20: error: Uninitialized variable: range [legacyUninitvar] cdrkit-1.1.11/libusal/scsi-vms.c:261:22: error: Uninitialized variable: range_offset [legacyUninitvar] cdrkit-1.1.11/libusal/scsi-vms.c:128:7: style: struct member 'SCSI$IOSB::SCSI$B_IOSB_FILL_1' is never used. [unusedStructMember] cdrkit-1.1.11/libusal/scsi-vms.c:368:7: style: Unused variable: len [unusedVariable] cdrkit-1.1.11/libusal/scsi-wnt.c:228:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:397:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VER_PLATFORM_WIN32_NT [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:416:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VER_PLATFORM_WIN32_NT [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:531:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:639:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_INVALID_HA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:698:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_NO_DEVICE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:795:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _usal_auth_cdrkit [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:852:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1010:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1055:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_NO_ERROR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1306:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1485:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1584:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1638:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1675:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_HA_INQUIRY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:1777:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsi-wnt.c:917:22: style: Condition 'tgt>=0' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-wnt.c:917:10: note: Assuming that condition 'tgt>=0' is not redundant cdrkit-1.1.11/libusal/scsi-wnt.c:917:22: note: Condition 'tgt>=0' is always true cdrkit-1.1.11/libusal/scsi-wnt.c:922:30: style: Condition 'tgt==-2' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-wnt.c:922:17: note: Assuming that condition 'tgt==-2' is not redundant cdrkit-1.1.11/libusal/scsi-wnt.c:922:30: note: Condition 'tgt==-2' is always true cdrkit-1.1.11/libusal/scsi-wnt.c:923:12: style: Condition 'tgt==-2' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-wnt.c:922:17: note: Assuming that condition 'tgt==-2' is not redundant cdrkit-1.1.11/libusal/scsi-wnt.c:923:12: note: Condition 'tgt==-2' is always true cdrkit-1.1.11/libusal/scsi-wnt.c:928:30: style: Condition 'tgt!=-1' is always false [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsi-wnt.c:928:17: note: Assuming that condition 'tgt!=-1' is not redundant cdrkit-1.1.11/libusal/scsi-wnt.c:928:30: note: Condition 'tgt!=-1' is always false cdrkit-1.1.11/libusal/scsi-wnt.c:917:15: style: Same expression on both sides of '&&'. [duplicateExpression] cdrkit-1.1.11/libusal/scsi-wnt.c:922:23: style: Same expression on both sides of '&&'. [duplicateExpression] cdrkit-1.1.11/libusal/scsi-wnt.c:928:23: style: Same expression on both sides of '||'. [duplicateExpression] cdrkit-1.1.11/libusal/scsi-wnt.c:1243:13: style: Variable 'sp->error' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/libusal/scsi-wnt.c:1231:13: note: sp->error is assigned cdrkit-1.1.11/libusal/scsi-wnt.c:1243:13: note: sp->error is overwritten cdrkit-1.1.11/libusal/scsi-wnt.c:1244:16: style: Variable 'sp->ux_errno' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/libusal/scsi-wnt.c:1232:16: note: sp->ux_errno is assigned cdrkit-1.1.11/libusal/scsi-wnt.c:1244:16: note: sp->ux_errno is overwritten cdrkit-1.1.11/libusal/scsi-wnt.c:424:10: style: Variable 'vers' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-wnt.c:670:11: style: Variable 'lpd' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsi-wnt.c:804:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:837:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:982:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1007:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1016:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1041:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1201:33: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1217:28: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsi-wnt.c:1298:9: style: struct member 'aspi_cmd::pad' is never used. [unusedStructMember] cdrkit-1.1.11/libusal/scsi-wnt.c:561:9: style: Variable 'length' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-wnt.c:962:6: style: Unused variable: i [unusedVariable] cdrkit-1.1.11/libusal/scsi-wnt.c:1306:22: style: Variable 'EventStatus' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsi-wnt.c:1805:9: style: Variable 'Status' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsierrs.c:936:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] cdrkit-1.1.11/libusal/scsierrs.c:774:34: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsierrs.c:884:8: style: Variable 'obuf' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsihack.c:371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _sccsid [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:401:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:416:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:423:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:430:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:442:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:468:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:474:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:481:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsihack.c:357:22: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_version' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:327:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:357:22: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:378:19: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_help' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:328:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:378:19: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:378:32: style: Parameter 'f' can be declared as pointer to const. However it seems that 'usalo_help' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:328:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:378:32: note: Parameter 'f' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:385:20: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_nohelp' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:311:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:385:20: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:385:33: style: Parameter 'f' can be declared as pointer to const. However it seems that 'usalo_nohelp' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:311:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:385:33: note: Parameter 'f' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:414:20: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_close' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:330:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:414:20: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:421:21: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_maxdma' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:331:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:421:21: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:428:21: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_getbuf' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:332:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:428:21: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:435:22: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_freebuf' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:333:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:435:22: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:440:22: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_havebus' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:334:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:440:22: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:446:21: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_fileno' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:335:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:446:21: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:460:27: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_initiator_id' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:336:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:460:27: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:466:22: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_isatapi' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:337:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:466:22: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:472:20: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_reset' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:338:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:472:20: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihack.c:479:19: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'usalo_send' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/libusal/scsihack.c:326:2: note: You might need to cast the function pointer here cdrkit-1.1.11/libusal/scsihack.c:479:19: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/libusal/scsihelp.c:46:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsihelp.c:46:40: style: Parameter 'tcomment' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsihelp.c:46:56: style: Parameter 'tind' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsihelp.c:46:68: style: Parameter 'tspec' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsihelp.c:47:12: style: Parameter 'texample' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsiopen.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsiopen.c:415:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsiopen.c:162:9: style: Condition 'sdev' is always true [knownConditionTrueFalse] cdrkit-1.1.11/libusal/scsitransp.c:304:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:562:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_NO_ERROR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:607:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:705:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RETRYABLE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:765:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:784:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:813:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:834:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:862:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:906:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_ERRSTR_SIZE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1010:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1021:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1141:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1174:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sense_code [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1192:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qual_code [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1217:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQ_NODEV [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:1291:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/libusal/scsitransp.c:447:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] cdrkit-1.1.11/libusal/scsitransp.c:514:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] cdrkit-1.1.11/libusal/scsitransp.c:723:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] cdrkit-1.1.11/libusal/scsitransp.c:298:16: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:544:22: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:558:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:560:28: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:660:18: style: Variable 'err' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:661:10: style: Variable 'cmdname' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:761:23: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:778:24: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:920:25: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:922:28: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:923:9: style: Variable 'err' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:924:9: style: Variable 'err2' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/libusal/scsitransp.c:975:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:975:49: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:987:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:987:49: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1028:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1028:63: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1057:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1057:63: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1120:23: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:1201:46: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/libusal/scsitransp.c:447:10: style: Variable 'maxcnt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsitransp.c:514:10: style: Variable 'maxcnt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/libusal/scsitransp.c:723:10: style: Variable 'maxcnt' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/netscsid/netscsid.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/readom/io.c:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/readom/io.c:133:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/readom/io.c:181:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/readom/io.c:115:15: style: Parameter 's' can be declared as pointer to const. However it seems that 'prt_std' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/readom/io.c:156:38: note: You might need to cast the function pointer here cdrkit-1.1.11/readom/io.c:115:15: note: Parameter 's' can be declared as pointer to const cdrkit-1.1.11/readom/io.c:115:61: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'prt_std' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/readom/io.c:156:38: note: You might need to cast the function pointer here cdrkit-1.1.11/readom/io.c:115:61: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/readom/io.c:43:6: style: struct member 'disk::dummy' is never used. [unusedStructMember] cdrkit-1.1.11/readom/readom.c:317:20: error: There is an unknown macro here somewhere. Configuration is required. If CDRKIT_VERSION is a macro then please configure it. [unknownMacro] cdrkit-1.1.11/wodim/audiosize.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/audiosize.c:200:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/audiosize.c:235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:374:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:421:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:503:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/auinfo.c:381:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cdrkit-1.1.11/wodim/auinfo.c:380:12: note: Assuming allocation function fails cdrkit-1.1.11/wodim/auinfo.c:380:12: note: Assignment 'p=malloc(14)', assigned value is 0 cdrkit-1.1.11/wodim/auinfo.c:381:9: note: Null pointer dereference cdrkit-1.1.11/wodim/auinfo.c:473:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cdrkit-1.1.11/wodim/auinfo.c:472:12: note: Assuming allocation function fails cdrkit-1.1.11/wodim/auinfo.c:472:12: note: Assignment 'p=malloc(13)', assigned value is 0 cdrkit-1.1.11/wodim/auinfo.c:473:9: note: Null pointer dereference cdrkit-1.1.11/wodim/auinfo.c:495:2: warning: If memory allocation fails, then there is a possible null pointer dereference: idxlist [nullPointerOutOfMemory] cdrkit-1.1.11/wodim/auinfo.c:493:18: note: Assuming allocation function fails cdrkit-1.1.11/wodim/auinfo.c:493:18: note: Assignment 'idxlist=malloc(100*sizeof(long))', assigned value is 0 cdrkit-1.1.11/wodim/auinfo.c:495:2: note: Null pointer dereference cdrkit-1.1.11/wodim/auinfo.c:168:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/auinfo.c:167:5: note: p is assigned cdrkit-1.1.11/wodim/auinfo.c:168:5: note: p is overwritten cdrkit-1.1.11/wodim/auinfo.c:170:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/auinfo.c:168:5: note: p is assigned cdrkit-1.1.11/wodim/auinfo.c:170:5: note: p is overwritten cdrkit-1.1.11/wodim/auinfo.c:251:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/auinfo.c:249:5: note: p is assigned cdrkit-1.1.11/wodim/auinfo.c:251:5: note: p is overwritten cdrkit-1.1.11/wodim/auinfo.c:266:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/auinfo.c:265:5: note: p is assigned cdrkit-1.1.11/wodim/auinfo.c:266:5: note: p is overwritten cdrkit-1.1.11/wodim/auinfo.c:281:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/auinfo.c:280:5: note: p is assigned cdrkit-1.1.11/wodim/auinfo.c:281:5: note: p is overwritten cdrkit-1.1.11/wodim/auinfo.c:322:15: style:inconclusive: Function 'savestr' argument 1 names different: declaration 'name' definition 'str'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/auinfo.c:52:28: note: Function 'savestr' argument 1 names different: declaration 'name' definition 'str'. cdrkit-1.1.11/wodim/auinfo.c:322:15: note: Function 'savestr' argument 1 names different: declaration 'name' definition 'str'. cdrkit-1.1.11/wodim/auinfo.c:322:15: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cd_misc.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cd_misc.c:91:34: style: Condition 'lba<=-151' is always true [knownConditionTrueFalse] cdrkit-1.1.11/wodim/cd_misc.c:85:10: note: Assuming that condition 'lba>=-150' is not redundant cdrkit-1.1.11/wodim/cd_misc.c:91:34: note: Condition 'lba<=-151' is always true cdrkit-1.1.11/wodim/cdr_drv.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdr_drv.c:157:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdr_drv.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdr_drv.c:190:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdr_drv.c:218:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdr_drv.c:115:22: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:115:61: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:121:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:121:34: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:134:19: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:134:33: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:141:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:141:34: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:148:25: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:148:39: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:162:17: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:162:31: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:175:17: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:175:30: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:175:40: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdr_drv.c:217:9: style: Variable 'odp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cdr_drv.c:202:22: error: Uninitialized variable: &n [uninitvar] cdrkit-1.1.11/wodim/cdtext.c:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdtext.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdtext.c:491:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cdtext.c:182:9: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/cdtext.c:179:4: note: n is assigned cdrkit-1.1.11/wodim/cdtext.c:182:9: note: n is overwritten cdrkit-1.1.11/wodim/cdtext.c:379:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cdtext.c:401:61: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdtext.c:509:39: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cdtext.c:529:39: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/clone.c:98:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/clone.c:81:21: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/clone.c:114:5: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/crc16.c:93:38: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:433:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:912:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:1097:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:1194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/cue.c:319:15: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:405:38: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:422:43: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:548:15: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:660:44: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:662:8: style: Variable 'word' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:704:45: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:706:8: style: Variable 'word' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:717:40: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:719:8: style: Variable 'word' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:732:15: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/cue.c:1095:16: style: Parameter 'delim' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/cue.c:1141:8: style: Variable 'olinep' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/defaults.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/diskid.c:331:16: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/diskid.c:371:8: style: Variable 'tname' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/diskid.c:508:18: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_7501.c:432:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:534:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:596:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:640:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:670:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:701:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:733:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:855:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:892:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:914:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:939:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:964:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:989:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:1016:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_7501.c:739:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:759:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:771:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:777:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:786:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:800:2: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_7501.c:407:41: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'cw7501_speed_select' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_7501.c:272:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_7501.c:407:41: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_7501.c:407:50: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'cw7501_speed_select' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_7501.c:272:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_7501.c:407:50: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_7501.c:413:30: style: Variable 'xp20' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_7501.c:464:43: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'cw7501_next_wr_addr' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_7501.c:274:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_7501.c:464:43: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_7501.c:635:53: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'cw7501_close_track' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_7501.c:281:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_7501.c:635:53: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_7501.c:698:48: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'cw7501_fixate' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_7501.c:286:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_7501.c:698:48: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_7501.c:782:11: style: Variable 'idxlist' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_7501.c:823:16: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_7501.c:526:16: style: Variable 'startsec' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_jvc.c:311:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:345:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:378:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:413:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:462:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:483:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:615:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:717:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:825:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:839:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:856:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:924:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:949:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:973:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:998:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1019:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1045:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1067:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1092:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1175:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:1259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_jvc.c:535:41: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] cdrkit-1.1.11/wodim/drv_jvc.c:334:39: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_teac' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_jvc.c:276:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_jvc.c:334:39: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_jvc.c:334:48: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'speed_select_teac' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_jvc.c:276:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_jvc.c:334:48: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_jvc.c:406:40: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'next_wr_addr_jvc' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_jvc.c:278:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_jvc.c:406:40: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_jvc.c:604:51: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'close_track_teac' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_jvc.c:285:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_jvc.c:604:51: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_jvc.c:814:52: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'teac_open_session' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_jvc.c:286:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_jvc.c:814:52: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_jvc.c:317:22: error: Uninitialized variable: md [uninitvar] cdrkit-1.1.11/wodim/drv_jvc.c:383:22: error: Uninitialized variable: md [uninitvar] cdrkit-1.1.11/wodim/drv_jvc.c:323:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_jvc.c:389:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_mmc.c:453:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:512:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:566:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:755:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:946:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1008:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1150:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1230:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1302:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1383:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1518:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1536:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1717:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1792:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1868:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2029:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ILLEGAL_REQUEST [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2063:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROTCTL_CLV [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2117:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2246:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2292:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2366:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2400:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TYPE_TRACK [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2455:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2529:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2609:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOT_READY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2642:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TYPE_SESSION [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2740:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TYPE_SESSION [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2772:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2803:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2902:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_UNIT_ATTENTION [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:2936:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3018:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3102:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3180:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3421:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3431:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3445:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3556:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3639:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3895:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROTCTL_CAV [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:3964:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4004:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4047:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4114:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4233:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:4333:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_mmc.c:1838:15: style: The if condition is the same as the previous if condition [duplicateCondition] cdrkit-1.1.11/wodim/drv_mmc.c:1833:15: note: First condition cdrkit-1.1.11/wodim/drv_mmc.c:1838:15: note: Second condition cdrkit-1.1.11/wodim/drv_mmc.c:2063:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cdrkit-1.1.11/wodim/drv_mmc.c:2063:42: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cdrkit-1.1.11/wodim/drv_mmc.c:2063:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cdrkit-1.1.11/wodim/drv_mmc.c:3106:35: style: Condition 'getdisktype_mdvd(usalp,dp)<0' is always false [knownConditionTrueFalse] cdrkit-1.1.11/wodim/drv_mmc.c:1506:12: note: Assignment 'ret=0', assigned value is 0 cdrkit-1.1.11/wodim/drv_mmc.c:3106:23: note: Calling function 'getdisktype_mdvd' returns 0 cdrkit-1.1.11/wodim/drv_mmc.c:3106:35: note: Condition 'getdisktype_mdvd(usalp,dp)<0' is always false cdrkit-1.1.11/wodim/drv_mmc.c:2714:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/wodim/drv_mmc.c:3196:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:3223:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:3235:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:3241:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:3250:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:3281:2: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_mmc.c:2049:22: warning: Either the condition 'speedp!=NULL' is redundant or there is possible null pointer dereference: speedp. [nullPointerRedundantCheck] cdrkit-1.1.11/wodim/drv_mmc.c:2053:12: note: Assuming that condition 'speedp!=NULL' is not redundant cdrkit-1.1.11/wodim/drv_mmc.c:2049:22: note: Null pointer dereference cdrkit-1.1.11/wodim/drv_mmc.c:686:6: style: Variable 'dp' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/drv_mmc.c:647:7: note: dp is assigned cdrkit-1.1.11/wodim/drv_mmc.c:686:6: note: dp is overwritten cdrkit-1.1.11/wodim/drv_mmc.c:1083:14: style: Variable 'mp->dbtype' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/drv_mmc.c:1073:14: note: mp->dbtype is assigned cdrkit-1.1.11/wodim/drv_mmc.c:1083:14: note: mp->dbtype is overwritten cdrkit-1.1.11/wodim/drv_mmc.c:1486:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/drv_mmc.c:1480:6: note: ret is assigned cdrkit-1.1.11/wodim/drv_mmc.c:1486:6: note: ret is overwritten cdrkit-1.1.11/wodim/drv_mmc.c:451:20: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:505:31: style: Parameter 'optname' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:753:29: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_mmc.c:1504:38: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'getdisktype_mdvd' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:243:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:1504:38: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:1689:15: style: Variable 'ds_name' can be declared as const array [constVariable] cdrkit-1.1.11/wodim/drv_mmc.c:1690:15: style: Variable 'ss_name' can be declared as const array [constVariable] cdrkit-1.1.11/wodim/drv_mmc.c:1756:23: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:1756:49: style: Parameter 'speedtab' can be declared as const array [constParameter] cdrkit-1.1.11/wodim/drv_mmc.c:1768:18: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:1770:8: style: Variable 'sub_type' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_mmc.c:1860:38: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:427:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:1860:38: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2233:41: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'next_wr_addr_mdvd' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:251:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2233:41: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2386:37: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'close_track_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:436:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2386:37: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2386:50: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'close_track_mmc' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:436:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2386:50: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2409:38: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'close_track_mdvd' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:258:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2409:38: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2409:51: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'close_track_mdvd' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:258:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2409:51: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2440:38: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'open_session_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:304:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2440:38: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:2619:32: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'fixate_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:308:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:2619:32: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:3011:30: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'opt2_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:314:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:3011:30: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:3246:11: style: Variable 'idxlist' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_mmc.c:3304:16: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:3350:31: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'stats_mmc' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_mmc.c:264:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_mmc.c:3350:31: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_mmc.c:3417:21: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:3427:20: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_mmc.c:1518:38: error: Uninitialized variable: track_info [uninitvar] cdrkit-1.1.11/wodim/drv_mmc.c:2117:45: error: Uninitialized variable: track_info [uninitvar] cdrkit-1.1.11/wodim/drv_mmc.c:2246:45: error: Uninitialized variable: track_info [uninitvar] cdrkit-1.1.11/wodim/drv_mmc.c:2256:44: error: Uninitialized variable: disk_info [uninitvar] cdrkit-1.1.11/wodim/drv_mmc.c:517:13: style: Variable 'optnamelen' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_mmc.c:1961:7: style: Variable 'rp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_mmc.c:2239:20: style: Variable 'disk_info' is not assigned a value. [unassignedVariable] cdrkit-1.1.11/wodim/drv_mmc.c:3072:6: style: Variable 'rp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_philips.c:601:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:682:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:721:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:768:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:807:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:850:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ILLEGAL_REQUEST [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:913:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:949:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:990:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1019:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1040:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1107:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1115:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1305:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:1322:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_philips.c:696:41: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_yamaha' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:572:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:696:41: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:696:50: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'speed_select_yamaha' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:572:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:696:50: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:702:30: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_philips.c:743:42: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_philips' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:404:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:743:42: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:743:51: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'speed_select_philips' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:404:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:743:51: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:749:31: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_philips.c:800:45: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_oldphilips' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:157:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:800:45: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:1084:56: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'open_track_oldphilips' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:454:9: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:1084:56: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:1302:34: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'ricoh_attach' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_philips.c:564:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_philips.c:1302:34: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_philips.c:949:22: error: Uninitialized variable: fwa [uninitvar] cdrkit-1.1.11/wodim/drv_simul.c:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_simul.c:332:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cdrkit-1.1.11/wodim/drv_simul.c:365:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cdrkit-1.1.11/wodim/drv_simul.c:78:29: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'simul_load' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:142:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:78:29: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:78:43: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'simul_load' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:142:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:78:43: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:83:31: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'simul_unload' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:143:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:83:31: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:83:45: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'simul_unload' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:143:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:83:45: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:171:22: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'identify_simul' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:138:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:171:22: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:171:61: style: Parameter 'ip' can be declared as pointer to const. However it seems that 'identify_simul' is a callback function, if 'ip' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:138:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:171:61: note: Parameter 'ip' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:210:40: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_simul' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:147:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:210:40: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:210:49: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'speed_select_simul' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:147:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:210:49: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:348:24: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'open_track_simul' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:155:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:348:24: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:348:38: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'open_track_simul' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:155:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:348:38: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:348:51: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'open_track_simul' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:155:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:348:51: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:355:25: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'close_track_simul' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:156:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:355:25: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:355:39: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'close_track_simul' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:156:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:355:39: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:355:52: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'close_track_simul' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:156:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:355:52: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:371:26: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'open_session_simul' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:157:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:371:26: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:371:40: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'open_session_simul' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:157:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:371:40: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:371:53: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'open_session_simul' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:157:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:371:53: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:378:20: style: Parameter 'usalp' can be declared as pointer to const. However it seems that 'fixate_simul' is a callback function, if 'usalp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:161:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:378:20: note: Parameter 'usalp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:378:34: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'fixate_simul' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:161:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:378:34: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:378:47: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'fixate_simul' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_simul.c:161:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_simul.c:378:47: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_simul.c:384:46: style: Parameter 'tvp2' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_sony.c:296:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:324:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:395:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:437:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:459:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:505:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:533:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:571:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:648:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:759:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:800:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:859:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:891:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:964:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:1016:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:1143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:1185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:1335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/drv_sony.c:585:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cdrkit-1.1.11/wodim/drv_sony.c:1047:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_sony.c:1059:4: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_sony.c:1065:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_sony.c:1074:5: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_sony.c:1089:2: error: Common realloc mistake: 'cue' nulled but not freed upon failure [memleakOnRealloc] cdrkit-1.1.11/wodim/drv_sony.c:299:18: style: Variable 'scmd->sense_len' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/drv_sony.c:298:18: note: scmd->sense_len is assigned cdrkit-1.1.11/wodim/drv_sony.c:299:18: note: scmd->sense_len is overwritten cdrkit-1.1.11/wodim/drv_sony.c:386:51: style: Parameter 'trackp' can be declared as pointer to const. However it seems that 'close_track_sony' is a callback function, if 'trackp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_sony.c:274:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_sony.c:386:51: note: Parameter 'trackp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_sony.c:688:39: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'speed_select_sony' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_sony.c:265:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_sony.c:688:39: note: Parameter 'dp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_sony.c:688:48: style: Parameter 'speedp' can be declared as pointer to const. However it seems that 'speed_select_sony' is a callback function, if 'speedp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cdrkit-1.1.11/wodim/drv_sony.c:265:2: note: You might need to cast the function pointer here cdrkit-1.1.11/wodim/drv_sony.c:688:48: note: Parameter 'speedp' can be declared as pointer to const cdrkit-1.1.11/wodim/drv_sony.c:949:32: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_sony.c:1070:11: style: Variable 'idxlist' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/drv_sony.c:1113:16: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/drv_sony.c:967:5: style: Variable 'xp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_sony.c:1139:11: style: Variable 'disktype' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/drv_sony.c:1175:16: style: Variable 'startsec' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/fifo.c:836:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/fifo.c:842:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/fifo.c:847:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/fifo.c:859:23: style:inconclusive: Function 'faio_read_buf' argument 1 names different: declaration 'f' definition 'fd'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/wodim.h:885:30: note: Function 'faio_read_buf' argument 1 names different: declaration 'f' definition 'fd'. cdrkit-1.1.11/wodim/fifo.c:859:23: note: Function 'faio_read_buf' argument 1 names different: declaration 'f' definition 'fd'. cdrkit-1.1.11/wodim/fifo.c:864:22: style:inconclusive: Function 'faio_get_buf' argument 1 names different: declaration 'f' definition 'fd'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/wodim.h:886:29: note: Function 'faio_get_buf' argument 1 names different: declaration 'f' definition 'fd'. cdrkit-1.1.11/wodim/fifo.c:864:22: note: Function 'faio_get_buf' argument 1 names different: declaration 'f' definition 'fd'. cdrkit-1.1.11/wodim/fifo.c:839:25: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/fifo.c:859:33: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/getnum.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/getnum.c:107:12: style: Condition '*valp!=llval' is always false [knownConditionTrueFalse] cdrkit-1.1.11/wodim/getnum.c:106:8: note: *valp is assigned 'llval' here. cdrkit-1.1.11/wodim/getnum.c:107:12: note: Condition '*valp!=llval' is always false cdrkit-1.1.11/wodim/isosize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Llong [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/misc.c:44:29: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/misc.c:62:45: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/misc.c:62:68: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/modes.c:74:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRF_MODE_DMA_OVR [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/modes.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/modes.c:280:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/movesect.c:72:23: style: Parameter 'trackp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:239:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOT_READY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:258:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ILLEGAL_REQUEST [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:286:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:305:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:319:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCS_SENSE_LEN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:350:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:373:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:396:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_capacity [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:468:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:489:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:512:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:534:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:594:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:628:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:684:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:715:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:733:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:777:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_G1_CDBLEN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:799:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:832:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:860:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:886:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:917:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:942:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:965:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:989:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1008:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TI_TYPE_LBA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1019:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1043:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1094:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1193:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1257:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1287:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1359:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1474:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1500:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_DISRE_ENA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1527:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1555:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1636:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1663:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1694:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1802:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1856:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1889:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1926:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1976:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scsi_mode_header [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1991:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQ_ROMD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:1997:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEV_UNKNOWN [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2025:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2050:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2067:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2563:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2580:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOT_READY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2649:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOT_READY [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2733:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2763:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQ_ROMD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:2807:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQ_ROMD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_cdr.c:178:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cdrkit-1.1.11/wodim/scsi_cdr.c:1323:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cdrkit-1.1.11/wodim/scsi_cdr.c:1479:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cdrkit-1.1.11/wodim/scsi_cdr.c:1505:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] cdrkit-1.1.11/wodim/scsi_cdr.c:2785:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cdrkit-1.1.11/wodim/scsi_cdr.c:2786:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cdrkit-1.1.11/wodim/scsi_cdr.c:1526:13: style: Variable 'scmd->size' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/scsi_cdr.c:1525:13: note: scmd->size is assigned cdrkit-1.1.11/wodim/scsi_cdr.c:1526:13: note: scmd->size is overwritten cdrkit-1.1.11/wodim/scsi_cdr.c:1537:25: style: Variable 'scmd->cdb.g0_cdb.count' is reassigned a value before the old one has been used. [redundantAssignment] cdrkit-1.1.11/wodim/scsi_cdr.c:1536:25: note: scmd->cdb.g0_cdb.count is assigned cdrkit-1.1.11/wodim/scsi_cdr.c:1537:25: note: scmd->cdb.g0_cdb.count is overwritten cdrkit-1.1.11/wodim/scsi_cdr.c:505:41: style:inconclusive: Function 'scsi_set_streaming' argument 2 names different: declaration 'addr' definition 'perf_desc'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/scsi_scan.h:42:58: note: Function 'scsi_set_streaming' argument 2 names different: declaration 'addr' definition 'perf_desc'. cdrkit-1.1.11/wodim/scsi_cdr.c:505:41: note: Function 'scsi_set_streaming' argument 2 names different: declaration 'addr' definition 'perf_desc'. cdrkit-1.1.11/wodim/scsi_cdr.c:1479:48: style: Clarify calculation precedence for '|' and '?'. [clarifyCalculation] cdrkit-1.1.11/wodim/scsi_cdr.c:1505:48: style: Clarify calculation precedence for '|' and '?'. [clarifyCalculation] cdrkit-1.1.11/wodim/scsi_cdr.c:163:28: style: Variable 'scmd' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/scsi_cdr.c:1913:9: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/scsi_cdr.c:1995:22: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2072:28: style: Variable 'scmd' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2129:10: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2467:16: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2499:16: style: Parameter 'usalp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2692:36: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:2782:19: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/scsi_cdr.c:1981:22: error: Uninitialized variable: md [uninitvar] cdrkit-1.1.11/wodim/scsi_cdr.c:2704:10: style: Variable 'iscd_wr' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/scsi_cdr_mmc4.c:69:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQ_ROMD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_mmc.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_RECV_DATA [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_mmc.c:258:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_mmc.c:330:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_scan.c:187:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_scan.c:224:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_scan.c:320:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCG_FATAL [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/scsi_scan.c:195:44: style:inconclusive: Function 'list_devices' argument 3 names different: declaration 'pickup_type' definition 'pickup_first'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/scsi_scan.h:40:51: note: Function 'list_devices' argument 3 names different: declaration 'pickup_type' definition 'pickup_first'. cdrkit-1.1.11/wodim/scsi_scan.c:195:44: note: Function 'list_devices' argument 3 names different: declaration 'pickup_type' definition 'pickup_first'. cdrkit-1.1.11/wodim/subchan.c:144:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:273:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:336:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:434:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:877:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:883:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_BAD [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/subchan.c:704:27: style:inconclusive: Function 'qpto16' argument 2 names different: declaration 'subq' definition 'subqptr'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/subchan.c:57:39: note: Function 'qpto16' argument 2 names different: declaration 'subq' definition 'subqptr'. cdrkit-1.1.11/wodim/subchan.c:704:27: note: Function 'qpto16' argument 2 names different: declaration 'subq' definition 'subqptr'. cdrkit-1.1.11/wodim/subchan.c:723:27: style:inconclusive: Function 'qpto96' argument 2 names different: declaration 'subq' definition 'subqptr'. [funcArgNamesDifferent] cdrkit-1.1.11/wodim/wodim.h:1177:39: note: Function 'qpto96' argument 2 names different: declaration 'subq' definition 'subqptr'. cdrkit-1.1.11/wodim/subchan.c:723:27: note: Function 'qpto96' argument 2 names different: declaration 'subq' definition 'subqptr'. cdrkit-1.1.11/wodim/subchan.c:415:8: style: Variable 'tindex' can be declared as pointer to const [constVariablePointer] cdrkit-1.1.11/wodim/subchan.c:566:56: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:580:30: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:591:52: style: Parameter 'mrp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:591:64: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:610:28: style: Parameter 'mcn' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:642:29: style: Parameter 'isrc' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:791:44: style: Parameter 'subrwptr' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:859:24: style: Parameter 'trackp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:870:21: style: Parameter 'trackp' can be declared as pointer to const [constParameterPointer] cdrkit-1.1.11/wodim/subchan.c:225:5: style: Variable 'sp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/subchan.c:285:6: style: Variable 'sp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/subchan.c:341:5: style: Variable 'sp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/subchan.c:387:6: style: Variable 'sp' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/wm_packet.c:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cdrkit-1.1.11/wodim/wm_packet.c:137:5: style: Variable 'bytes_to_read' is assigned an expression that holds the same value. [redundantAssignment] cdrkit-1.1.11/wodim/wm_packet.c:134:17: note: bytes_to_read is assigned 'bytespt' here. cdrkit-1.1.11/wodim/wm_packet.c:137:5: note: Variable 'bytes_to_read' is assigned an expression that holds the same value. cdrkit-1.1.11/wodim/wm_packet.c:301:12: style: Variable 'startsec' is assigned a value that is never used. [unreadVariable] cdrkit-1.1.11/wodim/wodim.c:325:13: error: There is an unknown macro here somewhere. Configuration is required. If CDRKIT_VERSION is a macro then please configure it. [unknownMacro] cdrkit-1.1.11/wodim/xio.c:84:2: error: Memory leak: xp.x_name [memleak] cdrkit-1.1.11/wodim/xio.c:154:7: warning: Either the condition 'pp' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] cdrkit-1.1.11/wodim/xio.c:147:10: note: Assuming that condition 'pp' is not redundant cdrkit-1.1.11/wodim/xio.c:154:7: note: Null pointer dereference cdrkit-1.1.11/wodim/xio.c:66:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] diff: head cdrkit-1.1.11/genisoimage/boot-hppa.c:139:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/checksum.c:222:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/checksum.c:449:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] 2.17.0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:25: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:10: note: Assignment 'typel=(char*)malloc((path_table_size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:601:8: note: Assignment 'pnt=typel', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: note: Null pointer addition head cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:25: note: Assuming allocation function fails cdrkit-1.1.11/genisoimage/diag/isovfy.c:589:10: note: Assignment 'typel=(char*)malloc((path_table_size+(2048-1))&~(2048-1))', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:601:8: note: Assignment 'pnt=typel', assigned value is 0 cdrkit-1.1.11/genisoimage/diag/isovfy.c:609:17: note: Null pointer addition head cdrkit-1.1.11/genisoimage/jte.c:197:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/jte.c:240:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/jte.c:340:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/jte.c:455:9: style: Variable 'error' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/jte.c:802:26: style: Variable 'map' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/jte.c:977:25: style: Variable 'tmp_size' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/genisoimage/md5.c:327:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] 2.17.0 cdrkit-1.1.11/libhfs_iso/data.c:296:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head cdrkit-1.1.11/libusal/scsi-amigaos.c:450:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/libusal/scsi-openserver.c:680:6: style: Variable 'nopen' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/libusal/scsi-unixware.c:660:6: style: Variable 'f' is assigned a value that is never used. [unreadVariable] head cdrkit-1.1.11/wodim/drv_mmc.c:2063:42: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head cdrkit-1.1.11/wodim/drv_mmc.c:2063:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE