2026-03-20 11:52 ftp://ftp.de.debian.org/debian/pool/main/b/bitstream/bitstream_1.6.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 4412833 (2026-03-20 08:27:05 +0100) count: 175 175 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: bitstream-1.6/examples/dvb_ecmg.c:105:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:130:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:146:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:177:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:253:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:276:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:304:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:335:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_section [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:418:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:436:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:460:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECMG_PARAM_ECMID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:535:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:556:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:584:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECMG_PARAM_CWENCRYPT [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:628:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg.c:485:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bitstream-1.6/examples/dvb_ecmg.c:475:9: error: Common realloc mistake: 'pp_streams' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_ecmg.c:659:9: error: Common realloc mistake: 'p_tlv_h' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_ecmg.c:148:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:179:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:203:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:229:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:255:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:278:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:306:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg.c:329:39: style: Parameter 'ppi_cw' can be declared as const array [constParameter] bitstream-1.6/examples/dvb_ecmg.c:103:51: portability: 'p_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bitstream-1.6/examples/dvb_ecmg.c:129:41: portability: 'p_buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bitstream-1.6/examples/dvb_ecmg_test.c:89:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:114:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:130:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:179:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:205:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:232:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLV_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:329:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:362:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:397:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECMG_PARAM_ECMID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:424:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:436:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:465:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:488:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:301:5: error: Common realloc mistake: 'pp_streams' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_ecmg_test.c:524:9: error: Common realloc mistake: 'p_tlv_h' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_ecmg_test.c:190:33: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:308:23: note: Calling function 'send_stream_setup', 1st argument 'p_stream' value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:190:33: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:303:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:303:5: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:304:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:304:5: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:305:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:305:5: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:306:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:306:5: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:310:55: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:310:55: note: Null pointer dereference bitstream-1.6/examples/dvb_ecmg_test.c:132:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:155:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:181:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:207:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:234:14: style: Variable 'p_tlv_n' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:412:15: style: Variable 'p_stream' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:448:15: style: Variable 'p_stream' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_ecmg_test.c:87:51: portability: 'p_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bitstream-1.6/examples/dvb_ecmg_test.c:113:41: portability: 'p_buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bitstream-1.6/examples/dvb_ecmg_test.c:419:19: style: Variable 'p_stream' is assigned a value that is never used. [unreadVariable] bitstream-1.6/examples/dvb_gen_si.c:175:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:281:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:301:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC21_ENTRY_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:396:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:614:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:698:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:728:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:770:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:788:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC4A_LINKAGE_MOBILE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:802:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC4A_LINKAGE_EVENT [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:818:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC4A_LINKAGE_EXT_EVENT [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:902:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1044:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1071:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1093:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1121:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1178:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1208:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1250:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1275:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1305:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1331:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1381:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1522:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC6C_DATA_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1585:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC6D_DATA_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1667:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESC_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1738:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSI_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1780:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1833:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESCS_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1885:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESCS_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:1948:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2094:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2208:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2375:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2524:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2557:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2598:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RST_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2665:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSI_MAX_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:2992:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:3015:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:3095:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSI_MAX_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_gen_si.c:677:57: warning: Comparison of modulo result is predetermined, because it is always less than 2. [moduloAlwaysTrueFalse] bitstream-1.6/examples/dvb_gen_si.c:944:18: style: Variable 'first_item' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/dvb_print_si.c:161:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:198:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_old_pat_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:322:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:345:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_old_cat_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:383:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:406:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_old_tsdt_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:444:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSDT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:467:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_es [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:580:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_current_nit_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:613:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:676:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:714:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_current_sdt_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:747:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:776:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:835:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:860:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:885:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:910:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RST_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:935:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:974:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCTE35_NULL_COMMAND [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:985:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_current_ait_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:1031:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_next_ait_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:1142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TS_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:1169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:1190:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_print_si.c:265:21: error: Common realloc mistake: 'pp_sids' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_print_si.c:535:9: error: Common realloc mistake: 'pp_sids' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_print_si.c:695:9: error: Common realloc mistake: 'pp_bouquets' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_print_si.c:802:9: error: Common realloc mistake: 'pp_sids' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/dvb_print_si.c:147:12: warning: If memory allocation fails, then there is a possible null pointer dereference: psz_string [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:146:30: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:146:30: note: Assignment 'psz_string=malloc(i_length+1)', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:147:12: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:148:5: warning: If memory allocation fails, then there is a possible null pointer dereference: psz_string [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:146:30: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:146:30: note: Assignment 'psz_string=malloc(i_length+1)', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:148:5: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:267:21: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:267:21: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:268:36: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:268:36: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:273:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:273:17: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:274:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:264:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:274:17: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:537:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:537:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:538:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:538:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:539:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:539:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:540:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:540:24: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:556:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:534:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:556:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:697:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_bouquet [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assignment 'p_bouquet=malloc(sizeof(struct bouquet_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:697:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:698:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p_bouquet [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assignment 'p_bouquet=malloc(sizeof(struct bouquet_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:698:24: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:699:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p_bouquet [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assignment 'p_bouquet=malloc(sizeof(struct bouquet_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:699:24: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:703:28: warning: If memory allocation fails, then there is a possible null pointer dereference: p_bouquet [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:694:27: note: Assignment 'p_bouquet=malloc(sizeof(struct bouquet_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:703:28: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:804:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:804:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:805:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:805:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:806:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:806:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:807:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:807:24: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:815:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assuming allocation function fails bitstream-1.6/examples/dvb_print_si.c:801:23: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/dvb_print_si.c:815:9: note: Null pointer dereference bitstream-1.6/examples/dvb_print_si.c:1297:17: style: Local variable 'i' shadows outer variable [shadowVariable] bitstream-1.6/examples/dvb_print_si.c:1175:9: note: Shadowed declaration bitstream-1.6/examples/dvb_print_si.c:1297:17: note: Shadow variable bitstream-1.6/examples/dvb_print_si.c:1251:15: style: Variable 'psz_table' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/mpeg_print_pcr.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pp_old_pat_sections [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_print_pcr.c:172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_print_pcr.c:259:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TS_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_print_pcr.c:286:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_print_pcr.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAT_PID [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_print_pcr.c:125:21: error: Common realloc mistake: 'pp_sids' nulled but not freed upon failure [memleakOnRealloc] bitstream-1.6/examples/mpeg_print_pcr.c:127:21: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assuming allocation function fails bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/mpeg_print_pcr.c:127:21: note: Null pointer dereference bitstream-1.6/examples/mpeg_print_pcr.c:132:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assuming allocation function fails bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/mpeg_print_pcr.c:132:17: note: Null pointer dereference bitstream-1.6/examples/mpeg_print_pcr.c:133:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_sid [nullPointerOutOfMemory] bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assuming allocation function fails bitstream-1.6/examples/mpeg_print_pcr.c:124:35: note: Assignment 'p_sid=malloc(sizeof(struct sid_t))', assigned value is 0 bitstream-1.6/examples/mpeg_print_pcr.c:133:17: note: Null pointer dereference bitstream-1.6/examples/mpeg_print_pcr.c:189:12: style: Variable 'p_sid' can be declared as pointer to const [constVariablePointer] bitstream-1.6/examples/mpeg_restamp.c:64:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_restamp.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/mpeg_restamp.c:132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TS_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/rtp_check_seqnum.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/rtp_check_seqnum.c:61:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTP_HEADER_SIZE [valueFlowBailoutIncompleteVar] bitstream-1.6/examples/dvb_ecmg_test.c:190:33: warning: If memory allocation fails, then there is a possible null pointer dereference: p_stream [ctunullpointerOutOfMemory] bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assuming allocation function fails bitstream-1.6/examples/dvb_ecmg_test.c:300:32: note: Assignment 'p_stream=malloc(sizeof(struct stream_t))', assigned value is 0 bitstream-1.6/examples/dvb_ecmg_test.c:308:22: note: Calling function send_stream_setup, 1st argument is null bitstream-1.6/examples/dvb_ecmg_test.c:190:33: note: Dereferencing argument p_stream that is null diff: DONE