2025-05-10 17:57 ftp://ftp.de.debian.org/debian/pool/main/g/gadmin-openvpn-client/gadmin-openvpn-client_0.1.9.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 189 254 elapsed-time: 0.6 0.8 head-timing-info: old-timing-info: head results: gadmin-openvpn-client-0.1.9/src/activate_button_clicked.c:61:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/clear_log_tab.c:41:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/commands.c:93:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETWORKMANAGER_DISPATCH_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/commands.c:149:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETWORKMANAGER_DISPATCH_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/commands.c:169:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSINIT_SCRIPTS_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/commands.c:213:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSINIT_STOP_CMD [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/commands.c:236:23: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/activate_button_clicked.c:45:27: style: Variable 'cacert' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/activate_button_clicked.c:46:27: style: Variable 'cert' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/activate_button_clicked.c:47:27: style: Variable 'key' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIRESTARTER_USER_PRE [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:420:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:66:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:54:32: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:112:30: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:125:41: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:139:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-openvpn-client-0.1.9/src/create_client_tab.c:48:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_tab.c:139:14: note: Condition 'utf8!=NULL' is always false gadmin-openvpn-client-0.1.9/src/create_client_settings.c:156:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:341:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_conf_tab.c:59:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_conf_tab.c:43:26: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_conf_tab.c:69:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-openvpn-client-0.1.9/src/create_conf_tab.c:40:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_conf_tab.c:69:14: note: Condition 'utf8!=NULL' is always false gadmin-openvpn-client-0.1.9/src/create_log_tab.c:76:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_log_tab.c:46:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_log_tab.c:90:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-openvpn-client-0.1.9/src/create_log_tab.c:40:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_log_tab.c:90:14: note: Condition 'utf8!=NULL' is always false gadmin-openvpn-client-0.1.9/src/create_main_window.c:46:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_main_window.c:66:26: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:70:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:73:30: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:76:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:79:32: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:167:32: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:170:31: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:171:31: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_main_window.c:172:31: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:317:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:348:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:366:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:132:38: warning: Either the condition 'path!=NULL' is redundant or there is possible null pointer dereference: path. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:134:13: note: Assuming that condition 'path!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/create_client_settings.c:132:38: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/create_client_settings.c:129:35: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:146:49: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:179:27: style: Variable 'connection_name' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:89:9: warning: Uninitialized variable: val [uninitvar] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:84:40: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/create_client_settings.c:89:9: note: Uninitialized variable: val gadmin-openvpn-client-0.1.9/src/create_client_settings.c:131:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/credits_window.c:38:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:600:19: style: Variable 'comb' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:664:19: style: Variable 'spin' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:719:18: style: Variable 'ent' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/credits_window.c:43:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/credits_window.c:167:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/delete_connection_clicked.c:50:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/file_chooser.c:37:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/file_chooser.c:28:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/file_chooser.c:44:17: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/file_chooser.c:59:17: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:80:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:94:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:94:26: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:72:10: style: Local variable 'widgets' shadows outer variable [shadowVariable] gadmin-openvpn-client-0.1.9/src/create_main_window.h:24:18: note: Shadowed declaration gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:72:10: note: Shadow variable gadmin-openvpn-client-0.1.9/src/gadmin-openvpn.c:59:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/functions.c:114:12: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] gadmin-openvpn-client-0.1.9/src/functions.c:51:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:51:35: style: Parameter 'cmpstring' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:78:46: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:86:11: style: Variable 'arr' can be declared as const array [constVariable] gadmin-openvpn-client-0.1.9/src/functions.c:117:28: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:117:44: style: Parameter 'perm' can be declared as const array [constParameter] gadmin-openvpn-client-0.1.9/src/functions.c:128:24: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:128:39: style: Parameter 'perm' can be declared as const array [constParameter] gadmin-openvpn-client-0.1.9/src/functions.c:139:21: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:170:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/functions.c:81:19: style: Variable 'where' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/make_settings_buttons.c:49:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_buttons.c:47:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:70:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_entries.c:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:164:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_entries.c:71:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:96:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:131:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:33:38: style:inconclusive: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_combos.h:32:11: note: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:33:38: note: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:60:44: style:inconclusive: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_combos.h:40:11: note: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:60:44: note: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:90:39: style:inconclusive: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_combos.h:48:11: note: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:90:39: note: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:125:43: style:inconclusive: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_combos.h:57:11: note: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:125:43: note: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:158:39: style:inconclusive: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_combos.h:64:11: note: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_combos.c:158:39: note: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. gadmin-openvpn-client-0.1.9/src/make_settings_progressbars.c:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_progressbars.c:66:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:47:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:85:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:118:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:155:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:187:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:78:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:148:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:32:38: style:inconclusive: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.h:30:11: note: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:32:38: note: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:66:45: style:inconclusive: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.h:38:11: note: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:66:45: note: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:103:44: style:inconclusive: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.h:46:11: note: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:103:44: note: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:136:48: style:inconclusive: Function 'make_shortleft_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.h:54:11: note: Function 'make_shortleft_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:136:48: note: Function 'make_shortleft_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:177:27: style:inconclusive: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.h:61:11: note: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/make_settings_spinbuttons.c:177:27: note: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:45:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:68:60: warning:inconclusive: Either the condition 'utf8!=NULL' is redundant or there is possible null pointer dereference: utf8. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:73:13: note: Assuming that condition 'utf8!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:68:60: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:133:36: style: Condition 'temp_name!=NULL' is always true [knownConditionTrueFalse] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:332:9: error: Memory leak: connection_name [memleak] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:75:17: warning: Either the condition 'line==NULL' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:77:17: note: Assuming that condition 'line==NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:75:17: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:181:17: warning: Either the condition 'line==NULL' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:183:17: note: Assuming that condition 'line==NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:181:17: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:348:14: warning: Either the condition 'connection_name!=NULL' is redundant or there is possible null pointer dereference: connection_name. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:367:28: note: Assuming that condition 'connection_name!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:348:14: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:354:13: warning: Either the condition 'connection_name!=NULL' is redundant or there is possible null pointer dereference: connection_name. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:359:32: note: Assuming that condition 'connection_name!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:354:13: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:420:134: warning: Either the condition 'connection_name!=NULL' is redundant or there is possible null pointer dereference: connection_name. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:425:33: note: Assuming that condition 'connection_name!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:420:134: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:436:49: warning: Either the condition 'connection_name!=NULL' is redundant or there is possible null pointer dereference: connection_name. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:438:24: note: Assuming that condition 'connection_name!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:436:49: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/populate_log_tab.c:51:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:43:22: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:112:49: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:114:23: style: Variable 'selection' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:160:38: style: Parameter 'openvpn_client_conf' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:273:36: style: Variable 'non_firestarter_stop' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:278:27: style: Variable 'user' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:279:27: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:280:27: style: Variable 'passpath' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:282:27: style: Variable 'proxy_address' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:284:27: style: Variable 'cacert' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:285:27: style: Variable 'cert' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:286:27: style: Variable 'key' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:287:27: style: Variable 'takey' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:289:27: style: Variable 'log_level' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:290:27: style: Variable 'proxy_port' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:291:27: style: Variable 'mssfix' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:296:9: error: Uninitialized variable: non_firestarter_stop [uninitvar] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:618:31: style: Variable 'non_firestarter_stop' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:49:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:88:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:165:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:384:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:48:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:72:13: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:45:19: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:55:45: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:72:13: note: Condition 'utf8!=NULL' is always false gadmin-openvpn-client-0.1.9/src/set_version.c:48:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_BINARY [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:60:11: warning: Either the condition 'conf!=NULL' is redundant or there is possible null pointer dereference: conf. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:69:13: note: Assuming that condition 'conf!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:60:11: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/set_version.c:41:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/show_help.c:36:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/show_help.c:42:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/show_help.c:112:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gadmin-openvpn-client-0.1.9/src/show_import_window.c:92:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_SYSCONF_DIR [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/show_import_window.c:236:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/show_info.c:58:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/show_info.c:67:17: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/show_info.c:30:27: style: Parameter 'content' can be declared as pointer to const. However it seems that 'info_set_exit' is a callback function, if 'content' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gadmin-openvpn-client-0.1.9/src/show_info.c:96:9: note: You might need to cast the function pointer here gadmin-openvpn-client-0.1.9/src/show_info.c:30:27: note: Parameter 'content' can be declared as pointer to const gadmin-openvpn-client-0.1.9/src/show_import_window.c:245:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gadmin-openvpn-client-0.1.9/src/show_import_window.c:69:44: warning: Either the condition 'import_config_file!=NULL' is redundant or there is possible null pointer dereference: import_config_file. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/show_import_window.c:69:27: note: Assuming that condition 'import_config_file!=NULL' is not redundant gadmin-openvpn-client-0.1.9/src/show_import_window.c:69:44: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/show_import_window.c:69:44: error: Null pointer dereference [nullPointer] gadmin-openvpn-client-0.1.9/src/show_import_window.c:48:27: style: Variable 'import_config_file' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/show_import_window.c:230:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/show_import_window.c:248:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/show_import_window.c:279:6: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/show_import_window.c:279:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/status_update.c:56:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_PATH [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/status_update.c:130:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/support.c:72:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/support.c:102:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gadmin-openvpn-client-0.1.9/src/support.c:65:12: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] gadmin-openvpn-client-0.1.9/src/support.c:38:21: style: Variable 'row_index' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/status_update.c:132:9: error: Memory leak: utf8 [memleak] gadmin-openvpn-client-0.1.9/src/status_update.c:41:30: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/status_update.c:41:45: style: Parameter 'extmatch' can be declared as pointer to const [constParameterPointer] gadmin-openvpn-client-0.1.9/src/status_update.c:46:10: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gadmin-openvpn-client-0.1.9/src/widgets.c:33:14: style: struct member 'w::main_window' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:34:14: style: struct member 'w::main_vbox' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:36:14: style: struct member 'w::main_notebook' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:37:14: style: struct member 'w::notebook_vbox1' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:38:14: style: struct member 'w::notebook_vbox2' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:39:14: style: struct member 'w::notebook_vbox3' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:41:14: style: struct member 'w::status_label' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:42:14: style: struct member 'w::version_label' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:45:14: style: struct member 'w::connection_treeview' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:46:17: style: struct member 'w::connection_store' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:47:14: style: struct member 'w::connection_settings_vbox' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:48:14: style: struct member 'w::connection_settings_scrolled_window' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:51:14: style: struct member 'w::address_treeview' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:52:17: style: struct member 'w::address_store' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:58:14: style: struct member 'w::settings_table' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:61:14: style: struct member 'w::import_window' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:62:14: style: struct member 'w::import_treeview' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:63:17: style: struct member 'w::import_store' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:64:14: style: struct member 'w::import_package_file_entry' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:65:14: style: struct member 'w::import_config_file_entry' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:68:14: style: struct member 'w::log_treeview' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:69:17: style: struct member 'w::log_store' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/widgets.c:72:14: style: struct member 'w::conf_textview' is never used. [unusedStructMember] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:197:25: warning: Either the condition 'line==NULL' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:199:25: note: Assuming that condition 'line==NULL' is not redundant gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:197:25: note: Null pointer dereference gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:268:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:105:11: warning: If memory allocation fails, then there is a possible null pointer dereference: conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:97:27: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:97:27: note: Assignment 'conf=g_strdup_printf("$IPT -A INPUT -i tap+ -j ACCEPT\n$IPT -A OUTPUT -o tap+ -j ACCEPT\n$IPT -A FORWARD -i tap+ -j ACCEPT\n")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:98:45: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:105:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:167:18: warning: If memory allocation fails, then there is a possible null pointer dereference: openvpn_client_conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:650:42: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:650:42: note: Assignment 'openvpn_client_conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:653:44: note: Calling function 'get_user_added_options', 1st argument 'openvpn_client_conf' value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:167:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:241:16: warning: If memory allocation fails, then there is a possible null pointer dereference: conf_line [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:236:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:236:36: note: Assignment 'conf_line=g_strdup_printf("### %s\nremote %s %s\n",option1,option2,option3)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:241:16: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:442:75: warning: If memory allocation fails, then there is a possible null pointer dereference: selected_connection [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:436:42: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:436:42: note: Assignment 'selected_connection=g_strdup_printf("%s",connection_name)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:442:75: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:524:26: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assignment 'info=g_strdup_printf("%s",passpath)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:524:26: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:525:17: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assignment 'info=g_strdup_printf("%s",passpath)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:525:17: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:531:24: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:521:35: note: Assignment 'info=g_strdup_printf("%s",passpath)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:525:24: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:531:24: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:546:26: warning: If memory allocation fails, then there is a possible null pointer dereference: pass_file [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:545:40: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:545:40: note: Assignment 'pass_file=g_strdup_printf("%s",passpath)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:546:26: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:557:19: warning: If memory allocation fails, then there is a possible null pointer dereference: pass_lines [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:556:41: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:556:41: note: Assignment 'pass_lines=g_strdup_printf("%s\n%s\n\n",user,pass)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:557:19: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:672:18: warning: If memory allocation fails, then there is a possible null pointer dereference: openvpn_client_conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:650:42: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:650:42: note: Assignment 'openvpn_client_conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:672:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:738:11: warning: If memory allocation fails, then there is a possible null pointer dereference: conf_data [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:706:28: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:706:28: note: Assignment 'conf_data=g_strconcat("\n","# Connection_name: ",selected_connection,"\n","# Connection_selected\n","client\n",remote_lines_buffer,proto,"\n","dev ",device,"\n","ca certs/",cacert,"\n","cert certs/",cert,"\n","key certs/",key,"\n",tls_auth_line,auth_line,proxy_line,cipher,compression,"chroot ",OPENVPN_SYSCONF_DIR,"/client/",selected_connection,"\n","user ",CLIENT_USER,"\n","group ",CLIENT_GROUP,"\n","persist-key\n","persist-tun\n","log ",LOCALSTATEDIR,"/log/gadmin-openvpn/client/",selected_connection,"/openvpn-client.log\n","status ",LOCALSTATEDIR,"/log/gadmin-openvpn/client/",selected_connection,"/openvpn-client-status.log\n","verb ",log_level,"\n","mssfix ",mssfix,"\n","mute 20\n","ping 10\n","ping-restart 30\n","allow-pull-fqdn\n","resolv-retry infinite\n","up ",OPENVPN_SYSCONF_DIR,"/client/",selected_connection,"/upscript.sh\n",NULL)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:738:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:837:18: warning: If memory allocation fails, then there is a possible null pointer dereference: sysinit_script_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:836:42: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:836:42: note: Assignment 'sysinit_script_path=g_strdup_printf("%s/gadmin-openvpn-client",SYSINIT_SCRIPTS_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:837:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:846:11: warning: If memory allocation fails, then there is a possible null pointer dereference: sysinit_start_script [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:767:39: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:767:39: note: Assignment 'sysinit_start_script=g_strconcat("#!/bin/bash\n","#\n","#\n","# chkconfig: 2345 10 30\n","#\n","# processname: gadmin-openvpn-client\n","# description: This shell script takes care of starting and stopping \\n","# gadmin-openvpn-client on chkconfig-based systems.\n","#\n","### BEGIN INIT INFO\n","# Provides: gadmin-openvpn-client\n","# Required-Start: $network\n","# Required-Stop: $network\n","# Default-Start: 2 3 4 5\n","# Default-Stop: 0 1 6\n","# Short-Description: start and stop gadmin-openvpn-client\n","# Description: GAdmin-OpenVPN-Client starts and stops an OpenVPN client in Tap mode.\n","### END INIT INFO\n","\n",start_at_boot_label,"\n","case \"$1\" in\n","\tstart)\n","\n","\t",firestarter_stop,"\n","\tmodprobe tun\n","\tmkdir -p /var/run/openvpn\n","\n","\t",mountcmd,"\n","\topenvpn --daemon --script-security 2 --writepid /var/run/openvpn/openvpn-client.pid \\\n","\t--config ",OPENVPN_SYSCONF_DIR,"/client/",selected_connection,"/gadmin-openvpn-client.conf \\\n","\t--cd ",OPENVPN_SYSCONF_DIR,"/client/",selected_connection,"\n","\n","\t",firestarter_start,"\t",non_firestarter_start,"\t",share_tunnel_with_lan,"\t;;\n","\tstop)\n","\n","\tkillall -9 openvpn &> /dev/null\n","\n","\t# Revert any changes made by the push pull DNS and domain settings.\n","\tif [ -e /etc/resolv.conf.gadmin.orig ] &&\n"," grep -q \"nameserver\" /etc/resolv.conf.gadmin.orig ; then\n","\t cat /etc/resolv.conf.gadmin.orig > /etc/resolv.conf\n","\tfi\n","\n","\t;;\n","\t*)\n","\techo \"usage gadmin-openvpn-client {start|stop}\"\n","\texit 1\n","\t;;\n","esac\n","\n","exit 0\n","\n",NULL)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:837:45: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:846:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:852:43: warning: If memory allocation fails, then there is a possible null pointer dereference: sysinit_script_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:836:42: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:836:42: note: Assignment 'sysinit_script_path=g_strdup_printf("%s/gadmin-openvpn-client",SYSINIT_SCRIPTS_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:837:45: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:852:43: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:864:18: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:863:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:863:36: note: Assignment 'upscript_path=g_strdup_printf("%s/client/%s/upscript.sh",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:864:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:892:11: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:872:27: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:872:27: note: Assignment 'upscript=g_strconcat("#!/bin/bash\n","### Copy the clients pulled environment and transfer options\n","### such as domain and nameservers to /etc/resolv.conf.\n","### The changes are reverted when gadmin-openvpn-client is deactivated.\n","\n","env > /etc/gadmin-openvpn-client.env || exit 0\n","\n","### Set new search domain and DNS-addresses first in the conf if any.\n","\n","grep \"dhcp-option DNS\" /etc/gadmin-openvpn-client.env || exit 0\n","cat /etc/resolv.conf > /etc/resolv.conf.gadmin.orig || exit 0\n","echo > /etc/resolv.conf\n","\n","grep \"dhcp-option DOMAIN\" /etc/gadmin-openvpn-client.env | awk '{print \"search \" $3}' >> /etc/resolv.conf ; \\\n","grep \"dhcp-option DNS\" /etc/gadmin-openvpn-client.env | awk '{print \"nameserver \" $3}' >> /etc/resolv.conf\n","grep \"nameserver\" /etc/resolv.conf.gadmin.orig >> /etc/resolv.conf\n","echo \"GAdmin-OpenVPN-Client: Updated resolv.conf with pushed DNS name servers.\"\n","\n",NULL)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:892:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:897:43: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:863:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:863:36: note: Assignment 'upscript_path=g_strdup_printf("%s/client/%s/upscript.sh",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:864:39: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/apply_client_settings.c:897:43: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/clear_log_tab.c:43:18: warning: If memory allocation fails, then there is a possible null pointer dereference: log_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/clear_log_tab.c:40:38: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/clear_log_tab.c:40:38: note: Assignment 'log_path=g_strdup_printf("%s/log/gadmin-openvpn/client/%s/openvpn-client.log",LOCALSTATEDIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/clear_log_tab.c:43:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:125:11: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:106:27: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:106:27: note: Assignment 'upscript=g_strconcat("#!/bin/bash\n","\n","# Makes NetworkManager start gadmin-openvpn-client and restart\n","# the VPN-tunnel if the network connection goes down then up again.\n","\n","# Must set and export path or networkmanager wont run sbin programs.\n","export PATH=/sbin:/usr/sbin:/bin:/usr/bin\n","\n","if [ \"$2\" = \"down\" ]; then\n"," ",SYSINIT_SCRIPTS_DIR,"/gadmin-openvpn-client stop\n","fi\n","\n","if [ \"$2\" = \"up\" ]; then\n"," ",SYSINIT_SCRIPTS_DIR,"/gadmin-openvpn-client stop\n"," ",SYSINIT_SCRIPTS_DIR,"/gadmin-openvpn-client start\n","fi\n","\n",NULL)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:125:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:130:43: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:97:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:97:36: note: Assignment 'upscript_path=g_strdup_printf("%s/10-gadmin-openvpn-client",NETWORKMANAGER_DISPATCH_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:98:39: note: Assuming condition is false gadmin-openvpn-client-0.1.9/src/commands.c:130:43: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:170:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:169:26: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:169:26: note: Assignment 'cmd=g_strdup_printf("%s/gadmin-openvpn-client start",SYSINIT_SCRIPTS_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:170:16: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:193:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:192:26: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:192:26: note: Assignment 'cmd=g_strdup_printf("%s",SYSINIT_START_CMD)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:193:16: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:214:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:213:26: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:213:26: note: Assignment 'cmd=g_strdup_printf("%s",SYSINIT_STOP_CMD)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:214:16: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:226:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:225:26: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:225:26: note: Assignment 'cmd=g_strdup_printf("%s/gadmin-openvpn-client stop",SYSINIT_SCRIPTS_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:226:16: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:240:18: warning: If memory allocation fails, then there is a possible null pointer dereference: infile [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:149:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:149:36: note: Assignment 'upscript_path=g_strdup_printf("%s/10-gadmin-openvpn-client",NETWORKMANAGER_DISPATCH_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:152:23: note: Calling function 'file_exists', 1st argument 'upscript_path' value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:240:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:69:18: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:130:26: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:130:26: note: Assignment 'cmd=g_strdup_printf("chmod 755 %s",upscript_path)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:131:23: note: Calling function 'run_command', 1st argument 'cmd' value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:69:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/commands.c:98:18: warning: If memory allocation fails, then there is a possible null pointer dereference: upscript_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/commands.c:97:36: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/commands.c:97:36: note: Assignment 'upscript_path=g_strdup_printf("%s/10-gadmin-openvpn-client",NETWORKMANAGER_DISPATCH_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/commands.c:98:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:122:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:121:27: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:121:27: note: Assignment 'info=g_strdup_printf("mkdir -p /media/usb-device ; mount /dev/sdb1 /media/usb-device")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:122:42: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:152:14: warning: If memory allocation fails, then there is a possible null pointer dereference: connection_name [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assignment 'connection_name=g_strdup_printf("%s",gtk_entry_get_text((GtkEntry*)(widgets->client_set_entry[0])))', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:152:14: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:153:11: warning: If memory allocation fails, then there is a possible null pointer dereference: connection_name [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assignment 'connection_name=g_strdup_printf("%s",gtk_entry_get_text((GtkEntry*)(widgets->client_set_entry[0])))', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:153:11: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:156:79: warning: If memory allocation fails, then there is a possible null pointer dereference: connection_name [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:151:38: note: Assignment 'connection_name=g_strdup_printf("%s",gtk_entry_get_text((GtkEntry*)(widgets->client_set_entry[0])))', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:156:79: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:446:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:445:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:445:33: note: Assignment 'combo_text=g_strdup_printf("TCP")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:446:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:450:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:449:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:449:33: note: Assignment 'combo_text=g_strdup_printf("UDP")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:450:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:460:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:459:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:459:33: note: Assignment 'combo_text=g_strdup_printf("Tap0")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:460:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:464:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:463:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:463:33: note: Assignment 'combo_text=g_strdup_printf("Tap1")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:464:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:468:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:467:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:467:33: note: Assignment 'combo_text=g_strdup_printf("Tap2")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:468:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:472:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:471:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:471:33: note: Assignment 'combo_text=g_strdup_printf("Tap3")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:472:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:477:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:476:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:476:33: note: Assignment 'combo_text=g_strdup_printf("Tun0")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:477:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:481:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:480:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:480:33: note: Assignment 'combo_text=g_strdup_printf("Tun1")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:481:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:485:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:484:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:484:33: note: Assignment 'combo_text=g_strdup_printf("Tun2")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:485:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:489:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:488:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:488:33: note: Assignment 'combo_text=g_strdup_printf("Tun3")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:489:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:533:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:532:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:532:33: note: Assignment 'combo_text=g_strdup_printf("BlowFish")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:533:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:537:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:536:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:536:33: note: Assignment 'combo_text=g_strdup_printf("AES-128")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:537:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:541:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:540:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:540:33: note: Assignment 'combo_text=g_strdup_printf("AES-256")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:541:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:545:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:544:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:544:33: note: Assignment 'combo_text=g_strdup_printf("Triple-DES")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:545:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:554:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:553:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:553:33: note: Assignment 'combo_text=g_strdup_printf("No")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:554:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:558:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:557:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:557:33: note: Assignment 'combo_text=g_strdup_printf("Yes")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:558:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:567:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:566:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:566:33: note: Assignment 'combo_text=g_strdup_printf("No")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:567:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:571:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:570:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:570:33: note: Assignment 'combo_text=g_strdup_printf("Yes")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:571:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:580:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:579:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:579:33: note: Assignment 'combo_text=g_strdup_printf("No")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:580:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:584:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:583:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:583:33: note: Assignment 'combo_text=g_strdup_printf("Yes")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:584:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:593:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:592:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:592:33: note: Assignment 'combo_text=g_strdup_printf("No")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:593:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:597:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: combo_text [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/create_client_settings.c:596:33: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/create_client_settings.c:596:33: note: Assignment 'combo_text=g_strdup_printf("Yes")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/create_client_settings.c:597:48: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:106:26: warning: If memory allocation fails, then there is a possible null pointer dereference: conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:105:35: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:105:35: note: Assignment 'conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,namelist[x]->d_name)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:106:26: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:167:19: warning: If memory allocation fails, then there is a possible null pointer dereference: connections_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:165:39: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:165:39: note: Assignment 'connections_path=g_strdup_printf("%s/client/",OPENVPN_SYSCONF_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:167:19: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:183:26: warning: If memory allocation fails, then there is a possible null pointer dereference: conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:182:35: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:182:35: note: Assignment 'conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,namelist[x]->d_name)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:183:26: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:90:19: warning: If memory allocation fails, then there is a possible null pointer dereference: connections_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:88:39: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:88:39: note: Assignment 'connections_path=g_strdup_printf("%s/client/",OPENVPN_SYSCONF_DIR)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_client_settings.c:90:19: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:46:18: warning: If memory allocation fails, then there is a possible null pointer dereference: openvpn_client_conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:45:49: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:45:49: note: Assignment 'openvpn_client_conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_conf_tab.c:46:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/populate_log_tab.c:53:18: warning: If memory allocation fails, then there is a possible null pointer dereference: log_path [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/populate_log_tab.c:51:31: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/populate_log_tab.c:51:31: note: Assignment 'log_path=g_strdup_printf("%s/log/gadmin-openvpn/client/%s/openvpn-client.log",LOCALSTATEDIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/populate_log_tab.c:53:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:55:18: warning: If memory allocation fails, then there is a possible null pointer dereference: openvpn_client_conf [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:47:49: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:47:49: note: Assignment 'openvpn_client_conf=g_strdup_printf("%s/client/%s/gadmin-openvpn-client.conf",OPENVPN_SYSCONF_DIR,selected_connection)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/save_conf_tab.c:55:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/set_version.c:49:18: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/set_version.c:48:30: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/set_version.c:48:30: note: Assignment 'command=g_strdup_printf("%s --version < /dev/null | grep -i openvpn",OPENVPN_BINARY)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/set_version.c:49:18: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/set_version.c:76:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ver [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/set_version.c:75:34: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/set_version.c:75:34: note: Assignment 'ver=g_strdup_printf(" Information: %s",line)', assigned value is 0 gadmin-openvpn-client-0.1.9/src/set_version.c:76:49: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/set_version.c:87:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ver [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/set_version.c:86:30: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/set_version.c:86:30: note: Assignment 'ver=g_strdup_printf(" OpenVPN is not installed or not in your path.")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/set_version.c:87:45: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/status_update.c:124:46: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/status_update.c:123:31: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/status_update.c:123:31: note: Assignment 'info=g_strdup_printf("Status: Deactivated")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/status_update.c:124:46: note: Null pointer dereference 2.17.0 gadmin-openvpn-client-0.1.9/src/status_update.c:138:46: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] gadmin-openvpn-client-0.1.9/src/status_update.c:137:31: note: Assuming allocation function fails gadmin-openvpn-client-0.1.9/src/status_update.c:137:31: note: Assignment 'info=g_strdup_printf("Status: Activated")', assigned value is 0 gadmin-openvpn-client-0.1.9/src/status_update.c:138:46: note: Null pointer dereference DONE