2026-05-01 14:16 ftp://ftp.de.debian.org/debian/pool/main/c/cups-pk-helper/cups-pk-helper_0.2.6.orig.tar.xz 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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 192 192 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: cups-pk-helper-0.2.6/src/test-cups-pk.c:52:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/main.c:166:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/main.c:128:32: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/main.c:171:36: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/main.c:128:32: note: Parameter 'connection' can be declared as pointer to const cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:125:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_mechanism_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:193:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_mechanism_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_mechanism_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:489:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:84:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_cups_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OK [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:262:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_cups_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:623:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:639:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:655:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:670:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:711:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:735:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_OK_CONFLICT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:865:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:915:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_SET_JOB_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:947:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:978:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_PRINTER_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1033:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1111:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_PRINTER_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1151:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_PRINTER_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1228:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1317:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1407:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1604:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GET_DEVICES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1784:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1834:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1868:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DELETE_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1879:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SET_DEFAULT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1893:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_PAUSE_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1913:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1942:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ACCEPT_JOBS [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:1971:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2084:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_TAG_URI [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2123:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DELETE_CLASS [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2192:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_WHICHJOBS_ACTIVE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2409:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2449:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_PRINTER [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2617:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_CLASS [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2672:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2842:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ADD_MODIFY_CLASS [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2892:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_CANCEL_JOB [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2918:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_RESTART_JOB [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups.c:2964:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPP_GET_JOB_ATTRIBUTES [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:132:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:521:26: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:386:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:405:76: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:418:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:690:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:809:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:844:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:941:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:968:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:994:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1284:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1292:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1348:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1356:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1403:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:1411:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] cups-pk-helper-0.2.6/src/cups-pk-helper-mechanism.c:343:23: style: Variable 'next_action_method' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:142:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRV [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:2705:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_DBUS_METHOD_INVOCATION [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3418:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3485:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3528:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3595:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3632:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3698:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3739:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3803:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3852:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3930:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3983:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4059:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4187:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4230:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4297:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4337:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4401:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4444:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4511:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4557:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4627:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4670:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4737:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4777:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4841:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4884:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4951:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:4994:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5061:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5208:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5275:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5428:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5495:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5541:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5611:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5654:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5721:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5764:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5831:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5874:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5941:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:5984:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6051:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6097:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6167:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6210:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6277:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6393:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6435:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6503:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6546:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6613:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6653:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6717:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6760:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6827:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_iface_mechanism_proxy_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7573:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7690:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7780:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7887:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7942:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7976:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8034:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROPERTY_INFO_FLAGS_READABLE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8075:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cph_iface_mechanism_skeleton_parent_class [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8168:133: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8509:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_DBUS_PROXY [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8540:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8630:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8207:3: error: Returning/dereferencing 'ret' after it is deallocated / released [deallocret] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8206:3: note: Returning/dereferencing 'ret' after it is deallocated / released cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8207:3: note: Returning/dereferencing 'ret' after it is deallocated / released cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:2579:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:2634:59: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3730:15: style: Parameter 'arg_settings' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:3793:15: style: Parameter 'arg_settings' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6899:15: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:6944:15: style: Parameter 'devices' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7541:55: style: Parameter 'object' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_proxy_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7646:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7541:55: note: Parameter 'object' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7543:17: style: Parameter 'value' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_proxy_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7646:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7543:17: note: Parameter 'value' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7544:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_proxy_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7646:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7544:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7549:55: style: Parameter 'object' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_proxy_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7647:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7549:55: note: Parameter 'object' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7552:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_proxy_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7647:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7552:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7580:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7607:31: style: Variable 'info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7659:63: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7909:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7943:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:7977:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8010:79: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_skeleton_dbus_interface_get_info' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8101:30: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8010:79: note: Parameter 'skeleton' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8016:81: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_skeleton_dbus_interface_get_vtable' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8104:32: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8016:81: note: Parameter 'skeleton' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8033:26: style: Variable 'info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8051:76: style: Parameter '_skeleton' can be declared as pointer to const. However it seems that 'cph_iface_mechanism_skeleton_dbus_interface_flush' is a callback function, if '_skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8103:27: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8051:76: note: Parameter '_skeleton' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8112:66: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8214:32: style: Variable 'info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8236:75: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8253:51: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8258:52: style: Parameter 'gobject' can be declared as pointer to const. However it seems that 'cph_iface_object_proxy_set_property' is a callback function, if 'gobject' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8293:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8258:52: note: Parameter 'gobject' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8261:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_object_proxy_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8293:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8261:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8270:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_object_proxy_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8294:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8270:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8331:78: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8348:57: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8356:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_object_skeleton_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8409:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8356:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8386:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cph_iface_object_skeleton_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8410:33: note: You might need to cast the function pointer here cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8386:17: note: Parameter 'pspec' can be declared as pointer to const cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8437:98: style: Parameter 'interface_' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8472:68: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:8477:79: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:52:37: style: struct member 'ChangedProperty::info' is never used. [unusedStructMember] cups-pk-helper-0.2.6/src/cph-iface-mechanism.c:53:9: style: struct member 'ChangedProperty::prop_id' is never used. [unusedStructMember] cups-pk-helper-0.2.6/src/cups.c:184:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] cups-pk-helper-0.2.6/src/cups.c:572:26: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cups-pk-helper-0.2.6/src/cups.c:1927:47: style:inconclusive: Function 'cph_cups_printer_set_accept_jobs' argument 3 names different: declaration 'enabled' definition 'accept'. [funcArgNamesDifferent] cups-pk-helper-0.2.6/src/cups.h:126:56: note: Function 'cph_cups_printer_set_accept_jobs' argument 3 names different: declaration 'enabled' definition 'accept'. cups-pk-helper-0.2.6/src/cups.c:1927:47: note: Function 'cph_cups_printer_set_accept_jobs' argument 3 names different: declaration 'enabled' definition 'accept'. cups-pk-helper-0.2.6/src/cups.c:970:26: style: Variable 'printer_names' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2142:27: style: Variable 'device_uri' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2143:27: style: Variable 'printer_info' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2144:27: style: Variable 'job_sheets' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2145:27: style: Variable 'printer_location' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2155:27: style: Variable 'start_sheet' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:2156:27: style: Variable 'end_sheet' can be declared as pointer to const [constVariablePointer] cups-pk-helper-0.2.6/src/cups.c:3043:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] diff: DONE