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/xiphos-4.2.1+dfsg1/src/backend/gs_stringmgr.cpp
Examining data/xiphos-4.2.1+dfsg1/src/backend/gs_stringmgr.h
Examining data/xiphos-4.2.1+dfsg1/src/backend/module_manager.cc
Examining data/xiphos-4.2.1+dfsg1/src/backend/sword_main.cc
Examining data/xiphos-4.2.1+dfsg1/src/editor/editor.h
Examining data/xiphos-4.2.1+dfsg1/src/editor/link_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/editor/link_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c
Examining data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.h
Examining data/xiphos-4.2.1+dfsg1/src/editor/template.h
Examining data/xiphos-4.2.1+dfsg1/src/editor/webkit_editor.h
Examining data/xiphos-4.2.1+dfsg1/src/editor/editor.c
Examining data/xiphos-4.2.1+dfsg1/src/editor/webkit_editor.c
Examining data/xiphos-4.2.1+dfsg1/src/examples/ipc_client.c
Examining data/xiphos-4.2.1+dfsg1/src/examples/xiphos-nav.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/about_modules.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/about_sword.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/about_trans.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/about_xiphos.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/bibletext.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/bibletext_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/bookmark_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_menu.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_treeview.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/cipher_key_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/commentary.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/commentary_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/dictlex.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/dictlex_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/display_info.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/dummy.cpp
Examining data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/find_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/font_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/gbs.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/gbs_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/gui.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/ipc.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/main_menu.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/menu_popup.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_book.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_book_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey_editor.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey_parallel.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/parallel_tab.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/parallel_view.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/search_sidebar.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/sidebar.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/sidebar_dialog.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/splash.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/tabbed_browser.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/treekey-editor.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c
Examining data/xiphos-4.2.1+dfsg1/src/gtk/xiphos.c
Examining data/xiphos-4.2.1+dfsg1/src/gui/about_modules.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/about_sword.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/about_trans.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/about_xiphos.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bibletext.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bibletext_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bookmark_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bookmarks.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bookmarks_menu.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/bookmarks_treeview.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/cipher_key_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/commentary.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/commentary_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/debug_glib_null.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/dictlex.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/dictlex_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/display_info.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/export_bookmarks.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/export_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/find_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/font_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/gbs.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/gbs_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/gui.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/ipc.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/main_menu.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/main_window.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/menu_popup.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/mod_mgr.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_book.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_book_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_versekey.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_versekey_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_versekey_editor.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/navbar_versekey_parallel.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/parallel_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/parallel_tab.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/parallel_view.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/preferences_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/search_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/search_sidebar.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/sidebar.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/sidebar_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/splash.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/tabbed_browser.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/treekey-editor.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/utilities.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/widgets.h
Examining data/xiphos-4.2.1+dfsg1/src/gui/xiphos.h
Examining data/xiphos-4.2.1+dfsg1/src/main/biblesync_glue.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/biblesync_glue.h
Examining data/xiphos-4.2.1+dfsg1/src/main/configs.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/configs.h
Examining data/xiphos-4.2.1+dfsg1/src/main/display.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/export_passage.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/export_passage.h
Examining data/xiphos-4.2.1+dfsg1/src/main/global_ops.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/gtk_compat.h
Examining data/xiphos-4.2.1+dfsg1/src/main/lists.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/lists.h
Examining data/xiphos-4.2.1+dfsg1/src/main/main.c
Examining data/xiphos-4.2.1+dfsg1/src/main/mod_mgr.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/mod_mgr.h
Examining data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.h
Examining data/xiphos-4.2.1+dfsg1/src/main/modulecache.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar.h
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_book.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_book.h
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_book_dialog.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_book_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_versekey.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/navbar_versekey.h
Examining data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/parallel_view.h
Examining data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/prayerlists.h
Examining data/xiphos-4.2.1+dfsg1/src/main/previewer.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/previewer.h
Examining data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/search_dialog.h
Examining data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.h
Examining data/xiphos-4.2.1+dfsg1/src/main/settings.c
Examining data/xiphos-4.2.1+dfsg1/src/main/settings.h
Examining data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/sidebar.h
Examining data/xiphos-4.2.1+dfsg1/src/main/sword.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/sword.h
Examining data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.h
Examining data/xiphos-4.2.1+dfsg1/src/main/tab_history.c
Examining data/xiphos-4.2.1+dfsg1/src/main/tab_history.h
Examining data/xiphos-4.2.1+dfsg1/src/main/url.cc
Examining data/xiphos-4.2.1+dfsg1/src/main/xml.c
Examining data/xiphos-4.2.1+dfsg1/src/main/xml.h
Examining data/xiphos-4.2.1+dfsg1/src/webkit/wk-html.c
Examining data/xiphos-4.2.1+dfsg1/src/webkit/wk-html.h
Examining data/xiphos-4.2.1+dfsg1/src/xiphos_html/xiphos_html.c
Examining data/xiphos-4.2.1+dfsg1/src/xiphos_html/xiphos_html.h

FINAL RESULTS:

data/xiphos-4.2.1+dfsg1/src/examples/xiphos-nav.c:56:3:  [4] (shell) execvp:
  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.
		execvp("xiphos", argv);
data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_menu.c:545:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s/bookmarks/bookmarks.xml", settings.gSwordDir);
data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_menu.c:656:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s, %s", key, mod_name);
data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_treeview.c:254:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s, %s", key, mod1);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:159:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "%s.xml", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:212:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.html", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:216:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.txt", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:414:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "%s.xml", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:462:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.html", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:465:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.txt", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:529:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s.html", data->filename);
data/xiphos-4.2.1+dfsg1/src/gtk/find_dialog.c:94:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(settings.findText, "%s", text);
data/xiphos-4.2.1+dfsg1/src/gtk/find_dialog.c:334:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s in %s", _("Find"), mod_name);
data/xiphos-4.2.1+dfsg1/src/gtk/menu_popup.c:1376:16:  [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 ((result = popen(workstr->str, "r")) == NULL) {
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:872:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(msg, _("`mkdir %s' failed:\n%s."),
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:326:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(title, "%s - %s", settings.program_title, _("Parallel"));
data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c:483:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, _("New List %s"), num);
data/xiphos-4.2.1+dfsg1/src/gtk/sidebar.c:138:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(file, "%s/book_path.conf", settings.gSwordDir);
data/xiphos-4.2.1+dfsg1/src/gtk/sidebar.c:190:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(file, "%s/book_path.conf", settings.gSwordDir);
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1571:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(msg,
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1599:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(msg, "%s\n%s, %s",
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1765:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg,
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:682:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(fontcolor, "<font color=%s>", textcolor);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:936:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(buf, 4999, HTML_START
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:237:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(openstr,
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1423:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg, _("%s:\nNo such module is installed.\n%s"),
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1430:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s %s %s", SEARCHING, module, SMODULE);
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1441:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(msg, _("No fast-search index exists for %s.%s%s"),
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:131:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s %s", num, buf1);
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:198:3:  [4] (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).
		strcpy(settings.sb_search_mod,
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:206:3:  [4] (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).
		strcpy(settings.sb_search_mod, settings.CommWindowModule);
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:297:2:  [4] (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).
	strcpy(settings.sb_search_mod, settings.MainWindowModule);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:120:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg, _("Xiphos can not create directory " XI_DIR
data/xiphos-4.2.1+dfsg1/src/main/settings.c:262:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(lfix, "%s.UTF-8", settings.special_locale); //for Ubuntu
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:168:2:  [4] (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).
	strcpy(settings.sb_search_mod, module_name);
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:175:2:  [4] (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).
	strcpy(sidebar.mod_name, module_name);
data/xiphos-4.2.1+dfsg1/src/main/sword.cc:270:9:  [4] (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).
		(void)strcpy(rework + 1, rework + 3);
data/xiphos-4.2.1+dfsg1/src/main/sword.h:164:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define access(d, m) g_access(d, m)
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:173:2:  [4] (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).
	strcpy(tab->history_list[tab->history_items].verseref,
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:176:3:  [4] (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).
		strcpy(tab->history_list[tab->history_items].textmod,
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:179:3:  [4] (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).
		strcpy(tab->history_list[tab->history_items].commod,
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:218:2:  [4] (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).
	strcpy(tab->history_list[tab->history_items].verseref, reference);
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:220:3:  [4] (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).
		strcpy(tab->history_list[tab->history_items].textmod,
data/xiphos-4.2.1+dfsg1/src/main/tab_history.c:223:3:  [4] (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).
		strcpy(tab->history_list[tab->history_items].commod,
data/xiphos-4.2.1+dfsg1/src/main/url.cc:192: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 ((result = popen(cmd->str, "r")) == NULL) {
data/xiphos-4.2.1+dfsg1/src/main/xml.c:80:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s/%s/bookmarks.xml", settings.gSwordDir,
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1094:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char *locale = getenv("LANG");
data/xiphos-4.2.1+dfsg1/src/main/sword.cc:766:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *lang = getenv("LANG");
data/xiphos-4.2.1+dfsg1/src/backend/gs_stringmgr.cpp:44:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(text, upper_str, newlen);
data/xiphos-4.2.1+dfsg1/src/backend/module_manager.cc:197:17:  [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).
				int isize = atoi(installsize);
data/xiphos-4.2.1+dfsg1/src/backend/sword_main.cc:970:9:  [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.
	static char retval[128];
data/xiphos-4.2.1+dfsg1/src/backend/sword_main.cc:1102:9:  [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.
	buf = (char *)conf_file[mod_name][item].c_str();
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:881:6:  [2] (integer) atol:
  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).
	if (atol(e->key) != 0)
data/xiphos-4.2.1+dfsg1/src/editor/webkit_editor.h:45:17:  [2] (misc) open:
  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).
	GtkToolButton *open;
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:188:3:  [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(value, "%d",
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:192:3:  [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(value, "%d",
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:196:3:  [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(value, "%d",
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:202:3:  [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(value, "%d",
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:439:12:  [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).
						     atoi(buf));
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:449:12:  [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).
						     atoi(buf));
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:460:12:  [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).
						     atoi(buf));
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:468: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).
			edata.version = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:371:4:  [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(layout, "%d", settings.sidebar_width);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:377:4:  [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(layout, "%d", settings.biblepane_height);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:383:4:  [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(layout, "%d", settings.commpane_height);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:389:4:  [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(layout, "%d", settings.biblepane_width);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:462:2:  [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(layout, "%d", gtk_window_is_maximized(GTK_WINDOW(widgets.app)));
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:466:2:  [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(layout, "%d", settings.gs_width);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:469:2:  [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(layout, "%d", settings.gs_height);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:472:2:  [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(layout, "%d", settings.app_x);
data/xiphos-4.2.1+dfsg1/src/gtk/main_window.c:475:2:  [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(layout, "%d", settings.app_y);
data/xiphos-4.2.1+dfsg1/src/gtk/menu_popup.c:1913:19:  [2] (misc) open:
  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).
		gtk_widget_hide(open);
data/xiphos-4.2.1+dfsg1/src/gtk/menu_popup.c:1918:43:  [2] (misc) open:
  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).
		gtk_menu_item_set_submenu(GTK_MENU_ITEM(open), open_sub);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:190: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 *verbs[5][4] = {
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:248:2:  [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(layout, "%d", settings.modmgr_width);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:251:2:  [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(layout, "%d", settings.modmgr_height);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:254:2:  [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(layout, "%d", settings.modmgr_x);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:257:2:  [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(layout, "%d", settings.modmgr_y);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:871: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 msg[300];
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:1811:3:  [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 index[10];
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:2700:3:  [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 index[10];
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:281:2:  [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(layout, "%d", settings.parallel_width);
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:284:2:  [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(layout, "%d", settings.parallel_height);
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:287:2:  [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(layout, "%d", settings.parallel_x);
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:290:2:  [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(layout, "%d", settings.parallel_y);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:223:2:  [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(layout, "%d", settings.prefs_width);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:226:2:  [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(layout, "%d", settings.prefs_height);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:229:2:  [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(layout, "%d", settings.prefs_x);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:232:2:  [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(layout, "%d", settings.prefs_y);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:730:23:  [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).
	settings.showtexts = atoi(xml_get_value("misc", "showtexts"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:757:23:  [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).
	settings.showcomms = atoi(xml_get_value("misc", "showcomms"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:784:25:  [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).
	settings.showpreview = atoi(xml_get_value("misc", "showpreview"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:811:23:  [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).
	settings.showdicts = atoi(xml_get_value("misc", "showdicts"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:837:24:  [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).
	settings.linkedtabs = atoi(xml_get_value("misc", "pinnedtabs"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1088:23:  [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).
	settings.readaloud = atoi(xml_get_value("misc", "readaloud"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1114:6:  [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).
	    atoi(xml_get_value("misc", "showversenum"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1256:6:  [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).
	    atoi(xml_get_value("misc", "verse_num_bold"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1283:6:  [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).
	    atoi(xml_get_value("misc", "verse_num_bracket"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1311:6:  [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).
	    atoi(xml_get_value("misc", "verse_num_superscript"));
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1538:6:  [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).
	    atoi(settings.verse_num_font_size_str);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:1582:28:  [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).
	settings.base_font_size = atoi(settings.base_font_size_str);
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:2463:2:  [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 **locale, brief_locale[3], *real_locale, *current_locale =
data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c:110:2:  [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(layout, "%d", settings.advsearch_width);
data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c:113:2:  [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(layout, "%d", settings.advsearch_height);
data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c:116:2:  [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(layout, "%d", settings.advsearch_x);
data/xiphos-4.2.1+dfsg1/src/gtk/search_dialog.c:119:2:  [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(layout, "%d", settings.advsearch_y);
data/xiphos-4.2.1+dfsg1/src/gtk/sidebar.c:1384:3:  [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(layout, "%d", settings.sidebar_notebook_height);
data/xiphos-4.2.1+dfsg1/src/gtk/tabbed_browser.c:786:27:  [2] (integer) atol:
  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).
			settings.book_offset = atol(pt->book_offset);
data/xiphos-4.2.1+dfsg1/src/gtk/treekey-editor.c:98:6:  [2] (integer) atol:
  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).
	if (atol(info->offset) == 0)
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:815: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).
				       ? atoi(mf->old_font_size) +
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1570: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 msg[256];
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1598:6:  [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 msg[256];
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1764: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 msg[256];
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1908:2:  [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 buf[32];      // for preparing new width+height spec.
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:2024:3:  [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(buf, " width=\"%d\" height=\"%d\"", image_x,
data/xiphos-4.2.1+dfsg1/src/main/biblesync_glue.cc:889: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 pchar[2];
data/xiphos-4.2.1+dfsg1/src/main/display.cc:179: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).
	key_chapter = atoi(t + 1);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:208:17:  [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).
			e->chapter = atoi(t + 1);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:209: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).
			e->verse = atoi(s + 1);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:424:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(s, ">                ", 17);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:426:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(s, ">                ", 17);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:451:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(s, ">              ", 15);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:453:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(s, ">              ", 15);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:527:12:  [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.
				static char end[5] = "</X>";
data/xiphos-4.2.1+dfsg1/src/main/display.cc:541:12:  [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.
				static char embedded[4] = "<X>";
data/xiphos-4.2.1+dfsg1/src/main/display.cc:725:2:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:740:3:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:1064:22:  [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).
					int idx_month = atoi(month) - 1;
data/xiphos-4.2.1+dfsg1/src/main/display.cc:2016:3:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/display.cc:2026:4:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/main.c:232:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(argv[1], "sword", 5); /* equivalent */
data/xiphos-4.2.1+dfsg1/src/main/mod_mgr.cc:127:2:  [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 buf[80];
data/xiphos-4.2.1+dfsg1/src/main/mod_mgr.cc:132:3:  [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(buf, "%f", (((float)percent) / 100));
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:466:3:  [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(buf, "%lu", offset);
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:487:3:  [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(buf, "%lu", offset);
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:742:17:  [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).
				t->offset = atoi(key);
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:761: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).
		t->offset = atoi(key);
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1546: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).
			t->offset = atoi(key);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:301:25:  [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).
		int choice = (value ? atoi(value) : 0);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:303:8:  [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).
			if (atoi(xml_get_value("parallel", "Primary_Reading")))
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:306:13:  [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).
			else if (atoi(xml_get_value("parallel", "Secondary_Reading")))
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:551:2:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:566:3:  [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(heading, "%d", x);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:680:6:  [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 fontcolor[32];
data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc:413:3:  [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 monthnum[4], monthstring[32];
data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc:463:3:  [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 monthnum[4], monthstring[32];
data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc:474: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 daynum[4], monthday[32];
data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc:585: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 buf[10];
data/xiphos-4.2.1+dfsg1/src/main/prayerlists.cc:587: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(buf, "%d\t<br/>", i);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:240:2:  [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(closestr, "</span>");
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:865:34:  [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).
	tmp = g_list_nth(list_of_finds, atoi(path_str));
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:413:4:  [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(buf, "%f", (((float)percent) / 100));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:101:2:  [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(settings.program_title, "Xiphos");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:118: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 msg[300];
data/xiphos-4.2.1+dfsg1/src/main/settings.c:427:6:  [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).
	    atoi((buf = xml_get_value("lexicons", "usedefaultdict"))
data/xiphos-4.2.1+dfsg1/src/main/settings.c:442:29:  [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).
		settings.mod_mgr_source = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:450:34:  [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).
		settings.mod_mgr_destination = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:457:41:  [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).
		settings.mod_mgr_local_source_index = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:465:42:  [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).
		settings.mod_mgr_remote_source_index = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:485:7:  [2] (integer) atol:
  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).
		    atol(xml_get_value("keys", "offset"));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:492:23:  [2] (integer) atol:
  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).
		settings.tab_page = atol(xml_get_value("tab", "page"));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:500:6:  [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).
	    atoi((buf = xml_get_value("layout", "shortcutbar"))
data/xiphos-4.2.1+dfsg1/src/main/settings.c:504:39:  [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).
		settings.verselist_toppane_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:511:38:  [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).
		settings.sidebar_notebook_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:514:39:  [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).
			settings.sidebar_notebook_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:530:31:  [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).
		settings.display_parallel = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:537:29:  [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).
		settings.display_modmgr = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:544:32:  [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).
		settings.display_advsearch = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:552:28:  [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).
		settings.display_prefs = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:560:24:  [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).
		settings.gs_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:563:25:  [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).
			settings.gs_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:572:23:  [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).
		settings.gs_width = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:582:30:  [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).
		settings.parallel_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:589:29:  [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).
		settings.parallel_width = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:597:28:  [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).
		settings.modmgr_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:604:27:  [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).
		settings.modmgr_width = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:612:31:  [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).
		settings.advsearch_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:619:30:  [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).
		settings.advsearch_width = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:627:27:  [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).
		settings.prefs_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:634:26:  [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).
		settings.prefs_width = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:643: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).
		settings.app_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:649: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).
		settings.app_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:655: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).
		settings.app_y = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:663:25:  [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).
		settings.parallel_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:669:25:  [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).
		settings.parallel_y = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:676:23:  [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).
		settings.modmgr_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:682:23:  [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).
		settings.modmgr_y = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:689:26:  [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).
		settings.advsearch_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:695:26:  [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).
		settings.advsearch_y = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:702:22:  [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).
		settings.prefs_x = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:708:22:  [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).
		settings.prefs_y = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:716:6:  [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).
	    atoi((buf = xml_get_value("layout", "textpane"))
data/xiphos-4.2.1+dfsg1/src/main/settings.c:721:31:  [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).
		settings.biblepane_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:724:32:  [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).
			settings.biblepane_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:734:30:  [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).
		settings.commpane_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:737:31:  [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).
			settings.commpane_height = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:750:34:  [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).
		settings.verse_num_font_size = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:759:7:  [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).
		    atoi(settings.base_font_size_str);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:802:31:  [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).
		settings.parallel_strongs = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:810:30:  [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).
		settings.parallel_morphs = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:818:36:  [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).
		settings.parallel_hebrewpoints = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:826:41:  [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).
		settings.parallel_cantillationmarks = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:834:33:  [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).
		settings.parallel_footnotes = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:841:32:  [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).
		settings.parallel_crossref = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:849:39:  [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).
		settings.parallel_transliteration = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:857:33:  [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).
		settings.parallel_red_words = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:865:36:  [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).
		settings.parallel_segmentation = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:873:32:  [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).
		settings.parallel_headings = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:880:30:  [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).
		settings.parallel_lemmas = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:887:40:  [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).
		settings.parallel_variants_primary = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:895:42:  [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).
		settings.parallel_variants_secondary = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:903:36:  [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).
		settings.parallel_variants_all = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:911:36:  [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).
		settings.parallel_greekaccents = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:919:28:  [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).
		settings.parallel_xlit = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:927:34:  [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).
		settings.parallel_enumerated = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:935:31:  [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).
		settings.parallel_glosses = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:942:32:  [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).
		settings.parallel_morphseg = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:952:6:  [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).
	    atoi((buf = xml_get_value("misc", "showtexts")) ? buf : "1");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:954:6:  [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).
	    atoi((buf = xml_get_value("misc", "showcomms")) ? buf : "1");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:956:6:  [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).
	    atoi((buf = xml_get_value("misc", "showdicts")) ? buf : "1");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:959:7:  [2] (integer) atol:
  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).
		    atol(xml_get_value("misc", "showpreview"));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:967:7:  [2] (integer) atol:
  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).
		    atol(xml_get_value("misc", "show_side_preview"));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:976:7:  [2] (integer) atol:
  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).
		    atol(xml_get_value("misc", "showparatab"));
data/xiphos-4.2.1+dfsg1/src/main/settings.c:983:6:  [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).
	    atoi((buf = xml_get_value("misc", "splash")) ? buf : "1");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:986:6:  [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).
	    atoi((buf =
data/xiphos-4.2.1+dfsg1/src/main/settings.c:991:6:  [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).
	    atoi((buf = xml_get_value("misc", "versestyle")) ? buf : "1");
data/xiphos-4.2.1+dfsg1/src/main/settings.c:994:25:  [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).
		settings.linkedtabs = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1001:24:  [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).
		settings.readaloud = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1008:27:  [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).
		settings.showversenum = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1015:29:  [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).
		settings.verse_num_bold = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1022:32:  [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).
		settings.verse_num_bracket = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1030:36:  [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).
		settings.verse_num_superscript = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1038:29:  [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).
		settings.versehighlight = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1045:33:  [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).
		settings.annotate_highlight = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1053:34:  [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).
		settings.xrefs_in_verse_list = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1061:29:  [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).
		settings.chapter_scroll = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1068:26:  [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).
		settings.imageresize = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1090:30:  [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).
		settings.showshortcutbar = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1096:21:  [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).
		settings.docked = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1103:25:  [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).
		settings.prayerlist = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1110:24:  [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).
		settings.statusbar = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1117:26:  [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).
		settings.alternation = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.c:1127:23:  [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).
		settings.browsing = atoi(buf);
data/xiphos-4.2.1+dfsg1/src/main/settings.h:154:2:  [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 program_title[256];
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:109:7:  [2] (integer) atol:
  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).
		    atol(xml_get_value("keys", "offset"));
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:260:3:  [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(buf, "%lu", offset);
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:286:3:  [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(buf, "%lu", offset);
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:591:106:  [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).
	if (!gtk_tree_model_iter_has_child(GTK_TREE_MODEL(model), &iter) && backend->treekey_has_children(key ? atoi(key) : 0)) {
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:593:21:  [2] (integer) atol:
  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).
				     iter, mod, atol(key));
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:601:37:  [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).
	main_setup_navbar_book(mod, (key ? atoi(key) : 0));
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:739:30:  [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).
		backend->set_treekey(key ? atoi(key) : 0);
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:744:111:  [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).
		if (!gtk_tree_model_iter_has_child(GTK_TREE_MODEL(model), &selected) && backend->treekey_has_children(key ? atoi(key) : 0)) {
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:745:47:  [2] (integer) atol:
  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).
			add_children_to_tree(model, selected, mod, atol(key));
data/xiphos-4.2.1+dfsg1/src/main/sidebar.cc:766:38:  [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).
		main_setup_navbar_book(mod, (key ? atoi(key) : 0));
data/xiphos-4.2.1+dfsg1/src/main/sword.cc:1023:26:  [2] (integer) atol:
  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).
		settings.book_offset = atol(key);
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:100:2:  [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(buf, "%lu", treeKey.getOffset());
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:102:6:  [2] (integer) atol:
  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).
	if (atol(buf) == 0)
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:160:21:  [2] (integer) atol:
  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).
	treekey->setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:180:21:  [2] (integer) atol:
  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).
	treekey->setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:206:21:  [2] (integer) atol:
  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).
	treekey->setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:231:21:  [2] (integer) atol:
  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).
	treekey->setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:252:21:  [2] (integer) atol:
  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).
	treenode.setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:267:15:  [2] (integer) atol:
  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).
	if (!mod || (atol(offset) == 0))
data/xiphos-4.2.1+dfsg1/src/main/sword_treekey.cc:272:21:  [2] (integer) atol:
  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).
	treenode.setOffset(atol(offset));
data/xiphos-4.2.1+dfsg1/src/backend/gs_stringmgr.cpp:39: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).
		maxlen = strlen(text);
data/xiphos-4.2.1+dfsg1/src/backend/gs_stringmgr.cpp:41: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).
	unsigned int newlen = strlen(upper_str);
data/xiphos-4.2.1+dfsg1/src/backend/sword_main.cc:589:22:  [1] (buffer) strlen:
  Does not handle 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 ((!mod_name) || (strlen(mod_name) < 2))
data/xiphos-4.2.1+dfsg1/src/backend/sword_main.cc:1103: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(buf))
data/xiphos-4.2.1+dfsg1/src/editor/editor.c:1137:14:  [1] (buffer) strlen:
  Does not handle 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 (text && strlen(text)) {
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:451: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).
					     "", strlen(""));
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:886: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(text)) {
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:888:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     text, strlen(text));
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:894: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).
					     "", strlen(""));
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:968: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(text)) {
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:970:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     text, strlen(text));
data/xiphos-4.2.1+dfsg1/src/editor/slib-editor.c:977: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).
					     "", strlen(""));
data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_menu.c:394: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(description) > 1) || (strcmp(caption, info->text1))) {
data/xiphos-4.2.1+dfsg1/src/gtk/bookmarks_treeview.c:251: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((char *)caption) > 0) {
data/xiphos-4.2.1+dfsg1/src/gtk/dictlex.c:98: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).
	len = strlen(key);
data/xiphos-4.2.1+dfsg1/src/gtk/dictlex.c:144: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(buf) < 2)
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:89: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(module) < 2)
data/xiphos-4.2.1+dfsg1/src/gtk/export_bookmarks.c:126: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(module) < 2)
data/xiphos-4.2.1+dfsg1/src/gtk/export_dialog.c:322: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(distributionlicense),
data/xiphos-4.2.1+dfsg1/src/gtk/font_dialog.c:70: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).
	idx = strlen(fontname) - 1;
data/xiphos-4.2.1+dfsg1/src/gtk/main_menu.c:217: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(user) > 8)
data/xiphos-4.2.1+dfsg1/src/gtk/menu_popup.c:1472:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = (dict_key ? strlen(dict_key) : 0);
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:319:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		text = g_string_append_len(text, " ...", strlen(" ..."));
data/xiphos-4.2.1+dfsg1/src/gtk/mod_mgr.c:894: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).
			dlen = strlen(datapath);
data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey.c:403: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).
	if (!rawtext || (rawtext && (strlen(rawtext) < 2))) {
data/xiphos-4.2.1+dfsg1/src/gtk/navbar_versekey_parallel.c:426: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).
		if (buf && (strlen(buf) > 3)) {
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_dialog.c:195:14:  [1] (buffer) strlen:
  Does not handle 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 (buf && (strlen(buf) > 3)) {
data/xiphos-4.2.1+dfsg1/src/gtk/parallel_tab.c:129:14:  [1] (buffer) strlen:
  Does not handle 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 (buf && (strlen(buf) > 3)) {
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:262: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(color) != 7) {
data/xiphos-4.2.1+dfsg1/src/gtk/preferences_dialog.c:2738:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		*(parallels + strlen(parallels) - 1) = '\0'; /* end comma */
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1261: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).
	int len = strlen(text);
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1286: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).
		XIPHOS_HTML_WRITE(html, buf, strlen(buf));
data/xiphos-4.2.1+dfsg1/src/gtk/utilities.c:1763: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).
		if (FestivalSpeak(text->str, strlen(text->str), tts_socket) == FALSE) {
data/xiphos-4.2.1+dfsg1/src/main/display.cc:462:14:  [1] (buffer) strlen:
  Does not handle 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 (wlen = strlen(*word); wlen <= min_length; ++wlen)
data/xiphos-4.2.1+dfsg1/src/main/display.cc:1189:25:  [1] (buffer) strlen:
  Does not handle 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 ((buf != NULL) && (strlen(buf) > 0))
data/xiphos-4.2.1+dfsg1/src/main/export_passage.cc:77: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).
				       16, (const guchar *)text, strlen(text));
data/xiphos-4.2.1+dfsg1/src/main/export_passage.cc:79: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_selection_data_set_text(selection_data, text, strlen(text));
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:908: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).
	if (passage && (strlen(passage) < 5))
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1156: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(work_buf[MODULE]) < 2)
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1161: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(work_buf[KEY]) < 5)
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1332: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(strongs) >= 1 && strlen(morph) >= 1) {
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1332: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(strongs) >= 1 && strlen(morph) >= 1) {
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1334: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).
	} else if (strlen(strongs) >= 1 && strlen(morph) < 1) {
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1334: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).
	} else if (strlen(strongs) >= 1 && strlen(morph) < 1) {
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1521: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(t->key) != 5) || // blunt tests.
data/xiphos-4.2.1+dfsg1/src/main/module_dialogs.cc:1573: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->is_locked = strlen(t->cipher_old);
data/xiphos-4.2.1+dfsg1/src/main/parallel_view.cc:644: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).
			gchar *fontstring = g_strdup_printf((((strlen(mf->old_font) < 2) ||
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:282: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).
			len_overall = strlen(buf);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:298: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).
			len_word = strlen((gchar *)list->data);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:304: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).
				len_tail = strlen(tmpbuf);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:342:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len_overall = strlen(buf);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:343:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len_word = strlen(searchbuf);
data/xiphos-4.2.1+dfsg1/src/main/previewer.cc:346: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).
			len_tail = strlen(tmpbuf);
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1054: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(mod_list) > 60)
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1077: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(mod_list_str) > 60)
data/xiphos-4.2.1+dfsg1/src/main/search_dialog.cc:1338: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(search_string) < 1)
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:193: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(search_string) < 1)
data/xiphos-4.2.1+dfsg1/src/main/search_sidebar.cc:202: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).
		    (strlen(settings.CommWindowModule) == 0)) {
data/xiphos-4.2.1+dfsg1/src/main/settings.c:390: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).
			*(parallels + strlen(parallels) - 1) = '\0';
data/xiphos-4.2.1+dfsg1/src/main/sword.cc:1175: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(key) != 5) || // blunt tests.
data/xiphos-4.2.1+dfsg1/src/main/sword.cc:1807: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).
		char *d, *f, *farsi = g_new(char, 2 * (strlen(digits) + 1));
data/xiphos-4.2.1+dfsg1/src/main/url.cc:426: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(passage) < 5)
data/xiphos-4.2.1+dfsg1/src/main/url.cc:581:17:  [1] (buffer) strlen:
  Does not handle 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 (module && (strlen((char *)module) < 3) &&
data/xiphos-4.2.1+dfsg1/src/main/url.cc:892:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(tmpbuf, url, (++place) - url);
data/xiphos-4.2.1+dfsg1/src/webkit/wk-html.c:295: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).
		len = strlen(data);
data/xiphos-4.2.1+dfsg1/src/webkit/wk-html.c:339:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	html_bytes = g_bytes_new(html->priv->content, strlen(html->priv->content));

ANALYSIS SUMMARY:

Hits = 330
Lines analyzed = 66814 in approximately 1.45 seconds (46083 lines/second)
Physical Source Lines of Code (SLOC) = 40482
Hits@level = [0]  50 [1]  66 [2] 216 [3]   2 [4]  46 [5]   0
Hits@level+ = [0+] 380 [1+] 330 [2+] 264 [3+]  48 [4+]  46 [5+]   0
Hits/KSLOC@level+ = [0+] 9.38689 [1+] 8.15177 [2+] 6.52142 [3+] 1.18571 [4+] 1.13631 [5+]   0
Dot directories skipped = 1 (--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.