2025-05-05 11:40 ftp://ftp.de.debian.org/debian/pool/main/l/lightdm/lightdm_1.32.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=gtk --library=motif --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 872 860 elapsed-time: 8.9 8.6 head-timing-info: old-timing-info: head results: lightdm-1.32.0/common/configuration.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:176:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:415:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_key_file_free [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/configuration.c:152:16: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/dmrc.c:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/dmrc.c:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/dmrc.c:65:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/common/dmrc.c:77:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/common/privileges.c:26:5: warning: Assert statement calls a function which may have desired side effects: 'setgid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:27:5: warning: Assert statement calls a function which may have desired side effects: 'setegid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:32:5: warning: Assert statement calls a function which may have desired side effects: 'setuid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:33:5: warning: Assert statement calls a function which may have desired side effects: 'seteuid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:43:5: warning: Assert statement calls a function which may have desired side effects: 'setuid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:44:5: warning: Assert statement calls a function which may have desired side effects: 'seteuid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:49:5: warning: Assert statement calls a function which may have desired side effects: 'setgid'. [assertWithSideEffect] lightdm-1.32.0/common/privileges.c:50:5: warning: Assert statement calls a function which may have desired side effects: 'setegid'. [assertWithSideEffect] lightdm-1.32.0/common/user-list.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:328:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:452:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:499:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:702:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:827:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:891:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1060:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable common_user_list_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1077:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:1721:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/common/user-list.c:354:32: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] lightdm-1.32.0/common/user-list.c:996:28: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] lightdm-1.32.0/common/user-list.c:1503:32: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] lightdm-1.32.0/common/user-list.c:215:28: style: Variable 'user_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:260:24: style: Variable 'user_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:269:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:658:17: style: Variable 'user' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:755:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:945:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:964:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1012:46: style: Parameter 'object' can be declared as pointer to const. However it seems that 'common_user_list_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1068:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1012:46: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1015:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'common_user_list_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1068:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1015:46: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1024:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'common_user_list_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1069:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1024:44: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1213:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1229:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1267:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1284:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1301:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1318:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1335:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1390:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1408:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1464:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1481:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1503:24: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1523:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/common/user-list.c:1536:39: style: Parameter 'object' can be declared as pointer to const. However it seems that 'common_user_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1634:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1536:39: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1539:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'common_user_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1634:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1539:40: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1548:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'common_user_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/common/user-list.c:1635:34: note: You might need to cast the function pointer here lightdm-1.32.0/common/user-list.c:1548:40: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/common/user-list.c:1781:37: style: Parameter 'common_session' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/common/user-list.c:1788:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:487:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketAddress [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:537:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:571:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:642:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:696:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:730:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:843:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:907:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:929:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:1039:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:1681:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:1783:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:1898:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightdm_greeter_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:1924:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:2155:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:2168:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_data [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:2174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greeter [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/greeter.c:412:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:631:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:656:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:692:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:699:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:757:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:822:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/liblightdm-gobject/greeter.c:1006:59: style: Parameter 'greeter' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1538:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1555:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1572:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1591:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1644:55: style: Parameter 'greeter' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1738:64: style: Parameter 'greeter' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/greeter.c:1803:45: style: Parameter 'object' can be declared as pointer to const. However it seems that 'lightdm_greeter_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/greeter.c:1906:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/greeter.c:1803:45: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/greeter.c:1806:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_greeter_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/greeter.c:1906:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/greeter.c:1806:45: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/greeter.c:1815:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_greeter_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/greeter.c:1907:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/greeter.c:1815:43: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/greeter.c:2143:24: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/language.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/language.c:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/language.c:213:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/language.c:253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/language.c:368:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/language.c:192:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/language.c:256:20: style: Variable 'current' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/language.c:260:20: style: Variable 'country_en' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/language.c:306:41: style: Parameter 'language' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/language.c:314:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_language_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/language.c:359:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/language.c:314:46: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/language.c:334:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_language_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/language.c:360:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/language.c:334:44: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/layout.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/layout.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/layout.c:155:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/layout.c:185:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/layout.c:336:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/layout.c:148:36: style:inconclusive: Function 'lightdm_set_layout' argument 1 names different: declaration 'layout' definition 'dmlayout'. [funcArgNamesDifferent] lightdm-1.32.0/liblightdm-gobject/lightdm/layout.h:59:41: note: Function 'lightdm_set_layout' argument 1 names different: declaration 'layout' definition 'dmlayout'. lightdm-1.32.0/liblightdm-gobject/layout.c:148:36: note: Function 'lightdm_set_layout' argument 1 names different: declaration 'layout' definition 'dmlayout'. lightdm-1.32.0/liblightdm-gobject/layout.c:91:21: style: Parameter 'data' can be declared as pointer to const. However it seems that 'variant_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/layout.c:106:69: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/layout.c:91:21: note: Parameter 'data' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/layout.c:215:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/layout.c:232:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/layout.c:249:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/layout.c:254:37: style: Parameter 'layout' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/layout.c:262:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_layout_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/layout.c:326:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/layout.c:262:44: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/layout.c:290:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_layout_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/layout.c:327:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/layout.c:290:42: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/power.c:77:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:161:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:189:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:259:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/power.c:342:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/session.c:74:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/session.c:118:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/session.c:165:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/session.c:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/session.c:146:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/session.c:253:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/session.c:270:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/session.c:287:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/session.c:304:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/session.c:309:39: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/session.c:314:45: style: Parameter 'object' can be declared as pointer to const. However it seems that 'lightdm_session_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/session.c:363:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/session.c:314:45: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/session.c:317:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_session_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/session.c:363:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/session.c:317:45: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/session.c:326:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_session_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/session.c:364:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/session.c:326:43: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/system.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/system.c:175:5: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/liblightdm-gobject/user.c:319:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightdm_user_list_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/user.c:336:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/user.c:731:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightdm_user_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/user.c:749:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-gobject/user.c:170:64: style: Parameter 'common_user' can be declared as pointer to const. However it seems that 'user_list_removed_cb' is a callback function, if 'common_user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:208:5: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:170:64: note: Parameter 'common_user' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/user.c:177:29: style: Variable 'user_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/user.c:224:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/user.c:243:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/liblightdm-gobject/user.c:278:42: style: Parameter 'user_list' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/user.c:283:47: style: Parameter 'object' can be declared as pointer to const. However it seems that 'lightdm_user_list_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:327:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:283:47: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/user.c:286:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_user_list_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:327:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:286:47: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/user.c:295:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_user_list_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:328:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:295:45: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/user.c:642:33: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/liblightdm-gobject/user.c:650:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_user_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:739:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:650:40: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-gobject/user.c:670:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lightdm_user_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/liblightdm-gobject/user.c:740:34: note: You might need to cast the function pointer here lightdm-1.32.0/liblightdm-gobject/user.c:670:40: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/liblightdm-qt/greeter.cpp:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/greeter.cpp:66:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIGHTDM_PROMPT_TYPE_QUESTION [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/greeter.cpp:77:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIGHTDM_MESSAGE_TYPE_INFO [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/greeter.cpp:40:5: performance:inconclusive: Technically the member function 'GreeterPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] lightdm-1.32.0/liblightdm-qt/greeter.cpp:27:5: style: Class 'GreeterPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lightdm-1.32.0/liblightdm-qt/QLightDM/power.h:28:9: style: Class 'PowerInterface' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lightdm-1.32.0/liblightdm-qt/sessionsmodel.cpp:42:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/sessionsmodel.cpp:114:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/sessionsmodel.cpp:42:5: performance:inconclusive: Technically the member function 'SessionsModelPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] lightdm-1.32.0/liblightdm-qt/sessionsmodel.cpp:33:5: style: Class 'SessionsModelPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:62:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:200:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:62:9: performance:inconclusive: Technically the member function 'QLightDM::UsersModelPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:49:5: style: Class 'UsersModelPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:116:79: style:inconclusive: Function 'cb_userAdded' argument 2 names different: declaration 'user' definition 'ldmUser'. [funcArgNamesDifferent] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:58:75: note: Function 'cb_userAdded' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:116:79: note: Function 'cb_userAdded' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:139:81: style:inconclusive: Function 'cb_userChanged' argument 2 names different: declaration 'user' definition 'ldmUser'. [funcArgNamesDifferent] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:59:77: note: Function 'cb_userChanged' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:139:81: note: Function 'cb_userChanged' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:166:81: style:inconclusive: Function 'cb_userRemoved' argument 2 names different: declaration 'user' definition 'ldmUser'. [funcArgNamesDifferent] lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:60:77: note: Function 'cb_userRemoved' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/liblightdm-qt/usersmodel.cpp:166:81: note: Function 'cb_userRemoved' argument 2 names different: declaration 'user' definition 'ldmUser'. lightdm-1.32.0/src/accounts.c:137:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/accounts.c:45:28: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] lightdm-1.32.0/src/accounts.c:109:45: style:inconclusive: Function 'user_set_xsession' argument 2 names different: declaration 'session' definition 'xsession'. [funcArgNamesDifferent] lightdm-1.32.0/src/accounts.h:54:50: note: Function 'user_set_xsession' argument 2 names different: declaration 'session' definition 'xsession'. lightdm-1.32.0/src/accounts.c:109:45: note: Function 'user_set_xsession' argument 2 names different: declaration 'session' definition 'xsession'. lightdm-1.32.0/src/accounts.c:45:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/accounts.c:125:18: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/console-kit.c:22:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:85:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:118:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:220:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/console-kit.c:18:35: style: Parameter 'parameters' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-manager-service.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:125:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:418:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:455:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:481:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:613:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:656:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:691:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable display_manager_service_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:718:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager-service.c:418:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/display-manager-service.c:481:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/display-manager-service.c:105:136: style: Parameter 'property_value' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-manager-service.c:249:23: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-manager-service.c:345:64: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-manager-service.c:355:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-manager-service.c:416:19: style: Variable 'seat_entry' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-manager-service.c:634:32: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'name_lost_cb' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-manager-service.c:661:36: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-manager-service.c:634:32: note: Parameter 'connection' can be declared as pointer to const lightdm-1.32.0/src/display-manager.c:96:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager.c:180:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/display-manager.c:55:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-manager.c:125:40: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-manager.c:164:39: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-server.c:55:48: style: Parameter 'server' can be declared as pointer to const. However it seems that 'display_server_real_get_parent' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:168:25: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:55:48: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:68:51: style: Parameter 'server' can be declared as pointer to const. However it seems that 'display_server_real_get_can_share' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:169:28: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:68:51: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:81:44: style: Parameter 'server' can be declared as pointer to const. However it seems that 'display_server_real_get_vt' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:170:21: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:81:44: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:96:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-server.c:117:53: style: Parameter 'server' can be declared as pointer to const. However it seems that 'display_server_real_connect_session' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:172:30: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:117:53: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:117:70: style: Parameter 'session' can be declared as pointer to const. However it seems that 'display_server_real_connect_session' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:172:30: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:117:70: note: Parameter 'session' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:128:56: style: Parameter 'server' can be declared as pointer to const. However it seems that 'display_server_real_disconnect_session' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:173:33: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:128:56: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:128:73: style: Parameter 'session' can be declared as pointer to const. However it seems that 'display_server_real_disconnect_session' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/display-server.c:173:33: note: You might need to cast the function pointer here lightdm-1.32.0/src/display-server.c:128:73: note: Parameter 'session' can be declared as pointer to const lightdm-1.32.0/src/display-server.c:149:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/display-server.c:161:37: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/display-server.c:32:14: style: struct member 'DisplayServerPrivate::stopped' is never used. [unusedStructMember] lightdm-1.32.0/src/dm-tool.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/dm-tool.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/dm-tool.c:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/dm-tool.c:139:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/dm-tool.c:277:14: error: Return value of allocation function 'g_dbus_proxy_get_name_owner' is not stored. [leakReturnValNotUsed] lightdm-1.32.0/src/dm-tool.c:305:28: error: Return value of allocation function 'g_dbus_proxy_get_name_owner' is not stored. [leakReturnValNotUsed] lightdm-1.32.0/src/dm-tool.c:342:40: error: Return value of allocation function 'g_dbus_proxy_get_name_owner' is not stored. [leakReturnValNotUsed] lightdm-1.32.0/src/dm-tool.c:316:58: error: Allocation with g_variant_print, g_print doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/src/dm-tool.c:353:64: error: Allocation with g_variant_print, g_print doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/src/dm-tool.c:110:16: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/dm-tool.c:483:20: style: Variable 'name' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter-session.c:51:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-session.c:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greeter_session_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-session.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greeter_session_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-session.c:37:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter-socket.c:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-socket.c:109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketAddress [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-socket.c:154:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greeter_socket_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter-socket.c:58:35: style: Parameter 'greeter' can be declared as pointer to const. However it seems that 'greeter_disconnected_cb' is a callback function, if 'greeter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter-socket.c:90:5: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter-socket.c:58:35: note: Parameter 'greeter' can be declared as pointer to const lightdm-1.32.0/src/greeter-socket.c:136:37: style: Parameter 'socket' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/greeter.c:339:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] lightdm-1.32.0/src/greeter.c:448:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] lightdm-1.32.0/src/greeter.c:144:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:167:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:386:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:448:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER_UNKNOWN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:496:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:529:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER_UNKNOWN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:571:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER_UNKNOWN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:590:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:619:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:672:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_style [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:785:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:859:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gcry_malloc_secure [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:870:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:1029:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:1097:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/greeter.c:383:5: portability: %zi in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/greeter.c:821:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] lightdm-1.32.0/src/greeter.c:701:31: warning: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] lightdm-1.32.0/src/greeter.c:685:44: note: Assuming allocation function fails lightdm-1.32.0/src/greeter.c:685:44: note: Assignment 'response=calloc(messages_length,sizeof(struct pam_response))', assigned value is 0 lightdm-1.32.0/src/greeter.c:701:31: note: Null pointer dereference lightdm-1.32.0/src/greeter.c:208:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:218:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:228:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:468:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:708:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:797:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:804:13: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:831:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:857:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:1015:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:1038:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:1046:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:1054:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/greeter.c:1060:39: style: Parameter 'greeter' can be declared as pointer to const. However it seems that 'greeter_real_create_session' is a callback function, if 'greeter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter.c:1144:29: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter.c:1060:39: note: Parameter 'greeter' can be declared as pointer to const lightdm-1.32.0/src/greeter.c:1066:38: style: Parameter 'greeter' can be declared as pointer to const. However it seems that 'greeter_real_start_session' is a callback function, if 'greeter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter.c:1145:28: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter.c:1066:38: note: Parameter 'greeter' can be declared as pointer to const lightdm-1.32.0/src/greeter.c:1113:37: style: Parameter 'object' can be declared as pointer to const. However it seems that 'greeter_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter.c:1148:34: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter.c:1113:37: note: Parameter 'object' can be declared as pointer to const lightdm-1.32.0/src/greeter.c:1116:37: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'greeter_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter.c:1148:34: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter.c:1116:37: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/src/greeter.c:1125:35: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'greeter_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/greeter.c:1147:34: note: You might need to cast the function pointer here lightdm-1.32.0/src/greeter.c:1125:35: note: Parameter 'pspec' can be declared as pointer to const lightdm-1.32.0/src/greeter.c:49:12: style: struct member 'GreeterPrivate::default_session' is never used. [unusedStructMember] lightdm-1.32.0/src/guest-account.c:26:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/guest-account.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/guest-account.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/guest-account.c:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm-guest-session.c:28:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:150:34: debug: Scope::checkVariable found variable 'keys' with varid 0. [varid0] lightdm-1.32.0/src/lightdm.c:654:37: debug: Scope::checkVariable found variable 'keys' with varid 0. [varid0] lightdm-1.32.0/src/lightdm.c:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MASK [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:205:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:224:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:268:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:281:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:307:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:393:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:446:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:534:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:548:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/lightdm.c:270:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/lightdm.c:283:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/lightdm.c:344:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/lightdm.c:366:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/lightdm.c:374:42: style: Parameter 'service' can be declared as pointer to const. However it seems that 'service_ready_cb' is a callback function, if 'service' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/lightdm.c:860:9: note: You might need to cast the function pointer here lightdm-1.32.0/src/lightdm.c:374:42: note: Parameter 'service' can be declared as pointer to const lightdm-1.32.0/src/lightdm.c:380:46: style: Parameter 'service' can be declared as pointer to const. However it seems that 'service_name_lost_cb' is a callback function, if 'service' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/lightdm.c:861:9: note: You might need to cast the function pointer here lightdm-1.32.0/src/lightdm.c:380:46: note: Parameter 'service' can be declared as pointer to const lightdm-1.32.0/src/log-file.c:21:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/logger.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantIter [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:175:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:239:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:352:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:381:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:410:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:439:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:470:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable login1_service_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:538:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable login1_seat_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:564:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/login1.c:297:9: error: Return value of allocation function 'add_seat' is not stored. [leakReturnValNotUsed] lightdm-1.32.0/src/login1.c:347:43: warning: Either the condition '!session_id' is redundant or there is possible null pointer dereference: session_id. [nullPointerRedundantCheck] lightdm-1.32.0/src/login1.c:349:9: note: Assuming that condition '!session_id' is not redundant lightdm-1.32.0/src/login1.c:347:43: note: Null pointer dereference lightdm-1.32.0/src/login1.c:376:45: warning: Either the condition '!session_id' is redundant or there is possible null pointer dereference: session_id. [nullPointerRedundantCheck] lightdm-1.32.0/src/login1.c:378:9: note: Assuming that condition '!session_id' is not redundant lightdm-1.32.0/src/login1.c:376:45: note: Null pointer dereference lightdm-1.32.0/src/login1.c:405:46: warning: Either the condition '!session_id' is redundant or there is possible null pointer dereference: session_id. [nullPointerRedundantCheck] lightdm-1.32.0/src/login1.c:407:9: note: Assuming that condition '!session_id' is not redundant lightdm-1.32.0/src/login1.c:405:46: note: Null pointer dereference lightdm-1.32.0/src/login1.c:434:47: warning: Either the condition '!session_id' is redundant or there is possible null pointer dereference: session_id. [nullPointerRedundantCheck] lightdm-1.32.0/src/login1.c:436:9: note: Assuming that condition '!session_id' is not redundant lightdm-1.32.0/src/login1.c:434:47: note: Null pointer dereference lightdm-1.32.0/src/login1.c:307:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:315:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:330:28: style: Variable 's_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:456:37: style: Parameter 'service' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/login1.c:501:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:509:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:517:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/login1.c:523:31: style: Parameter 'seat' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/plymouth.c:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/plymouth.c:38:39: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/process.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/process.c:324:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/process.c:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable process_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/process.c:420:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/process.c:465:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/process.c:482:21: error: Allocation with g_io_channel_unix_new, g_io_add_watch doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/src/process.c:250:20: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/src/process.c:219:11: note: Shadowed declaration lightdm-1.32.0/src/process.c:250:20: note: Shadow variable lightdm-1.32.0/src/process.c:129:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:164:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:220:17: style: Variable 'link' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:296:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:304:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:312:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:363:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/process.c:376:27: style: Parameter 'process' can be declared as pointer to const. However it seems that 'process_stopped' is a callback function, if 'process' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/process.c:447:22: note: You might need to cast the function pointer here lightdm-1.32.0/src/process.c:376:27: note: Parameter 'process' can be declared as pointer to const lightdm-1.32.0/src/process.c:404:35: style: Parameter 'info' can be declared as pointer to const. However it seems that 'signal_cb' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/process.c:483:27: note: You might need to cast the function pointer here lightdm-1.32.0/src/process.c:404:35: note: Parameter 'info' can be declared as pointer to const lightdm-1.32.0/src/seat-local.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:123:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:158:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_server [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:201:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:222:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:236:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:245:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:294:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_local_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:321:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-local.c:178:32: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/seat-local.c:42:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat-local.c:110:41: style: Parameter 'display_server' can be declared as pointer to const. However it seems that 'display_server_ready_cb' is a callback function, if 'display_server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat-local.c:140:13: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat-local.c:110:41: note: Parameter 'display_server' can be declared as pointer to const lightdm-1.32.0/src/seat-local.c:110:63: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'display_server_ready_cb' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat-local.c:140:13: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat-local.c:110:63: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat-local.c:310:29: style: Parameter 'seat' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat-xdmcp-session.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xdmcp-session.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xdmcp_session_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xdmcp-session.c:60:44: style: Parameter 'seat' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat-xremote.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xremote_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xremote.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xremote.c:48:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xremote_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xremote.c:57:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xremote_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xremote.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xremote_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xremote.c:74:33: style: Parameter 'seat' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat-xvnc.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xvnc_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xvnc.c:58:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_server [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xvnc.c:96:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xvnc.c:120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seat_xvnc_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat-xvnc.c:60:32: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/seat-xvnc.c:107:27: style: Parameter 'seat' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat.c:217:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable script [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:432:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocess [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:446:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:456:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:576:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:627:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:660:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:735:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:762:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:923:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:955:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:985:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:998:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1060:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1135:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1333:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1367:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1410:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1443:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1516:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1555:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1586:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1660:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1719:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1814:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greeter [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1832:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1873:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:1913:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/seat.c:120:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:189:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:228:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:299:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:316:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:356:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:418:29: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_run_script' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1944:25: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:418:29: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:418:50: style: Parameter 'display_server' can be declared as pointer to const. However it seems that 'seat_real_run_script' is a callback function, if 'display_server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1944:25: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:418:50: note: Parameter 'display_server' can be declared as pointer to const lightdm-1.32.0/src/seat.c:418:75: style: Parameter 'process' can be declared as pointer to const. However it seems that 'seat_real_run_script' is a callback function, if 'process' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1944:25: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:418:75: note: Parameter 'process' can be declared as pointer to const lightdm-1.32.0/src/seat.c:520:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:694:64: style: Parameter 'ignore_session' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat.c:1309:61: style: Parameter 'display_server' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/seat.c:1503:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:1668:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/seat.c:1674:24: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_setup' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1935:20: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1674:24: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1774:40: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_create_display_server' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1937:36: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1774:40: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1774:55: style: Parameter 'session' can be declared as pointer to const. However it seems that 'seat_real_create_display_server' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1937:36: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1774:55: note: Parameter 'session' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1780:62: style: Parameter 'display_server' can be declared as pointer to const. However it seems that 'seat_real_display_server_is_used' is a callback function, if 'display_server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1938:37: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1780:62: note: Parameter 'display_server' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1800:41: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_create_greeter_session' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1939:37: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1800:41: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1839:37: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_set_active_session' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1941:33: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1839:37: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1839:52: style: Parameter 'session' can be declared as pointer to const. However it seems that 'seat_real_set_active_session' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1941:33: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1839:52: note: Parameter 'session' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1844:35: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_set_next_session' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1943:31: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1844:35: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1844:50: style: Parameter 'session' can be declared as pointer to const. However it seems that 'seat_real_set_next_session' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1943:31: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1844:50: note: Parameter 'session' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1849:37: style: Parameter 'seat' can be declared as pointer to const. However it seems that 'seat_real_get_active_session' is a callback function, if 'seat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/seat.c:1942:33: note: You might need to cast the function pointer here lightdm-1.32.0/src/seat.c:1849:37: note: Parameter 'seat' can be declared as pointer to const lightdm-1.32.0/src/seat.c:1857:18: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session-child.c:53:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-child.c:70:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-child.c:107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-child.c:174:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-child.c:252:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCL_CURRENT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-child.c:500:17: style: Local variable 'fd' shadows outer variable [shadowVariable] lightdm-1.32.0/src/session-child.c:256:9: note: Shadowed declaration lightdm-1.32.0/src/session-child.c:500:17: note: Shadow variable lightdm-1.32.0/src/session-child.c:508:13: style: Local variable 'fd' shadows outer variable [shadowVariable] lightdm-1.32.0/src/session-child.c:256:9: note: Shadowed declaration lightdm-1.32.0/src/session-child.c:508:13: note: Shadow variable lightdm-1.32.0/src/session-child.c:610:18: style: Local variable 'result' shadows outer variable [shadowVariable] lightdm-1.32.0/src/session-child.c:299:9: note: Shadowed declaration lightdm-1.32.0/src/session-child.c:610:18: note: Shadow variable lightdm-1.32.0/src/session-child.c:659:17: style: Local variable 'fd' shadows outer variable [shadowVariable] lightdm-1.32.0/src/session-child.c:256:9: note: Shadowed declaration lightdm-1.32.0/src/session-child.c:659:17: note: Shadow variable lightdm-1.32.0/src/session-config.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-config.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_config_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session-config.c:75:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session-config.c:83:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session-config.c:91:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session-config.c:99:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session-config.c:105:37: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/session-config.c:113:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:382:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:424:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:438:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:458:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:493:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:591:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:697:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:717:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:743:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:794:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:963:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:1002:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_io_channel_unref [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/session.c:154:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:212:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:247:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:329:12: style: Variable 'link' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:380:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:395:44: style: Parameter 'x_authority' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/session.c:420:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:565:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:669:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:677:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:685:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:725:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:733:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:741:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:749:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:757:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:765:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:774:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:873:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:889:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:905:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:957:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:974:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/session.c:1079:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/shared-data-manager.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:172:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable manager [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:198:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shared_data_manager_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/shared-data-manager.c:79:28: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] lightdm-1.32.0/src/shared-data-manager.c:215:36: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] lightdm-1.32.0/src/shared-data-manager.c:56:30: style: Parameter 'key' can be declared as pointer to const. However it seems that 'delete_unused_user' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/shared-data-manager.c:160:52: note: You might need to cast the function pointer here lightdm-1.32.0/src/shared-data-manager.c:56:30: note: Parameter 'key' can be declared as pointer to const lightdm-1.32.0/src/shared-data-manager.c:215:20: style: Variable 'greeter_entry' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/shared-data-manager.c:33:24: style: struct member 'OwnerInfo::manager' is never used. [unusedStructMember] lightdm-1.32.0/src/shared-data-manager.c:34:13: style: struct member 'OwnerInfo::uid' is never used. [unusedStructMember] lightdm-1.32.0/src/vnc-server.c:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/vnc-server.c:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocket [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/vnc-server.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/vnc-server.c:176:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vnc_server_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/vnc-server.c:193:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_SOCKET [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/vnc-server.c:53:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/vnc-server.c:72:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/vt.c:31:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/wayland-session.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/wayland-session.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wayland_session_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/wayland-session.c:51:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/wayland-session.c:60:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/wayland-session.c:79:39: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/wayland-session.c:87:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:262:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-authority.c:387:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_authority_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-authority.c:267:9: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/src/x-authority.c:87:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:106:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:114:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:131:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:148:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:167:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:175:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:187:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:193:21: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/x-authority.c:205:19: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/x-authority.c:256:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:340:28: style: Variable 'a_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-authority.c:380:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:98:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:139:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:327:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:345:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:373:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:420:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:458:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:577:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-local.c:500:52: style: Condition 'x_server_local_version_compare(1,17)>=0' is always true [knownConditionTrueFalse] lightdm-1.32.0/src/x-server-local.c:500:44: note: Calling function 'x_server_local_version_compare' returns !<=-1 lightdm-1.32.0/src/x-server-local.c:500:52: note: Condition 'x_server_local_version_compare(1,17)>=0' is always true lightdm-1.32.0/src/x-server-local.c:139:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server-local.c:458:34: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server-local.c:474:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server-local.c:493:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server-local.c:614:12: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server-local.c:262:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:278:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:305:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:312:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:319:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-local.c:354:48: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_local_get_run_function' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server-local.c:600:31: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server-local.c:354:48: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server-local.c:360:46: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_local_get_log_stdout' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server-local.c:601:29: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server-local.c:360:46: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server-local.c:613:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-remote.c:41:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-remote.c:46:38: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/x-server-xvnc.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server-xvnc.c:54:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-xvnc.c:80:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server-xvnc.c:92:47: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_xvnc_get_run_function' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server-xvnc.c:139:46: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server-xvnc.c:92:47: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server-xvnc.c:98:45: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_xvnc_get_log_stdout' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server-xvnc.c:140:44: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server-xvnc.c:98:45: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server-xvnc.c:104:45: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_xvnc_get_can_share' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server-xvnc.c:142:43: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server-xvnc.c:104:45: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server-xvnc.c:113:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server.c:131:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server.c:152:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server.c:206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_server_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/x-server.c:74:29: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server.c:76:29: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/x-server.c:52:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server.c:97:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/x-server.c:103:43: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_get_session_type' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server.c:215:46: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server.c:103:43: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server.c:109:40: style: Parameter 'server' can be declared as pointer to const. However it seems that 'x_server_get_can_share' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/src/x-server.c:216:43: note: You might need to cast the function pointer here lightdm-1.32.0/src/x-server.c:109:40: note: Parameter 'server' can be declared as pointer to const lightdm-1.32.0/src/x-server.c:189:25: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/xdmcp-protocol.c:388:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-protocol.c:398:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-protocol.c:416:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-protocol.c:481:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:492:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:495:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:497:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:499:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:502:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/src/xdmcp-protocol.c:159:48: style:inconclusive: Function 'xdmcp_packet_decode' argument 2 names different: declaration 'length' definition 'data_length'. [funcArgNamesDifferent] lightdm-1.32.0/src/xdmcp-protocol.h:141:61: note: Function 'xdmcp_packet_decode' argument 2 names different: declaration 'length' definition 'data_length'. lightdm-1.32.0/src/xdmcp-protocol.c:159:48: note: Function 'xdmcp_packet_decode' argument 2 names different: declaration 'length' definition 'data_length'. lightdm-1.32.0/src/xdmcp-protocol.c:288:63: style:inconclusive: Function 'xdmcp_packet_encode' argument 3 names different: declaration 'length' definition 'max_length'. [funcArgNamesDifferent] lightdm-1.32.0/src/xdmcp-protocol.h:143:70: note: Function 'xdmcp_packet_encode' argument 3 names different: declaration 'length' definition 'max_length'. lightdm-1.32.0/src/xdmcp-protocol.c:288:63: note: Function 'xdmcp_packet_encode' argument 3 names different: declaration 'length' definition 'max_length'. lightdm-1.32.0/src/xdmcp-protocol.c:386:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/src/xdmcp-server.c:168:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:213:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInetAddress [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:358:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOCKET_FAMILY_IPV4 [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:443:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:465:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:699:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:754:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocket [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:788:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:823:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDM_UDP_PORT [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:841:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-server.c:508:62: style: Condition 'strcmp(packet->Request.authentication_name,"")==0' is always false [knownConditionTrueFalse] lightdm-1.32.0/src/xdmcp-server.c:82:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:99:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:116:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:133:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:232:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:462:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-server.c:682:18: style: Variable 'data' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdmcp_session_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/src/xdmcp-session.c:49:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:57:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:65:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:73:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:90:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/src/xdmcp-session.c:21:11: style: struct member 'XDMCPSessionPrivate::inactive_timeout' is never used. [unusedStructMember] lightdm-1.32.0/tests/src/X.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/X.c:154:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/X.c:180:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/X.c:223:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/X.c:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/X.c:359:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/X.c:127:9: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/X.c:122:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/X.c:122:26: note: Assignment 'text=malloc(data_length*2+1)', assigned value is 0 lightdm-1.32.0/tests/src/X.c:127:9: note: Null pointer dereference lightdm-1.32.0/tests/src/X.c:128:9: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/X.c:122:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/X.c:122:26: note: Assignment 'text=malloc(data_length*2+1)', assigned value is 0 lightdm-1.32.0/tests/src/X.c:128:9: note: Null pointer dereference lightdm-1.32.0/tests/src/X.c:130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/X.c:122:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/X.c:122:26: note: Assignment 'text=malloc(data_length*2+1)', assigned value is 0 lightdm-1.32.0/tests/src/X.c:130:5: note: Null pointer dereference lightdm-1.32.0/tests/src/X.c:282:20: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/X.c:275:15: note: Shadowed declaration lightdm-1.32.0/tests/src/X.c:282:20: note: Shadow variable lightdm-1.32.0/tests/src/X.c:293:20: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/X.c:275:15: note: Shadowed declaration lightdm-1.32.0/tests/src/X.c:293:20: note: Shadow variable lightdm-1.32.0/tests/src/X.c:120:25: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/X.c:126:22: style: Variable 'hex_char' can be declared as const array [constVariable] lightdm-1.32.0/tests/src/X.c:378:15: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/X.c:401:19: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/X.c:410:19: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/Xvnc.c:84:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/Xvnc.c:92:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/Xvnc.c:121:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/Xvnc.c:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/Xvnc.c:219:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/Xvnc.c:223:30: error: Allocation with g_io_channel_unix_new, g_io_add_watch doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/Xvnc.c:156:15: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/Xvnc.c:169:19: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/dbus-env.c:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/dbus-env.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/guest-account.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/guest-account.c:22:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/guest-account.c:58:18: warning: If resource allocation fails, then there is a possible null pointer dereference: passwd [nullPointerOutOfResources] lightdm-1.32.0/tests/src/guest-account.c:57:24: note: Assuming allocation function fails lightdm-1.32.0/tests/src/guest-account.c:57:24: note: Assignment 'passwd=fopen(passwd_path,"a")', assigned value is 0 lightdm-1.32.0/tests/src/guest-account.c:58:18: note: Null pointer dereference lightdm-1.32.0/tests/src/guest-account.c:59:17: warning: If resource allocation fails, then there is a possible null pointer dereference: passwd [nullPointerOutOfResources] lightdm-1.32.0/tests/src/guest-account.c:57:24: note: Assuming allocation function fails lightdm-1.32.0/tests/src/guest-account.c:57:24: note: Assignment 'passwd=fopen(passwd_path,"a")', assigned value is 0 lightdm-1.32.0/tests/src/guest-account.c:59:17: note: Null pointer dereference lightdm-1.32.0/tests/src/guest-account.c:82:35: warning: If resource allocation fails, then there is a possible null pointer dereference: passwd [nullPointerOutOfResources] lightdm-1.32.0/tests/src/guest-account.c:75:30: note: Assuming allocation function fails lightdm-1.32.0/tests/src/guest-account.c:75:30: note: Assignment 'passwd=fopen(passwd_path,"r")', assigned value is 0 lightdm-1.32.0/tests/src/guest-account.c:82:35: note: Null pointer dereference lightdm-1.32.0/tests/src/guest-account.c:94:16: style: Variable 'command' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/initctl.c:19:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/initctl.c:15:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/libsystem.c:113:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:142:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:197:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:687:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:797:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:858:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pam_handle_t [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:897:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1136:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SYSTEM_ERR [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1204:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SYSTEM_ERR [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1247:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1296:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1342:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1389:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1448:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1556:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1595:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:1643:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONN_CLOSED_PARSE_ERR [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/libsystem.c:61:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/libsystem.c:706:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:706:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:707:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:707:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:708:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:708:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:709:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:709:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:710:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:710:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:711:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:711:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:712:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:704:43: note: Assignment 'entry=malloc(sizeof(struct passwd))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:712:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:816:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assignment 'entry=malloc(sizeof(struct group))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:816:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:817:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assignment 'entry=malloc(sizeof(struct group))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:817:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:818:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assignment 'entry=malloc(sizeof(struct group))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:818:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:819:13: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:814:42: note: Assignment 'entry=malloc(sizeof(struct group))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:819:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:911:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:911:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:912:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:912:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:913:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:910:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:913:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:936:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:936:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:937:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:937:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:938:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:935:22: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:938:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:971:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:971:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:972:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:972:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:973:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:970:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:973:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1037:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*5)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1037:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1038:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*5)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1038:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1039:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1006:43: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*5)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1039:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1075:13: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1075:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1076:13: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1076:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1077:13: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1074:26: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1077:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1353:5: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1352:39: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1352:39: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1353:5: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1354:5: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1352:39: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1352:39: note: Assignment 'msg=malloc(sizeof(struct pam_message*)*1)', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1354:5: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1429:13: warning: If memory allocation fails, then there is a possible null pointer dereference: groups [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1425:36: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1425:36: note: Assignment 'groups=malloc(sizeof(gid_t)*(groups_length+1))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1427:31: note: Assuming condition is false lightdm-1.32.0/tests/src/libsystem.c:1429:13: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1637:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assignment 'c=malloc(sizeof(xcb_connection_t))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1637:5: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1638:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assignment 'c=malloc(sizeof(xcb_connection_t))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1638:5: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1645:9: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assignment 'c=malloc(sizeof(xcb_connection_t))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1645:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1656:9: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1636:34: note: Assignment 'c=malloc(sizeof(xcb_connection_t))', assigned value is 0 lightdm-1.32.0/tests/src/libsystem.c:1656:9: note: Null pointer dereference lightdm-1.32.0/tests/src/libsystem.c:1163:27: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/libsystem.c:1176:31: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/libsystem.c:1291:34: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/libsystem.c:1308:30: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/libsystem.c:1419:23: style: Variable 'group' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/libsystem.c:1469:29: style: Parameter 'pamh' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/libsystem.c:1685:45: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/plymouth.c:20:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/status.c:20:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/status.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/status.c:173:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/status.c:71:22: style: Local variable 'start' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/status.c:44:18: note: Shadowed declaration lightdm-1.32.0/tests/src/status.c:71:22: note: Shadow variable lightdm-1.32.0/tests/src/test-gobject-greeter.c:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:127:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:153:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:189:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:398:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:452:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-gobject-greeter.c:116:21: style: Local variable 'greeter' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-gobject-greeter.c:16:24: note: Shadowed declaration lightdm-1.32.0/tests/src/test-gobject-greeter.c:116:21: note: Shadow variable lightdm-1.32.0/tests/src/test-gobject-greeter.c:126:21: style: Local variable 'greeter' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-gobject-greeter.c:16:24: note: Shadowed declaration lightdm-1.32.0/tests/src/test-gobject-greeter.c:126:21: note: Shadow variable lightdm-1.32.0/tests/src/test-gobject-greeter.c:151:21: style: Local variable 'greeter' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-gobject-greeter.c:16:24: note: Shadowed declaration lightdm-1.32.0/tests/src/test-gobject-greeter.c:151:21: note: Shadow variable lightdm-1.32.0/tests/src/test-gobject-greeter.c:397:21: style: Local variable 'greeter' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-gobject-greeter.c:16:24: note: Shadowed declaration lightdm-1.32.0/tests/src/test-gobject-greeter.c:397:21: note: Shadow variable lightdm-1.32.0/tests/src/test-gobject-greeter.c:47:45: style: Parameter 'greeter' can be declared as pointer to const. However it seems that 'autologin_timer_expired_cb' is a callback function, if 'greeter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-gobject-greeter.c:492:5: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-gobject-greeter.c:47:45: note: Parameter 'greeter' can be declared as pointer to const lightdm-1.32.0/tests/src/test-qt-greeter.cpp:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:100:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NameRole [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:109:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NameRole [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:177:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NameRole [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:37:68: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:42:67: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:55:19: performance:inconclusive: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. [functionStatic] lightdm-1.32.0/tests/src/test-qt-greeter.h:17:10: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. lightdm-1.32.0/tests/src/test-qt-greeter.cpp:55:19: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. lightdm-1.32.0/tests/src/test-qt-greeter.cpp:135:37: style: C-style pointer casting [cstyleCast] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:147:39: style: C-style pointer casting [cstyleCast] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:150:28: style: C-style pointer casting [cstyleCast] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:159:46: style: C-style pointer casting [cstyleCast] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:174:34: style: C-style pointer casting [cstyleCast] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:177:21: style: Local variable 'name' shadows outer argument [shadowArgument] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:122:26: note: Shadowed declaration lightdm-1.32.0/tests/src/test-qt-greeter.cpp:177:21: note: Shadow variable lightdm-1.32.0/tests/src/test-qt-greeter.cpp:187:21: style: Local variable 'name' shadows outer argument [shadowArgument] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:122:26: note: Shadowed declaration lightdm-1.32.0/tests/src/test-qt-greeter.cpp:187:21: note: Shadow variable lightdm-1.32.0/tests/src/test-qt-greeter.cpp:35:40: performance: Function parameter 'text' should be passed by const reference. [passedByValue] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:40:39: performance: Function parameter 'text' should be passed by const reference. [passedByValue] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:254:12: style: Variable 'display' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:254:22: style: Variable 'xdg_seat' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:254:33: style: Variable 'xdg_vtnr' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:254:44: style: Variable 'xdg_session_cookie' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:254:65: style: Variable 'xdg_session_class' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:124:12: style: Unused variable: r [unusedVariable] lightdm-1.32.0/tests/src/test-runner.c:209:23: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] lightdm-1.32.0/tests/src/test-runner.c:159:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:209:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:263:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:281:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:303:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:317:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:352:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:951:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:966:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:997:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1028:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1049:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1152:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1194:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusNodeInfo [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1408:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1436:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1480:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1510:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1613:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1692:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:1898:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2035:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2270:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2302:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2339:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2382:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2397:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMainLoop [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-runner.c:2140:5: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/tests/src/test-runner.c:2689:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/tests/src/test-runner.c:2697:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/tests/src/test-runner.c:2708:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/tests/src/test-runner.c:2714:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] lightdm-1.32.0/tests/src/test-runner.c:2697:40: error: Invalid g_file_set_contents() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] lightdm-1.32.0/tests/src/test-runner.c:2194:26: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] lightdm-1.32.0/tests/src/test-runner.c:2486:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2487:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2488:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2489:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2490:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2491:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2492:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2493:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2494:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2495:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2498:27: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2508:31: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2519:31: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-runner.c:2511:18: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-runner.c:2450:9: note: Shadowed declaration lightdm-1.32.0/tests/src/test-runner.c:2511:18: note: Shadow variable lightdm-1.32.0/tests/src/test-runner.c:2522:18: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-runner.c:2450:9: note: Shadowed declaration lightdm-1.32.0/tests/src/test-runner.c:2522:18: note: Shadow variable lightdm-1.32.0/tests/src/test-runner.c:2532:18: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-runner.c:2450:9: note: Shadowed declaration lightdm-1.32.0/tests/src/test-runner.c:2532:18: note: Shadow variable lightdm-1.32.0/tests/src/test-runner.c:2651:14: style: Local variable 'i' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/test-runner.c:2450:9: note: Shadowed declaration lightdm-1.32.0/tests/src/test-runner.c:2651:14: note: Shadow variable lightdm-1.32.0/tests/src/test-runner.c:948:17: style: Variable 'line' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1308:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1313:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1323:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1460:57: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'handle_login1_seat_get_property' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-runner.c:1521:9: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-runner.c:1460:57: note: Parameter 'connection' can be declared as pointer to const lightdm-1.32.0/tests/src/test-runner.c:1468:17: style: Variable 'seat' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1666:25: style: Variable 'seat' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1675:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1721:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1737:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/test-runner.c:1970:50: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'handle_user_get_property' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-runner.c:2085:13: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-runner.c:1970:50: note: Parameter 'connection' can be declared as pointer to const lightdm-1.32.0/tests/src/test-runner.c:2319:21: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'signal_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-runner.c:2400:33: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-runner.c:2319:21: note: Parameter 'user_data' can be declared as pointer to const lightdm-1.32.0/tests/src/test-runner.c:2580:7: style: Variable 'users' can be declared as const array [constVariable] lightdm-1.32.0/tests/src/test-runner.c:2696:19: style: Variable 'data' can be declared as const array [constVariable] lightdm-1.32.0/tests/src/test-script-hook.c:27:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-script-hook.c:19:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-session.c:97:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-session.c:345:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_OPEN_MAX [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/test-session.c:136:21: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] lightdm-1.32.0/tests/src/test-session.c:391:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/test-session.c:136:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: groups [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-session.c:127:32: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-session.c:127:32: note: Assignment 'groups=malloc(sizeof(gid_t)*n_groups)', assigned value is 0 lightdm-1.32.0/tests/src/test-session.c:136:31: note: Null pointer dereference lightdm-1.32.0/tests/src/test-session.c:148:22: style: Local variable 'name' shadows outer argument [shadowArgument] lightdm-1.32.0/tests/src/test-session.c:73:26: note: Shadowed declaration lightdm-1.32.0/tests/src/test-session.c:148:22: note: Shadow variable lightdm-1.32.0/tests/src/test-session.c:161:22: style: Local variable 'name' shadows outer argument [shadowArgument] lightdm-1.32.0/tests/src/test-session.c:73:26: note: Shadowed declaration lightdm-1.32.0/tests/src/test-session.c:161:22: note: Shadow variable lightdm-1.32.0/tests/src/test-session.c:132:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/vnc-client.c:28:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/vnc-client.c:24:40: error: Allocation with g_build_filename, g_key_file_load_from_file doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/vnc-client.c:67:16: style: Local variable 'n_read' shadows outer variable [shadowVariable] lightdm-1.32.0/tests/src/vnc-client.c:45:12: note: Shadowed declaration lightdm-1.32.0/tests/src/vnc-client.c:67:16: note: Shadow variable lightdm-1.32.0/tests/src/x-authority.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-authority.c:71:34: style: Variable 'r_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:91:34: style: Variable 'r_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:126:34: style: Variable 'r_priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:157:31: style: Parameter 'authority' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/x-authority.c:180:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:187:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:194:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/x-authority.c:210:44: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/x-server.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_server_parent_class [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/x-server.c:81:25: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/x-server.c:86:36: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] lightdm-1.32.0/tests/src/x-server.c:201:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] lightdm-1.32.0/tests/src/xdmcp-client.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/xdmcp-client.c:194:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/xdmcp-client.c:281:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/xdmcp-client.c:492:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] lightdm-1.32.0/tests/src/xdmcp-client.c:305:25: error: Allocation with g_io_channel_unix_new, g_io_add_watch doesn't release it. [leakNoVarFunctionCall] lightdm-1.32.0/tests/src/xdmcp-client.c:37:12: style: struct member 'XDMCPClientPrivate::authentication_names' is never used. [unusedStructMember] lightdm-1.32.0/tests/src/xdmcp-client.c:39:10: style: struct member 'XDMCPClientPrivate::authorization_data_length' is never used. [unusedStructMember] diff: head lightdm-1.32.0/common/configuration.c:152:16: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/common/dmrc.c:65:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/common/dmrc.c:77:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/common/user-list.c:1788:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/liblightdm-gobject/system.c:175:5: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/src/console-kit.c:18:35: style: Parameter 'parameters' can be declared as pointer to const [constParameterPointer] head lightdm-1.32.0/src/display-manager-service.c:105:136: style: Parameter 'property_value' can be declared as pointer to const [constParameterPointer] 2.17.0 lightdm-1.32.0/src/display-manager-service.c:108:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VARIANT_TYPE_ARRAY [valueFlowBailoutIncompleteVar] head lightdm-1.32.0/src/display-manager-service.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head lightdm-1.32.0/src/display-manager-service.c:249:23: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/src/dm-tool.c:110:16: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/src/dm-tool.c:483:20: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.17.0 lightdm-1.32.0/src/login1.c:92:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VARIANT_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] 2.17.0 lightdm-1.32.0/src/session-child.c:566:69: error: Allocation with g_variant_new_int32, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:568:76: error: Allocation with g_variant_new_string, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:571:75: error: Allocation with g_variant_new_string, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:573:86: error: Allocation with g_variant_new_string, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:577:72: error: Allocation with g_variant_new_boolean, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:578:80: error: Allocation with g_variant_new_string, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] 2.17.0 lightdm-1.32.0/src/session-child.c:581:72: error: Allocation with g_variant_new_boolean, g_variant_builder_add doesn't release it. [leakNoVarFunctionCall] head lightdm-1.32.0/src/session-config.c:113:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/src/x-authority.c:267:9: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/src/x-authority.c:380:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/src/x-server-local.c:500:52: style: Condition 'x_server_local_version_compare(1,17)>=0' is always true [knownConditionTrueFalse] lightdm-1.32.0/src/x-server-local.c:500:44: note: Calling function 'x_server_local_version_compare' returns !<=-1 lightdm-1.32.0/src/x-server-local.c:500:52: note: Condition 'x_server_local_version_compare(1,17)>=0' is always true head lightdm-1.32.0/tests/src/X.c:378:15: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] 2.17.0 lightdm-1.32.0/tests/src/X.c:534:27: warning: If memory allocation fails, then there is a possible null pointer dereference: lock_path [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/X.c:533:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/X.c:533:34: note: Assignment 'lock_path=g_build_filename(g_getenv("LIGHTDM_TEST_ROOT"),"tmp",lock_filename,NULL)', assigned value is 0 lightdm-1.32.0/tests/src/X.c:534:27: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/Xvnc.c:234:27: warning: If memory allocation fails, then there is a possible null pointer dereference: lock_path [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/Xvnc.c:233:34: note: Assuming allocation function fails lightdm-1.32.0/tests/src/Xvnc.c:233:34: note: Assignment 'lock_path=g_build_filename(g_getenv("LIGHTDM_TEST_ROOT"),"tmp",lock_filename,NULL)', assigned value is 0 lightdm-1.32.0/tests/src/Xvnc.c:234:27: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/dbus-env.c:19:101: warning: If memory allocation fails, then there is a possible null pointer dereference: config_file [ctunullpointerOutOfMemory] lightdm-1.32.0/tests/src/dbus-env.c:53:59: note: Assuming allocation function fails lightdm-1.32.0/tests/src/dbus-env.c:53:59: note: Assignment 'system_conf_file=g_build_filename(DATADIR,"system.conf",NULL)', assigned value is 0 lightdm-1.32.0/tests/src/dbus-env.c:55:55: note: Calling function create_bus, 1st argument is null lightdm-1.32.0/tests/src/dbus-env.c:19:101: note: Dereferencing argument config_file that is null 2.17.0 lightdm-1.32.0/tests/src/dbus-env.c:19:101: warning: If memory allocation fails, then there is a possible null pointer dereference: config_file [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/dbus-env.c:53:59: note: Assuming allocation function fails lightdm-1.32.0/tests/src/dbus-env.c:53:59: note: Assignment 'system_conf_file=g_build_filename(DATADIR,"system.conf",NULL)', assigned value is 0 lightdm-1.32.0/tests/src/dbus-env.c:55:56: note: Calling function 'create_bus', 1st argument 'system_conf_file' value is 0 lightdm-1.32.0/tests/src/dbus-env.c:13:26: note: Assuming condition is false lightdm-1.32.0/tests/src/dbus-env.c:19:101: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/libsystem.c:1136:37: warning: If memory allocation fails, then there is a possible null pointer dereference: name_value [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/libsystem.c:1436:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/libsystem.c:1436:43: note: Calling function 'pam_putenv', 2nd argument 'g_strdup_printf("LIGHTDM_TEST_GROUPS=%s",g_getenv("LIGHTDM_TEST_GROUPS"))' value is 0 lightdm-1.32.0/tests/src/libsystem.c:1136:37: note: Null pointer dereference head lightdm-1.32.0/tests/src/test-qt-greeter.cpp:55:19: performance:inconclusive: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. [functionStatic] lightdm-1.32.0/tests/src/test-qt-greeter.h:17:10: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. lightdm-1.32.0/tests/src/test-qt-greeter.cpp:55:19: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. 2.17.0 lightdm-1.32.0/tests/src/test-qt-greeter.h:17:10: performance:inconclusive: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. [functionStatic] lightdm-1.32.0/tests/src/test-qt-greeter.cpp:55:19: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. lightdm-1.32.0/tests/src/test-qt-greeter.h:17:10: note: Either there is a missing 'override', or the member function 'TestGreeter::autologinTimerExpired' can be static. head lightdm-1.32.0/tests/src/test-runner.c:1308:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1313:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1323:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1460:57: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'handle_login1_seat_get_property' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-runner.c:1521:9: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-runner.c:1460:57: note: Parameter 'connection' can be declared as pointer to const head lightdm-1.32.0/tests/src/test-runner.c:1468:17: style: Variable 'seat' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1666:25: style: Variable 'seat' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1675:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head lightdm-1.32.0/tests/src/test-runner.c:1970:50: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'handle_user_get_property' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lightdm-1.32.0/tests/src/test-runner.c:2085:13: note: You might need to cast the function pointer here lightdm-1.32.0/tests/src/test-runner.c:1970:50: note: Parameter 'connection' can be declared as pointer to const head lightdm-1.32.0/tests/src/test-runner.c:2140:5: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] 2.17.0 lightdm-1.32.0/tests/src/test-runner.c:2465:13: warning: If memory allocation fails, then there is a possible null pointer dereference: status_socket_name [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-runner.c:2464:43: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-runner.c:2464:43: note: Assignment 'status_socket_name=g_build_filename(temp_dir,".s",NULL)', assigned value is 0 lightdm-1.32.0/tests/src/test-runner.c:2465:13: note: Null pointer dereference head lightdm-1.32.0/tests/src/test-runner.c:2689:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/tests/src/test-runner.c:2696:19: style: Variable 'data' can be declared as const array [constVariable] head lightdm-1.32.0/tests/src/test-runner.c:2697:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/tests/src/test-runner.c:2697:40: error: Invalid g_file_set_contents() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] head lightdm-1.32.0/tests/src/test-runner.c:2708:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head lightdm-1.32.0/tests/src/test-runner.c:2714:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.17.0 lightdm-1.32.0/tests/src/test-runner.c:420:33: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assignment 'command_line=g_string_new("lightdm")', assigned value is 0 lightdm-1.32.0/tests/src/test-runner.c:420:33: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/test-runner.c:424:48: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assignment 'command_line=g_string_new("lightdm")', assigned value is 0 lightdm-1.32.0/tests/src/test-runner.c:424:48: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/test-runner.c:428:34: warning: If memory allocation fails, then there is a possible null pointer dereference: command_line [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-runner.c:417:46: note: Assignment 'command_line=g_string_new("lightdm")', assigned value is 0 lightdm-1.32.0/tests/src/test-runner.c:428:34: note: Null pointer dereference 2.17.0 lightdm-1.32.0/tests/src/test-session.c:351:27: warning: If memory allocation fails, then there is a possible null pointer dereference: open_fds [nullPointerOutOfMemory] lightdm-1.32.0/tests/src/test-session.c:344:29: note: Assuming allocation function fails lightdm-1.32.0/tests/src/test-session.c:344:29: note: Assignment 'open_fds=g_string_new("")', assigned value is 0 lightdm-1.32.0/tests/src/test-session.c:351:27: note: Null pointer dereference DONE