2026-05-28 20:42 ftp://ftp.de.debian.org/debian/pool/main/p/pidgin-festival/pidgin-festival_2.4.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-117-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: f1379d6 (2026-05-28 13:47:32 +0200) count: 27 27 elapsed-time: 0.4 0.9 head-timing-info: old-timing-info: head results: pidgin-festival-2.4/src/festival.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_DEBUG_INFO [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:138:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_DEBUG_INFO [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:358:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:385:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:392:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:398:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:412:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:426:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:432:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:438:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:444:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:450:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:497:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:531:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:591:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:619:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:809:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pidgin-festival-2.4/src/festival.c:108:10: error: Returning pointer to local variable 'sndserver' that will be invalid when returning. [returnDanglingLifetime] pidgin-festival-2.4/src/festival.c:103:12: note: Array decayed to pointer here. pidgin-festival-2.4/src/festival.c:92:10: note: Variable created here. pidgin-festival-2.4/src/festival.c:108:10: note: Returning pointer to local variable 'sndserver' that will be invalid when returning. pidgin-festival-2.4/src/festival.c:540:6: style: Condition 'errno' is always false [knownConditionTrueFalse] pidgin-festival-2.4/src/festival.c:537:13: note: Assignment 'errno=0', assigned value is 0 pidgin-festival-2.4/src/festival.c:540:6: note: Condition 'errno' is always false pidgin-festival-2.4/src/festival.c:102:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: which_pf [nullPointerOutOfResources] pidgin-festival-2.4/src/festival.c:94:22: note: Assuming allocation function fails pidgin-festival-2.4/src/festival.c:94:22: note: Assignment 'which_pf=popen("which artsdsp 2>/dev/null","r")', assigned value is 0 pidgin-festival-2.4/src/festival.c:102:12: note: Null pointer dereference pidgin-festival-2.4/src/festival.c:528:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: which_pf [nullPointerOutOfResources] pidgin-festival-2.4/src/festival.c:526:18: note: Assuming allocation function fails pidgin-festival-2.4/src/festival.c:526:18: note: Assignment 'which_pf=popen("which festival 2>/dev/null","r")', assigned value is 0 pidgin-festival-2.4/src/festival.c:528:10: note: Null pointer dereference pidgin-festival-2.4/src/festival.c:490:57: style:inconclusive: Function 'on_radio_clicked' argument 2 names different: declaration 'data' definition 'voice'. [funcArgNamesDifferent] pidgin-festival-2.4/src/festival.c:70:57: note: Function 'on_radio_clicked' argument 2 names different: declaration 'data' definition 'voice'. pidgin-festival-2.4/src/festival.c:490:57: note: Function 'on_radio_clicked' argument 2 names different: declaration 'data' definition 'voice'. pidgin-festival-2.4/src/festival.c:338:42: style: Parameter 'who' can be declared as pointer to const. However it seems that 'im_recv_im' is a callback function, if 'who' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pidgin-festival-2.4/src/festival.c:554:35: note: You might need to cast the function pointer here pidgin-festival-2.4/src/festival.c:338:42: note: Parameter 'who' can be declared as pointer to const pidgin-festival-2.4/src/festival.c:402:42: style: Parameter 'conv' can be declared as pointer to const. However it seems that 'chat_buddy_joined_cb' is a callback function, if 'conv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pidgin-festival-2.4/src/festival.c:562:35: note: You might need to cast the function pointer here pidgin-festival-2.4/src/festival.c:402:42: note: Parameter 'conv' can be declared as pointer to const pidgin-festival-2.4/src/festival.c:490:57: style: Parameter 'voice' can be declared as pointer to const. However it seems that 'on_radio_clicked' is a callback function, if 'voice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pidgin-festival-2.4/src/festival.c:686:66: note: You might need to cast the function pointer here pidgin-festival-2.4/src/festival.c:490:57: note: Parameter 'voice' can be declared as pointer to const pidgin-festival-2.4/src/festival.c:101:12: error: Uninitialized variable: which_pf [legacyUninitvar] diff: DONE