2025-05-05 20:06 ftp://ftp.de.debian.org/debian/pool/main/libm/libmpd/libmpd_11.8.17.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: 581f101 (2025-05-05 21:13:30 +0200) count: 236 236 elapsed-time: 2.4 2.5 head-timing-info: old-timing-info: head results: libmpd-11.8.17/src/debug_printf.c:58:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libmpd-11.8.17/example/testcase/testcase.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_CST_SONGID [valueFlowBailoutIncompleteVar] libmpd-11.8.17/example/testcase/testcase.c:131:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] libmpd-11.8.17/example/testcase/testcase.c:263:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libmpd-11.8.17/example/testcase/testcase.c:36:29: style: Parameter 'mi' can be declared as pointer to const. However it seems that 'error_callback' is a callback function, if 'mi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmpd-11.8.17/example/testcase/testcase.c:142:46: note: You might need to cast the function pointer here libmpd-11.8.17/example/testcase/testcase.c:36:29: note: Parameter 'mi' can be declared as pointer to const libmpd-11.8.17/example/testcase/testcase.c:36:51: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'error_callback' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmpd-11.8.17/example/testcase/testcase.c:142:46: note: You might need to cast the function pointer here libmpd-11.8.17/example/testcase/testcase.c:36:51: note: Parameter 'msg' can be declared as pointer to const libmpd-11.8.17/example/testcase/testcase.c:36:62: style: Parameter 'userdata' can be declared as pointer to const. However it seems that 'error_callback' is a callback function, if 'userdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmpd-11.8.17/example/testcase/testcase.c:142:46: note: You might need to cast the function pointer here libmpd-11.8.17/example/testcase/testcase.c:36:62: note: Parameter 'userdata' can be declared as pointer to const libmpd-11.8.17/example/testcase/testcase.c:45:13: style: Variable 'song' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/example/testcase/testcase.c:127:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpd-player.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:131:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:255:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:283:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:295:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:312:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:324:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:357:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:377:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-player.c:391:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:70:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:296:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:436:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:492:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:556:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:614:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:665:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:702:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:739:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:814:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:847:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:887:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:915:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:937:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:961:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:1001:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:1027:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:1051:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-database.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assuming allocation function fails libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assignment 'array=malloc(length*sizeof(char*))', assigned value is 0 libmpd-11.8.17/src/libmpd-database.c:267:3: note: Null pointer dereference libmpd-11.8.17/src/libmpd-database.c:272:8: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assuming allocation function fails libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assignment 'array=malloc(length*sizeof(char*))', assigned value is 0 libmpd-11.8.17/src/libmpd-database.c:272:8: note: Null pointer dereference libmpd-11.8.17/src/libmpd-database.c:279:15: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assuming allocation function fails libmpd-11.8.17/src/libmpd-database.c:262:16: note: Assignment 'array=malloc(length*sizeof(char*))', assigned value is 0 libmpd-11.8.17/src/libmpd-database.c:279:15: note: Null pointer dereference libmpd-11.8.17/src/libmpd-database.c:964:10: warning: Char literal compared with pointer 'path'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] libmpd-11.8.17/src/libmpd-playlist.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:241:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:276:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:299:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:322:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:366:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:419:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:506:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:540:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:602:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:631:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:661:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:688:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:726:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-playlist.c:777:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:348:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:383:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:398:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:414:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:429:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:444:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:491:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:506:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:521:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:536:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:560:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:571:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:587:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:602:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:630:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:645:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:687:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:717:48: style:inconclusive: Boolean expression 'mi->the_status_changed_callback!=NULL' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] libmpd-11.8.17/src/libmpd-sticker.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-sticker.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd-status.c:547:41: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:126:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:176:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:253:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:264:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:275:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:315:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:332:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:353:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:400:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:464:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:523:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:615:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:742:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:754:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:765:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:934:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:967:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1015:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1033:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1069:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1096:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1173:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1218:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1256:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1288:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:133:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:264:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:418:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:487:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:558:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpdclient.c:643:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libmpd-11.8.17/src/libmpd.c:1184:9: error: Common realloc mistake: 'retv' nulled but not freed upon failure [memleakOnRealloc] libmpd-11.8.17/src/libmpd.c:453:11: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpd.c:452:17: note: Assuming allocation function fails libmpd-11.8.17/src/libmpd.c:452:17: note: Assignment 'retval=malloc(10*sizeof(char))', assigned value is 0 libmpd-11.8.17/src/libmpd.c:453:11: note: Null pointer dereference libmpd-11.8.17/src/libmpd.c:455:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpd.c:452:17: note: Assuming allocation function fails libmpd-11.8.17/src/libmpd.c:452:17: note: Assignment 'retval=malloc(10*sizeof(char))', assigned value is 0 libmpd-11.8.17/src/libmpd.c:455:2: note: Null pointer dereference libmpd-11.8.17/src/libmpd.c:1004:15: warning: Either the condition 'mi->queue!=NULL' is redundant or there is possible null pointer dereference: mi->queue. [nullPointerRedundantCheck] libmpd-11.8.17/src/libmpd.c:1000:18: note: Assuming that condition 'mi->queue!=NULL' is not redundant libmpd-11.8.17/src/libmpd.c:1004:15: note: Null pointer dereference libmpd-11.8.17/src/libmpd.c:689:16: style: Local variable 'retv' shadows outer variable [shadowVariable] libmpd-11.8.17/src/libmpd.c:611:9: note: Shadowed declaration libmpd-11.8.17/src/libmpd.c:689:16: note: Shadow variable libmpd-11.8.17/src/libmpd.c:279:50: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:302:39: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:311:40: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:727:33: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:929:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:1196:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:1238:33: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpd.c:711:10: style: Variable 'retv' is assigned a value that is never used. [unreadVariable] libmpd-11.8.17/src/libmpd-strfsong.c:183:34: style: Expression is always false because 'else if' condition matches previous condition at line 171. [multiCondition] libmpd-11.8.17/src/libmpd-strfsong.c:191:9: style: Local variable 'length' shadows outer variable [shadowVariable] libmpd-11.8.17/src/libmpd-strfsong.c:66:18: note: Shadowed declaration libmpd-11.8.17/src/libmpd-strfsong.c:191:9: note: Shadow variable libmpd-11.8.17/src/libmpd-strfsong.c:203:9: style: Local variable 'i' shadows outer variable [shadowVariable] libmpd-11.8.17/src/libmpd-strfsong.c:67:6: note: Shadowed declaration libmpd-11.8.17/src/libmpd-strfsong.c:203:9: note: Shadow variable libmpd-11.8.17/src/libmpd-strfsong.c:205:21: style: Local variable 'found' shadows outer variable [shadowVariable] libmpd-11.8.17/src/libmpd-strfsong.c:68:12: note: Shadowed declaration libmpd-11.8.17/src/libmpd-strfsong.c:205:21: note: Shadow variable libmpd-11.8.17/src/libmpd-strfsong.c:223:9: style: Local variable 'length' shadows outer variable [shadowVariable] libmpd-11.8.17/src/libmpd-strfsong.c:66:18: note: Shadowed declaration libmpd-11.8.17/src/libmpd-strfsong.c:223:9: note: Shadow variable libmpd-11.8.17/src/libmpd-strfsong.c:64:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:257:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libmpd-11.8.17/src/libmpdclient.c:557:11: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] libmpd-11.8.17/src/libmpdclient.c:638:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] libmpd-11.8.17/src/libmpdclient.c:1234:25: style: Condition 'entity->info.song->genre' is always false [knownConditionTrueFalse] libmpd-11.8.17/src/libmpdclient.c:1232:12: note: Assuming that condition '!entity->info.song->genre' is not redundant libmpd-11.8.17/src/libmpdclient.c:1234:25: note: Condition 'entity->info.song->genre' is always false libmpd-11.8.17/src/libmpdclient.c:375:13: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:514:17: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:514:17: note: Assignment 'output=strdup(connection->buffer)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:518:43: note: Calling function 'mpd_parseWelcome', 4th argument 'output' value is 0 libmpd-11.8.17/src/libmpdclient.c:375:13: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:543:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2085:26: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2085:26: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2087:36: note: Calling function 'mpd_executeCommand', 2nd argument 'string' value is 0 libmpd-11.8.17/src/libmpdclient.c:543:26: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1339:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1338:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1338:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1339:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1347:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1346:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1346:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1347:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1355:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1354:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1354:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1355:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1363:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1362:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1362:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1363:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1372:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1371:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1371:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1372:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1382:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1381:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1381:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1382:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1392:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1391:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1391:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1392:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1435:12: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1434:18: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1434:18: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1435:12: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1441:12: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1440:18: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1440:18: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1441:12: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1451:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1450:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1450:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1451:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1464:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1462:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1462:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1464:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1481:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1480:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1480:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1481:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1489:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1488:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1488:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1489:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1498:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1497:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1497:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1498:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1508:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1507:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1507:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1508:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1518:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1517:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1517:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1518:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1531:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1530:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1530:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1531:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1549:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1548:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1548:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1549:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1557:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1556:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1556:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1557:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1569:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1568:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1568:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1569:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1581:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1580:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1580:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1581:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1589:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1588:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1588:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1589:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1597:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1596:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1596:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1597:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1605:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1604:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1604:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1605:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1613:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1612:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1612:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1613:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1621:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1620:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1620:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1621:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1630:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1629:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1629:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1630:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1656:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1655:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1655:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1656:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1664:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1663:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1663:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1664:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1672:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1671:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1671:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1672:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1680:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1679:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1679:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1680:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1688:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1687:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1687:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1688:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1696:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1695:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1695:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1696:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1705:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1704:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1704:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1705:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1756:2: warning: Either the condition 'output!=NULL' is redundant or there is possible null pointer dereference: output. [nullPointerRedundantCheck] libmpd-11.8.17/src/libmpdclient.c:1763:13: note: Assuming that condition 'output!=NULL' is not redundant libmpd-11.8.17/src/libmpdclient.c:1756:2: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1764:4: warning: Either the condition 'output!=NULL' is redundant or there is possible null pointer dereference: output. [nullPointerRedundantCheck] libmpd-11.8.17/src/libmpdclient.c:1763:13: note: Assuming that condition 'output!=NULL' is not redundant libmpd-11.8.17/src/libmpdclient.c:1764:4: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1786:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1785:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1785:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1786:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1794:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1793:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1793:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1794:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1942:15: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1938:17: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1938:17: note: Assignment 'string=strdup(connection->request)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1942:15: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1945:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1938:17: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1938:17: note: Assignment 'string=strdup(connection->request)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1945:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1983:11: warning: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:1982:22: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:1982:22: note: Assignment 'query=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:1983:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2001:11: warning: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2000:22: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2000:22: note: Assignment 'query=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2001:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2012:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2011:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2011:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2012:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2025:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2024:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2024:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2025:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2039:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2038:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2038:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2039:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2052:11: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2051:23: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2051:23: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2052:11: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2086:14: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2085:26: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2085:26: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2086:14: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2101:14: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2100:26: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2100:26: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2101:14: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:2114:14: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] libmpd-11.8.17/src/libmpdclient.c:2113:26: note: Assuming allocation function fails libmpd-11.8.17/src/libmpdclient.c:2113:26: note: Assignment 'string=malloc(len)', assigned value is 0 libmpd-11.8.17/src/libmpdclient.c:2114:14: note: Null pointer dereference libmpd-11.8.17/src/libmpdclient.c:1336:67: style:inconclusive: Function 'mpd_sendPlaylistInfoCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:420:67: note: Function 'mpd_sendPlaylistInfoCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1336:67: note: Function 'mpd_sendPlaylistInfoCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1344:65: style:inconclusive: Function 'mpd_sendPlaylistIdCommand' argument 2 names different: declaration 'songId' definition 'id'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:423:65: note: Function 'mpd_sendPlaylistIdCommand' argument 2 names different: declaration 'songId' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1344:65: note: Function 'mpd_sendPlaylistIdCommand' argument 2 names different: declaration 'songId' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1478:61: style:inconclusive: Function 'mpd_sendDeleteCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:480:61: note: Function 'mpd_sendDeleteCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1478:61: note: Function 'mpd_sendDeleteCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1486:63: style:inconclusive: Function 'mpd_sendDeleteIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:482:63: note: Function 'mpd_sendDeleteIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1486:63: note: Function 'mpd_sendDeleteIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1546:59: style:inconclusive: Function 'mpd_sendPlayCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:500:59: note: Function 'mpd_sendPlayCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1546:59: note: Function 'mpd_sendPlayCommand' argument 2 names different: declaration 'songNum' definition 'songPos'. libmpd-11.8.17/src/libmpdclient.c:1554:61: style:inconclusive: Function 'mpd_sendPlayIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:502:61: note: Function 'mpd_sendPlayIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1554:61: note: Function 'mpd_sendPlayIdCommand' argument 2 names different: declaration 'songNum' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1586:61: style:inconclusive: Function 'mpd_sendMoveIdCommand' argument 2 names different: declaration 'from' definition 'id'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:514:61: note: Function 'mpd_sendMoveIdCommand' argument 2 names different: declaration 'from' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1586:61: note: Function 'mpd_sendMoveIdCommand' argument 2 names different: declaration 'from' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1602:61: style:inconclusive: Function 'mpd_sendSwapIdCommand' argument 2 names different: declaration 'song1' definition 'id1'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:518:61: note: Function 'mpd_sendSwapIdCommand' argument 2 names different: declaration 'song1' definition 'id1'. libmpd-11.8.17/src/libmpdclient.c:1602:61: note: Function 'mpd_sendSwapIdCommand' argument 2 names different: declaration 'song1' definition 'id1'. libmpd-11.8.17/src/libmpdclient.c:1602:70: style:inconclusive: Function 'mpd_sendSwapIdCommand' argument 3 names different: declaration 'song2' definition 'id2'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:518:72: note: Function 'mpd_sendSwapIdCommand' argument 3 names different: declaration 'song2' definition 'id2'. libmpd-11.8.17/src/libmpdclient.c:1602:70: note: Function 'mpd_sendSwapIdCommand' argument 3 names different: declaration 'song2' definition 'id2'. libmpd-11.8.17/src/libmpdclient.c:1618:61: style:inconclusive: Function 'mpd_sendSeekIdCommand' argument 2 names different: declaration 'song' definition 'id'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:522:61: note: Function 'mpd_sendSeekIdCommand' argument 2 names different: declaration 'song' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:1618:61: note: Function 'mpd_sendSeekIdCommand' argument 2 names different: declaration 'song' definition 'id'. libmpd-11.8.17/src/libmpdclient.c:2080:70: style:inconclusive: Function 'mpd_sendGetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:693:70: note: Function 'mpd_sendGetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. libmpd-11.8.17/src/libmpdclient.c:2080:70: note: Function 'mpd_sendGetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. libmpd-11.8.17/src/libmpdclient.c:2093:69: style:inconclusive: Function 'mpd_sendSetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. [funcArgNamesDifferent] libmpd-11.8.17/src/libmpdclient.h:692:69: note: Function 'mpd_sendSetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. libmpd-11.8.17/src/libmpdclient.c:2093:69: note: Function 'mpd_sendSetSongSticker' argument 2 names different: declaration 'song' definition 'song_path'. libmpd-11.8.17/src/libmpdclient.c:252:19: style: Variable 'he' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:371:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:599:9: style: Variable 'bufferCheck' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:697:10: style: Variable 'needle' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:789:23: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:919:23: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:973:21: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:1071:50: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpdclient.c:1093:59: style: Parameter 'playlist' can be declared as pointer to const [constParameterPointer] libmpd-11.8.17/src/libmpdclient.c:1179:23: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:1309:23: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:1761:23: style: Variable 're' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:1889:8: style: Variable 'strtype' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:1915:8: style: Variable 'strtype' can be declared as pointer to const [constVariablePointer] libmpd-11.8.17/src/libmpdclient.c:157:65: error: Uninitialized variable: valopt [uninitvar] diff: DONE