2024-04-22 23:03 ftp://ftp.de.debian.org/debian/pool/main/t/tstools/tstools_1.13~git20151030.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: bd7136d (2024-04-22 21:34:48 +0200) count: 358 358 elapsed-time: 303.7 303.9 head-timing-info: old-timing-info: head results: tstools-1.13~git20151030/ac3.c:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/accessunit.c:906:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/accessunit.c:958:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/accessunit.c:1279:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/accessunit.c:1042:16: style: Condition '!access_unit->started_primary_picture' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/accessunit.c:1189:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/accessunit.c:1188:24: note: Calling function 'end_access_unit' returns 0 tstools-1.13~git20151030/accessunit.c:1188:24: note: Assignment 'err=end_access_unit(context,access_unit,show_details)', assigned value is 0 tstools-1.13~git20151030/accessunit.c:1189:7: note: Condition 'err' is always false tstools-1.13~git20151030/adts.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/avs.c:439:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/avs.c:227:16: style: Variable 'data' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/es.c:395:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:477:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:643:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:759:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:798:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:881:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:992:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:1527:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/es.c:410:18: style: Condition 'show_len10?10:data_len' here. tstools-1.13~git20151030/es.c:410:18: note: Condition 'show_len tstools-1.13~git20151030/pcapreport.c:330:22: note: Assuming condition is false tstools-1.13~git20151030/pcapreport.c:352:10: note: Uninitialized variable: buf tstools-1.13~git20151030/pcapreport.c:1139:10: warning: Uninitialized variable: buf [uninitvar] tstools-1.13~git20151030/pcapreport.c:1167:50: note: Calling function 'map_to_string', 3rd argument 'pbuf1' value is tstools-1.13~git20151030/pcapreport.c:1139:10: note: Uninitialized variable: buf tstools-1.13~git20151030/pcapreport.c:71:7: style: struct member 'jitter_env_struct::len' is never used. [unusedStructMember] tstools-1.13~git20151030/pcapreport.c:197:7: style: struct member 'pcapreport_ctx_struct::use_stdin' is never used. [unusedStructMember] tstools-1.13~git20151030/pcapreport.c:553:30: style: Variable 'rtp_seq_delta' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/pes.c:508:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:657:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:777:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:867:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:915:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:1099:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:1242:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:1367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:1593:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:2694:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:2935:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:3122:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/pes.c:3143:51: warning: Logical conjunction always evaluates to false: data[1] == 0xFE && data[1] == 0x80. [incorrectLogicOperator] tstools-1.13~git20151030/pes.c:875:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/pes.c:856:7: note: Assuming that condition 'err' is not redundant tstools-1.13~git20151030/pes.c:863:27: note: Assuming condition is false tstools-1.13~git20151030/pes.c:875:7: note: Condition 'err' is always false tstools-1.13~git20151030/pes.c:990:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/pes.c:989:31: note: Calling function 'refine_TS_program_info' returns 0 tstools-1.13~git20151030/pes.c:989:31: note: Assignment 'err=refine_TS_program_info(reader,pmt)', assigned value is 0 tstools-1.13~git20151030/pes.c:990:7: note: Condition 'err' is always false tstools-1.13~git20151030/pes.c:3089:20: style: Condition 'scramble!=0' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/pes.c:3088:42: note: Assignment 'scramble=(payload[6]&0x30)>>8', assigned value is 0 tstools-1.13~git20151030/pes.c:3089:20: note: Condition 'scramble!=0' is always false tstools-1.13~git20151030/pes.c:2438:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/pes.c:2723:9: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/pes.c:3542:9: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/pidint.c:315:48: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/pidint.c:422:42: style: Parameter 'program_info' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/pidint.c:465:41: style: Parameter 'ES_info' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/printing.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/printing.c:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/printing.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/printing.c:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/printing.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:186:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:542:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:612:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:650:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:745:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:896:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:1680:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ps.c:1942:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/ps.c:1936:7: note: Assuming that condition 'err' is not redundant tstools-1.13~git20151030/ps.c:1942:7: note: Condition 'err' is always false tstools-1.13~git20151030/ps.c:1896:34: style:inconclusive: Function 'ps_to_ts' argument 10 names different: declaration 'dolby_is_dvb' definition 'output_dolby_as_dvb'. [funcArgNamesDifferent] tstools-1.13~git20151030/ps_fns.h:341:34: note: Function 'ps_to_ts' argument 10 names different: declaration 'dolby_is_dvb' definition 'output_dolby_as_dvb'. tstools-1.13~git20151030/ps.c:1896:34: note: Function 'ps_to_ts' argument 10 names different: declaration 'dolby_is_dvb' definition 'output_dolby_as_dvb'. tstools-1.13~git20151030/ps.c:441:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/ps.c:975:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ps.c:1183:47: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ps.c:1272:52: style: Parameter 'prog_data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ps.c:1773:26: style: Variable 'num_system_headers' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/ps2ts.c:226:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/psdots.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/psdots.c:299:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/psreport.c:148:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/psreport.c:519:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/psreport.c:340:18: warning: Either the condition '(stream_id)<=0xEF' is redundant or the array 'num_video[15]' is accessed at index 15, which is out of bounds. [arrayIndexOutOfBoundsCond] tstools-1.13~git20151030/psreport.c:337:16: note: Assuming that condition '(stream_id)<=0xEF' is not redundant tstools-1.13~git20151030/psreport.c:339:17: note: num is assigned 'stream_id&0x0F' here. tstools-1.13~git20151030/psreport.c:340:18: note: Array index out of bounds tstools-1.13~git20151030/psreport.c:341:23: warning: Either the condition '(stream_id)<=0xEF' is redundant or the array 'sum_video_size[15]' is accessed at index 15, which is out of bounds. [arrayIndexOutOfBoundsCond] tstools-1.13~git20151030/psreport.c:337:16: note: Assuming that condition '(stream_id)<=0xEF' is not redundant tstools-1.13~git20151030/psreport.c:339:17: note: num is assigned 'stream_id&0x0F' here. tstools-1.13~git20151030/psreport.c:341:23: note: Array index out of bounds tstools-1.13~git20151030/psreport.c:342:45: warning: Either the condition '(stream_id)<=0xEF' is redundant or the array 'max_video_size[15]' is accessed at index 15, which is out of bounds. [arrayIndexOutOfBoundsCond] tstools-1.13~git20151030/psreport.c:337:16: note: Assuming that condition '(stream_id)<=0xEF' is not redundant tstools-1.13~git20151030/psreport.c:339:17: note: num is assigned 'stream_id&0x0F' here. tstools-1.13~git20151030/psreport.c:342:45: note: Array index out of bounds tstools-1.13~git20151030/psreport.c:365:9: style: Local variable 'ii' shadows outer variable [shadowVariable] tstools-1.13~git20151030/psreport.c:119:7: note: Shadowed declaration tstools-1.13~git20151030/psreport.c:365:9: note: Shadow variable tstools-1.13~git20151030/psreport.c:386:11: style: Local variable 'ii' shadows outer variable [shadowVariable] tstools-1.13~git20151030/psreport.c:365:9: note: Shadowed declaration tstools-1.13~git20151030/psreport.c:386:11: note: Shadow variable tstools-1.13~git20151030/reverse.c:318:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:403:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:529:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:695:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:752:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:826:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:946:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:1042:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:1320:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/reverse.c:1366:29: style: Condition 'repeat>1' is always true [knownConditionTrueFalse] tstools-1.13~git20151030/reverse.c:1364:24: note: Assuming that condition 'repeat==1' is not redundant tstools-1.13~git20151030/reverse.c:1366:29: note: Condition 'repeat>1' is always true tstools-1.13~git20151030/reverse.c:334:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tstools-1.13~git20151030/reverse.c:334:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tstools-1.13~git20151030/reverse.c:675:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/reverse.c:730:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/rtp2264.c:176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/rtp2264.c:176:9: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] tstools-1.13~git20151030/rtp2264.c:157:5: error: Resource leak: f_in [resourceLeak] tstools-1.13~git20151030/stream_type.c:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/stream_type.c:142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/stream_type.c:265:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/stream_type.c:423:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/stream_type.c:91:7: style: The if condition is the same as the previous if condition [duplicateCondition] tstools-1.13~git20151030/stream_type.c:87:7: note: First condition tstools-1.13~git20151030/stream_type.c:91:7: note: Second condition tstools-1.13~git20151030/test_pes.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/test_pes.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/test_pes.c:214:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/test_pes.c:394:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/test_pes.c:486:7: style: The if condition is the same as the previous if condition [duplicateCondition] tstools-1.13~git20151030/test_pes.c:474:7: note: First condition tstools-1.13~git20151030/test_pes.c:486:7: note: Second condition tstools-1.13~git20151030/test_pes.c:293:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tstools-1.13~git20151030/test_pes.c:118:40: error: Uninitialized variable: pcr_pid [legacyUninitvar] tstools-1.13~git20151030/test_pes.c:61:9: style: Unused variable: number [unusedVariable] tstools-1.13~git20151030/test_printing.c:47:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/test_printing.c:52:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:259:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:1409:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:1558:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:1731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:1832:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:3588:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:3639:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:3749:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:3876:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts.c:344:32: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] tstools-1.13~git20151030/ts.c:2117:40: style: Condition 'report_bad_reserved_bits' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/ts.c:2119:24: style: Condition 'report_bad_reserved_bits' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/ts.c:2121:25: style: Condition 'report_bad_reserved_bits' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/ts.c:2877:19: style: Condition 'tag<64' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/ts.c:2875:17: note: Assuming that condition 'taglast_pcr_packet' is reassigned a value before the old one has been used. [redundantAssignment] tstools-1.13~git20151030/ts.c:2010:30: note: times->last_pcr_packet is assigned tstools-1.13~git20151030/ts.c:2029:28: note: times->last_pcr_packet is overwritten tstools-1.13~git20151030/ts.c:2030:21: style: Variable 'times->last_pcr' is reassigned a value before the old one has been used. [redundantAssignment] tstools-1.13~git20151030/ts.c:2011:23: note: times->last_pcr is assigned tstools-1.13~git20151030/ts.c:2030:21: note: times->last_pcr is overwritten tstools-1.13~git20151030/ts.c:2144:12: style: Variable 'data_len' is reassigned a value before the old one has been used. [redundantAssignment] tstools-1.13~git20151030/ts.c:2142:14: note: data_len is assigned tstools-1.13~git20151030/ts.c:2144:12: note: data_len is overwritten tstools-1.13~git20151030/ts.c:2074:54: style:inconclusive: Function 'extract_prog_list_from_pat' argument 2 names different: declaration 'payload' definition 'data'. [funcArgNamesDifferent] tstools-1.13~git20151030/ts_fns.h:579:54: note: Function 'extract_prog_list_from_pat' argument 2 names different: declaration 'payload' definition 'data'. tstools-1.13~git20151030/ts.c:2074:54: note: Function 'extract_prog_list_from_pat' argument 2 names different: declaration 'payload' definition 'data'. tstools-1.13~git20151030/ts.c:2075:54: style:inconclusive: Function 'extract_prog_list_from_pat' argument 3 names different: declaration 'payload_len' definition 'data_len'. [funcArgNamesDifferent] tstools-1.13~git20151030/ts_fns.h:580:54: note: Function 'extract_prog_list_from_pat' argument 3 names different: declaration 'payload_len' definition 'data_len'. tstools-1.13~git20151030/ts.c:2075:54: note: Function 'extract_prog_list_from_pat' argument 3 names different: declaration 'payload_len' definition 'data_len'. tstools-1.13~git20151030/ts.c:3209:14: style: Local variable 'pid' shadows outer argument [shadowArgument] tstools-1.13~git20151030/ts.c:3031:39: note: Shadowed declaration tstools-1.13~git20151030/ts.c:3209:14: note: Shadow variable tstools-1.13~git20151030/ts.c:3430:14: style: Local variable 'pid' shadows outer argument [shadowArgument] tstools-1.13~git20151030/ts.c:3250:56: note: Shadowed declaration tstools-1.13~git20151030/ts.c:3430:14: note: Shadow variable tstools-1.13~git20151030/ts.c:818:47: style: Parameter 'prog_pid' can be declared as const array [constParameter] tstools-1.13~git20151030/ts.c:2545:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/ts2es.c:87:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2es.c:181:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2es.c:326:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2es.c:501:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2ps.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2ps.c:350:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts2ps.c:452:7: style: Condition 'had_output_name' is always true [knownConditionTrueFalse] tstools-1.13~git20151030/ts2ps.c:216:15: style: Local variable 'err' shadows outer variable [shadowVariable] tstools-1.13~git20151030/ts2ps.c:142:17: note: Shadowed declaration tstools-1.13~git20151030/ts2ps.c:216:15: note: Shadow variable tstools-1.13~git20151030/ts2ps.c:100:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ts_packet_insert.c:297:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/ts_packet_insert.c:131:14: warning: Assert statement modifies 'rv'. [assignmentInAssert] tstools-1.13~git20151030/ts_packet_insert.c:120:23: style: Array index 'packnum_i' is used before limits check. [arrayIndexThenCheck] tstools-1.13~git20151030/ts_packet_insert.c:269:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tstools-1.13~git20151030/ts_packet_insert.c:287:29: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tstools-1.13~git20151030/ts_packet_insert.c:63:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] tstools-1.13~git20151030/ts_packet_insert.c:66:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] tstools-1.13~git20151030/ts_packet_insert.c:68:21: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] tstools-1.13~git20151030/ts_packet_insert.c:44:41: style: Parameter 'in_data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ts_packet_insert.c:102:29: style: Parameter 'out_packet' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ts_packet_insert.c:103:29: style: Parameter 'packet_numbers' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/ts_packet_insert.c:254:15: style: Variable 'position_string' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/tsdvbsub.c:403:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsdvbsub.c:554:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsdvbsub.c:714:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsdvbsub.c:810:7: style: The if condition is the same as the previous if condition [duplicateCondition] tstools-1.13~git20151030/tsdvbsub.c:807:7: note: First condition tstools-1.13~git20151030/tsdvbsub.c:810:7: note: Second condition tstools-1.13~git20151030/tsdvbsub.c:448:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/tsfilter.c:197:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsfilter.c:95:26: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] tstools-1.13~git20151030/tsfilter.c:79:15: note: outer condition: ii=0x0002' is always true [knownConditionTrueFalse] tstools-1.13~git20151030/tsreport.c:964:20: note: Assuming that condition 'pid==0x0001' is not redundant tstools-1.13~git20151030/tsreport.c:966:20: note: Condition 'pid>=0x0002' is always true tstools-1.13~git20151030/tsreport.c:716:9: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'byte {aka signed int}'. [invalidPrintfArgType_uint] tstools-1.13~git20151030/tsreport.c:139:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/tsreport.c:151:27: style: Parameter 'ar' can be declared as pointer to const [constParameterPointer] tstools-1.13~git20151030/tsserve.c:642:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:733:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:822:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:922:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1027:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1197:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1428:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1614:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1886:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1989:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:2178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:2343:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:2945:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:2969:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:2989:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NOCLDSTOP [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:3032:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:3177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:3281:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:3614:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tsserve.c:1639:10: warning: Identical condition and return expression 'err', return value is always 0 [identicalConditionAfterEarlyExit] tstools-1.13~git20151030/tsserve.c:1638:7: note: If condition 'err' is true, the function will return/exit tstools-1.13~git20151030/tsserve.c:1639:10: note: Returning identical expression 'err' tstools-1.13~git20151030/tsserve.c:2831:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/tsserve.c:2823:7: note: Assuming that condition 'err' is not redundant tstools-1.13~git20151030/tsserve.c:2831:7: note: Condition 'err' is always false tstools-1.13~git20151030/tsserve.c:3259:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/tsserve.c:3258:25: note: Calling function 'open_input_files' returns 0 tstools-1.13~git20151030/tsserve.c:3258:25: note: Assignment 'err=open_input_files(context,quiet,verbose,reader)', assigned value is 0 tstools-1.13~git20151030/tsserve.c:3259:7: note: Condition 'err' is always false tstools-1.13~git20151030/tsserve.c:3059:5: error: Resource leak: server_socket [resourceLeak] tstools-1.13~git20151030/tsserve.c:2615:30: error: Uninitialized struct member: stream.program_number [uninitStructMember] tstools-1.13~git20151030/tsserve.c:2618:30: error: Uninitialized struct member: stream.program_number [uninitStructMember] tstools-1.13~git20151030/tsserve.c:2672:30: error: Uninitialized struct member: stream.program_number [uninitStructMember] tstools-1.13~git20151030/tsserve.c:2675:30: error: Uninitialized struct member: stream.program_number [uninitStructMember] tstools-1.13~git20151030/tsserve.c:173:9: style: union member 'u_picture::is_h262' is never used. [unusedStructMember] tstools-1.13~git20151030/tsserve.c:1948:21: style: Variable 'this_command' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/tswrite.c:402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:458:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:513:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:557:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:600:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1447:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1509:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1603:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1859:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1935:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2074:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2403:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2430:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2528:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2663:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2844:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:2978:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:3438:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tstools-1.13~git20151030/tswrite.c:1869:13: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/tswrite.c:1867:27: note: Calling function 'read_command' returns 0 tstools-1.13~git20151030/tswrite.c:1867:27: note: Assignment 'err=read_command(tswriter->command_socket,&tswriter->command,&tswriter->command_changed)', assigned value is 0 tstools-1.13~git20151030/tswrite.c:1869:13: note: Condition 'err' is always false tstools-1.13~git20151030/tswrite.c:1945:13: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/tswrite.c:1943:27: note: Calling function 'read_command' returns 0 tstools-1.13~git20151030/tswrite.c:1943:27: note: Assignment 'err=read_command(tswriter->command_socket,&tswriter->command,&tswriter->command_changed)', assigned value is 0 tstools-1.13~git20151030/tswrite.c:1945:13: note: Condition 'err' is always false tstools-1.13~git20151030/tswrite.c:2298:7: style: Condition 'err' is always false [knownConditionTrueFalse] tstools-1.13~git20151030/tswrite.c:2297:28: note: Calling function 'write_circular_data' returns 0 tstools-1.13~git20151030/tswrite.c:2297:28: note: Assignment 'err=write_circular_data(output,circular)', assigned value is 0 tstools-1.13~git20151030/tswrite.c:2298:7: note: Condition 'err' is always false tstools-1.13~git20151030/tswrite.c:2920:15: style: Condition 'tswriter->writer' is always true [knownConditionTrueFalse] tstools-1.13~git20151030/tswrite.c:2027:11: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] tstools-1.13~git20151030/tswrite.c:1500:20: style: Variable 'written' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/tswrite.c:2205:18: style: Variable 'our_time_now' is assigned a value that is never used. [unreadVariable] tstools-1.13~git20151030/tswrite.c:3414:14: style: Variable 'err' is assigned a value that is never used. [unreadVariable] diff: DONE