2025-06-30 13:52 ftp://ftp.de.debian.org/debian/pool/main/r/ripmime/ripmime_1.4.0.10.debian.1.orig.tar.gz 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 -j1 platform: Linux-6.8.0-62-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: bc2755d (2025-06-30 15:13:10 +0200) count: 274 275 elapsed-time: 19.1 20.1 head-timing-info: old-timing-info: head results: ripmime-1.4.0.10.debian.1/MIME_headers.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/MIME_headers.c:796:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/MIME_headers.c:1345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/MIME_headers.c:1027:23: warning: Logical disjunction always evaluates to true: *q != '\0' || *q != '\r'. [incorrectLogicOperator] ripmime-1.4.0.10.debian.1/MIME_headers.c:1027:37: warning: Logical disjunction always evaluates to true: *q != '\r' || *q != '\n'. [incorrectLogicOperator] ripmime-1.4.0.10.debian.1/MIME_headers.c:1701:33: style: Redundant condition: The condition '*(string+1) != '\0'' is redundant since '*(string+1) == '='' is sufficient. [redundantCondition] ripmime-1.4.0.10.debian.1/MIME_headers.c:1749:31: style: Redundant condition: The condition '*string != '\0'' is redundant since '*string == '\"'' is sufficient. [redundantCondition] ripmime-1.4.0.10.debian.1/MIME_headers.c:1590:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: hl [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/MIME_headers.c:1583:13: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/MIME_headers.c:1583:13: note: Assignment 'hl=strdup(data)', assigned value is 0 ripmime-1.4.0.10.debian.1/MIME_headers.c:1590:14: note: Null pointer dereference ripmime-1.4.0.10.debian.1/MIME_headers.c:2020:15: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: header_value. [nullPointerRedundantCheck] ripmime-1.4.0.10.debian.1/MIME_headers.c:2054:9: note: Assuming that condition 'p!=NULL' is not redundant ripmime-1.4.0.10.debian.1/MIME_headers.c:2053:7: note: Assignment to 'p=header_value' ripmime-1.4.0.10.debian.1/MIME_headers.c:2020:15: note: Null pointer dereference ripmime-1.4.0.10.debian.1/MIME_headers.c:2036:29: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: header_value. [nullPointerRedundantCheck] ripmime-1.4.0.10.debian.1/MIME_headers.c:2054:9: note: Assuming that condition 'p!=NULL' is not redundant ripmime-1.4.0.10.debian.1/MIME_headers.c:2053:7: note: Assignment to 'p=header_value' ripmime-1.4.0.10.debian.1/MIME_headers.c:2036:29: note: Null pointer dereference ripmime-1.4.0.10.debian.1/MIME_headers.c:1932:22: style: The comparison 'boundary_found == 0' is always true. [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/MIME_headers.c:1918:23: note: 'boundary_found' is assigned value '0' here. ripmime-1.4.0.10.debian.1/MIME_headers.c:1932:22: note: The comparison 'boundary_found == 0' is always true. ripmime-1.4.0.10.debian.1/MIME_headers.c:3046:14: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/MIME_headers.c:3042:15: note: 'result' is assigned value '0' here. ripmime-1.4.0.10.debian.1/MIME_headers.c:3046:14: note: The comparison 'result == 0' is always true. ripmime-1.4.0.10.debian.1/MIME_headers.c:3050:14: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/MIME_headers.c:3042:15: note: 'result' is assigned value '0' here. ripmime-1.4.0.10.debian.1/MIME_headers.c:3050:14: note: The comparison 'result == 0' is always true. ripmime-1.4.0.10.debian.1/MIME_headers.c:1447:17: style: Redundant initialization for 'start_position'. The initialized value is overwritten before it is read. [redundantInitialization] ripmime-1.4.0.10.debian.1/MIME_headers.c:1440:23: note: start_position is initialized ripmime-1.4.0.10.debian.1/MIME_headers.c:1447:17: note: start_position is overwritten ripmime-1.4.0.10.debian.1/MIME_headers.c:2366:3: style: Variable 'p' is assigned an expression that holds the same value. [redundantAssignment] ripmime-1.4.0.10.debian.1/MIME_headers.c:2324:5: note: p is assigned 'header_value' here. ripmime-1.4.0.10.debian.1/MIME_headers.c:2366:3: note: Variable 'p' is assigned an expression that holds the same value. ripmime-1.4.0.10.debian.1/MIME_headers.c:325:32: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:681:28: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:741:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1088:8: style: Variable 'fget_result' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1092:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1642:10: style: Variable 'before_string' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1863:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1863:53: style: Parameter 'prefix_name' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:2551:51: style: Parameter 'header_value' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:3118:55: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/MIME_headers.c:1081:14: style: Variable 'linesize' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/MIME_headers.c:1222:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/boundary-stack.c:281:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/boundary-stack.c:226:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/boundary-stack.c:492:30: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ffget.c:147:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ffget.c:303:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ffget.c:397:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ffget.c:507:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ffget.c:500:27: style: Condition '0==f->FFEOF' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ffget.c:470:35: note: Assuming that condition 'f->FFEOF==0' is not redundant ripmime-1.4.0.10.debian.1/ffget.c:500:27: note: Condition '0==f->FFEOF' is always true ripmime-1.4.0.10.debian.1/ffget.c:447:11: style: Redundant initialization for 'max_size'. The initialized value is overwritten before it is read. [redundantInitialization] ripmime-1.4.0.10.debian.1/ffget.c:426:15: note: max_size is initialized ripmime-1.4.0.10.debian.1/ffget.c:447:11: note: max_size is overwritten ripmime-1.4.0.10.debian.1/ffget.c:419:38: style:inconclusive: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/ffget.h:49:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. ripmime-1.4.0.10.debian.1/ffget.c:419:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. ripmime-1.4.0.10.debian.1/ffget.c:269:29: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ffget.c:333:31: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ffget.c:423:18: style: Variable 'charstoCRLF' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ffget.c:424:15: style: Variable 'chardiff' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ffget.c:425:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ffget.c:428:21: style: Variable 'extra_char_kept' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ffget.c:447:21: style: Variable 'maxsize' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/libmime-decoders.c:150:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/libmime-decoders.c:157:17: style: Condition 'iconv_res==-1' is always false [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/libmime-decoders.c:178:40: warning: If memory allocation fails, then there is a possible null pointer dereference: out_str [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/libmime-decoders.c:153:27: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/libmime-decoders.c:153:27: note: Assignment 'out_str=malloc(outbytesleft+1)', assigned value is 0 ripmime-1.4.0.10.debian.1/libmime-decoders.c:178:40: note: Null pointer dereference ripmime-1.4.0.10.debian.1/libmime-decoders.c:527:25: warning: Either the condition 'iso' is redundant or there is possible null pointer dereference: iso. [nullPointerRedundantCheck] ripmime-1.4.0.10.debian.1/libmime-decoders.c:543:9: note: Assuming that condition 'iso' is not redundant ripmime-1.4.0.10.debian.1/libmime-decoders.c:527:25: note: Null pointer dereference ripmime-1.4.0.10.debian.1/libmime-decoders.c:497:32: warning: Either the condition 'iso_start' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ripmime-1.4.0.10.debian.1/libmime-decoders.c:503:10: note: Assuming that condition 'iso_start' is not redundant ripmime-1.4.0.10.debian.1/libmime-decoders.c:497:32: note: Null pointer addition ripmime-1.4.0.10.debian.1/libmime-decoders.c:286:10: style: Variable 'ip' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/libmime-decoders.c:282:4: note: ip is assigned ripmime-1.4.0.10.debian.1/libmime-decoders.c:286:10: note: ip is overwritten ripmime-1.4.0.10.debian.1/libmime-decoders.c:405:10: style: Variable 'line[op]' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/libmime-decoders.c:378:14: note: line[op] is assigned ripmime-1.4.0.10.debian.1/libmime-decoders.c:405:10: note: line[op] is overwritten ripmime-1.4.0.10.debian.1/libmime-decoders.c:136:36: style: Parameter 'charset' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/libmime-decoders.c:315:12: style: Variable 'w' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/libmime-decoders.c:457:21: style: Variable 'end_pair' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/libmime-decoders.c:459:20: style: Variable 'encoding_type' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/libmime-decoders.c:475:10: style: Variable 'iso_end' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/logger.c:309:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/logger.c:312:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/logger.c:190:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/logger.c:342:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] ripmime-1.4.0.10.debian.1/mime.c:220:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1144:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1253:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1343:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1692:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:2167:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:2270:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:2414:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:2827:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:3024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:3055:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:3562:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:3700:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:3787:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/mime.c:1251:14: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] ripmime-1.4.0.10.debian.1/mime.c:1248:13: note: outer condition: result>=0 ripmime-1.4.0.10.debian.1/mime.c:1251:14: note: opposite inner condition: result==-1 ripmime-1.4.0.10.debian.1/mime.c:1479:6: style: Condition 'f' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:1490:52: style: Condition 'of' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:1790:61: style: Condition 'c!='-'' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:1790:30: note: Assuming that condition 'c<' '' is not redundant ripmime-1.4.0.10.debian.1/mime.c:1790:61: note: Condition 'c!='-'' is always true ripmime-1.4.0.10.debian.1/mime.c:2264:6: style: Condition 'fout' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:2296:7: style: Condition 'buffer' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:3023:17: style: Condition 'iconv_res==-1' is always false [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:3085:69: style: Condition 'ofile' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:1153:3: error: Resource leak: f [resourceLeak] ripmime-1.4.0.10.debian.1/mime.c:1348:3: error: Memory leak: buffer [memleak] ripmime-1.4.0.10.debian.1/mime.c:1711:3: error: Resource leak: of [resourceLeak] ripmime-1.4.0.10.debian.1/mime.c:2185:3: error: Memory leak: rw_buffer [memleak] ripmime-1.4.0.10.debian.1/mime.c:2260:3: error: Memory leak: buffer [memleak] ripmime-1.4.0.10.debian.1/mime.c:3079:5: error: Resource leak: ifile [resourceLeak] ripmime-1.4.0.10.debian.1/mime.c:2990:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/mime.c:2989:11: note: result is assigned ripmime-1.4.0.10.debian.1/mime.c:2990:11: note: result is overwritten ripmime-1.4.0.10.debian.1/mime.c:3085:22: style: Redundant initialization for 'get_result'. The initialized value is overwritten before it is read. [redundantInitialization] ripmime-1.4.0.10.debian.1/mime.c:3066:20: note: get_result is initialized ripmime-1.4.0.10.debian.1/mime.c:3085:22: note: get_result is overwritten ripmime-1.4.0.10.debian.1/mime.c:1896:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ripmime-1.4.0.10.debian.1/mime.c:525:28: style:inconclusive: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/mime.h:113:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. ripmime-1.4.0.10.debian.1/mime.c:525:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. ripmime-1.4.0.10.debian.1/mime.c:3862:53: style:inconclusive: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/mime.h:57:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. ripmime-1.4.0.10.debian.1/mime.c:3862:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. ripmime-1.4.0.10.debian.1/mime.c:1811:11: style: Local variable 'scratch' shadows outer variable [shadowVariable] ripmime-1.4.0.10.debian.1/mime.c:193:13: note: Shadowed declaration ripmime-1.4.0.10.debian.1/mime.c:1811:11: note: Shadow variable ripmime-1.4.0.10.debian.1/mime.c:525:28: style: Parameter 'setto' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:544:37: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:767:33: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:1041:33: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:1048:8: style: Variable 'frontname' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:1237:66: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:1463:8: style: Variable 'get_result' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:2099:86: style: Parameter 'hinfo' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:2805:36: style: Parameter 'unpackdir' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:2871:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:2953:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:3047:32: style: Parameter 'unpackdir' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/mime.c:3066:9: style: Variable 'get_result' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:3182:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/mime.c:172:7: style: struct member 'MIME_globals::blankzone_filename' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/mime.c:2810:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/pldstr.c:300:17: style: Redundant condition: If 'st->start', the comparison 'st->start != '\0'' is always true. [redundantCondition] ripmime-1.4.0.10.debian.1/pldstr.c:49:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hs [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/pldstr.c:40:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 ripmime-1.4.0.10.debian.1/pldstr.c:49:18: note: Null pointer dereference ripmime-1.4.0.10.debian.1/pldstr.c:49:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/pldstr.c:42:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/pldstr.c:42:14: note: Assignment 'ne=strdup(needle)', assigned value is 0 ripmime-1.4.0.10.debian.1/pldstr.c:49:22: note: Null pointer dereference ripmime-1.4.0.10.debian.1/pldstr.c:374:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/pldstr.c:40:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 ripmime-1.4.0.10.debian.1/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 ripmime-1.4.0.10.debian.1/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 ripmime-1.4.0.10.debian.1/pldstr.c:374:11: note: Null pointer dereference ripmime-1.4.0.10.debian.1/pldstr.c:489:17: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/pldstr.c:425:16: note: size_required is assigned ripmime-1.4.0.10.debian.1/pldstr.c:489:17: note: size_required is overwritten ripmime-1.4.0.10.debian.1/pldstr.c:659:9: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/pldstr.c:581:10: note: *new_p is assigned ripmime-1.4.0.10.debian.1/pldstr.c:659:9: note: *new_p is overwritten ripmime-1.4.0.10.debian.1/pldstr.c:724:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. ripmime-1.4.0.10.debian.1/pldstr.c:724:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. ripmime-1.4.0.10.debian.1/pldstr.c:102:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:234:8: style: Variable 'ds1' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:234:19: style: Variable 'ds2' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:275:8: style: Variable 'dc' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:406:38: style: Variable 'segment_p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:408:8: style: Variable 'preexist_location' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:409:8: style: Variable 'postexist_location' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:548:9: style: Variable 'replacewith_p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/pldstr.c:300:30: warning: Char literal compared with pointer 'st->start'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] ripmime-1.4.0.10.debian.1/pldstr.c:543:12: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ripOLE/bt-int.c:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/bt-int.c:25:18: style: Condition 'value==node->data' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/bt-int.c:23:13: note: Assuming that condition 'value>node->data' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/bt-int.c:24:18: note: Assuming that condition 'valuedata' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/bt-int.c:25:18: note: Condition 'value==node->data' is always true ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:18:21: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:40:31: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:59:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:84:32: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:108:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/bytedecoders.c:138:32: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:309:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/ripOLE/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:312:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/ripOLE/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/ripOLE/logger.c:190:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/logger.c:342:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:355:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1408:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1523:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:354:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:444:59: style: Condition 'byte_count--' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:444:43: note: Assuming that condition 'byte_count>0' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/ole.c:444:59: note: Condition 'byte_count--' is always true ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1344:14: style: Condition 'buffer!=NULL' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1413:19: style: Condition 'stat_result==0' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1407:18: note: Assuming that condition 'stat_result!=0' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1413:19: note: Condition 'stat_result==0' is always true ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1791:13: style: Condition 'result!=0' is always false [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1787:13: note: Assuming that condition 'result!=0' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1791:13: note: Condition 'result!=0' is always false ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 13) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:707:2: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:747:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:747:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:862:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:862:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:862:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:862:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:862:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:371:24: warning: Either the condition 'bb' is redundant or there is possible null pointer dereference: bb. [nullPointerRedundantCheck] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:376:7: note: Assuming that condition 'bb' is not redundant ripmime-1.4.0.10.debian.1/ripOLE/ole.c:371:24: note: Null pointer dereference ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assignment 'ole->FAT=malloc(FAT_size*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: note: Null pointer addition ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:23: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:15: note: Assignment 'bp=buffer=malloc(offset*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1338:14: note: Assuming condition is false ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: note: Null pointer addition ripmime-1.4.0.10.debian.1/ripOLE/ole.c:677:26: style: Checking if unsigned expression 'h->fat_sector_count' is less than zero. [unsignedLessThanZero] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1070:25: style: Checking if unsigned expression 'current_sector' is less than zero. [unsignedLessThanZero] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:438:44: style:inconclusive: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/ripOLE/ole.h:136:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. ripmime-1.4.0.10.debian.1/ripOLE/ole.c:438:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. ripmime-1.4.0.10.debian.1/ripOLE/ole.c:440:8: style: Variable 'limit' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:502:42: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:502:53: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:541:41: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:669:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:703:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:770:47: style: Parameter 'ole' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1347:19: style: Variable 'bp_limit' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1451:55: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1508:89: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1761:36: style: Variable 'property_limit' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:183:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:325:19: style: Redundant initialization for 'data_start_point'. The initialized value is overwritten before it is read. [redundantInitialization] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:315:25: note: data_start_point is initialized ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:325:19: note: data_start_point is overwritten ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:148:53: style: Parameter 'oleuw' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:148:98: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:241:60: style: Parameter 'oleuw' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:245:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:246:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:27:6: style: struct member 'ESCHER_header_fixed::spid_max' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:28:9: style: struct member 'ESCHER_header_fixed::cidcl' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:29:9: style: struct member 'ESCHER_header_fixed::cspsaved' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:30:9: style: struct member 'ESCHER_header_fixed::cdgsaved' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/ripOLE/olestream-unwrap.c:36:6: style: struct member 'typesig::offset' is never used. [unusedStructMember] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:300:17: style: Redundant condition: If 'st->start', the comparison 'st->start != '\0'' is always true. [redundantCondition] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:49:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hs [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:49:18: note: Null pointer dereference ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:49:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ne [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:42:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:42:14: note: Assignment 'ne=strdup(needle)', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:49:22: note: Null pointer dereference ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:374:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:40:14: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:40:14: note: Assignment 'hs=strdup(haystack)', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:41:16: note: Calling function 'PLD_strlower', 1st argument 'hs' value is 0 ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:372:12: note: Assignment 'c=convertme', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:374:11: note: Null pointer dereference ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:489:17: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:425:16: note: size_required is assigned ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:489:17: note: size_required is overwritten ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:659:9: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:581:10: note: *new_p is assigned ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:659:9: note: *new_p is overwritten ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:724:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:724:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:102:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:234:8: style: Variable 'ds1' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:234:19: style: Variable 'ds2' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:275:8: style: Variable 'dc' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:406:38: style: Variable 'segment_p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:408:8: style: Variable 'preexist_location' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:409:8: style: Variable 'postexist_location' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:548:9: style: Variable 'replacewith_p' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:300:30: warning: Char literal compared with pointer 'st->start'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] ripmime-1.4.0.10.debian.1/ripOLE/pldstr.c:543:12: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:314:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:132:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:168:48: style: Parameter 'role' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripOLE/ripole.c:280:41: style: Parameter 'role' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripmime-api.c:116:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripmime-api.c:107:8: warning: If memory allocation fails, then there is a possible null pointer dereference: rm->outputdir [nullPointerOutOfMemory] ripmime-1.4.0.10.debian.1/ripmime-api.c:98:25: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripmime-api.c:98:25: note: Assignment 'rm->outputdir=strdup(outputdir)', assigned value is 0 ripmime-1.4.0.10.debian.1/ripmime-api.c:107:8: note: Null pointer dereference ripmime-1.4.0.10.debian.1/ripmime-api.c:80:54: style: Parameter 'mailpack' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripmime-api.c:80:70: style: Parameter 'outputdir' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/ripmime-api.c:82:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/ripmime.c:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripmime.c:636:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripmime.c:697:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/ripmime.c:659:22: style: Condition 'dir_entry!=NULL' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripmime.c:491:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ripmime-1.4.0.10.debian.1/ripmime.c:634:18: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/strstack.c:184:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/strstack.c:263:33: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/strstack.c:284:43: style: Parameter 'find_me' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/tnef/logger.c:111:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/logger.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/tnef/logger.c:309:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/tnef/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] ripmime-1.4.0.10.debian.1/tnef/logger.c:312:11: note: lineend is assigned ripmime-1.4.0.10.debian.1/tnef/logger.c:315:52: note: lineend is overwritten ripmime-1.4.0.10.debian.1/tnef/logger.c:190:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/tnef/logger.c:191:8: style: Variable 'next_space' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/tnef/logger.c:292:8: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] ripmime-1.4.0.10.debian.1/tnef/logger.c:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] ripmime-1.4.0.10.debian.1/tnef/tnef.c:340:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/tnef.c:378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_TYPE_MASK [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/tnef.c:714:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TNEF_SIGNATURE [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/tnef.c:792:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/tnef/tnef.c:839:3: error: Resource leak: fp [resourceLeak] ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:52: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:35: note: Assignment 'TNEF_glb.tnef_home=tnef_stream=(unsigned char*)malloc(size)', assigned value is 0 ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: note: Null pointer addition ripmime-1.4.0.10.debian.1/tnef/tnef.c:151:26: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/tnef/tnef.c:304:26: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/tnef/tnef.c:329:28: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/tnef/tnef.c:329:42: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/tnef/tnef.c:447:46: style: Parameter 'tsp' can be declared as pointer to const [constParameterPointer] ripmime-1.4.0.10.debian.1/uuencode.c:318:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/uuencode.c:410:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ripmime-1.4.0.10.debian.1/uuencode.c:263:7: style: Condition 'bp' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/uuencode.c:551:11: style: Condition 'outf' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/uuencode.c:391:5: style: Redundant initialization for 'bp'. The initialized value is overwritten before it is read. [redundantInitialization] ripmime-1.4.0.10.debian.1/uuencode.c:365:11: note: bp is initialized ripmime-1.4.0.10.debian.1/uuencode.c:391:5: note: bp is overwritten ripmime-1.4.0.10.debian.1/uuencode.c:391:2: style: Variable 'bp' is assigned an expression that holds the same value. [redundantAssignment] ripmime-1.4.0.10.debian.1/uuencode.c:365:11: note: bp is assigned 'buf' here. ripmime-1.4.0.10.debian.1/uuencode.c:391:2: note: Variable 'bp' is assigned an expression that holds the same value. ripmime-1.4.0.10.debian.1/uuencode.c:363:21: style: Variable 'filename_found' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/uuencode.c:371:14: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/uuencode.c:433:9: style: Variable 'wbpos' is assigned a value that is never used. [unreadVariable] ripmime-1.4.0.10.debian.1/uuencode.c:434:11: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:23: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:15: note: Assignment 'bp=buffer=malloc(offset*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1338:14: note: Assuming condition is false ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: note: Null pointer addition head ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:23: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1337:15: note: Assignment 'bp=buffer=malloc(offset*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1338:14: note: Assuming condition is false ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1348:18: note: Null pointer addition 2.17.0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assignment 'ole->FAT=malloc(FAT_size*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: note: Null pointer addition head ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/ripOLE/ole.c:910:19: note: Assignment 'ole->FAT=malloc(FAT_size*sizeof(unsigned char))', assigned value is 0 ripmime-1.4.0.10.debian.1/ripOLE/ole.c:911:28: note: Null pointer addition 2.17.0 ripmime-1.4.0.10.debian.1/ripmime.c:645:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:52: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:35: note: Assignment 'TNEF_glb.tnef_home=tnef_stream=(unsigned char*)malloc(size)', assigned value is 0 ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: note: Null pointer addition head ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:52: note: Assuming allocation function fails ripmime-1.4.0.10.debian.1/tnef/tnef.c:804:35: note: Assignment 'TNEF_glb.tnef_home=tnef_stream=(unsigned char*)malloc(size)', assigned value is 0 ripmime-1.4.0.10.debian.1/tnef/tnef.c:805:43: note: Null pointer addition DONE