2022-06-24 07:58 ftp://ftp.de.debian.org/debian/pool/main/p/p3scan/p3scan_2.3.2.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 -j1 platform: Linux-4.19.0-18-amd64-x86_64-with-debian-10.12 python: 3.7.3 client-version: 1.3.24 compiler: g++ (Debian 8.3.0-6) 8.3.0 cppcheck: head 2.8 head-info: 60c1eef (2022-06-23 20:26:47 +0200) count: 119 118 elapsed-time: 43.7 62.0 head-timing-info: Tokenizer::simplifyTokens1: 43.2441s (avg. 1.88018s - 23 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 42.7302s (avg. 1.85783s - 23 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.287278s (avg. 0.0124903s - 23 result(s)) Tokenizer::createTokens: 0.097922s (avg. 0.00296733s - 33 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.078839s (avg. 0.00342778s - 23 result(s)) Overall time: 86.7195s old-timing-info: Tokenizer::simplifyTokens1: 61.5374s (avg. 2.67554s - 23 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 61.0245s (avg. 2.65324s - 23 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.285952s (avg. 0.0124327s - 23 result(s)) Tokenizer::createTokens: 0.097071s (avg. 0.00294155s - 33 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.07464s (avg. 0.00324522s - 23 result(s)) Overall time: 123.298s head results: p3scan-2.3.2/getline_ssl.h:56:0: error: #error "Must use OpenSSL 0.9.6 or later" [preprocessorErrorDirective] p3scan-2.3.2/getlinep3.c:235:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2087:18: error: Buffer is accessed out of bounds: hinfo->filename [bufferAccessOutOfBounds] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1549:33: style: Redundant condition: If 'EXPR == '='', the comparison 'EXPR != '\0'' is always true. [redundantCondition] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1597:31: style: Redundant condition: If 'EXPR == '\"'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1864:15: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: header_value. [nullPointerRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1881:9: note: Assuming that condition 'p!=NULL' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1880:7: note: Assignment to 'p=header_value' p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1864:15: note: Null pointer dereference p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1296:17: style: Redundant initialization for 'start_position'. The initialized value is overwritten before it is read. [redundantInitialization] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1289:23: note: start_position is initialized p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1296:17: note: start_position is overwritten p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1778:22: style: The comparison 'boundary_found == 0' is always true. [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1764:23: note: 'boundary_found' is assigned value '0' here. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1778:22: note: The comparison 'boundary_found == 0' is always true. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2870:14: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2866:15: note: 'result' is assigned value '0' here. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2870:14: note: The comparison 'result == 0' is always true. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2874:14: style: The comparison 'result == 0' is always true. [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2866:15: note: 'result' is assigned value '0' here. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:2874:14: note: The comparison 'result == 0' is always true. p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:956:14: style: Variable 'linesize' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:959:16: style: Variable 'firstline' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1047:20: style: Variable 'headerline_end' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1085:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/MIME_headers.c:1132:14: style: Variable 'firstline' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/boundary-stack.c:492:30: style: Variable 'len' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:416:27: style: Condition '0==f->FFEOF' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:389:35: note: Assuming that condition 'f->FFEOF==0' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:416:27: note: Condition '0==f->FFEOF' is always true p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:366:11: style: Redundant initialization for 'max_size'. The initialized value is overwritten before it is read. [redundantInitialization] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:348:15: note: max_size is initialized p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:366:11: note: max_size is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:341:38: style:inconclusive: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/ffget.h:45:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:341:38: note: Function 'FFGET_fgets' argument 2 names different: declaration 'max_size' definition 'maxsize'. p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:345:18: style: Variable 'charstoCRLF' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:346:15: style: Variable 'chardiff' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:347:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ffget.c:366:21: style: Variable 'maxsize' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:461:25: warning: Either the condition 'iso' is redundant or there is possible null pointer dereference: iso. [nullPointerRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:477:9: note: Assuming that condition 'iso' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:461:25: note: Null pointer dereference p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:431:32: warning: Either the condition 'iso_start' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:437:10: note: Assuming that condition 'iso_start' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:431:32: note: Null pointer addition p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:231:10: style: Variable 'ip' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:227:4: note: ip is assigned p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:231:10: note: ip is overwritten p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:338:10: style: Variable 'line[op]' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:311:14: note: line[op] is assigned p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:338:10: note: line[op] is overwritten p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:392:20: style: Variable 'encoding_type' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/libmime-decoders.c:409:10: style: Variable 'iso_end' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/logger.c:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/logger.c:309:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/logger.c:312:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/logger.c:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1247:14: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1244:13: note: outer condition: result>=0 p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1247:14: note: opposite inner condition: result==-1 p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1473:6: style: Condition 'f' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1484:52: style: Condition 'of' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1530:7: style: Condition 'of' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1772:61: style: Condition 'c!='-'' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1772:30: note: Assuming that condition 'c<' '' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1772:61: note: Condition 'c!='-'' is always true p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2145:6: style: Condition 'fout' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2177:7: style: Condition 'buffer' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:3537:7: style: Condition '!hf' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:3513:13: note: Assignment 'hf=NULL', assigned value is 0 p3scan-2.3.2/ripmime-1.4.0.6/mime.c:3537:7: note: Condition '!hf' is always true p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1138:3: error: Resource leak: f [resourceLeak] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1693:3: error: Resource leak: of [resourceLeak] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2141:3: error: Memory leak: buffer [memleak] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1854:12: warning: Either the condition 'writebuffer' is redundant or there is possible null pointer dereference: writebuffer. [nullPointerRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1856:9: note: Assuming that condition 'writebuffer' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1854:12: note: Null pointer dereference p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2873:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2872:11: note: result is assigned p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2873:11: note: result is overwritten p3scan-2.3.2/ripmime-1.4.0.6/mime.c:1858:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:510:28: style:inconclusive: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/mime.h:111:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. p3scan-2.3.2/ripmime-1.4.0.6/mime.c:510:28: note: Function 'MIME_set_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'setto'. p3scan-2.3.2/ripmime-1.4.0.6/mime.c:3621:53: style:inconclusive: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/mime.h:56:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. p3scan-2.3.2/ripmime-1.4.0.6/mime.c:3621:53: note: Function 'MIME_unpack' argument 3 names different: declaration 'current_recusion_level' definition 'current_recursion_level'. p3scan-2.3.2/ripmime-1.4.0.6/mime.c:165:7: style: struct member 'MIME_globals::blankzone_filename' is never used. [unusedStructMember] p3scan-2.3.2/ripmime-1.4.0.6/mime.c:2693:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:296:17: style: Redundant condition: If 'EXPR', the comparison 'EXPR != '\0'' is always true. [redundantCondition] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:484:17: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:420:16: note: size_required is assigned p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:484:17: note: size_required is overwritten p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:654:9: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:576:10: note: *new_p is assigned p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:654:9: note: *new_p is overwritten p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:719:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:719:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:296:30: warning: Char literal compared with pointer 'st->start'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] p3scan-2.3.2/ripmime-1.4.0.6/pldstr.c:538:12: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/bt-int.c:25:18: style: Condition 'value==node->data' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/bt-int.c:23:13: note: Assuming that condition 'value>node->data' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/bt-int.c:24:18: note: Assuming that condition 'valuedata' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/bt-int.c:25:18: note: Condition 'value==node->data' is always true p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:309:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:312:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/logger.c:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:354:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:364:11: style: Condition 'bb!=NULL' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1344:14: style: Condition 'buffer!=NULL' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1413:19: style: Condition 'stat_result==0' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1407:18: note: Assuming that condition 'stat_result!=0' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1413:19: note: Condition 'stat_result==0' is always true p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:676:28: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1069:27: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 13) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:706:2: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:746:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:746:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:861:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:371:24: warning: Either the condition 'bb' is redundant or there is possible null pointer dereference: bb. [nullPointerRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:376:7: note: Assuming that condition 'bb' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:371:24: note: Null pointer dereference p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:676:26: style: Checking if unsigned expression 'h->fat_sector_count' is less than zero. [unsignedLessThanZero] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:1069:25: style: Checking if unsigned expression 'current_sector' is less than zero. [unsignedLessThanZero] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:438:44: style:inconclusive: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.h:136:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:438:44: note: Function 'OLE_dbstosbs' argument 2 names different: declaration 'char_count' definition 'byte_count'. p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ole.c:570:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/olestream-unwrap.c:237:19: style: Redundant initialization for 'data_start_point'. The initialized value is overwritten before it is read. [redundantInitialization] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/olestream-unwrap.c:227:25: note: data_start_point is initialized p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/olestream-unwrap.c:237:19: note: data_start_point is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:296:17: style: Redundant condition: If 'EXPR', the comparison 'EXPR != '\0'' is always true. [redundantCondition] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:484:17: style: Variable 'size_required' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:420:16: note: size_required is assigned p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:484:17: note: size_required is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:654:9: style: Variable '*new_p' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:576:10: note: *new_p is assigned p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:654:9: note: *new_p is overwritten p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:719:31: style:inconclusive: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.h:38:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:719:31: note: Function 'PLD_dprintf' argument 1 names different: declaration 'fmt' definition 'format'. p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:296:30: warning: Char literal compared with pointer 'st->start'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/pldstr.c:538:12: style: Variable 'segment_p' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ripOLE/ripole.c:132:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] p3scan-2.3.2/ripmime-1.4.0.6/ripmime-api.c:82:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/ripmime.c:628:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] p3scan-2.3.2/ripmime-1.4.0.6/ripmime.c:642:22: style: Condition 'dir_entry!=NULL' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/ripmime.c:474:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:273:6: style: Condition 'newstr' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:309:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:315:52: style: Variable 'lineend' is reassigned a value before the old one has been used. [redundantAssignment] p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:312:11: note: lineend is assigned p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:315:52: note: lineend is overwritten p3scan-2.3.2/ripmime-1.4.0.6/tnef/logger.c:340:10: error: va_list 'ptr' was opened but not closed by va_end(). [va_end_missing] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:263:7: style: Condition 'bp' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:551:11: style: Condition 'outf' is always true [knownConditionTrueFalse] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:251:12: warning: Either the condition 'bp' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:263:7: note: Assuming that condition 'bp' is not redundant p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:253:7: note: Assignment to 'bp=buf' p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:251:12: note: Null pointer dereference p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:391:5: style: Redundant initialization for 'bp'. The initialized value is overwritten before it is read. [redundantInitialization] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:365:11: note: bp is initialized p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:391:5: note: bp is overwritten p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:363:21: style: Variable 'filename_found' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:371:14: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:433:9: style: Variable 'wbpos' is assigned a value that is never used. [unreadVariable] p3scan-2.3.2/ripmime-1.4.0.6/uuencode.c:434:11: style: Variable 'wbcount' is assigned a value that is never used. [unreadVariable] diff: head p3scan-2.3.2/ripmime-1.4.0.6/ripmime.c:642:22: style: Condition 'dir_entry!=NULL' is always true [knownConditionTrueFalse] DONE