2022-06-24 23:38 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 --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 11860cc (2022-06-24 13:55:04 +0200) count: 126 125 elapsed-time: 23.2 33.2 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: 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/MIME_headers.c:1027:23: warning: Logical disjunction always evaluates to true: EXPR != '\0' || EXPR != '\r'. [incorrectLogicOperator] ripmime-1.4.0.10.debian.1/MIME_headers.c:1027:37: warning: Logical disjunction always evaluates to true: EXPR != '\r' || EXPR != '\n'. [incorrectLogicOperator] ripmime-1.4.0.10.debian.1/MIME_headers.c:1701:33: style: Redundant condition: If 'EXPR == '='', the comparison 'EXPR != '\0'' is always true. [redundantCondition] ripmime-1.4.0.10.debian.1/MIME_headers.c:1749:31: style: Redundant condition: If 'EXPR == '\"'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] 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: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: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: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/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: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:157:17: style: Condition 'iconv_res==-1' is always false [knownConditionTrueFalse] 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: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:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] 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:342:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] ripmime-1.4.0.10.debian.1/pldstr.c:300:17: style: Redundant condition: If 'EXPR', the comparison 'EXPR != '\0'' is always true. [redundantCondition] 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: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/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:1543:7: 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:3778:7: style: Condition '!hf' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/mime.c:3754:13: note: Assignment 'hf=NULL', assigned value is 0 ripmime-1.4.0.10.debian.1/mime.c:3778:7: note: Condition '!hf' is always true 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: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/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/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/ripOLE/logger.c:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] 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: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/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: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/ole.c:354:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:364:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] 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:677:28: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] ripmime-1.4.0.10.debian.1/ripOLE/ole.c:1070:27: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] 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: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/pldstr.c:300:17: style: Redundant condition: If 'EXPR', the comparison 'EXPR != '\0'' is always true. [redundantCondition] 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: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/ripmime-api.c:82:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] 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/tnef/logger.c:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] 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:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] 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:251:12: warning: Either the condition 'bp' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] ripmime-1.4.0.10.debian.1/uuencode.c:263:7: note: Assuming that condition 'bp' is not redundant ripmime-1.4.0.10.debian.1/uuencode.c:253:7: note: Assignment to 'bp=buf' ripmime-1.4.0.10.debian.1/uuencode.c:251:12: note: Null pointer dereference 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: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] 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] 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] diff: head ripmime-1.4.0.10.debian.1/ripmime.c:659:22: style: Condition 'dir_entry!=NULL' is always true [knownConditionTrueFalse] DONE