Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/gadmin-bind-0.2.5/src/clear_log_tab.h
Examining data/gadmin-bind-0.2.5/src/populate_domain_treeview.c
Examining data/gadmin-bind-0.2.5/src/set_version.c
Examining data/gadmin-bind-0.2.5/src/create_verify_tab.c
Examining data/gadmin-bind-0.2.5/src/add_configuration_canceled.c
Examining data/gadmin-bind-0.2.5/src/save_root_servers.c
Examining data/gadmin-bind-0.2.5/src/select_first_resource.c
Examining data/gadmin-bind-0.2.5/src/delete_resource_from_btn.h
Examining data/gadmin-bind-0.2.5/src/new_rndc_key.h
Examining data/gadmin-bind-0.2.5/src/reread_button_clicked.h
Examining data/gadmin-bind-0.2.5/src/delete_domain.h
Examining data/gadmin-bind-0.2.5/src/populate_resolvers.c
Examining data/gadmin-bind-0.2.5/src/create_root_servers_tab.c
Examining data/gadmin-bind-0.2.5/src/commands.h
Examining data/gadmin-bind-0.2.5/src/make_settings_buttons.h
Examining data/gadmin-bind-0.2.5/src/reread_button_clicked.c
Examining data/gadmin-bind-0.2.5/src/save_settings.h
Examining data/gadmin-bind-0.2.5/src/run_verify_cmd.h
Examining data/gadmin-bind-0.2.5/src/create_log_tab.c
Examining data/gadmin-bind-0.2.5/src/settings_window.c
Examining data/gadmin-bind-0.2.5/src/add_configuration.c
Examining data/gadmin-bind-0.2.5/src/rndc_reload.h
Examining data/gadmin-bind-0.2.5/src/functions.c
Examining data/gadmin-bind-0.2.5/src/make_settings_combos.c
Examining data/gadmin-bind-0.2.5/src/delete_domain_from_btn.c
Examining data/gadmin-bind-0.2.5/src/resource_combo_changed.c
Examining data/gadmin-bind-0.2.5/src/make_settings_buttons.c
Examining data/gadmin-bind-0.2.5/src/deactivate_button_clicked.c
Examining data/gadmin-bind-0.2.5/src/add_domain.c
Examining data/gadmin-bind-0.2.5/src/activate_button_clicked.c
Examining data/gadmin-bind-0.2.5/src/create_main_window.h
Examining data/gadmin-bind-0.2.5/src/show_help.c
Examining data/gadmin-bind-0.2.5/src/reverse_address.c
Examining data/gadmin-bind-0.2.5/src/add_resource.h
Examining data/gadmin-bind-0.2.5/src/create_resolvers_tab.c
Examining data/gadmin-bind-0.2.5/src/set_version.h
Examining data/gadmin-bind-0.2.5/src/delete_resource.c
Examining data/gadmin-bind-0.2.5/src/save_root_servers.h
Examining data/gadmin-bind-0.2.5/src/commented.c
Examining data/gadmin-bind-0.2.5/src/resource_combo_changed.h
Examining data/gadmin-bind-0.2.5/src/commands.c
Examining data/gadmin-bind-0.2.5/src/populate_resource_treeview.c
Examining data/gadmin-bind-0.2.5/src/populate_root_servers_tab.h
Examining data/gadmin-bind-0.2.5/src/select_first_domain.h
Examining data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c
Examining data/gadmin-bind-0.2.5/src/gadmin-bind.c
Examining data/gadmin-bind-0.2.5/src/populate_domain_treeview.h
Examining data/gadmin-bind-0.2.5/src/make_settings_entries.c
Examining data/gadmin-bind-0.2.5/src/run_verify_cmd.c
Examining data/gadmin-bind-0.2.5/src/domain_settings_window.c
Examining data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.h
Examining data/gadmin-bind-0.2.5/src/domain_settings_type_combo_changed.c
Examining data/gadmin-bind-0.2.5/src/domain_settings_type_combo_changed.h
Examining data/gadmin-bind-0.2.5/src/ip_handling.c
Examining data/gadmin-bind-0.2.5/src/activate_button_clicked.h
Examining data/gadmin-bind-0.2.5/src/save_resolvers.c
Examining data/gadmin-bind-0.2.5/src/show_info.c
Examining data/gadmin-bind-0.2.5/src/load_settings.h
Examining data/gadmin-bind-0.2.5/src/chars_are_digits.h
Examining data/gadmin-bind-0.2.5/src/new_rndc_key.c
Examining data/gadmin-bind-0.2.5/src/clear_log_tab.c
Examining data/gadmin-bind-0.2.5/src/create_root_servers_tab.h
Examining data/gadmin-bind-0.2.5/src/populate_log_tab.h
Examining data/gadmin-bind-0.2.5/src/dialog_if_files_missing.h
Examining data/gadmin-bind-0.2.5/src/add_configuration_canceled.h
Examining data/gadmin-bind-0.2.5/src/allocate.c
Examining data/gadmin-bind-0.2.5/src/status_update.h
Examining data/gadmin-bind-0.2.5/src/widgets.c
Examining data/gadmin-bind-0.2.5/src/add_configuration_dialog.h
Examining data/gadmin-bind-0.2.5/src/credits_window.h
Examining data/gadmin-bind-0.2.5/src/create_verify_tab.h
Examining data/gadmin-bind-0.2.5/src/delete_domain_from_btn.h
Examining data/gadmin-bind-0.2.5/src/deactivate_button_clicked.h
Examining data/gadmin-bind-0.2.5/src/load_settings.c
Examining data/gadmin-bind-0.2.5/src/status_update.c
Examining data/gadmin-bind-0.2.5/src/create_resolvers_tab.h
Examining data/gadmin-bind-0.2.5/src/locate_icons.h
Examining data/gadmin-bind-0.2.5/src/select_first_domain.c
Examining data/gadmin-bind-0.2.5/src/select_first_resource.h
Examining data/gadmin-bind-0.2.5/src/add_resource.c
Examining data/gadmin-bind-0.2.5/src/chars_are_digits.c
Examining data/gadmin-bind-0.2.5/src/settings_window.h
Examining data/gadmin-bind-0.2.5/src/credits_window.c
Examining data/gadmin-bind-0.2.5/src/delete_domain.c
Examining data/gadmin-bind-0.2.5/src/gadmin-bind.h
Examining data/gadmin-bind-0.2.5/src/create_domain_tab.h
Examining data/gadmin-bind-0.2.5/src/locate_icons.c
Examining data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c
Examining data/gadmin-bind-0.2.5/src/commented.h
Examining data/gadmin-bind-0.2.5/src/reread_conf.h
Examining data/gadmin-bind-0.2.5/src/functions.h
Examining data/gadmin-bind-0.2.5/src/add_domain.h
Examining data/gadmin-bind-0.2.5/src/save_resolvers.h
Examining data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.h
Examining data/gadmin-bind-0.2.5/src/ip_handling.h
Examining data/gadmin-bind-0.2.5/src/populate_resource_treeview.h
Examining data/gadmin-bind-0.2.5/src/dialog_if_files_missing.c
Examining data/gadmin-bind-0.2.5/src/populate_resolvers.h
Examining data/gadmin-bind-0.2.5/src/show_info.h
Examining data/gadmin-bind-0.2.5/src/allocate.h
Examining data/gadmin-bind-0.2.5/src/reverse_address.h
Examining data/gadmin-bind-0.2.5/src/add_standard_user.c
Examining data/gadmin-bind-0.2.5/src/delete_resource_from_btn.c
Examining data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c
Examining data/gadmin-bind-0.2.5/src/add_configuration.h
Examining data/gadmin-bind-0.2.5/src/populate_log_tab.c
Examining data/gadmin-bind-0.2.5/src/make_settings_combos.h
Examining data/gadmin-bind-0.2.5/src/update_root_servers.c
Examining data/gadmin-bind-0.2.5/src/add_standard_user.h
Examining data/gadmin-bind-0.2.5/src/add_configuration_dialog.c
Examining data/gadmin-bind-0.2.5/src/widgets.h
Examining data/gadmin-bind-0.2.5/src/create_domain_tab.c
Examining data/gadmin-bind-0.2.5/src/make_settings_entries.h
Examining data/gadmin-bind-0.2.5/src/delete_resource.h
Examining data/gadmin-bind-0.2.5/src/rndc_reload.c
Examining data/gadmin-bind-0.2.5/src/gettext.h
Examining data/gadmin-bind-0.2.5/src/reread_conf.c
Examining data/gadmin-bind-0.2.5/src/update_root_servers.h
Examining data/gadmin-bind-0.2.5/src/save_settings.c
Examining data/gadmin-bind-0.2.5/src/create_log_tab.h
Examining data/gadmin-bind-0.2.5/src/domain_settings_window.h
Examining data/gadmin-bind-0.2.5/src/show_help.h
Examining data/gadmin-bind-0.2.5/src/create_main_window.c

FINAL RESULTS:

data/gadmin-bind-0.2.5/src/add_domain.c:215:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((date_fp=popen("date +%Y%m%d", "r"))==NULL)
data/gadmin-bind-0.2.5/src/clear_log_tab.c:62:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(new_syslog, line);
data/gadmin-bind-0.2.5/src/commands.c:43:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((fp=popen(command, "r"))==NULL)
data/gadmin-bind-0.2.5/src/commands.c:54:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	     strcat(info, line);
data/gadmin-bind-0.2.5/src/commands.c:75:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((fp=popen(command, "w"))==NULL)
data/gadmin-bind-0.2.5/src/delete_domain.c:135:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/delete_resource.c:141:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s %s %s %s", tmp1, tmp2, tmp3, tmp4);
data/gadmin-bind-0.2.5/src/delete_resource.c:182:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/delete_resource.c:259:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s %s %s %s", tmp1, tmp2, tmp3, tmp4);
data/gadmin-bind-0.2.5/src/delete_resource.c:277:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:122:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(new_zone, soa_header);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:128:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(new_zone, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:485:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%*s %s", tmp); /* Compensate for semicolon */
data/gadmin-bind-0.2.5/src/domain_settings_window.c:500:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%*s %*s %*s %*s %s", tmp); /* -1 for the ending dot */
data/gadmin-bind-0.2.5/src/domain_settings_window.c:508:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:516:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:524:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:532:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:540:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1097:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1100:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%*s %s", forward);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1128:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1134:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1140:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    	strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1146:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1151:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1159:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1165:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1172:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1178:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1181:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		  strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1188:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1198:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1217:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1224:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1256:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		        strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1262:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    	     strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1268:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1273:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1281:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		        strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1287:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		        strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1294:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1300:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(new_conf, tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1303:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		      strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1311:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	      strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:66:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_domain_name, "%s", domain?domain:"none");
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:67:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_domain_ipv4_address, "%s", ipv4_address?ipv4_address:"none");
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:68:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_domain_ipv6_address, "%s", ipv6_address?ipv6_address:"none");
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:69:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_domain_type, "%s", type?type:"master");
data/gadmin-bind-0.2.5/src/functions.c:61:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempname, "%s", check_buffer);
data/gadmin-bind-0.2.5/src/functions.c:98:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempname, "%s", check_buffer);
data/gadmin-bind-0.2.5/src/functions.c:148:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempname, "%s", check_buffer);
data/gadmin-bind-0.2.5/src/functions.c:183:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempname, "%s", check_buffer);
data/gadmin-bind-0.2.5/src/load_settings.c:62:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if((fp=popen(cmd, "r"))==NULL)
data/gadmin-bind-0.2.5/src/load_settings.c:96:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  sscanf(line, "%*s %s", CHROOT_PATH_BUF);
data/gadmin-bind-0.2.5/src/load_settings.c:99:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  sscanf(line, "%*s %s", SYSLOG_PATH_BUF);
data/gadmin-bind-0.2.5/src/load_settings.c:102:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  sscanf(line, "%*s %s", RESOLV_PATH_BUF);
data/gadmin-bind-0.2.5/src/new_rndc_key.c:60:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((fp=popen(command, "r"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:77:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(confgen_output, line);
data/gadmin-bind-0.2.5/src/new_rndc_key.c:134:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat(new_conf, key_line);
data/gadmin-bind-0.2.5/src/new_rndc_key.c:138:10:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
         strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/new_rndc_key.c:190:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if((fp=popen(command, "r"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:228:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat(new_conf, key_line);
data/gadmin-bind-0.2.5/src/new_rndc_key.c:232:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(new_conf, line);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:110:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%*s %s", domain_name);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:150:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%*s %*s %*s %*s %*s %s", mask);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:181:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%*s %s", type);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:250:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	    if((move_fp=popen(cmd, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_log_tab.c:61:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat(buffy+pos, line);
data/gadmin-bind-0.2.5/src/populate_resolvers.c:57:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buffy, line);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:80:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s %s %s %s", tmp1, tmp2, tmp3, tmp4);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:168:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line, "%s %s %s %s", tmp1, tmp2, tmp3, tmp4);
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:63:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buffy, line);
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:64:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_resource_type, "%s", type?type:"none");
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:65:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_resource_hostname, "%s", hostname?hostname:"none");
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:66:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(global_resource_address, "%s", address?address:"none");
data/gadmin-bind-0.2.5/src/run_verify_cmd.c:50:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((fp=popen(cmd, "r"))==NULL)
data/gadmin-bind-0.2.5/src/run_verify_cmd.c:64:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buffy, line);
data/gadmin-bind-0.2.5/src/select_first_domain.c:64:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_domain_name, "%s", (gchar *)domain?domain:"none");
data/gadmin-bind-0.2.5/src/select_first_domain.c:65:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_domain_ipv4_address, "%s", (gchar *)ipv4_address?ipv4_address:"none");
data/gadmin-bind-0.2.5/src/select_first_domain.c:66:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_domain_ipv6_address, "%s", (gchar *)ipv6_address?ipv6_address:"none");
data/gadmin-bind-0.2.5/src/select_first_domain.c:67:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_domain_type, "%s", (gchar *)type?type:"master");
data/gadmin-bind-0.2.5/src/select_first_resource.c:63:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_resource_type, "%s", (gchar *)type?type:"none");
data/gadmin-bind-0.2.5/src/select_first_resource.c:64:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_resource_hostname, "%s", (gchar *)hostname?hostname:"none");
data/gadmin-bind-0.2.5/src/select_first_resource.c:65:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(global_resource_address, "%s", (gchar *)address?address:"none");
data/gadmin-bind-0.2.5/src/set_version.c:47:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if((fp=popen(command, "r"))==NULL)
data/gadmin-bind-0.2.5/src/update_root_servers.c:78:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(conf, buffy);
data/gadmin-bind-0.2.5/src/activate_button_clicked.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/activate_button_clicked.c:47:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(script_path, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/activate_button_clicked.c:150:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    sleep(atoi(CMD_SLEEP_LOG_SECS));
data/gadmin-bind-0.2.5/src/add_configuration.c:34:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/add_configuration.c:103:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fp=fopen(file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_configuration.c:183:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fp=fopen(file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_configuration.c:207:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fp=fopen(file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_configuration.c:242:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fp=fopen(file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_configuration_dialog.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/add_domain.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/add_domain.c:55:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/add_domain.c:185:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "a"))==NULL)
data/gadmin-bind-0.2.5/src/add_domain.c:216:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(date_string, "20100319");
data/gadmin-bind-0.2.5/src/add_domain.c:223:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(date_string, "01");
data/gadmin-bind-0.2.5/src/add_domain.c:268:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((new_zone_fp=fopen(zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_domain.c:343:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((new_zone_fp=fopen(zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_domain.c:417:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((new_zone_fp=fopen(zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/add_resource.c:42:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/add_resource.c:44:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/add_resource.c:45:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/add_resource.c:46:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/add_resource.c:47:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/add_resource.c:63:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/add_resource.c:155:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fwd_fp=fopen(forward_zone_file, "a"))==NULL)
data/gadmin-bind-0.2.5/src/add_resource.c:171:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((rev_ipv4_fp=fopen(reverse_ipv4_zone_file, "a"))==NULL)
data/gadmin-bind-0.2.5/src/add_resource.c:190:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((rev_ipv6_fp=fopen(reverse_ipv6_zone_file, "a"))==NULL)
data/gadmin-bind-0.2.5/src/clear_log_tab.c:32:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/clear_log_tab.c:44:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(SYSLOG_PATH_BUF, "r"))==NULL)
data/gadmin-bind-0.2.5/src/clear_log_tab.c:67:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(SYSLOG_PATH_BUF, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/commands.c:96:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(infile, "r"))==NULL)
data/gadmin-bind-0.2.5/src/delete_domain.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/delete_domain.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/delete_domain.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/delete_domain.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/delete_domain.c:89:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(path, "r"))==NULL)
data/gadmin-bind-0.2.5/src/delete_domain.c:143:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(path, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/delete_resource.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:36:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_type[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:41:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_hostname[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:42:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_address[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:44:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/delete_resource.c:111:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(forward_zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/delete_resource.c:188:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(forward_zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/delete_resource.c:223:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(reverse_zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/delete_resource.c:282:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(reverse_zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/dialog_if_files_missing.c:31:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:44:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:46:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:47:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:48:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:49:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/domain_settings_window.c:89:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/domain_settings_window.c:135:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(zone_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/domain_settings_window.c:460:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(fwd_zone_path, "r"))==NULL)
data/gadmin-bind-0.2.5/src/domain_settings_window.c:554:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1049:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1322:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:29:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:31:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/domain_treeview_row_clicked.c:32:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/functions.c:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempname[4096]="";
data/gadmin-bind-0.2.5/src/functions.c:43:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(PASSWD_FILE,"r"))==NULL)
data/gadmin-bind-0.2.5/src/functions.c:80:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(SHADOW_FILE,"r"))==NULL)
data/gadmin-bind-0.2.5/src/functions.c:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempname[4096]="";
data/gadmin-bind-0.2.5/src/functions.c:130:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(GROUP_FILE,"r"))==NULL)
data/gadmin-bind-0.2.5/src/functions.c:165:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp = fopen(GSHADOW_FILE,"r"))==NULL)
data/gadmin-bind-0.2.5/src/gadmin-bind.c:54:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_domain_name[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:55:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_domain_ipv4_address[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:56:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_domain_ipv6_address[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:57:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_domain_type[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:59:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_resource_type[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:60:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_resource_hostname[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:61:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char global_resource_address[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:69:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char CHROOT_PATH_BUF[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:70:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char SYSLOG_PATH_BUF[1024]="";
data/gadmin-bind-0.2.5/src/gadmin-bind.c:71:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char RESOLV_PATH_BUF[1024]="";
data/gadmin-bind-0.2.5/src/ip_handling.c:195:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(ipo, "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x",
data/gadmin-bind-0.2.5/src/ip_handling.c:215:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char  ipv6[IPV6_SIZE];
data/gadmin-bind-0.2.5/src/ip_handling.c:283:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ipv6[IPV6_SIZE];
data/gadmin-bind-0.2.5/src/ip_handling.c:288:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(rev, "%d.%d.%d.%d.in-addr.arpa",d,c,b,a);
data/gadmin-bind-0.2.5/src/ip_handling.c:302:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      strcat(rev,"ip6.arpa");
data/gadmin-bind-0.2.5/src/ip_handling.c:333:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char  rev[REV_SIZE];
data/gadmin-bind-0.2.5/src/ip_handling.c:334:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char  obuf[REV_SIZE];
data/gadmin-bind-0.2.5/src/ip_handling.c:592:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(t, ":%x",part[val]);
data/gadmin-bind-0.2.5/src/ip_handling.c:598:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf(t, "%x",part[0]);
data/gadmin-bind-0.2.5/src/ip_handling.c:604:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(t, ":%x",part[val]);
data/gadmin-bind-0.2.5/src/ip_handling.c:614:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(t, ":%x",part[val]);
data/gadmin-bind-0.2.5/src/ip_handling.c:621:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf(t, "%x",part[0]);
data/gadmin-bind-0.2.5/src/ip_handling.c:625:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(t, ":%x",part[val]);
data/gadmin-bind-0.2.5/src/ip_handling.c:662:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
               sprintf(t,"%d",(int)val);
data/gadmin-bind-0.2.5/src/ip_handling.c:703:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *bits = atoi(s+1);
data/gadmin-bind-0.2.5/src/ip_handling.c:742:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *end = atoi(s+1);
data/gadmin-bind-0.2.5/src/ip_handling.c:749:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *start = atoi(s+1);
data/gadmin-bind-0.2.5/src/ip_handling.c:807:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char  rev[REV_SIZE];
data/gadmin-bind-0.2.5/src/load_settings.c:34:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/load_settings.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/load_settings.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char RESOLV_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/load_settings.c:77:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(settings_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/new_rndc_key.c:108:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:166:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:206:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(RNDC_CONF, "r"))==NULL)
data/gadmin-bind-0.2.5/src/new_rndc_key.c:250:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(RNDC_CONF, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:38:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128]);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:38:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128]);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:38:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128]);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:56:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:210:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128])
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:210:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128])
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:210:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_reverse_ip_for_zone(char *domain_name, char addr_type[128])
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:226:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(named_conf, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_log_tab.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_log_tab.c:44:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(SYSLOG_PATH_BUF, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_resolvers.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char RESOLV_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_resolvers.c:43:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(RESOLV_PATH_BUF, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:33:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:56:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(forward_zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:140:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(forward_zone_file, "r"))==NULL)
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:31:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:32:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:47:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(filepath, "r"))==NULL)
data/gadmin-bind-0.2.5/src/reread_conf.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/reread_conf.c:80:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    sleep(atoi(CMD_SLEEP_LOG_SECS));
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:28:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_type[1024];
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:29:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_hostname[1024];
data/gadmin-bind-0.2.5/src/resource_treeview_row_clicked.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_address[1024];
data/gadmin-bind-0.2.5/src/reverse_address.c:110:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            mask = atoi(&temp[i+1]);
data/gadmin-bind-0.2.5/src/reverse_address.c:229:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            mask = atoi(&address[i+1]);
data/gadmin-bind-0.2.5/src/save_resolvers.c:32:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char RESOLV_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/save_resolvers.c:45:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(RESOLV_PATH_BUF, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/save_root_servers.c:34:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/save_root_servers.c:57:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(root_hints, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/save_settings.c:41:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/save_settings.c:42:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/save_settings.c:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char RESOLV_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/save_settings.c:80:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(settings_file, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/select_first_domain.c:27:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/select_first_domain.c:28:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/select_first_domain.c:29:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/select_first_domain.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/select_first_resource.c:28:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_type[1024];
data/gadmin-bind-0.2.5/src/select_first_resource.c:29:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_hostname[1024];
data/gadmin-bind-0.2.5/src/select_first_resource.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_resource_address[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:45:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_name[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:46:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv4_address[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:47:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_ipv6_address[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:48:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char global_domain_type[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:50:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char SYSLOG_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:51:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char RESOLV_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:52:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/settings_window.c:67:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(RNDC_CONF, "r"))==NULL)
data/gadmin-bind-0.2.5/src/status_update.c:41:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_process_pid(char process[1024])
data/gadmin-bind-0.2.5/src/status_update.c:41:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_process_pid(char process[1024])
data/gadmin-bind-0.2.5/src/status_update.c:50:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(pid, "NONE");
data/gadmin-bind-0.2.5/src/status_update.c:68:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    if((fp=fopen(sub_proc_path, "r"))==NULL)
data/gadmin-bind-0.2.5/src/status_update.h:26:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_process_pid(char process[1024]);
data/gadmin-bind-0.2.5/src/status_update.h:26:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char * get_process_pid(char process[1024]);
data/gadmin-bind-0.2.5/src/update_root_servers.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char CHROOT_PATH_BUF[1024];
data/gadmin-bind-0.2.5/src/update_root_servers.c:46:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    char tmpfile[]="/tmp/gadmin-bind-XXXXXX";
data/gadmin-bind-0.2.5/src/update_root_servers.c:49:13:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    tmpfd = mkstemp(tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:49:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    tmpfd = mkstemp(tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:52:61:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	printf("Error: Could not create temporary dig file: %s\n", tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:57:54:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    command = g_strdup_printf("%s > %s", DIG_BINARY, tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:63:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(tmpfile, "r"))==NULL)
data/gadmin-bind-0.2.5/src/update_root_servers.c:63:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if((fp=fopen(tmpfile, "r"))==NULL)
data/gadmin-bind-0.2.5/src/update_root_servers.c:65:47:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	printf("Cannot open temporary dig file: %s", tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:85:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if( file_exists(tmpfile) )
data/gadmin-bind-0.2.5/src/update_root_servers.c:86:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	unlink(tmpfile);
data/gadmin-bind-0.2.5/src/update_root_servers.c:100:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fp=fopen(root_hints, "w+"))==NULL)
data/gadmin-bind-0.2.5/src/activate_button_clicked.c:142:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(CMD_SLEEP_LOG_SECS) > 2 ) /* 99 seconds max */
data/gadmin-bind-0.2.5/src/add_configuration_dialog.c:48:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/add_configuration_dialog.c:63:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/add_configuration_dialog.c:68:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/add_domain.c:113:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(domain_name) < 3 )
data/gadmin-bind-0.2.5/src/add_domain.c:121:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(  strlen(ipv4_address) > 4    /* Shortest ipv4 network address: "1.0.0" */
data/gadmin-bind-0.2.5/src/add_domain.c:127:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(  strlen(ipv6_address) > 6   /* Shortest network address: "::1/128" */
data/gadmin-bind-0.2.5/src/add_domain.c:166:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(rev_ipv6_address) < 10 )
data/gadmin-bind-0.2.5/src/add_resource.c:61:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    match_line[strlen(match_line)-1]='\0';
data/gadmin-bind-0.2.5/src/add_resource.c:107:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(hostname) < 3 )
data/gadmin-bind-0.2.5/src/add_resource.c:119:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ( strlen(fwd_address) < 2 || strlen(fwd_address) > 3 ) )
data/gadmin-bind-0.2.5/src/add_resource.c:119:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ( strlen(fwd_address) < 2 || strlen(fwd_address) > 3 ) )
data/gadmin-bind-0.2.5/src/add_resource.c:133:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	|| strlen(fwd_address) < 3 ) /* Can be "::1" */
data/gadmin-bind-0.2.5/src/add_resource.c:212:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    &&  ( strstr(last_octets, ".ip6.arpa") || strlen(last_octets) < 1 ) )
data/gadmin-bind-0.2.5/src/commands.c:59:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(info, "\n");
data/gadmin-bind-0.2.5/src/commented.c:32:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( line!=NULL && strlen(line) > 0 )
data/gadmin-bind-0.2.5/src/create_domain_tab.c:81:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:87:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:93:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:99:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:121:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:131:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:140:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:149:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:154:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:171:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:186:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:197:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:246:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:252:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:258:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:282:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:287:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:292:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:297:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:302:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:322:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:329:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:343:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:359:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_domain_tab.c:370:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:55:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:94:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:108:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:121:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:137:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:151:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:165:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:180:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:195:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:223:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:228:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:233:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:238:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:243:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:255:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_main_window.c:269:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_verify_tab.c:65:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/create_verify_tab.c:71:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/credits_window.c:43:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/credits_window.c:161:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/credits_window.c:185:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/delete_domain.c:56:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_name)==0 )
data/gadmin-bind-0.2.5/src/delete_domain.c:63:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_ipv4_address)==0
data/gadmin-bind-0.2.5/src/delete_domain.c:64:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    &&  strlen(global_domain_ipv6_address)==0 )
data/gadmin-bind-0.2.5/src/delete_domain.c:119:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( strstr(line, "};") && strlen(line) < 4 )
data/gadmin-bind-0.2.5/src/delete_domain.c:130:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( strstr(line, "};") && strlen(line) < 4 )
data/gadmin-bind-0.2.5/src/delete_resource.c:62:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_type)==0 )
data/gadmin-bind-0.2.5/src/delete_resource.c:69:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_name)==0 )
data/gadmin-bind-0.2.5/src/delete_resource.c:76:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_ipv4_address)==0
data/gadmin-bind-0.2.5/src/delete_resource.c:77:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    &&  strlen(global_domain_ipv6_address)==0 )
data/gadmin-bind-0.2.5/src/delete_resource.c:84:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_resource_type)==0 )
data/gadmin-bind-0.2.5/src/delete_resource.c:91:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_resource_hostname)==0 )
data/gadmin-bind-0.2.5/src/delete_resource.c:99:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_resource_address)==0
data/gadmin-bind-0.2.5/src/delete_resource.c:134:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/delete_resource.c:137:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) < 2 )
data/gadmin-bind-0.2.5/src/delete_resource.c:252:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/delete_resource.c:255:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) < 2 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:174:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:197:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:211:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:214:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(global_domain_name, strlen(global_domain_name), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:217:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:224:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:227:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(global_domain_ipv4_address, strlen(global_domain_ipv4_address), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:230:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:237:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:240:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(global_domain_ipv6_address, strlen(global_domain_ipv6_address), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:243:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:250:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:254:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:258:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:275:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:279:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:286:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:290:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:297:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:301:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:308:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:312:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:319:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:323:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:330:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:334:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:341:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:345:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:352:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:356:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:363:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:367:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:374:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:378:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:385:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:389:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:393:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:397:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:404:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:408:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:415:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:419:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:426:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:430:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:434:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:441:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:445:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:479:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strstr(line, "#") || strlen(line) > 1000 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:487:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      utf8 = g_locale_to_utf8(tmp, strlen(tmp)-1, NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:489:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:501:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp)-1, NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:506:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:506:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:509:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:514:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:514:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:517:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:522:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:522:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:525:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:530:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:530:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:533:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:538:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:538:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if( strlen(line) < 1000 && strlen(line) > 1 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:541:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:599:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:600:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:611:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:612:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:623:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:624:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:635:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:636:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    if( strlen(tmp) > 5 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:638:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:650:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:652:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    if( strlen(tmp) > 3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:654:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:666:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-4]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:667:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    utf8 = g_locale_to_utf8(tmp, strlen(tmp), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:674:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-2]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:687:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    tmp[strlen(tmp)-2]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:804:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:819:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:837:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:869:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:893:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:916:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:932:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( domain_type_slave && strlen(masters) < 3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:935:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1074:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1102:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    snprintf(forward, strlen(tmp), "%s", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1103:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    tmp[strlen(tmp)-1]='\0';
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1104:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    snprintf(reverse_file, strlen(tmp)+3, "/%s/", tmp);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1148:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if( strlen(allow_notify) > 3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1209:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strstr(line, reverse_file) && strlen(line) < MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1270:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    if( strlen(allow_notify) > 3 )
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1325:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/domain_settings_window.c:1387:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/functions.c:101:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			&& strlen(username) == strlen(tempname) )
data/gadmin-bind-0.2.5/src/functions.c:101:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			&& strlen(username) == strlen(tempname) )
data/gadmin-bind-0.2.5/src/functions.c:185:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if( strstr(groupname, tempname) && strlen(groupname)==strlen(tempname) )
data/gadmin-bind-0.2.5/src/functions.c:185:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if( strstr(groupname, tempname) && strlen(groupname)==strlen(tempname) )
data/gadmin-bind-0.2.5/src/gadmin-bind.c:111:10:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    	    usleep(100000*10);
data/gadmin-bind-0.2.5/src/gadmin-bind.c:125:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(CHROOT_PATH_BUF) < 5 )
data/gadmin-bind-0.2.5/src/gadmin-bind.c:128:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(SYSLOG_PATH_BUF) < 5 )
data/gadmin-bind-0.2.5/src/gadmin-bind.c:131:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(RESOLV_PATH_BUF) < 5 )
data/gadmin-bind-0.2.5/src/ip_handling.c:449:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ( strlen(rip) > 72 )
data/gadmin-bind-0.2.5/src/ip_handling.c:593:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:599:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:605:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:615:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:622:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:626:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            t += strlen(t);
data/gadmin-bind-0.2.5/src/ip_handling.c:663:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               t += strlen(t);
data/gadmin-bind-0.2.5/src/load_settings.c:92:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > 1000 )
data/gadmin-bind-0.2.5/src/new_rndc_key.c:79:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if( strstr(line, "secret \"") && strlen(line) < 1000 && ! key_found )
data/gadmin-bind-0.2.5/src/new_rndc_key.c:87:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( key!=NULL && strlen(key) > 5 )
data/gadmin-bind-0.2.5/src/new_rndc_key.c:88:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      key[strlen(key)-3]='\0';
data/gadmin-bind-0.2.5/src/new_rndc_key.c:132:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       && strlen(line) < 1000 && ! key_changed )
data/gadmin-bind-0.2.5/src/new_rndc_key.c:145:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(key, strlen(key), NULL, NULL, NULL);    
data/gadmin-bind-0.2.5/src/new_rndc_key.c:226:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    	&& strlen(line) < 1000 && ! key_changed  )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:78:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:112:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    snprintf(domain_name, strlen(tmp), "%s", tmp);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:119:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    utf8 = g_locale_to_utf8(domain_name, strlen(domain_name), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:129:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(fwd_addr, strlen(fwd_addr), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:161:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( strlen(mask) > 0 )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:167:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp_addr, strlen(tmp_addr), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:179:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strstr(line, "type") && strlen(domain_name) > 3 )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:183:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(type, strlen(tmp), "%s", tmp);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:184:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(type, strlen(type), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:274:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:317:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:365:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	        snprintf(rev_ip, strlen(tmp)-17, "%s", &tmp[1]);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:369:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	        snprintf(rev_ip, strlen(tmp)-13, "%s", &tmp[1]);
data/gadmin-bind-0.2.5/src/populate_domain_treeview.c:375:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_log_tab.c:62:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    pos += strlen(line);
data/gadmin-bind-0.2.5/src/populate_log_tab.c:68:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(buffy, strlen(buffy), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_log_tab.c:74:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/populate_resolvers.c:62:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(buffy, strlen(buffy), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resolvers.c:68:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:76:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:89:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strlen(tmp4) > 6 && strlen(tmp4) < MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:89:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strlen(tmp4) > 6 && strlen(tmp4) < MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:94:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strlen(tmp3) > 6 && strlen(tmp3) < MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:94:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strlen(tmp3) > 6 && strlen(tmp3) < MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:132:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(global_domain_name) < 3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:164:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if( strlen(line) > MAX_CONF_LINE-3 )
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:180:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:184:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:189:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(forward_ip, strlen(forward_ip), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:202:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:206:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp2, strlen(tmp2), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:211:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(forward_ip, strlen(forward_ip), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:223:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:227:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:231:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp4, strlen(tmp4), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:242:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:246:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:250:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:261:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:265:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:269:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp4, strlen(tmp4), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:280:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:284:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:288:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:298:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:302:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp4, strlen(tmp4), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:306:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:316:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:320:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:324:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp1, strlen(tmp1), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:334:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:337:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp4, strlen(tmp4), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:340:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:350:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(text, strlen(text), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:353:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp3, strlen(tmp3), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_resource_treeview.c:356:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		utf8 = g_locale_to_utf8(tmp2, strlen(tmp2), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:68:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(buffy, strlen(buffy), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/populate_root_servers_tab.c:73:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/reread_conf.c:75:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(CMD_SLEEP_LOG_SECS) > 2 ) /* 99 seconds max */
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:41:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:46:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:53:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:58:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:65:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:70:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:77:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:82:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:89:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/resource_combo_changed.c:94:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/reverse_address.c:122:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    rev_length = strlen(rev);
data/gadmin-bind-0.2.5/src/reverse_address.c:130:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rev[strlen(rev)-9]='\0';
data/gadmin-bind-0.2.5/src/reverse_address.c:172:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( forward_address==NULL || strlen(forward_address) < 5 )
data/gadmin-bind-0.2.5/src/run_verify_cmd.c:70:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(buffy, strlen(buffy), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/run_verify_cmd.c:75:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/save_settings.c:87:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(set_chroot) > 5 )
data/gadmin-bind-0.2.5/src/save_settings.c:94:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(set_chroot) > 5 )
data/gadmin-bind-0.2.5/src/save_settings.c:101:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(set_chroot) > 5 )
data/gadmin-bind-0.2.5/src/set_version.c:61:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       if( strstr(version, "BIND") && strlen(version) < 100 )
data/gadmin-bind-0.2.5/src/set_version.c:64:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  utf8 = g_locale_to_utf8(ver, strlen(ver)-1, NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/set_version.c:79:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(ver, strlen(ver), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:83:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && ! commented(line) && strlen(line) < 1000 )
data/gadmin-bind-0.2.5/src/settings_window.c:95:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    for(z=strlen(key_line)-2; z>0; z--)
data/gadmin-bind-0.2.5/src/settings_window.c:132:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:146:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:161:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:165:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(CHROOT_PATH_BUF, strlen(CHROOT_PATH_BUF), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:170:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:174:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(RESOLV_PATH_BUF, strlen(RESOLV_PATH_BUF), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:179:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:183:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(SYSLOG_PATH_BUF, strlen(SYSLOG_PATH_BUF), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/settings_window.c:191:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(secret_key, strlen(secret_key), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/show_info.c:53:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(content) < 5 )
data/gadmin-bind-0.2.5/src/show_info.c:113:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8 = g_locale_to_utf8(content, strlen(content), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/show_info.c:116:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gtk_text_buffer_set_text(text_buffer, utf8, strlen(utf8));
data/gadmin-bind-0.2.5/src/status_update.c:117:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);
data/gadmin-bind-0.2.5/src/status_update.c:133:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    	  utf8 = g_locale_to_utf8(info, strlen(info), NULL, NULL, NULL);

ANALYSIS SUMMARY:

Hits = 562
Lines analyzed = 12107 in approximately 0.42 seconds (28785 lines/second)
Physical Source Lines of Code (SLOC) = 7244
Hits@level = [0] 132 [1] 296 [2] 179 [3]   0 [4]  87 [5]   0
Hits@level+ = [0+] 694 [1+] 562 [2+] 266 [3+]  87 [4+]  87 [5+]   0
Hits/KSLOC@level+ = [0+] 95.8034 [1+] 77.5814 [2+] 36.72 [3+] 12.0099 [4+] 12.0099 [5+]   0
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.