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/pcmanx-gtk2-1.3/src/keysettingpage.h
Examining data/pcmanx-gtk2-1.3/src/sitepage.h
Examining data/pcmanx-gtk2-1.3/src/script/api.h
Examining data/pcmanx-gtk2-1.3/src/script/script.cpp
Examining data/pcmanx-gtk2-1.3/src/qqwryseeker/qqwryseeker.c
Examining data/pcmanx-gtk2-1.3/src/qqwryseeker/qqwryseeker.h
Examining data/pcmanx-gtk2-1.3/src/notebook.cpp
Examining data/pcmanx-gtk2-1.3/src/prefdlg.cpp
Examining data/pcmanx-gtk2-1.3/src/editfavdlg.cpp
Examining data/pcmanx-gtk2-1.3/src/inputdialog.h
Examining data/pcmanx-gtk2-1.3/src/docklet/clipboard.c
Examining data/pcmanx-gtk2-1.3/src/docklet/api.h
Examining data/pcmanx-gtk2-1.3/src/sitedlg.cpp
Examining data/pcmanx-gtk2-1.3/src/notifier/notifier-impl.c
Examining data/pcmanx-gtk2-1.3/src/notifier/api.h
Examining data/pcmanx-gtk2-1.3/src/notifier/working_area.c
Examining data/pcmanx-gtk2-1.3/src/notifier/working_area.h
Examining data/pcmanx-gtk2-1.3/src/inputdialog.cpp
Examining data/pcmanx-gtk2-1.3/src/sitelistdlg.cpp
Examining data/pcmanx-gtk2-1.3/src/core/widget.cpp
Examining data/pcmanx-gtk2-1.3/src/core/caret.h
Examining data/pcmanx-gtk2-1.3/src/core/cfontconfig.h
Examining data/pcmanx-gtk2-1.3/src/core/termsel.h
Examining data/pcmanx-gtk2-1.3/src/core/caret.cpp
Examining data/pcmanx-gtk2-1.3/src/core/site.h
Examining data/pcmanx-gtk2-1.3/src/core/stringutil.h
Examining data/pcmanx-gtk2-1.3/src/core/font.h
Examining data/pcmanx-gtk2-1.3/src/core/proxy.h
Examining data/pcmanx-gtk2-1.3/src/core/proxy.c
Examining data/pcmanx-gtk2-1.3/src/core/stringutil.cpp
Examining data/pcmanx-gtk2-1.3/src/core/cfontconfig.cpp
Examining data/pcmanx-gtk2-1.3/src/core/pcmanx_utils.h
Examining data/pcmanx-gtk2-1.3/src/core/font.cpp
Examining data/pcmanx-gtk2-1.3/src/core/widget.h
Examining data/pcmanx-gtk2-1.3/src/core/fileutil.h
Examining data/pcmanx-gtk2-1.3/src/core/view.h
Examining data/pcmanx-gtk2-1.3/src/core/termview.h
Examining data/pcmanx-gtk2-1.3/src/core/termdata.cpp
Examining data/pcmanx-gtk2-1.3/src/core/termview.cpp
Examining data/pcmanx-gtk2-1.3/src/core/termdata.h
Examining data/pcmanx-gtk2-1.3/src/core/pkgver.c
Examining data/pcmanx-gtk2-1.3/src/core/fileutil.c
Examining data/pcmanx-gtk2-1.3/src/core/site.cpp
Examining data/pcmanx-gtk2-1.3/src/core/view.cpp
Examining data/pcmanx-gtk2-1.3/src/core/termsel.cpp
Examining data/pcmanx-gtk2-1.3/src/downarticledlg.cpp
Examining data/pcmanx-gtk2-1.3/src/sitedlg.h
Examining data/pcmanx-gtk2-1.3/src/sitepage.cpp
Examining data/pcmanx-gtk2-1.3/src/pcmanx_gtk2.cpp
Examining data/pcmanx-gtk2-1.3/src/dialog.h
Examining data/pcmanx-gtk2-1.3/src/downarticledlg.h
Examining data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.h
Examining data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp
Examining data/pcmanx-gtk2-1.3/src/nancy_bot/botutil.h
Examining data/pcmanx-gtk2-1.3/src/nancy_bot/api.h
Examining data/pcmanx-gtk2-1.3/src/nancy_bot/nancybot.cpp
Examining data/pcmanx-gtk2-1.3/src/notebook.h
Examining data/pcmanx-gtk2-1.3/src/generalprefpage.cpp
Examining data/pcmanx-gtk2-1.3/src/charset/uao.h
Examining data/pcmanx-gtk2-1.3/src/charset/uao.c
Examining data/pcmanx-gtk2-1.3/src/charset/uao241-u2b.c
Examining data/pcmanx-gtk2-1.3/src/charset/uao250-b2u.c
Examining data/pcmanx-gtk2-1.3/src/charset/uao250-u2b.c
Examining data/pcmanx-gtk2-1.3/src/charset/uao250.h
Examining data/pcmanx-gtk2-1.3/src/charset/uao241.h
Examining data/pcmanx-gtk2-1.3/src/charset/uao241-b2u.c
Examining data/pcmanx-gtk2-1.3/src/prefdlg.h
Examining data/pcmanx-gtk2-1.3/src/listbox.cpp
Examining data/pcmanx-gtk2-1.3/src/generalprefpage.h
Examining data/pcmanx-gtk2-1.3/src/appconfig.cpp
Examining data/pcmanx-gtk2-1.3/src/keysettingpage.cpp
Examining data/pcmanx-gtk2-1.3/src/autologinpage.h
Examining data/pcmanx-gtk2-1.3/src/view/editor.h
Examining data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp
Examining data/pcmanx-gtk2-1.3/src/view/editorview.h
Examining data/pcmanx-gtk2-1.3/src/view/telnetcon.h
Examining data/pcmanx-gtk2-1.3/src/view/editorview.cpp
Examining data/pcmanx-gtk2-1.3/src/view/telnetview.h
Examining data/pcmanx-gtk2-1.3/src/view/editor.cpp
Examining data/pcmanx-gtk2-1.3/src/view/telnetview.cpp
Examining data/pcmanx-gtk2-1.3/src/sitelistdlg.h
Examining data/pcmanx-gtk2-1.3/src/listbox.h
Examining data/pcmanx-gtk2-1.3/src/emoticondlg.cpp
Examining data/pcmanx-gtk2-1.3/src/mainframe.h
Examining data/pcmanx-gtk2-1.3/src/dialog.cpp
Examining data/pcmanx-gtk2-1.3/src/appconfig.h
Examining data/pcmanx-gtk2-1.3/src/autologinpage.cpp
Examining data/pcmanx-gtk2-1.3/src/editfavdlg.h
Examining data/pcmanx-gtk2-1.3/src/configfile.cpp
Examining data/pcmanx-gtk2-1.3/src/configfile.h
Examining data/pcmanx-gtk2-1.3/src/emoticondlg.h
Examining data/pcmanx-gtk2-1.3/src/mainframe.cpp
Examining data/pcmanx-gtk2-1.3/libltdl/ltdl.h
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/dlopen.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/preopen.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/loadlibrary.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/load_add_on.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/dld_link.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/shl_load.c
Examining data/pcmanx-gtk2-1.3/libltdl/loaders/dyld.c
Examining data/pcmanx-gtk2-1.3/libltdl/lt__alloc.c
Examining data/pcmanx-gtk2-1.3/libltdl/argz_.h
Examining data/pcmanx-gtk2-1.3/libltdl/ltdl.c
Examining data/pcmanx-gtk2-1.3/libltdl/argz.c
Examining data/pcmanx-gtk2-1.3/libltdl/lt_dlloader.c
Examining data/pcmanx-gtk2-1.3/libltdl/lt__strl.c
Examining data/pcmanx-gtk2-1.3/libltdl/slist.c
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__alloc.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/slist.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__private.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__strl.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt_error.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt_system.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__glibc.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__dirent.h
Examining data/pcmanx-gtk2-1.3/libltdl/libltdl/lt_dlloader.h
Examining data/pcmanx-gtk2-1.3/libltdl/lt_error.c
Examining data/pcmanx-gtk2-1.3/libltdl/lt__dirent.c

FINAL RESULTS:

data/pcmanx-gtk2-1.3/src/appconfig.cpp:362:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		chmod(fpath.c_str(), 0600);	// Only the owner can access this file.
data/pcmanx-gtk2-1.3/src/core/fileutil.c:50:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(dest, file_st.st_mode);
data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__private.h:117:11:  [4] (shell) system:
  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.
  void *		system;		/* system specific data */
data/pcmanx-gtk2-1.3/libltdl/loaders/loadlibrary.c:170:7:  [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(wpath, filename);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:515:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (filename, "%.*s/%s", (int) dirname_len, dirname, dlname);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:711: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 (filename, dir_name);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:717:6:  [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 (filename +lendir, base_name);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:778:19:  [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.
  int		notfound	= access (filename, R_OK);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:915:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf (name, "lib%s", p+2);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1205:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(attempt, "%s%s", filename, ext);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1300:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (archive_name, "%s%s.%s", libprefix, name + 3, libext);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1304:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (archive_name, "%s.%s", name, libext);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1813: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  (buf, dirnam);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2056:4:  [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(sym, handle->vtable->sym_prefix);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2057:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(sym, handle->info.name);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2061:4:  [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(sym, handle->info.name);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2065:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(sym, symbol);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2083:7:  [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(sym, handle->vtable->sym_prefix);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2084:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(sym, symbol);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2088:7:  [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(sym, symbol);
data/pcmanx-gtk2-1.3/src/core/fileutil.c:38:22:  [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.
		if( !overwrite && !access( dest, F_OK) )
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:862: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(protocol_buffer, valid_protocol[i]);
data/pcmanx-gtk2-1.3/src/mainframe.cpp:617:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(title, "%s %d_%d", page_str, i / 10, i % 10);
data/pcmanx-gtk2-1.3/src/mainframe.cpp:826:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf( pango_font_name, "%s %d", (*font_family).c_str(), (*font_size > 6 && *font_size <= 72) ? *font_size : 12 );
data/pcmanx-gtk2-1.3/src/mainframe.cpp:1671:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf( time_str, time_format, hr, min, sec );
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:66:5:  [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.
	if(access(CONFIG_PATH.c_str(), F_OK))
data/pcmanx-gtk2-1.3/src/script/script.cpp:76:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "sys.path.insert(0,'%s')", path);
data/pcmanx-gtk2-1.3/src/view/editor.cpp:188: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( (char *)recv_buf, ss.str().c_str());
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:294:4:  [4] (shell) execlp:
  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.
			execlp ( prog, prog, "-8", address.c_str(), NULL ) ;
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:323:4:  [4] (shell) execlp:
  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.
			execlp ( prog, prog, address.c_str(), NULL ) ;
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:646:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(websearch_text, gtk_menu_item_get_label(GTK_MENU_ITEM(websearch_menu_item)), search_content);
data/pcmanx-gtk2-1.3/libltdl/loaders/loadlibrary.c:199:14:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    module = LoadLibrary (wpath);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1354:22:  [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.
	      search_path = getenv (LTDL_SEARCHPATH_VAR);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1362:22:  [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.
	      search_path = getenv (LT_MODULE_PATH_VAR);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1462:23:  [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.
		   && !find_handle (getenv (LTDL_SEARCHPATH_VAR), base_name,
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1465:23:  [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.
		   && !find_handle (getenv (LT_MODULE_PATH_VAR), base_name,
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1918:33:  [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.
	  is_done = foreach_dirinpath (getenv(LTDL_SEARCHPATH_VAR), 0,
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1925:33:  [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.
	  is_done = foreach_dirinpath (getenv(LT_MODULE_PATH_VAR), 0,
data/pcmanx-gtk2-1.3/src/configfile.cpp:54:20:  [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.
	m_ConfigDirPath = getenv("HOME");
data/pcmanx-gtk2-1.3/src/core/site.cpp:52:13:  [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.
	env_lang = getenv("LANG");
data/pcmanx-gtk2-1.3/src/downarticledlg.cpp:222:4:  [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.
			getenv("HOME"));
data/pcmanx-gtk2-1.3/src/mainframe.cpp:156: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* desktop = getenv("XDG_CURRENT_DESKTOP");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:53:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand(time(NULL));
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:463:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		msg = V_MsgAngry[random];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:470:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		msg = V_MsgUnknow[random];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:477:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		msg = V_MsgAsk[random];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:488:6:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	int random;
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:525:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
					msg = (cur->second)[random];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:576:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		for( int i = 0; i < random; i++ ) //FIXME <= ?
data/pcmanx-gtk2-1.3/src/nancy_bot/nancybot.cpp:47:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand(time(NULL));
data/pcmanx-gtk2-1.3/src/pcmanx_gtk2.cpp:101:6:  [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.
	if (getenv("BYPASS_GLIB_POOLS") != NULL) {
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:121:22:  [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.
		string path_home = getenv("HOME");
data/pcmanx-gtk2-1.3/libltdl/argz.c:69:3:  [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 (argz + *pargz_len, buf, buf_len);
data/pcmanx-gtk2-1.3/libltdl/argz.c:166: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  (before, entry, entry_len);
data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__dirent.h:64: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 d_name[LT_FILENAME_MAX];
data/pcmanx-gtk2-1.3/libltdl/loaders/dyld.c:326: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 saveError[256] = "Symbol not found";
data/pcmanx-gtk2-1.3/libltdl/loaders/loadlibrary.c:139: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		wpath[MAX_PATH];
data/pcmanx-gtk2-1.3/libltdl/lt__alloc.c:86:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return memcpy (newmem, mem, n);
data/pcmanx-gtk2-1.3/libltdl/lt__dirent.c:52: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 file_spec[LT_FILENAME_MAX];
data/pcmanx-gtk2-1.3/libltdl/lt_error.c:35:14:  [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 const char	error_strings[LT_ERROR_MAX][LT_ERROR_LEN_MAX + 1] =
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:749:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((*pfile = fopen (filename, LT_READTEXT_MODE)))
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1016:7:  [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(tmp, &str[1], (end - str) - 1);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1376:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  file = fopen (attempt, LT_READTEXT_MODE);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2009: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	lsym[LT_SYMBOL_LENGTH];
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2064:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      strcat(sym, "_LTX_");
data/pcmanx-gtk2-1.3/src/appconfig.cpp:216:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fi = fopen( GetConfigPath("favorites").c_str() ,"r" );
data/pcmanx-gtk2-1.3/src/appconfig.cpp:219: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 line[1024];
data/pcmanx-gtk2-1.3/src/appconfig.cpp:243: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).
				pSite->m_AutoReconnect = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:245: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).
				pSite->m_AntiIdle = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:251: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).
				pSite->m_DetectDBChar = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:254: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).
				pSite->m_RowsPerPage = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:260: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).
				pSite->m_ColsPerPage = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:269: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).
				pSite->m_Startup = (bool)atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:272: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).
				pSite->m_UseExternalSSH = (bool)atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:274: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).
				pSite->m_UseExternalTelnet = (bool)atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:277:45:  [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).
				pSite->m_bHorizontalCenterAlign = (bool)atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:279:43:  [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).
				pSite->m_bVerticalCenterAlign = (bool)atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:281: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).
				pSite->m_UAO = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:324: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).
				pSite->m_ProxyType = atoi(pval);
data/pcmanx-gtk2-1.3/src/appconfig.cpp:343:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fo = fopen( fpath.c_str() , "w" );
data/pcmanx-gtk2-1.3/src/configfile.cpp:89:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fp = fopen( GetConfigPath().c_str() ,"r");
data/pcmanx-gtk2-1.3/src/configfile.cpp:129: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).
					*((bool*)pent->m_pData) = atoi(pstrval);
data/pcmanx-gtk2-1.3/src/configfile.cpp:132: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).
					*((int*)pent->m_pData) = atoi(pstrval);
data/pcmanx-gtk2-1.3/src/configfile.cpp:154: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).
					*((short*)pent->m_pData) = atoi(pstrval);
data/pcmanx-gtk2-1.3/src/configfile.cpp:174:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fp = fopen( GetConfigPath().c_str() ,"w");
data/pcmanx-gtk2-1.3/src/configfile.cpp:183: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 strval[32];	const char* pstrval;
data/pcmanx-gtk2-1.3/src/configfile.cpp:190:6:  [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(strval,"%d", (int)*((bool*)m_pCurSect->m_pData));
data/pcmanx-gtk2-1.3/src/configfile.cpp:193:6:  [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(strval,"%d", *((int*)m_pCurSect->m_pData) );
data/pcmanx-gtk2-1.3/src/configfile.cpp:206:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
						sprintf( strval, "%d,%d,%d", clr.red*256/65536, clr.green*256/65536, clr.blue*256/65536 );
data/pcmanx-gtk2-1.3/src/configfile.cpp:210:6:  [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(strval,"%d", *((short*)m_pCurSect->m_pData) );
data/pcmanx-gtk2-1.3/src/configfile.cpp:243:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if( (fp = fopen(path.c_str(), "r")) )
data/pcmanx-gtk2-1.3/src/core/fileutil.c:30: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[4096];
data/pcmanx-gtk2-1.3/src/core/fileutil.c:35:21:  [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).
	if( -1 != (fdsrc = open(src, O_RDONLY)) )
data/pcmanx-gtk2-1.3/src/core/fileutil.c:40:23:  [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).
		if( -1 != (fddest = open(dest,
data/pcmanx-gtk2-1.3/src/core/proxy.c:123:11:  [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.
	unsigned char buf[16];
data/pcmanx-gtk2-1.3/src/core/proxy.c:181:11:  [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.
	unsigned char buf[16], len;
data/pcmanx-gtk2-1.3/src/core/proxy.c:217:11:  [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.
	unsigned char buf[255], len;
data/pcmanx-gtk2-1.3/src/core/stringutil.cpp:42: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 hex[4];
data/pcmanx-gtk2-1.3/src/core/stringutil.cpp:43: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(hex, "\\%02x", (unsigned char)*pstr );
data/pcmanx-gtk2-1.3/src/core/stringutil.cpp:75: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 hex[4] = {pstr[2], pstr[3], '\0', '\0'};
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:179:13:  [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(NewLine, m_Screen[i], Cols);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:180:13:  [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(GetLineAttr(NewLine, ColsPerPage), GetLineAttr(m_Screen[i]), sizeof(CTermCharAttr::AttrType)*Cols);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:198:9:  [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(NewScreen, m_Screen, sizeof(char**)*m_RowCount);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:204:9:  [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(NewScreen, m_Screen, sizeof(char**)*RowCount);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:620: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( &tmp[m_CaretPos.x],
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:623: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( &GetLineAttr(tmp)[m_CaretPos.x],
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:632: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( tmp, m_Screen[i-m_RowsPerPage],m_ColsPerPage);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:633: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( GetLineAttr(tmp),GetLineAttr(m_Screen[i-m_RowsPerPage]),m_ColsPerPage);		}
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:640: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( tmp, &m_Screen[m_CaretPos.y-m_RowsPerPage],m_CaretPos.x-1);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:641: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( GetLineAttr(tmp), GetLineAttr(m_Screen[m_CaretPos.y-m_RowsPerPage]),
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:649: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( tmp, m_Screen[i-m_RowsPerPage],m_ColsPerPage);
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:650: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( GetLineAttr(tmp),GetLineAttr(m_Screen[i-m_RowsPerPage]),m_ColsPerPage);		}
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:858: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 protocol_buffer[16];
data/pcmanx-gtk2-1.3/src/core/termdata.cpp:864:16:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		             strcat(protocol_buffer, "://"), strLen)) {
data/pcmanx-gtk2-1.3/src/core/termdata.h:315:11:  [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.
	unsigned char m_CmdLine[ 33 ];
data/pcmanx-gtk2-1.3/src/emoticondlg.cpp:208:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fi = fopen( fpath.c_str() ,"r" );
data/pcmanx-gtk2-1.3/src/emoticondlg.cpp:211: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 line[1024];
data/pcmanx-gtk2-1.3/src/emoticondlg.cpp:224:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fo = fopen( AppConfig.GetConfigPath( emoticon_file_name ).c_str() , "w" );
data/pcmanx-gtk2-1.3/src/mainframe.cpp:616: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 title[32], name[32];
data/pcmanx-gtk2-1.3/src/mainframe.cpp:618: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(name, "jumpto_%d", i);
data/pcmanx-gtk2-1.3/src/mainframe.cpp:624: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(name, "<Alt>%d", i % 10);
data/pcmanx-gtk2-1.3/src/mainframe.cpp:807: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 pango_font_name[32];
data/pcmanx-gtk2-1.3/src/mainframe.cpp:1696: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 time_str[100];
data/pcmanx-gtk2-1.3/src/mainframe.cpp:1740: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 time_str[100];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:124:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen(filename_common_msg.c_str(), "a+t");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:146:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen( filename_unknow_log.c_str(), "w+t");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:192:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen(filename_conf.c_str(), "r");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:212: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 buf[4096];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:252:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen( filename.c_str(), "rt");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:262: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 buf[4096];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:303:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen( filename.c_str(), "rt");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:314: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 buf[4096];
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:357:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fptr = fopen( filename_unknow_log.c_str(), "rt");
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:365: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 buf[4096];
data/pcmanx-gtk2-1.3/src/nancy_bot/nancybot.cpp:81:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp_log = fopen((CONFIG_PATH + filename_log + ".log").c_str() , "a+t");
data/pcmanx-gtk2-1.3/src/qqwryseeker/qqwryseeker.c:28:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(file, "r");
data/pcmanx-gtk2-1.3/src/sitelistdlg.cpp:280:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen( fpath.c_str(), "r");
data/pcmanx-gtk2-1.3/src/sitelistdlg.cpp:283: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 buffer[1024];
data/pcmanx-gtk2-1.3/src/sitepage.cpp:324: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).
	m_Site.m_AntiIdle = atoi( gtk_entry_get_text(GTK_ENTRY(m_Idle)) );
data/pcmanx-gtk2-1.3/src/sitepage.cpp:348: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).
        m_Site.m_UAO = atoi(idx);
data/pcmanx-gtk2-1.3/src/view/editor.cpp:187:18:  [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 unsigned char recv_buf[RECV_BUF_SIZE];
data/pcmanx-gtk2-1.3/src/view/editor.cpp:500:5:  [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).
	fs.open(filename.c_str());
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:362:18:  [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 unsigned char recv_buf[RECV_BUF_SIZE];
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:413:3:  [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( m_Screen[0], failed_msg, sizeof(failed_msg) );
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:528:6:  [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( ret, ret_head, 4);
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:529:6:  [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( ret + 4, m_Site.m_TermType.c_str(), m_Site.m_TermType.length() );
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:530:6:  [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( ret + 4 + m_Site.m_TermType.length() , ret_tail, 2);
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:752: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(&data->m_pCon->m_SockAddr, res->ai_addr, res->ai_addrlen);
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:907: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 body[256];
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:908: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 summary[256];
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:1010: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( &proxy_addr, res->ai_addr, res->ai_addrlen );
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:281:11:  [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.
	unsigned char ip[4];
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:344:7:  [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[255];
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:643:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(search_content, _("..."));
data/pcmanx-gtk2-1.3/libltdl/argz.c:91: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).
  argz_len = 1+ strlen (str);
data/pcmanx-gtk2-1.3/libltdl/argz.c:141: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).
    return argz_append (pargz, pargz_len, entry, 1+ strlen (entry));
data/pcmanx-gtk2-1.3/libltdl/argz.c:150:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t entry_len	= 1+ strlen (entry);
data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__dirent.h:45:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define D_NAMLEN(dirent) (strlen((dirent)->d_name))
data/pcmanx-gtk2-1.3/libltdl/libltdl/lt__dirent.h:53:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define D_NAMLEN(dirent)	(strlen((dirent)->d_name))
data/pcmanx-gtk2-1.3/libltdl/loaders/dyld.c:353:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (saveError, dylderror (LT__STRERROR (SYMBOL_NOT_FOUND)), 255);
data/pcmanx-gtk2-1.3/libltdl/loaders/loadlibrary.c:179: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).
	    len = strlen (wpath);
data/pcmanx-gtk2-1.3/libltdl/lt__alloc.c:94:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return (char *) lt__memdup (string, strlen (string) +1);
data/pcmanx-gtk2-1.3/libltdl/lt__dirent.c:102: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).
  entry->file_info.d_namlen = strlen (entry->file_info.d_name);
data/pcmanx-gtk2-1.3/libltdl/lt__strl.c:61:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(dst);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1236:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (dir, canonical, dirlen);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1286:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1286:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1724:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    error = argz_append (pargz, pargz_len, entry, 1 + strlen (entry));
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1814:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat  (buf, "/");
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:1815:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat (buf, dp->d_name, end_offset);
data/pcmanx-gtk2-1.3/libltdl/ltdl.c:2159: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).
      assert ((int) (before - *ppath) <= (int) strlen (*ppath));
data/pcmanx-gtk2-1.3/libltdl/ltdl.h:44:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define LT_STRLEN(s)	(((s) && (s)[0]) ? strlen (s) : 0)
data/pcmanx-gtk2-1.3/src/core/fileutil.c:44:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while( (rlen = read( fdsrc, buf, sizeof(buf) )) )
data/pcmanx-gtk2-1.3/src/core/proxy.c:137:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:141:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:152: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).
			buf[0] = strlen(user);
data/pcmanx-gtk2-1.3/src/core/proxy.c:156: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).
			buf[0] = strlen(pass);
data/pcmanx-gtk2-1.3/src/core/proxy.c:161:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(sockfd, buf, 2) != 2) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:194: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(user) + 1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:198:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:200:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:204:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 6) != 6) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:237:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:241:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:245:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:247:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:252:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(sockfd, buf, 4) != 4) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:256:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(sockfd, &len, 1) != 1) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:258:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(sockfd, buf, len) != len) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:262:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(sockfd, buf, 16) != 16) return -1;
data/pcmanx-gtk2-1.3/src/core/proxy.c:268:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(sockfd, buf, 2) != 2) return -1;
data/pcmanx-gtk2-1.3/src/downarticledlg.cpp:127:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(DOWN_ARTICLE_POLL_DELAY);
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:228:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if ( 0 == strncmp (line, "[ANGRY]", strlen("[ANGRY]"))
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:229:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				       		|| 0 == strncmp (line, "[UNKNOW]", strlen("[UNKNOW]"))
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:230:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				       		|| 0 == strncmp (line, "[ASK]", strlen("[ASK]")))
data/pcmanx-gtk2-1.3/src/nancy_bot/msgdata.cpp:340: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).
				len = strlen(line);
data/pcmanx-gtk2-1.3/src/notifier/notifier-impl.c:221:71:  [1] (buffer) strlen:
  Does not handle 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 *context_text = context_text = g_markup_escape_text(body_text, strlen(body_text));
data/pcmanx-gtk2-1.3/src/script/script.cpp:75:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cmd = (char*)malloc(sizeof(char)*(strlen(path) + strlen("sys.path.insert(0,'')")));
data/pcmanx-gtk2-1.3/src/script/script.cpp:75:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cmd = (char*)malloc(sizeof(char)*(strlen(path) + strlen("sys.path.insert(0,'')")));
data/pcmanx-gtk2-1.3/src/sitelistdlg.cpp:243: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).
		else if(strlen(text) != 0)
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:597:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line, strlen(line),
data/pcmanx-gtk2-1.3/src/view/telnetcon.cpp:674: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).
		SendRawString(_text, strlen(_text));
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:78:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			_text = uao250_u2b(text, strlen(text), &l);
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:81:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			_text = uao241_u2b(text, strlen(text), &l);
data/pcmanx-gtk2-1.3/src/view/telnetview.cpp:84:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			_text = g_convert(text, strlen(text), GetCon()->m_Site.m_Encoding.c_str(), "UTF-8", NULL, &l, NULL);

ANALYSIS SUMMARY:

Hits = 205
Lines analyzed = 366225 in approximately 6.55 seconds (55916 lines/second)
Physical Source Lines of Code (SLOC) = 358315
Hits@level = [0]  69 [1]  51 [2] 102 [3]  21 [4]  29 [5]   2
Hits@level+ = [0+] 274 [1+] 205 [2+] 154 [3+]  52 [4+]  31 [5+]   2
Hits/KSLOC@level+ = [0+] 0.76469 [1+] 0.572122 [2+] 0.429789 [3+] 0.145124 [4+] 0.0865161 [5+] 0.00558168
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.