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/keytouch-editor-3.2.0~beta/src/support.c
Examining data/keytouch-editor-3.2.0~beta/src/main.c
Examining data/keytouch-editor-3.2.0~beta/src/interface.h
Examining data/keytouch-editor-3.2.0~beta/src/interface.c
Examining data/keytouch-editor-3.2.0~beta/src/callbacks.h
Examining data/keytouch-editor-3.2.0~beta/src/callbacks.c
Examining data/keytouch-editor-3.2.0~beta/src/evdev.h
Examining data/keytouch-editor-3.2.0~beta/src/set_data.c
Examining data/keytouch-editor-3.2.0~beta/src/set_data.h
Examining data/keytouch-editor-3.2.0~beta/src/evdev.c
Examining data/keytouch-editor-3.2.0~beta/src/error.c
Examining data/keytouch-editor-3.2.0~beta/src/memory.c
Examining data/keytouch-editor-3.2.0~beta/src/get_scancode.c
Examining data/keytouch-editor-3.2.0~beta/src/keycodes.c
Examining data/keytouch-editor-3.2.0~beta/src/key_list.c
Examining data/keytouch-editor-3.2.0~beta/src/config.c
Examining data/keytouch-editor-3.2.0~beta/src/plugins.c
Examining data/keytouch-editor-3.2.0~beta/src/config_element_types.h
Examining data/keytouch-editor-3.2.0~beta/src/getscancode.h
Examining data/keytouch-editor-3.2.0~beta/src/email.c
Examining data/keytouch-editor-3.2.0~beta/src/email.h
Examining data/keytouch-editor-3.2.0~beta/src/default_key_settings.c
Examining data/keytouch-editor-3.2.0~beta/src/check_syntax.c
Examining data/keytouch-editor-3.2.0~beta/src/check_syntax.h
Examining data/keytouch-editor-3.2.0~beta/src/ud_socket.c
Examining data/keytouch-editor-3.2.0~beta/src/acpi.c
Examining data/keytouch-editor-3.2.0~beta/src/ud_socket.h
Examining data/keytouch-editor-3.2.0~beta/src/acpi.h
Examining data/keytouch-editor-3.2.0~beta/src/gui.h
Examining data/keytouch-editor-3.2.0~beta/src/keytouch-editor.h
Examining data/keytouch-editor-3.2.0~beta/src/support.h
Examining data/keytouch-editor-3.2.0~beta/mxml/mxml.h
Examining data/keytouch-editor-3.2.0~beta/mxml/content.c
Examining data/keytouch-editor-3.2.0~beta/mxml/document.c
Examining data/keytouch-editor-3.2.0~beta/mxml/element.c
Examining data/keytouch-editor-3.2.0~beta/mxml/error.c
Examining data/keytouch-editor-3.2.0~beta/mxml/memory.c
Examining data/keytouch-editor-3.2.0~beta/mxml/parse.c
Examining data/keytouch-editor-3.2.0~beta/mxml/write.c
Examining data/keytouch-editor-3.2.0~beta/string_to_keycode/string_to_keycode.c
Examining data/keytouch-editor-3.2.0~beta/string_to_keycode/string_to_keycode.h
Examining data/keytouch-editor-3.2.0~beta/string_to_keycode/keys.h
Examining data/keytouch-editor-3.2.0~beta/config.h

FINAL RESULTS:

data/keytouch-editor-3.2.0~beta/mxml/content.c:449: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 (string->data.string, value);
data/keytouch-editor-3.2.0~beta/mxml/document.c:72: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 (attr->name, attr_name);
data/keytouch-editor-3.2.0~beta/mxml/document.c:133: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 (type->type, type_name);
data/keytouch-editor-3.2.0~beta/mxml/element.c:109: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 (attribute->value, value);
data/keytouch-editor-3.2.0~beta/mxml/element.c:226: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 (string, content->data.string);
data/keytouch-editor-3.2.0~beta/mxml/element.c:227: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 (string, seperator);
data/keytouch-editor-3.2.0~beta/src/callbacks.c:313:7:  [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 (*filename, F_OK) == 0 && ask_to_overwrite)
data/keytouch-editor-3.2.0~beta/src/error.c:44:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf (stderr, msg, str);
data/keytouch-editor-3.2.0~beta/src/error.c:86:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf (stderr, msg, str);
data/keytouch-editor-3.2.0~beta/src/evdev.c:211:13:  [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.
	modprobe = popen ("modprobe evdev 2>&1", "r");
data/keytouch-editor-3.2.0~beta/src/ud_socket.c:38: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(uds_addr.sun_path, name);
data/keytouch-editor-3.2.0~beta/src/ud_socket.c:95:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(addr.sun_path, "%s", name);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:728:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "r");
data/keytouch-editor-3.2.0~beta/mxml/write.c:354:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(file_name, "w");
data/keytouch-editor-3.2.0~beta/src/callbacks.c:678: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 str_scancode[64],
data/keytouch-editor-3.2.0~beta/src/callbacks.c:734: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 str_scancode[64];
data/keytouch-editor-3.2.0~beta/src/callbacks.c:954: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 *key_name,
data/keytouch-editor-3.2.0~beta/src/check_syntax.c:63: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			*key_names[MAX_NUM_KEYS],
data/keytouch-editor-3.2.0~beta/src/check_syntax.c:137: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			*key_names[MAX_NUM_KEYS],
data/keytouch-editor-3.2.0~beta/src/check_syntax.c:543: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			*key_names[MAX_NUM_KEYS];
data/keytouch-editor-3.2.0~beta/src/config.c:251: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).
			scancode = atoi(tmp_string);
data/keytouch-editor-3.2.0~beta/src/config.c:570: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		date[MAX_DATE_LEN+1];
data/keytouch-editor-3.2.0~beta/src/config.c:652: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 str_usb_id[64];
data/keytouch-editor-3.2.0~beta/src/config.c:725: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 scancode_string[MAX_SCANCODE_LEN+1],
data/keytouch-editor-3.2.0~beta/src/email.c:95: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		connection_buffer[100],
data/keytouch-editor-3.2.0~beta/src/email.c:207:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen (filename, "r");
data/keytouch-editor-3.2.0~beta/src/evdev.c:73: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 name[256] = "Unknown";
data/keytouch-editor-3.2.0~beta/src/evdev.c:81: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).
	event_device = open(complete_file_name, O_RDONLY);
data/keytouch-editor-3.2.0~beta/src/evdev.c:207: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	output_buffer[100],
data/keytouch-editor-3.2.0~beta/src/get_scancode.c:177: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).
	if ((poll.fd = open( evdev_filename, O_RDONLY )) < 0)
data/keytouch-editor-3.2.0~beta/src/plugins.c:32: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 *amarok_plugin_functions[4] =		{"Play/Pause", "Stop", "Previous", "Next"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:33: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 *amixer_plugin_functions[3] =		{"Volume increase", "Volume decrease", "Mute"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:34: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 *chat_plugin_functions[1] =		{"Chat"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:35: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 *common_actions_plugin_functions[12] =	{"Close/Quit", "New (file)", "Open", "Save", "Print", "Undo",
data/keytouch-editor-3.2.0~beta/src/plugins.c:37: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 *email_plugin_functions[5] =		{"E-mail", "New mail message", "Send/Receive", "Reply", "Forward"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:38:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *filemanager_plugin_functions[6] =		{"Filemanager", "Documents", "Reload", "Back", "Forward", "Parent directory"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:39: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 *kde_sw_desktop_plugin_functions[6] =	{"Next Desktop", "Previous Desktop", "Desktop 1", "Desktop 2",
data/keytouch-editor-3.2.0~beta/src/plugins.c:41:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *lock_screen_plugin_functions[1] =		{"Lock Screen"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:42: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 *scroll_plugin_functions[4] =		{"Up", "Down", "Left", "Right"};
data/keytouch-editor-3.2.0~beta/src/plugins.c:43: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 *www_browser_plugin_functions[8] =		{"Home", "Search", "Back", "Forward", "Reload",
data/keytouch-editor-3.2.0~beta/src/plugins.c:45: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 *xmms_plugin_functions[4] =		{"Play/Pause", "Stop", "Previous", "Next"};
data/keytouch-editor-3.2.0~beta/string_to_keycode/string_to_keycode.c:40: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.
const char *key_name[KEY_MAX + 1] = {
data/keytouch-editor-3.2.0~beta/string_to_keycode/string_to_keycode.h: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.
extern const char *key_name[KEY_MAX + 1];
data/keytouch-editor-3.2.0~beta/mxml/content.c:448:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	string->data.string = XmlMalloc(strlen(value)+1);
data/keytouch-editor-3.2.0~beta/mxml/document.c:71: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).
			attr->name = XmlMalloc(strlen(attr_name)+1);
data/keytouch-editor-3.2.0~beta/mxml/document.c:132: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).
			type->type = XmlMalloc(strlen(type_name)+1);
data/keytouch-editor-3.2.0~beta/mxml/element.c:108: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).
	attribute->value = XmlMalloc(strlen(value)+1);
data/keytouch-editor-3.2.0~beta/mxml/element.c:202: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).
			size += strlen(content->data.string)+seperator_size;
data/keytouch-editor-3.2.0~beta/mxml/element.c:264:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	seperator_size = strlen(seperator);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:72:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:102:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (*string != getc(file))
data/keytouch-editor-3.2.0~beta/mxml/parse.c:203:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc (file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:218:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		string[count] = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:281:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc (file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:314:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:464:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (getc(file) != '>')
data/keytouch-editor-3.2.0~beta/mxml/parse.c:513:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:526:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (feof(file) || getc(file) != '>')
data/keytouch-editor-3.2.0~beta/mxml/parse.c:542:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (getc(file) != '>')
data/keytouch-editor-3.2.0~beta/mxml/parse.c:557:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:618:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:655:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					if (getc(file) != tag_name[count])
data/keytouch-editor-3.2.0~beta/mxml/parse.c:663:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/parse.c:681:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					c = getc(file);
data/keytouch-editor-3.2.0~beta/mxml/write.c:176: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).
	string_len = strlen(content->data.string);
data/keytouch-editor-3.2.0~beta/src/acpi.c:101:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			r = read(fd, buf+i, 1);
data/keytouch-editor-3.2.0~beta/src/email.c:111:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read (sock, connection_buffer, 99) )               /* If the data was successfully read */
data/keytouch-editor-3.2.0~beta/src/email.c:138:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (write (sock, string, strlen(string)) < 0)
data/keytouch-editor-3.2.0~beta/src/email.c:212:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getc(file)) != EOF)
data/keytouch-editor-3.2.0~beta/src/get_scancode.c:95:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		readen_size = read (poll->fd, ev, sizeof(struct input_event) * 64);

ANALYSIS SUMMARY:

Hits = 70
Lines analyzed = 10609 in approximately 0.57 seconds (18762 lines/second)
Physical Source Lines of Code (SLOC) = 6808
Hits@level = [0]  23 [1]  27 [2]  31 [3]   0 [4]  12 [5]   0
Hits@level+ = [0+]  93 [1+]  70 [2+]  43 [3+]  12 [4+]  12 [5+]   0
Hits/KSLOC@level+ = [0+] 13.6604 [1+] 10.282 [2+] 6.3161 [3+] 1.76263 [4+] 1.76263 [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.