2026-05-04 06:23 ftp://ftp.de.debian.org/debian/pool/main/p/pd-pdogg/pd-pdogg_0.25.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 77 81 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: pdogg-0.25.1/oggamp~.c:516:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggamp~.c:1020:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggamp~.c:1338:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_n [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggamp~.c:1411:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggamp~.c:1423:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_GIMME [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggamp~.c:517:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pdogg-0.25.1/oggamp~.c:601:20: style: Condition 'request[i]==0x0A' is always false [knownConditionTrueFalse] pdogg-0.25.1/oggamp~.c:1260:10: warning: Either the condition 'h==NULL' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck] pdogg-0.25.1/oggamp~.c:1255:8: note: Assuming that condition 'h==NULL' is not redundant pdogg-0.25.1/oggamp~.c:1260:10: note: Null pointer dereference pdogg-0.25.1/oggamp~.c:1279:10: warning: Either the condition 'p0==NULL' is redundant or there is possible null pointer dereference: p0. [nullPointerRedundantCheck] pdogg-0.25.1/oggamp~.c:1273:9: note: Assuming that condition 'p0==NULL' is not redundant pdogg-0.25.1/oggamp~.c:1279:10: note: Null pointer dereference pdogg-0.25.1/oggamp~.c:505:22: style: Variable 'cpoint' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1180:15: style: Variable 'hostsym' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1181:15: style: Variable 'mountsym' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1210:55: style: Parameter 'url' can be declared as pointer to const. However it seems that 'oggamp_connect_url' is a callback function, if 'url' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdogg-0.25.1/oggamp~.c:1424:45: note: You might need to cast the function pointer here pdogg-0.25.1/oggamp~.c:1210:55: note: Parameter 'url' can be declared as pointer to const pdogg-0.25.1/oggamp~.c:1212:16: style: Variable 'port' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1214:8: style: Variable 'hostptr' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1215:8: style: Variable 'r_hostptr' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:1217:8: style: Variable 'portptr' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggamp~.c:203:8: style: Unused variable: i [unusedVariable] pdogg-0.25.1/oggamp~.c:503:41: style: Variable 'numrelocs' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggamp~.c:504:43: style: Variable 'nanswers' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggamp~.c:499:19: style: Unused variable: url [unusedVariable] pdogg-0.25.1/oggamp~.c:503:21: style: Unused variable: relocate [unusedVariable] pdogg-0.25.1/oggamp~.c:504:29: style: Unused variable: rest [unusedVariable] pdogg-0.25.1/oggamp~.c:505:22: style: Variable 'cpoint' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggamp~.c:899:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggamp~.c:730:9: style: Unused variable: buffer [unusedVariable] pdogg-0.25.1/oggamp~.c:744:16: style: Unused variable: wantbytes [unusedVariable] pdogg-0.25.1/oggamp~.c:1070:67: style: Unused variable: r [unusedVariable] pdogg-0.25.1/oggamp~.c:1076:23: style: Unused variable: getbytes [unusedVariable] pdogg-0.25.1/oggamp~.c:1076:44: style: Unused variable: nchannels [unusedVariable] pdogg-0.25.1/oggcast~.c:517:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggcast~.c:1014:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggcast~.c:1232:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_n [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggcast~.c:1433:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggcast~.c:1459:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_GIMME [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggcast~.c:518:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pdogg-0.25.1/oggcast~.c:856:38: style: Local variable 'fifotail' shadows outer variable [shadowVariable] pdogg-0.25.1/oggcast~.c:755:14: note: Shadowed declaration pdogg-0.25.1/oggcast~.c:856:38: note: Shadow variable pdogg-0.25.1/oggcast~.c:448:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:493:40: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:494:16: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:494:30: style: Parameter 'bcname' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:494:44: style: Parameter 'bcurl' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:495:16: style: Parameter 'bcgenre' can be declared as pointer to const [constParameterPointer] pdogg-0.25.1/oggcast~.c:1168:15: style: Variable 'hostsym' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggcast~.c:1169:15: style: Variable 'mountsym' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggcast~.c:1242:54: style: Parameter 'password' can be declared as pointer to const. However it seems that 'oggcast_password' is a callback function, if 'password' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdogg-0.25.1/oggcast~.c:1461:46: note: You might need to cast the function pointer here pdogg-0.25.1/oggcast~.c:1242:54: note: Parameter 'password' can be declared as pointer to const pdogg-0.25.1/oggcast~.c:249:21: style: Unused variable: fdset [unusedVariable] pdogg-0.25.1/oggcast~.c:278:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggcast~.c:310:10: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggcast~.c:451:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggcast~.c:450:20: style: Unused variable: i [unusedVariable] pdogg-0.25.1/oggcast~.c:503:21: style: Unused variable: len [unusedVariable] pdogg-0.25.1/oggcast~.c:768:16: style: Unused variable: wantbytes [unusedVariable] pdogg-0.25.1/oggread~.c:218:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_vec [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggread~.c:330:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggread~.c:361:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggread~.c:383:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggread~.c:411:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_SYMBOL [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggread~.c:207:30: style: Condition 'oggread_decode_input(x)!=1' is always false [knownConditionTrueFalse] pdogg-0.25.1/oggread~.c:207:26: note: Calling function 'oggread_decode_input' returns 1 pdogg-0.25.1/oggread~.c:207:30: note: Condition 'oggread_decode_input(x)!=1' is always false pdogg-0.25.1/oggread~.c:296:50: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] pdogg-0.25.1/oggread~.c:155:24: warning: Uninitialized variable: ret [uninitvar] pdogg-0.25.1/oggread~.c:120:8: note: Assuming condition is false pdogg-0.25.1/oggread~.c:155:24: note: Uninitialized variable: ret pdogg-0.25.1/oggread~.c:171:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggread~.c:170:6: style: Unused variable: ret [unusedVariable] pdogg-0.25.1/oggwrite~.c:294:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_vec [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:472:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:508:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:691:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_float [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:704:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:742:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_SYMBOL [valueFlowBailoutIncompleteVar] pdogg-0.25.1/oggwrite~.c:239:14: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggwrite~.c:240:14: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] pdogg-0.25.1/oggwrite~.c:142:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggwrite~.c:183:20: style: Unused variable: i [unusedVariable] pdogg-0.25.1/oggwrite~.c:300:10: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggwrite~.c:537:10: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdogg-0.25.1/oggwrite~.c:551:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diff: 2.20.0 pdogg-0.25.1/oggamp~.c:1076:55: style: Variable 'streamchannels' is assigned a value that is never used. [unreadVariable] 2.20.0 pdogg-0.25.1/oggamp~.c:1261:5: warning: Either the condition 'h==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pdogg-0.25.1/oggamp~.c:1255:8: note: Assuming that condition 'h==NULL' is not redundant pdogg-0.25.1/oggamp~.c:1261:5: note: Null pointer addition 2.20.0 pdogg-0.25.1/oggamp~.c:1280:7: warning: Either the condition 'p0==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pdogg-0.25.1/oggamp~.c:1273:9: note: Assuming that condition 'p0==NULL' is not redundant pdogg-0.25.1/oggamp~.c:1280:7: note: Null pointer addition 2.20.0 pdogg-0.25.1/oggamp~.c:1282:16: warning: Either the condition 'p0==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] pdogg-0.25.1/oggamp~.c:1273:9: note: Assuming that condition 'p0==NULL' is not redundant pdogg-0.25.1/oggamp~.c:1282:11: note: Assignment 'p=p0', assigned value is 0 pdogg-0.25.1/oggamp~.c:1282:16: note: Null pointer dereference DONE