2026-09-11 21:59 ftp://ftp.de.debian.org/debian/pool/main/r/ripmime/ripmime_1.4.1.0+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --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 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: babc971 (2026-09-11 12:31:06 +0200) count: 279 278 elapsed-time: 7.1 6.9 head-timing-info: old-timing-info: head results: inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:18:21: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:40:31: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:59:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:84:32: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:108:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bytedecoders.c:138:32: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/bt-int.c:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/boundary-stack.c:281:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/strstack.c:184:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripmime-api.c:116:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ripole.c:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ripole.c:285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ripole.c:314:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/strstack.c:263:33: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/strstack.c:284:43: style: Parameter 'find_me' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/strstack.c:286:18: style: Variable 'n' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: style: Condition 'value==node->data' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/bt-int.c:23:13: note: Assuming that condition 'value>node->data' is not redundant inflex-ripMIME-32b6a39/ripOLE/bt-int.c:24:18: note: Assuming condition is false inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: note: Condition 'value==node->data' is always true inflex-ripMIME-32b6a39/ripmime-api.c:107:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rm->outputdir [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripmime-api.c:98:31: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripmime-api.c:98:31: note: Assignment 'rm->outputdir=strdup(outputdir)', assigned value is 0 inflex-ripMIME-32b6a39/ripmime-api.c:107:11: note: Null pointer dereference inflex-ripMIME-32b6a39/ripmime-api.c:80:54: style: Parameter 'mailpack' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripmime-api.c:80:70: style: Parameter 'outputdir' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripmime-api.c:82:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/tnef/tnef.c:340:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/tnef.c:377:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_TYPE_MASK [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/tnef.c:713:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TNEF_SIGNATURE [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/tnef.c:791:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ffget.c:138:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ffget.c:296:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ffget.c:390:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ffget.c:502:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:183:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/logger.c:309:11: note: lineend is assigned inflex-ripMIME-32b6a39/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/logger.c:312:11: note: lineend is assigned inflex-ripMIME-32b6a39/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/logger.c:342:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] inflex-ripMIME-32b6a39/ripOLE/ripole.c:361:10: style: Condition 'ole!=NULL' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/ripOLE/logger.c:309:11: note: lineend is assigned inflex-ripMIME-32b6a39/ripOLE/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/ripOLE/ripole.c:132:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] inflex-ripMIME-32b6a39/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/ripOLE/logger.c:312:11: note: lineend is assigned inflex-ripMIME-32b6a39/ripOLE/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/ripOLE/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ripole.c:168:48: style: Parameter 'role' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ripole.c:280:41: style: Parameter 'role' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/logger.c:342:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] inflex-ripMIME-32b6a39/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/tnef/logger.c:309:11: note: lineend is assigned inflex-ripMIME-32b6a39/tnef/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/tnef/logger.c:312:11: note: lineend is assigned inflex-ripMIME-32b6a39/tnef/logger.c:315:52: note: lineend is overwritten inflex-ripMIME-32b6a39/tnef/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/tnef/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/tnef/logger.c:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] inflex-ripMIME-32b6a39/boundary-stack.c:226:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/boundary-stack.c:492:30: style: Variable 'len' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/uuencode.c:318:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/uuencode.c:410:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/tnef/tnef.c:838:3: error: Resource leak: fp [resourceLeak] inflex-ripMIME-32b6a39/tnef/tnef.c:804:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] inflex-ripMIME-32b6a39/tnef/tnef.c:803:52: note: Assuming allocation function fails inflex-ripMIME-32b6a39/tnef/tnef.c:803:35: note: Assignment 'TNEF_glb.tnef_home=tnef_stream=(unsigned char*)malloc(size)', assigned value is 0 inflex-ripMIME-32b6a39/tnef/tnef.c:804:43: note: Null pointer addition inflex-ripMIME-32b6a39/tnef/tnef.c:151:26: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/tnef/tnef.c:304:26: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/tnef/tnef.c:329:28: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/tnef/tnef.c:329:42: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/tnef/tnef.c:446:46: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/tnef/tnef.c:344:5: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ripOLE/ole.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ole.c:355:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ole.c:1408:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ole.c:1455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/ole.c:1523:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:325:19: style: Redundant initialization for 'data_start_point'. The initialized value is overwritten before it is read. [redundantInitialization] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:315:25: note: data_start_point is initialized inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:325:19: note: data_start_point is overwritten inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:148:53: style: Parameter 'oleuw' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:148:98: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:241:60: style: Parameter 'oleuw' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:245:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:246:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:27:6: style: struct member 'ESCHER_header_fixed::spid_max' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:28:9: style: struct member 'ESCHER_header_fixed::cidcl' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:29:9: style: struct member 'ESCHER_header_fixed::cspsaved' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:30:9: style: struct member 'ESCHER_header_fixed::cdgsaved' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/ripOLE/olestream-unwrap.c:36:6: style: struct member 'typesig::offset' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/libmime-decoders.c:420:37: warning: Either the condition 'iso' is redundant or there is possible null pointer dereference: iso. [nullPointerRedundantCheck] inflex-ripMIME-32b6a39/libmime-decoders.c:432:21: note: Assuming that condition 'iso' is not redundant inflex-ripMIME-32b6a39/libmime-decoders.c:420:37: note: Null pointer dereference inflex-ripMIME-32b6a39/libmime-decoders.c:391:41: warning: Either the condition 'iso_start' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] inflex-ripMIME-32b6a39/libmime-decoders.c:396:19: note: Assuming that condition 'iso_start' is not redundant inflex-ripMIME-32b6a39/libmime-decoders.c:391:41: note: Null pointer addition inflex-ripMIME-32b6a39/libmime-decoders.c:204:13: style: Variable 'ip' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/libmime-decoders.c:202:7: note: ip is assigned inflex-ripMIME-32b6a39/libmime-decoders.c:204:13: note: ip is overwritten inflex-ripMIME-32b6a39/libmime-decoders.c:315:13: style: Variable 'line[op]' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/libmime-decoders.c:289:26: note: line[op] is assigned inflex-ripMIME-32b6a39/libmime-decoders.c:315:13: note: line[op] is overwritten inflex-ripMIME-32b6a39/libmime-decoders.c:229:27: style: Variable 'w' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/libmime-decoders.c:359:24: style: Variable 'end_pair' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1086:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1179:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1262:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1557:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:1937:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:2028:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:2167:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:2515:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:3010:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:3131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/mime.c:3199:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/libmime-decoders.c:361:23: style: Variable 'encoding_type' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/libmime-decoders.c:376:13: style: Variable 'iso_end' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/MIME_headers.c:763:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/MIME_headers.c:1327:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/MIME_headers.c:3202:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripmime.c:277:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripmime.c:636:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ripmime.c:696:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inflex-ripMIME-32b6a39/ffget.c:442:11: style: Redundant initialization for 'max_size'. The initialized value is overwritten before it is read. [redundantInitialization] inflex-ripMIME-32b6a39/ffget.c:419:15: note: max_size is initialized inflex-ripMIME-32b6a39/ffget.c:442:11: note: max_size is overwritten inflex-ripMIME-32b6a39/ffget.c:412:38: style:inconclusive: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/ffget.h:69:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. inflex-ripMIME-32b6a39/ffget.c:412:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. inflex-ripMIME-32b6a39/ffget.c:262:29: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ffget.c:326:31: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ffget.c:416:18: style: Variable 'charstoCRLF' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ffget.c:417:15: style: Variable 'chardiff' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ffget.c:418:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ffget.c:421:21: style: Variable 'extra_char_kept' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ffget.c:442:21: style: Variable 'maxsize' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/pldstr.c:45:21: warning: If memory allocation fails, then there is a possible null pointer dereference: hs [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:45:21: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:45:25: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:38:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:38:20: note: Assignment 'ne=strdup(needle)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:45:25: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:320:14: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:37:22: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/pldstr.c:319:15: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:320:14: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:320:27: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:37:22: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/pldstr.c:319:15: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:320:27: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:320:60: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:37:22: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/pldstr.c:319:15: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:320:60: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:320:65: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assuming allocation function fails inflex-ripMIME-32b6a39/pldstr.c:36:20: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:37:22: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/pldstr.c:319:15: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/pldstr.c:320:65: note: Null pointer addition inflex-ripMIME-32b6a39/pldstr.c:432:23: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/pldstr.c:368:19: note: size_required is assigned inflex-ripMIME-32b6a39/pldstr.c:432:23: note: size_required is overwritten inflex-ripMIME-32b6a39/pldstr.c:599:12: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/pldstr.c:522:19: note: *new_p is assigned inflex-ripMIME-32b6a39/pldstr.c:599:12: note: *new_p is overwritten inflex-ripMIME-32b6a39/pldstr.c:659:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. inflex-ripMIME-32b6a39/pldstr.c:659:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. inflex-ripMIME-32b6a39/pldstr.c:96:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/pldstr.c:204:11: style: Variable 'ds1' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/pldstr.c:204:22: style: Variable 'ds2' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/pldstr.c:238:11: style: Variable 'dc' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:49:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hs [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:49:18: note: Null pointer dereference inflex-ripMIME-32b6a39/ripOLE/pldstr.c:49:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:42:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:42:14: note: Assignment 'ne=strdup(needle)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:49:22: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:349:41: style: Variable 'segment_p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:11: note: Null pointer dereference inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:24: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:24: note: Null pointer dereference inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:57: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:57: note: Null pointer dereference inflex-ripMIME-32b6a39/pldstr.c:351:11: style: Variable 'preexist_location' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/pldstr.c:352:11: style: Variable 'postexist_location' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:62: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/pldstr.c:374:62: note: Null pointer addition inflex-ripMIME-32b6a39/pldstr.c:489:15: style: Variable 'replacewith_p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:489:17: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:425:16: note: size_required is assigned inflex-ripMIME-32b6a39/ripOLE/pldstr.c:489:17: note: size_required is overwritten inflex-ripMIME-32b6a39/ripOLE/pldstr.c:659:9: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:581:10: note: *new_p is assigned inflex-ripMIME-32b6a39/ripOLE/pldstr.c:659:9: note: *new_p is overwritten inflex-ripMIME-32b6a39/pldstr.c:484:15: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:724:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/ripOLE/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. inflex-ripMIME-32b6a39/ripOLE/pldstr.c:724:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. inflex-ripMIME-32b6a39/ripOLE/pldstr.c:102:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:234:8: style: Variable 'ds1' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:234:19: style: Variable 'ds2' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:275:8: style: Variable 'dc' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:406:38: style: Variable 'segment_p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:408:8: style: Variable 'preexist_location' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:409:8: style: Variable 'postexist_location' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:548:9: style: Variable 'replacewith_p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/pldstr.c:543:12: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/uuencode.c:263:7: style: Condition 'bp' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/uuencode.c:391:5: style: Redundant initialization for 'bp'. The initialized value is overwritten before it is read. [redundantInitialization] inflex-ripMIME-32b6a39/uuencode.c:365:11: note: bp is initialized inflex-ripMIME-32b6a39/uuencode.c:391:5: note: bp is overwritten inflex-ripMIME-32b6a39/uuencode.c:245:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/uuencode.c:361:46: style: Parameter 'unpackdir' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/uuencode.c:363:21: style: Variable 'filename_found' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/uuencode.c:371:14: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/uuencode.c:433:9: style: Variable 'wbpos' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/uuencode.c:434:11: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ripOLE/ole.c:354:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/ole.c:444:59: style: Condition 'byte_count--' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/ole.c:444:43: note: Assuming that condition 'byte_count>0' is not redundant inflex-ripMIME-32b6a39/ripOLE/ole.c:444:59: note: Condition 'byte_count--' is always true inflex-ripMIME-32b6a39/ripOLE/ole.c:1344:14: style: Condition 'buffer!=NULL' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/ole.c:1413:19: style: Condition 'stat_result==0' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/ole.c:1407:18: note: Assuming that condition 'stat_result!=0' is not redundant inflex-ripMIME-32b6a39/ripOLE/ole.c:1413:19: note: Condition 'stat_result==0' is always true inflex-ripMIME-32b6a39/ripOLE/ole.c:1791:13: style: Condition 'result!=0' is always false [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/ole.c:1787:13: note: Assuming that condition 'result!=0' is not redundant inflex-ripMIME-32b6a39/ripOLE/ole.c:1791:13: note: Condition 'result!=0' is always false inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 13) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:707:2: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:747:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:747:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:862:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:862:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:862:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:862:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:862:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] inflex-ripMIME-32b6a39/ripOLE/ole.c:371:24: warning: Either the condition 'bb' is redundant or there is possible null pointer dereference: bb. [nullPointerRedundantCheck] inflex-ripMIME-32b6a39/ripOLE/ole.c:376:7: note: Assuming that condition 'bb' is not redundant inflex-ripMIME-32b6a39/ripOLE/ole.c:371:24: note: Null pointer dereference inflex-ripMIME-32b6a39/ripOLE/ole.c:911:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/ole.c:910:19: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/ole.c:910:19: note: Assignment 'ole->FAT=malloc(FAT_size*sizeof(unsigned char))', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/ole.c:911:28: note: Null pointer addition inflex-ripMIME-32b6a39/ripOLE/ole.c:1348:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] inflex-ripMIME-32b6a39/ripOLE/ole.c:1337:23: note: Assuming allocation function fails inflex-ripMIME-32b6a39/ripOLE/ole.c:1337:15: note: Assignment 'bp=buffer=malloc(offset*sizeof(unsigned char))', assigned value is 0 inflex-ripMIME-32b6a39/ripOLE/ole.c:1338:14: note: Assuming condition is false inflex-ripMIME-32b6a39/ripOLE/ole.c:1348:18: note: Null pointer addition inflex-ripMIME-32b6a39/ripOLE/ole.c:677:26: style: Checking if unsigned expression 'h->fat_sector_count' is less than zero. [unsignedLessThanZero] inflex-ripMIME-32b6a39/ripOLE/ole.c:1070:25: style: Checking if unsigned expression 'current_sector' is less than zero. [unsignedLessThanZero] inflex-ripMIME-32b6a39/ripOLE/ole.c:438:44: style:inconclusive: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/ripOLE/ole.h:136:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. inflex-ripMIME-32b6a39/ripOLE/ole.c:438:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. inflex-ripMIME-32b6a39/ripOLE/ole.c:440:8: style: Variable 'limit' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:502:42: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:502:53: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:541:41: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:669:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:703:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:770:47: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:1347:19: style: Variable 'bp_limit' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:1451:55: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:1508:89: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/ripOLE/ole.c:1761:36: style: Variable 'property_limit' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:1177:20: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] inflex-ripMIME-32b6a39/mime.c:1174:16: note: outer condition: result>=0 inflex-ripMIME-32b6a39/mime.c:1177:20: note: opposite inner condition: result==-1 inflex-ripMIME-32b6a39/mime.c:1378:9: style: Condition 'f' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/mime.c:1633:70: style: Condition 'c!='-'' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/mime.c:1633:39: note: Assuming that condition 'c<' '' is not redundant inflex-ripMIME-32b6a39/mime.c:1633:70: note: Condition 'c!='-'' is always true inflex-ripMIME-32b6a39/mime.c:1964:28: style: Condition 'writecount==-1' is always false [knownConditionTrueFalse] inflex-ripMIME-32b6a39/mime.c:1979:19: style: Condition 'readcount==-1' is always false [knownConditionTrueFalse] inflex-ripMIME-32b6a39/mime.c:2024:9: style: Condition 'fout' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/mime.c:1095:9: error: Resource leak: f [resourceLeak] inflex-ripMIME-32b6a39/mime.c:1267:9: error: Memory leak: buffer [memleak] inflex-ripMIME-32b6a39/mime.c:1572:9: error: Resource leak: of [resourceLeak] inflex-ripMIME-32b6a39/mime.c:1955:9: error: Memory leak: rw_buffer [memleak] inflex-ripMIME-32b6a39/mime.c:2021:9: error: Memory leak: buffer [memleak] inflex-ripMIME-32b6a39/mime.c:939:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] inflex-ripMIME-32b6a39/mime.c:938:15: note: Assuming allocation function fails inflex-ripMIME-32b6a39/mime.c:938:15: note: Assignment 'fp=fopen("/dev/urandom","r")', assigned value is 0 inflex-ripMIME-32b6a39/mime.c:939:41: note: Null pointer dereference inflex-ripMIME-32b6a39/mime.c:2649:20: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] inflex-ripMIME-32b6a39/mime.c:2648:20: note: result is assigned inflex-ripMIME-32b6a39/mime.c:2649:20: note: result is overwritten inflex-ripMIME-32b6a39/mime.c:1718:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] inflex-ripMIME-32b6a39/mime.c:1976:43: style: Unsigned expression 'readcount' can't be negative so it is unnecessary to test it. [unsignedPositive] inflex-ripMIME-32b6a39/mime.c:498:28: style:inconclusive: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/mime.h:116:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. inflex-ripMIME-32b6a39/mime.c:498:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. inflex-ripMIME-32b6a39/mime.c:3260:53: style:inconclusive: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. [funcArgNamesDifferent] inflex-ripMIME-32b6a39/mime.h:61:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. inflex-ripMIME-32b6a39/mime.c:3260:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. inflex-ripMIME-32b6a39/mime.c:1648:26: style: Local variable 'scratch' shadows outer variable [shadowVariable] inflex-ripMIME-32b6a39/mime.c:188:13: note: Shadowed variable inflex-ripMIME-32b6a39/mime.c:1648:26: note: Shadow local variable inflex-ripMIME-32b6a39/mime.c:2742:40: style: Pointer expression 'subject' converted to bool is always true. [knownPointerToBool] inflex-ripMIME-32b6a39/mime.c:498:28: style: Parameter 'setto' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:511:37: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:712:33: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:955:33: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:961:11: style: Variable 'frontname' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:1165:66: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:1364:11: style: Variable 'get_result' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:1876:86: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:2138:86: style: Parameter 'unpackdir' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:2154:23: style: Variable 'np' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:2498:36: style: Parameter 'unpackdir' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/mime.c:2552:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:2620:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:2708:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/mime.c:172:10: style: struct member 'MIME_globals::blankzone_filename' is never used. [unusedStructMember] inflex-ripMIME-32b6a39/mime.c:1290:16: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/mime.c:1414:24: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/mime.c:1714:20: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/mime.c:1782:20: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/mime.c:1808:20: style: Variable 'bc' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/mime.c:2502:12: style: Variable 'result' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:2236:27: error: Buffer is accessed out of bounds: hinfo->filename [bufferAccessOutOfBounds] inflex-ripMIME-32b6a39/MIME_headers.c:1017:32: warning: Logical disjunction always evaluates to true: *q != '\0' || *q != '\r'. [incorrectLogicOperator] inflex-ripMIME-32b6a39/MIME_headers.c:1017:46: warning: Logical disjunction always evaluates to true: *q != '\r' || *q != '\n'. [incorrectLogicOperator] inflex-ripMIME-32b6a39/MIME_headers.c:1694:45: style: Redundant condition: The condition '*(string+1) != '\0'' is redundant since '*(string+1) == '='' is sufficient. [redundantCondition] inflex-ripMIME-32b6a39/MIME_headers.c:1742:49: style: Redundant condition: The condition '*string != '\0'' is redundant since '*string == '\"'' is sufficient. [redundantCondition] inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hl [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assuming allocation function fails inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assignment 'hl=strdup(data)', assigned value is 0 inflex-ripMIME-32b6a39/MIME_headers.c:1580:9: note: Assuming condition is false inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: note: Null pointer dereference inflex-ripMIME-32b6a39/MIME_headers.c:2013:21: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: header_value. [nullPointerRedundantCheck] inflex-ripMIME-32b6a39/MIME_headers.c:2030:15: note: Assuming that condition 'p!=NULL' is not redundant inflex-ripMIME-32b6a39/MIME_headers.c:2029:13: note: Assignment to 'p=header_value' inflex-ripMIME-32b6a39/MIME_headers.c:2013:21: note: Null pointer dereference inflex-ripMIME-32b6a39/MIME_headers.c:1925:28: style: The comparison 'boundary_found == 0' is always true. [knownConditionTrueFalse] inflex-ripMIME-32b6a39/MIME_headers.c:1911:26: note: 'boundary_found' is assigned value '0' here. inflex-ripMIME-32b6a39/MIME_headers.c:1925:28: note: The comparison 'boundary_found == 0' is always true. inflex-ripMIME-32b6a39/MIME_headers.c:3099:17: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] inflex-ripMIME-32b6a39/MIME_headers.c:3095:18: note: 'result' is assigned value '0' here. inflex-ripMIME-32b6a39/MIME_headers.c:3099:17: note: The comparison 'result == 0' is always true. inflex-ripMIME-32b6a39/MIME_headers.c:3103:17: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] inflex-ripMIME-32b6a39/MIME_headers.c:3095:18: note: 'result' is assigned value '0' here. inflex-ripMIME-32b6a39/MIME_headers.c:3103:17: note: The comparison 'result == 0' is always true. inflex-ripMIME-32b6a39/MIME_headers.c:1429:20: style: Redundant initialization for 'start_position'. The initialized value is overwritten before it is read. [redundantInitialization] inflex-ripMIME-32b6a39/MIME_headers.c:1422:26: note: start_position is initialized inflex-ripMIME-32b6a39/MIME_headers.c:1429:20: note: start_position is overwritten inflex-ripMIME-32b6a39/MIME_headers.c:306:32: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:651:28: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:710:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:931:46: style: Parameter 'needle' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:1079:11: style: Variable 'fget_result' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:1080:11: style: Variable 'headerline_end' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:1083:11: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:1635:19: style: Variable 'before_string' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:1856:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:1856:53: style: Parameter 'prefix_name' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:2527:51: style: Parameter 'header_value' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:2748:11: style: Variable 'safeh' can be declared as pointer to const [constVariablePointer] inflex-ripMIME-32b6a39/MIME_headers.c:3171:55: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] inflex-ripMIME-32b6a39/MIME_headers.c:1072:17: style: Variable 'linesize' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:1075:19: style: Variable 'firstline' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:1174:32: style: Variable 'headerline_end' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:1210:23: style: Variable 'p' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/MIME_headers.c:1253:23: style: Variable 'firstline' is assigned a value that is never used. [unreadVariable] inflex-ripMIME-32b6a39/ripmime.c:659:27: style: Condition 'dir_entry!=NULL' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripmime.c:491:28: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] inflex-ripMIME-32b6a39/ripmime.c:634:23: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] diff: head inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hl [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assuming allocation function fails inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assignment 'hl=strdup(data)', assigned value is 0 inflex-ripMIME-32b6a39/MIME_headers.c:1580:9: note: Assuming condition is false inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: note: Null pointer dereference 2.21.0 inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hl [nullPointerOutOfMemory] inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assuming allocation function fails inflex-ripMIME-32b6a39/MIME_headers.c:1576:16: note: Assignment 'hl=strdup(data)', assigned value is 0 inflex-ripMIME-32b6a39/MIME_headers.c:1583:17: note: Null pointer dereference 2.21.0 inflex-ripMIME-32b6a39/MIME_headers.c:2342:9: style: Variable 'p' is assigned an expression that holds the same value. [redundantAssignment] inflex-ripMIME-32b6a39/MIME_headers.c:2300:11: note: p is assigned 'header_value' here. inflex-ripMIME-32b6a39/MIME_headers.c:2342:9: note: Variable 'p' is assigned an expression that holds the same value. head inflex-ripMIME-32b6a39/mime.c:961:11: style: Variable 'frontname' can be declared as pointer to const [constVariablePointer] head inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: style: Condition 'value==node->data' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/bt-int.c:23:13: note: Assuming that condition 'value>node->data' is not redundant inflex-ripMIME-32b6a39/ripOLE/bt-int.c:24:18: note: Assuming condition is false inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: note: Condition 'value==node->data' is always true 2.21.0 inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: style: Condition 'value==node->data' is always true [knownConditionTrueFalse] inflex-ripMIME-32b6a39/ripOLE/bt-int.c:23:13: note: Assuming that condition 'value>node->data' is not redundant inflex-ripMIME-32b6a39/ripOLE/bt-int.c:24:18: note: Assuming that condition 'valuedata' is not redundant inflex-ripMIME-32b6a39/ripOLE/bt-int.c:25:18: note: Condition 'value==node->data' is always true head inflex-ripMIME-32b6a39/ripOLE/ripole.c:361:10: style: Condition 'ole!=NULL' is always true [knownConditionTrueFalse] head inflex-ripMIME-32b6a39/uuencode.c:245:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] 2.21.0 inflex-ripMIME-32b6a39/uuencode.c:391:2: style: Variable 'bp' is assigned an expression that holds the same value. [redundantAssignment] inflex-ripMIME-32b6a39/uuencode.c:365:11: note: bp is assigned 'buf' here. inflex-ripMIME-32b6a39/uuencode.c:391:2: note: Variable 'bp' is assigned an expression that holds the same value. DONE