2025-05-06 11:16 ftp://ftp.de.debian.org/debian/pool/main/m/mumudvb/mumudvb_2.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: ca3f092 (2025-05-06 12:26:46 +0200) count: 336 334 elapsed-time: 3.9 3.9 head-timing-info: old-timing-info: head results: MuMuDVB-2.1.0/src/autoconf_atsc.c:142:11: style: Local variable 'i' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_atsc.c:100:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_atsc.c:142:11: note: Shadow variable MuMuDVB-2.1.0/src/autoconf_atsc.c:170:10: style: Local variable 'i' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_atsc.c:100:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_atsc.c:170:10: note: Shadow variable MuMuDVB-2.1.0/src/autoconf_nit.c:196:8: style: Condition '!descriptor_len' is always false [knownConditionTrueFalse] MuMuDVB-2.1.0/src/autoconf_nit.c:194:42: note: Assignment 'descriptor_len=buf[1]+2', assigned value is greater than 1 MuMuDVB-2.1.0/src/autoconf_nit.c:196:8: note: Condition '!descriptor_len' is always false MuMuDVB-2.1.0/src/autoconf_nit.c:144:13: style: Variable 'middle' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_nit.c:176:12: style: Variable 'descr_header' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_nit.c:245:13: style: Variable 'lcn' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf.c:108:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable autoconf_ip4 [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/autoconf.c:274:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/autoconf.c:592:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FE_ATSC [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/autoconf_pat.c:311:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/autoconf_pat.c:113:25: style: Condition 'auto_p->pat_version!=-1' is always true [knownConditionTrueFalse] MuMuDVB-2.1.0/src/autoconf_pat.c:112:26: note: Assignment 'auto_p->pat_version=pat->version_number', assigned value is greater than -1 MuMuDVB-2.1.0/src/autoconf_pat.c:113:25: note: Condition 'auto_p->pat_version!=-1' is always true MuMuDVB-2.1.0/src/autoconf_pat.c:221:43: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/autoconf_sdt.c:224:7: style: Condition '!descriptor_len' is always false [knownConditionTrueFalse] MuMuDVB-2.1.0/src/autoconf_sdt.c:222:41: note: Assignment 'descriptor_len=buf[1]+2', assigned value is greater than 1 MuMuDVB-2.1.0/src/autoconf_sdt.c:224:7: note: Condition '!descriptor_len' is always false MuMuDVB-2.1.0/src/autoconf.c:135:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:140:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:158:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:168:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:179:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:191:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:197:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:209:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:220:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:235:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:251:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:252:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/autoconf.c:175:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/autoconf.c:186:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/autoconf.c:131:7: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/autoconf.c:353:44: style: Parameter 'auto_p' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/autoconf.c:462:65: style: Parameter 'auto_p' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/cam.c:132:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cam_support [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:249:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_RESET [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:271:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_GET_SLOT_INFO [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_GET_SLOT_INFO [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:678:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_LIST_MANAGEMENT_UPDATE [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:736:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:774:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:953:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_length [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:1022:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMI_DISPLAY_CONTROL_CMD_ID_SET_MMI_MODE [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/autoconf_pmt.c:400:15: style: Local variable 'found' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_pmt.c:354:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_pmt.c:400:15: note: Shadow variable MuMuDVB-2.1.0/src/autoconf_pmt.c:412:15: style: Local variable 'found' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_pmt.c:354:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_pmt.c:412:15: note: Shadow variable MuMuDVB-2.1.0/src/autoconf_pmt.c:60:9: style: Variable 'header' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_pmt.c:78:15: style: Variable 'ca_descriptor' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_pmt.c:179:13: style: Variable 'lng' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_pmt.c:276:11: style: Variable 'lng' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/autoconf_pmt.c:310:9: style: Variable 'header' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/log.c:932:4: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] MuMuDVB-2.1.0/src/dvb.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMX_IN_FRONTEND [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:127:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fe_status_t [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:239:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:342:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:404:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:445:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FE_GET_INFO [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/dvb.c:535:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/multicast.c:42:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multicast [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/multicast.c:151:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IF_NAMESIZE [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/cam.c:166:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:176:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:181:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:187:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:192:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:197:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:202:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:458:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/cam.c:591:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/cam.c:610:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/cam.c:612:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/cam.c:394:2: warning: If memory allocation fails, then there is a possible null pointer dereference: camthread_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/cam.c:393:45: note: Assuming allocation function fails MuMuDVB-2.1.0/src/cam.c:393:45: note: Assignment 'camthread_params=malloc(sizeof(struct camthread_params_t))', assigned value is 0 MuMuDVB-2.1.0/src/cam.c:394:2: note: Null pointer dereference MuMuDVB-2.1.0/src/cam.c:395:2: warning: If memory allocation fails, then there is a possible null pointer dereference: camthread_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/cam.c:393:45: note: Assuming allocation function fails MuMuDVB-2.1.0/src/cam.c:393:45: note: Assignment 'camthread_params=malloc(sizeof(struct camthread_params_t))', assigned value is 0 MuMuDVB-2.1.0/src/cam.c:395:2: note: Null pointer dereference MuMuDVB-2.1.0/src/multicast.c:67:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:72:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:77:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:82:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:87:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:99:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:118:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:137:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:143:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:161:77: style: Parameter 'substring' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/multicast.c:150:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/multicast.c:161:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/cam.c:163:7: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/multicast.c:106:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/multicast.c:125:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/multicast.c:157:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/multicast.c:168:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/multicast.c:63:8: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/cam.c:445:6: style: Variable 'now' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/cam.c:452:16: style: Variable 'status_new' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/dvb.c:208:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/dvb.c:331:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/dvb.c:544:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] MuMuDVB-2.1.0/src/dvb.c:590:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] MuMuDVB-2.1.0/src/dvb.c:445:7: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] MuMuDVB-2.1.0/src/dvb.c:393:17: style: Condition 'bytes_read>0' is always true [knownConditionTrueFalse] MuMuDVB-2.1.0/src/dvb.c:391:93: note: Assuming that condition '(bytes_read=read(fd_dvr,dest_buffer,188*card_buffer->dvr_buffer_size))>0' is not redundant MuMuDVB-2.1.0/src/dvb.c:393:17: note: Condition 'bytes_read>0' is always true MuMuDVB-2.1.0/src/dvb.c:53:34: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/dvb.c:223:22: style: Parameter 'base_path' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/dvb.c:223:53: style: Parameter 'asked_pid' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/dvb.c:274:45: style: Parameter 'fds' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/dvb.c:543:17: style: Variable 'd_adapter' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/dvb.c:570:17: style: Variable 'd_tuner' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/mumudvb_channels.c:62:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_common.c:66:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_common.c:124:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_common.c:244:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_common.c:299:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_common.c:133:4: error: Common realloc mistake: 'tempstring' nulled but not freed upon failure [memleakOnRealloc] MuMuDVB-2.1.0/src/mumudvb_common.c:197:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tempchar [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:197:10: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tempchar [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:198:2: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:217:17: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:199:22: note: Calling function 'string_mult', 1st argument 'tempchar' value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:217:17: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:222:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tempchar [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:222:10: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:222:19: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:196:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:199:22: note: Calling function 'string_mult', 1st argument 'tempchar' value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:218:12: note: Assuming condition is false MuMuDVB-2.1.0/src/mumudvb_common.c:222:19: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:223:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tempchar [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:223:2: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:224:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tempchar [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assuming allocation function fails MuMuDVB-2.1.0/src/mumudvb_common.c:221:17: note: Assignment 'tempchar=malloc(sizeof(char)*(len+1))', assigned value is 0 MuMuDVB-2.1.0/src/mumudvb_common.c:224:15: note: Null pointer dereference MuMuDVB-2.1.0/src/mumudvb_common.c:104:94: style: Parameter 'replacement' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_common.c:212:23: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_common.c:304:62: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_channels.c:128:9: style: Variable 'header' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/mumudvb_channels.c:203:55: style: Parameter 'auto_p' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_channels.c:263:55: style: Parameter 'auto_p' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_mon.c:80:51: debug: Function::addArguments found argument 'conf_filename' with varid 0. [varid0] MuMuDVB-2.1.0/src/mumudvb.c:314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_mon.c:114:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conf_filename [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_mon.c:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_test.c:222:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb_mon.c:754:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/mumudvb.c:400:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:411:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:483:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:488:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:493:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:498:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:512:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:524:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:534:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:547:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:563:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:593:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:614:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:615:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:618:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:625:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:630:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:640:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/mumudvb.c:319:6: style: The if condition is the same as the previous if condition [duplicateCondition] MuMuDVB-2.1.0/src/mumudvb.c:310:5: note: First condition MuMuDVB-2.1.0/src/mumudvb.c:319:6: note: Second condition MuMuDVB-2.1.0/src/mumudvb.c:659:23: style: The statement 'if (curr_channel_old!=ichan) curr_channel_old=ichan' is logically equivalent to 'curr_channel_old=ichan'. [duplicateConditionalAssign] MuMuDVB-2.1.0/src/mumudvb.c:661:21: note: Assignment 'curr_channel_old=ichan' MuMuDVB-2.1.0/src/mumudvb.c:659:23: note: Condition 'curr_channel_old!=ichan' is redundant MuMuDVB-2.1.0/src/network.c:54:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:67:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:87:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:174:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:246:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/network.c:347:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/mumudvb.c:866:8: style: Variable 'iRet' is reassigned a value before the old one has been used. [redundantAssignment] MuMuDVB-2.1.0/src/mumudvb.c:862:7: note: iRet is assigned MuMuDVB-2.1.0/src/mumudvb.c:866:8: note: iRet is overwritten MuMuDVB-2.1.0/src/mumudvb.c:1246:34: style: Variable 'cardthreadparams.main_waiting' is reassigned a value before the old one has been used. [redundantAssignment] MuMuDVB-2.1.0/src/mumudvb.c:1244:34: note: cardthreadparams.main_waiting is assigned MuMuDVB-2.1.0/src/mumudvb.c:1246:34: note: cardthreadparams.main_waiting is overwritten MuMuDVB-2.1.0/src/mumudvb_test.c:184:40: portability: Undefined behaviour, pointer arithmetic 'ts_packet_raw-1' is out of bounds. [pointerOutOfBounds] MuMuDVB-2.1.0/src/network.c:48:38: style: Parameter 'sSockAddr' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/network.c:48:64: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/network.c:61:40: style: Parameter 'sSockAddr' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/network.c:61:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_test.c:295:30: style: Local variable 'multicast_vars' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/mumudvb_test.c:72:24: note: Shadowed declaration MuMuDVB-2.1.0/src/mumudvb_test.c:295:30: note: Shadow variable MuMuDVB-2.1.0/src/network.c:163:20: style: Parameter 'szAddr' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/mumudvb_test.c:363:15: style: Local variable 'testfile' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/mumudvb_test.c:270:11: note: Shadowed declaration MuMuDVB-2.1.0/src/mumudvb_test.c:363:15: note: Shadow variable MuMuDVB-2.1.0/src/mumudvb_test.c:119:9: style: Variable 'ip0' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/mumudvb_test.c:139:9: style: Variable 'ip1' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/network.c:92:41: style: Variable 'sin.sin_family' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/network.c:93:37: style: Variable 'sin.sin_port' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/network.c:179:43: style: Variable 'sin.sin6_family' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/network.c:180:39: style: Variable 'sin.sin6_port' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/mumudvb_test.c:321:14: style: Variable 'iret' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/mumudvb_test.c:341:14: style: Variable 'iret' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/mumudvb_test.c:121:8: style: Unused variable: ipd [unusedVariable] MuMuDVB-2.1.0/src/rewrite.c:48:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rewrite_pmt [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/rewrite.c:84:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/rewrite_eit.c:153:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/rewrite_eit.c:300:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/rewrite.c:144:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:156:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:168:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:181:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:193:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:205:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/rewrite.c:139:74: style: Parameter 'substring' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/rewrite.c:141:7: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/rewrite_pat.c:278:26: style: Condition 'pat_channel_rewrite(rewrite_vars,channel,ts_packet,curr_channel)' is always true [knownConditionTrueFalse] MuMuDVB-2.1.0/src/rewrite_pat.c:278:26: note: Calling function 'pat_channel_rewrite' returns 1 MuMuDVB-2.1.0/src/rewrite_pat.c:278:26: note: Condition 'pat_channel_rewrite(rewrite_vars,channel,ts_packet,curr_channel)' is always true MuMuDVB-2.1.0/src/rewrite_pat.c:108:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/rewrite_pat.c:237:17: style: Variable 'pat' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/rewrite_eit.c:390:23: style: Variable 'pkt_to_send' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/rewrite_pmt.c:118:14: style: Variable 'pmt_info' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/rewrite_pmt.c:124:35: style: Variable 'elem_pid' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/rewrite_pmt.c:127:22: style: Variable 'new_es_info_len' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/rewrite_pmt.c:129:15: style: Variable 'j' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/rewrite_pmt.c:168:21: style: Variable 'new_es_info_len' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/scam_capmt.c:67:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_capmt.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:111:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:112:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:113:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:113:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:114:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:114:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:116:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:116:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:117:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:118:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:118:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:119:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:121:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:123:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:123:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:124:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:124:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:125:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:125:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:126:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:126:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:128:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:128:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:129:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:129:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:134:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: caPMT [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:135:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_capmt.c:131:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:131:16: note: Null pointer addition MuMuDVB-2.1.0/src/scam_capmt.c:60:68: style: Parameter 'scam_params' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/sap.c:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sap_messages4 [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/sap.c:184:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/sap.c:312:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/sap.c:490:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/rewrite_sdt.c:49:57: style: Parameter 'rewrite_vars' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/rewrite_sdt.c:141:16: style: Variable 'sdt_descr' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/scam_common.c:138:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_common.c:203:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scam_support [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_common.c:225:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ring_buffer_t [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_common.c:89:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:102:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:109:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:116:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:128:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:154:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:165:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:178:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/scam_common.c:269:50: style:inconclusive: Function 'scam_new_packet' argument 2 names different: declaration 'channels' definition 'actual_channel'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/scam_common.h:84:50: note: Function 'scam_new_packet' argument 2 names different: declaration 'channels' definition 'actual_channel'. MuMuDVB-2.1.0/src/scam_common.c:269:50: note: Function 'scam_new_packet' argument 2 names different: declaration 'channels' definition 'actual_channel'. MuMuDVB-2.1.0/src/scam_common.c:84:92: style: Parameter 'substring' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/scam_common.c:86:8: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/scam_common.c:196:46: style: Parameter 'scam_vars' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/scam_decsa.c:94:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dvbcsa_bs_batch_s [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_decsa.c:181:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/sap.c:72:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:85:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:90:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:96:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:97:35: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:105:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:106:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:113:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:124:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:142:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:154:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/sap.c:120:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/sap.c:131:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/sap.c:45:26: style:inconclusive: Function 'init_sap_v' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:109:26: note: Function 'init_sap_v' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:45:26: note: Function 'init_sap_v' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:67:37: style:inconclusive: Function 'read_sap_configuration' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:113:37: note: Function 'read_sap_configuration' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:67:37: note: Function 'read_sap_configuration' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:174:23: style:inconclusive: Function 'init_sap' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:110:23: note: Function 'init_sap' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:174:23: note: Function 'init_sap' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:225:24: style:inconclusive: Function 'sap_send' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:111:24: note: Function 'sap_send' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:225:24: note: Function 'sap_send' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:250:53: style:inconclusive: Function 'sap_update' argument 2 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:112:53: note: Function 'sap_update' argument 2 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:250:53: note: Function 'sap_update' argument 2 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:625:24: style:inconclusive: Function 'sap_poll' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/sap.h:114:24: note: Function 'sap_poll' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:625:24: note: Function 'sap_poll' argument 1 names different: declaration 'sap_vars' definition 'sap_p'. MuMuDVB-2.1.0/src/sap.c:69:7: style: Variable 'delimiteurs' can be declared as const array [constVariable] MuMuDVB-2.1.0/src/sap.c:514:15: style: Variable 's6' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/scam_getcw.c:103:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ca_descr_t [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_send.c:178:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_RR [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/scam_send.c:89:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/scam_send.c:107:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/scam_send.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_send.c:182:46: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_send.c:182:46: note: Assignment 'thread_params=malloc(sizeof(struct scam_sendthread_p_t))', assigned value is 0 MuMuDVB-2.1.0/src/scam_send.c:183:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_send.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: thread_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_send.c:182:46: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_send.c:182:46: note: Assignment 'thread_params=malloc(sizeof(struct scam_sendthread_p_t))', assigned value is 0 MuMuDVB-2.1.0/src/scam_send.c:184:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_getcw.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: getcw_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_getcw.c:73:38: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_getcw.c:73:38: note: Assignment 'getcw_params=malloc(sizeof(struct getcw_params_t))', assigned value is 0 MuMuDVB-2.1.0/src/scam_getcw.c:74:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_getcw.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: getcw_params [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/scam_getcw.c:73:38: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_getcw.c:73:38: note: Assignment 'getcw_params=malloc(sizeof(struct getcw_params_t))', assigned value is 0 MuMuDVB-2.1.0/src/scam_getcw.c:75:3: note: Null pointer dereference MuMuDVB-2.1.0/src/scam_getcw.c:102:20: style: Variable 'curr_channel' is assigned a value that is never used. [unreadVariable] MuMuDVB-2.1.0/src/scam_decsa.c:157:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/scam_decsa.c:164:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/scam_decsa.c:65:59: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/tune.c:67:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable card [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSMISSION_MODE_2K [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:662:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FE_HAS_SIGNAL [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:708:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FE_SET_VOLTAGE [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:806:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEC_VOLTAGE_OFF [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:1032:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FE_READ_STATUS [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/tune.c:1166:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dvb_frontend_parameters [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/ts.c:713:7: style: Condition '!descriptor_len' is always false [knownConditionTrueFalse] MuMuDVB-2.1.0/src/ts.c:711:41: note: Assignment 'descriptor_len=buf[1]+2', assigned value is greater than 1 MuMuDVB-2.1.0/src/ts.c:713:7: note: Condition '!descriptor_len' is always false MuMuDVB-2.1.0/src/ts.c:754:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/ts.c:753:13: note: Assuming allocation function fails MuMuDVB-2.1.0/src/ts.c:753:13: note: Assignment 'dest=malloc(sizeof(char)*(descriptor_len+1))', assigned value is 0 MuMuDVB-2.1.0/src/ts.c:754:10: note: Null pointer dereference MuMuDVB-2.1.0/src/ts.c:755:2: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/ts.c:753:13: note: Assuming allocation function fails MuMuDVB-2.1.0/src/ts.c:753:13: note: Assignment 'dest=malloc(sizeof(char)*(descriptor_len+1))', assigned value is 0 MuMuDVB-2.1.0/src/ts.c:755:2: note: Null pointer dereference MuMuDVB-2.1.0/src/ts.c:798:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/ts.c:797:14: note: Assuming allocation function fails MuMuDVB-2.1.0/src/ts.c:797:14: note: Assignment 'dest=malloc(sizeof(char)*(name_len+1))', assigned value is 0 MuMuDVB-2.1.0/src/ts.c:798:11: note: Null pointer dereference MuMuDVB-2.1.0/src/ts.c:799:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] MuMuDVB-2.1.0/src/ts.c:797:14: note: Assuming allocation function fails MuMuDVB-2.1.0/src/ts.c:797:14: note: Assignment 'dest=malloc(sizeof(char)*(name_len+1))', assigned value is 0 MuMuDVB-2.1.0/src/ts.c:799:3: note: Null pointer dereference MuMuDVB-2.1.0/src/ts.c:393:48: style:inconclusive: Function 'ts_move_part_to_full' argument 1 names different: declaration 'ts_packet' definition 'pkt'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/ts.c:41:48: note: Function 'ts_move_part_to_full' argument 1 names different: declaration 'ts_packet' definition 'pkt'. MuMuDVB-2.1.0/src/ts.c:393:48: note: Function 'ts_move_part_to_full' argument 1 names different: declaration 'ts_packet' definition 'pkt'. MuMuDVB-2.1.0/src/ts.c:451:42: style:inconclusive: Function 'ts_check_crc32' argument 1 names different: declaration 'ts_packet' definition 'packet'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/ts.c:42:42: note: Function 'ts_check_crc32' argument 1 names different: declaration 'ts_packet' definition 'packet'. MuMuDVB-2.1.0/src/ts.c:451:42: note: Function 'ts_check_crc32' argument 1 names different: declaration 'ts_packet' definition 'packet'. MuMuDVB-2.1.0/src/ts.c:472:43: style:inconclusive: Function 'ts_partial_full' argument 1 names different: declaration 'ts_packet' definition 'packet'. [funcArgNamesDifferent] MuMuDVB-2.1.0/src/ts.c:43:43: note: Function 'ts_partial_full' argument 1 names different: declaration 'ts_packet' definition 'packet'. MuMuDVB-2.1.0/src/ts.c:472:43: note: Function 'ts_partial_full' argument 1 names different: declaration 'ts_packet' definition 'packet'. MuMuDVB-2.1.0/src/ts.c:271:13: style: Variable 'tbl_struct' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/ts.c:337:14: style: Variable 'tbl_struct' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/ts.c:429:11: style: Variable 'tbl_struct' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/ts.c:567:9: style: Variable 'header' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/ts.c:618:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/ts.c:683:30: style: Variable 'descr' can be declared as pointer to const [constVariablePointer] MuMuDVB-2.1.0/src/unicast_EIT.c:270:7: style: Condition '!descriptor_len' is always false [knownConditionTrueFalse] MuMuDVB-2.1.0/src/unicast_EIT.c:261:45: note: Assignment 'descriptor_len=((int)descriptor_len_u8)+2', assigned value is greater than 1 MuMuDVB-2.1.0/src/unicast_EIT.c:270:7: note: Condition '!descriptor_len' is always false MuMuDVB-2.1.0/src/unicast_EIT.c:69:32: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/unicast_clients.c:93:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_http.c:1053:48: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] MuMuDVB-2.1.0/src/unicast_queue.c:99:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_queue.c:244:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_queue.c:339:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_monit.c:363:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_monit.c:680:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] MuMuDVB-2.1.0/src/unicast_monit.c:568:9: style: Unused variable: scam_vars [unusedVariable] MuMuDVB-2.1.0/src/unicast_queue.c:235:75: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/unicast_queue.c:324:74: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] MuMuDVB-2.1.0/src/tune.c:122:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:133:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:145:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:152:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:158:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:184:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:189:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:203:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:208:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:213:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:218:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:223:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:229:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:242:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:247:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:252:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:264:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:294:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:346:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:381:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:503:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:544:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:549:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:571:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:638:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:639:38: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] MuMuDVB-2.1.0/src/tune.c:1350:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] MuMuDVB-2.1.0/src/tune.c:1169:7: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] MuMuDVB-2.1.0/src/tune.c:265:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/tune.c:295:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/tune.c:347:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/tune.c:382:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] MuMuDVB-2.1.0/src/tune.c:119:7: style: Variable 'delimiteurs' can be declared as const array [constVariable] diff: head MuMuDVB-2.1.0/src/autoconf_pmt.c:400:15: style: Local variable 'found' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_pmt.c:354:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_pmt.c:400:15: note: Shadow variable head MuMuDVB-2.1.0/src/autoconf_pmt.c:412:15: style: Local variable 'found' shadows outer variable [shadowVariable] MuMuDVB-2.1.0/src/autoconf_pmt.c:354:6: note: Shadowed declaration MuMuDVB-2.1.0/src/autoconf_pmt.c:412:15: note: Shadow variable 2.17.0 MuMuDVB-2.1.0/src/scam_capmt.c:131:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:131:16: note: Null pointer addition head MuMuDVB-2.1.0/src/scam_capmt.c:131:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] MuMuDVB-2.1.0/src/scam_capmt.c:108:32: note: Assuming allocation function fails MuMuDVB-2.1.0/src/scam_capmt.c:108:17: note: Assignment 'caPMT=(char*)calloc(1024,1)', assigned value is 0 MuMuDVB-2.1.0/src/scam_capmt.c:131:16: note: Null pointer addition DONE