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/barnowl-1.10/owl.c
Examining data/barnowl-1.10/messagelist.c
Examining data/barnowl-1.10/window.c
Examining data/barnowl-1.10/sepbar.c
Examining data/barnowl-1.10/owl.h
Examining data/barnowl-1.10/zwrite.c
Examining data/barnowl-1.10/help.c
Examining data/barnowl-1.10/pair.c
Examining data/barnowl-1.10/buddy.c
Examining data/barnowl-1.10/window.h
Examining data/barnowl-1.10/keypress.c
Examining data/barnowl-1.10/zbuddylist.c
Examining data/barnowl-1.10/variable.c
Examining data/barnowl-1.10/filterproc.c
Examining data/barnowl-1.10/logging.c
Examining data/barnowl-1.10/global.c
Examining data/barnowl-1.10/commands.c
Examining data/barnowl-1.10/filter.c
Examining data/barnowl-1.10/aim.c
Examining data/barnowl-1.10/mainpanel.c
Examining data/barnowl-1.10/style.c
Examining data/barnowl-1.10/history.c
Examining data/barnowl-1.10/editwin.c
Examining data/barnowl-1.10/filterelement.c
Examining data/barnowl-1.10/perlconfig.c
Examining data/barnowl-1.10/view.c
Examining data/barnowl-1.10/wcwidth.c
Examining data/barnowl-1.10/select.c
Examining data/barnowl-1.10/msgwin.c
Examining data/barnowl-1.10/filterproc.h
Examining data/barnowl-1.10/errqueue.c
Examining data/barnowl-1.10/popexec.c
Examining data/barnowl-1.10/text.c
Examining data/barnowl-1.10/closures.c
Examining data/barnowl-1.10/regex.c
Examining data/barnowl-1.10/keymap.c
Examining data/barnowl-1.10/buddylist.c
Examining data/barnowl-1.10/popwin.c
Examining data/barnowl-1.10/fmtext.c
Examining data/barnowl-1.10/windowcb.c
Examining data/barnowl-1.10/zephyr.c
Examining data/barnowl-1.10/context.c
Examining data/barnowl-1.10/keys.c
Examining data/barnowl-1.10/owl_perl.h
Examining data/barnowl-1.10/tester.c
Examining data/barnowl-1.10/viewwin.c
Examining data/barnowl-1.10/mainwin.c
Examining data/barnowl-1.10/dict.c
Examining data/barnowl-1.10/functions.c
Examining data/barnowl-1.10/libfaim/md5.h
Examining data/barnowl-1.10/libfaim/msgcookie.c
Examining data/barnowl-1.10/libfaim/rxhandlers.c
Examining data/barnowl-1.10/libfaim/bstream.c
Examining data/barnowl-1.10/libfaim/ft.c
Examining data/barnowl-1.10/libfaim/icq.c
Examining data/barnowl-1.10/libfaim/stats.c
Examining data/barnowl-1.10/libfaim/admin.c
Examining data/barnowl-1.10/libfaim/service.c
Examining data/barnowl-1.10/libfaim/adverts.c
Examining data/barnowl-1.10/libfaim/odir.c
Examining data/barnowl-1.10/libfaim/chatnav.c
Examining data/barnowl-1.10/libfaim/popups.c
Examining data/barnowl-1.10/libfaim/snac.c
Examining data/barnowl-1.10/libfaim/rxqueue.c
Examining data/barnowl-1.10/libfaim/im.c
Examining data/barnowl-1.10/libfaim/faimconfig.h
Examining data/barnowl-1.10/libfaim/translate.c
Examining data/barnowl-1.10/libfaim/locate.c
Examining data/barnowl-1.10/libfaim/search.c
Examining data/barnowl-1.10/libfaim/bos.c
Examining data/barnowl-1.10/libfaim/chat.c
Examining data/barnowl-1.10/libfaim/buddylist.c
Examining data/barnowl-1.10/libfaim/misc.c
Examining data/barnowl-1.10/libfaim/ssi.c
Examining data/barnowl-1.10/libfaim/bart.c
Examining data/barnowl-1.10/libfaim/invite.c
Examining data/barnowl-1.10/libfaim/conn.c
Examining data/barnowl-1.10/libfaim/tlv.c
Examining data/barnowl-1.10/libfaim/auth.c
Examining data/barnowl-1.10/libfaim/aim.h
Examining data/barnowl-1.10/libfaim/util.c
Examining data/barnowl-1.10/libfaim/aim_cbtypes.h
Examining data/barnowl-1.10/libfaim/txqueue.c
Examining data/barnowl-1.10/libfaim/email.c
Examining data/barnowl-1.10/libfaim/md5.c
Examining data/barnowl-1.10/libfaim/oscar.c
Examining data/barnowl-1.10/libfaim/aim_internal.h
Examining data/barnowl-1.10/editcontext.c
Examining data/barnowl-1.10/util.c
Examining data/barnowl-1.10/signal.c
Examining data/barnowl-1.10/compat/memrchr.c
Examining data/barnowl-1.10/compat/compat.h
Examining data/barnowl-1.10/keybinding.c
Examining data/barnowl-1.10/cmd.c
Examining data/barnowl-1.10/message.c
Examining data/barnowl-1.10/zcrypt.c

FINAL RESULTS:

data/barnowl-1.10/functions.c:1245:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(file, fmt, ap);
data/barnowl-1.10/functions.c:2047:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    p = popen(newbuff, "r");
data/barnowl-1.10/libfaim/aim_internal.h:221:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printf() printf called inside libfaim
data/barnowl-1.10/libfaim/aim_internal.h:221:18:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printf() printf called inside libfaim
data/barnowl-1.10/libfaim/aim_internal.h:222:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define sprintf() unbounded sprintf used inside libfaim
data/barnowl-1.10/libfaim/aim_internal.h:222:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define sprintf() unbounded sprintf used inside libfaim
data/barnowl-1.10/libfaim/conn.c:846:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, format, va);
data/barnowl-1.10/libfaim/locate.c:957:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding);
data/barnowl-1.10/libfaim/locate.c:977:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding);
data/barnowl-1.10/libfaim/ssi.c:111: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(new->name, name);
data/barnowl-1.10/libfaim/ssi.c:987: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(group->name, newgn);
data/barnowl-1.10/libfaim/ssi.c:1419:5:  [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(item->name, name);
data/barnowl-1.10/libfaim/ssi.c:1431:5:  [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(item->name, name);
data/barnowl-1.10/libfaim/ssi.c:1513: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(cur->name, cur->item->name);
data/barnowl-1.10/libfaim/ssi.c:1527:8:  [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(cur->item->name, cur1->name);
data/barnowl-1.10/libfaim/ssi.c:1561:8:  [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(cur1->name, cur->item->name);
data/barnowl-1.10/libfaim/util.c:114: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(toReturn, last);
data/barnowl-1.10/owl_perl.h:59:7:  [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, err, SvPV_nolen(ERRSV)); \
data/barnowl-1.10/popexec.c:77:5:  [4] (shell) execl:
  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.
    execl("/bin/sh", "sh", "-c", command, (const char *)NULL);
data/barnowl-1.10/text.c:67: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(out, ptr1);
data/barnowl-1.10/text.c:81: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(out, ptr2);
data/barnowl-1.10/util.c:604:12:  [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).
    if (s) strcat(r,s);
data/barnowl-1.10/zcrypt.c:485:11:  [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(result[i], &buffer[j]);
data/barnowl-1.10/zcrypt.c:507:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(keyfile, temp);
data/barnowl-1.10/zcrypt.c:584:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(argv[0], (char **)argv);
data/barnowl-1.10/zephyr.c:729: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(notice.z_message, zsig);
data/barnowl-1.10/commands.c:1352:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((opt = getopt_long(argc, (char **)tmp_argv, "ir", options, NULL)) != -1) {
data/barnowl-1.10/global.c:71: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.
  homedir = getenv("HOME");
data/barnowl-1.10/global.c:73:15:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    homedir = g_get_home_dir();
data/barnowl-1.10/owl.c:63:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while((c = getopt_long(argc, argv, "nc:t:s:dDvh",
data/barnowl-1.10/util.c:368:7:  [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("DISPLAY")) {
data/barnowl-1.10/util.c:369: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.
    out=g_strdup(getenv("DISPLAY"));
data/barnowl-1.10/util.c:563:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char * datadir = getenv("BARNOWL_DATA_DIR");
data/barnowl-1.10/util.c:571:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char * bindir = getenv("BARNOWL_BIN_DIR");
data/barnowl-1.10/zcrypt.c:150:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long(argc, argv, "ZDERSF:c:i:advqtluons:f:m", options, NULL)) != -1)
data/barnowl-1.10/zcrypt.c:468:10:  [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.
  home = getenv("HOME");
data/barnowl-1.10/zcrypt.c:470:12:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    home = g_get_home_dir();
data/barnowl-1.10/aim.c:1337:16:  [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 *codes[5] = {
data/barnowl-1.10/aim.c:1686: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 tmpbuf[1152];
data/barnowl-1.10/commands.c:1208:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      owl_aim_chat_join(argv[2], atoi(argv[3]));
data/barnowl-1.10/commands.c:2351: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).
    owl_function_delete_by_id(atoi(argv[2]), 1);
data/barnowl-1.10/commands.c:2378: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).
    owl_function_delete_and_expunge_by_id(atoi(argv[2]), exclaim_success);
data/barnowl-1.10/commands.c:2407: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).
    owl_function_delete_by_id(atoi(argv[2]), 0);
data/barnowl-1.10/commands.c:2530: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).
    if (unpunt && (i = atoi(argv[1])) > 0) {
data/barnowl-1.10/editwin.c:654: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(e->buff + start, s, strlen(s));
data/barnowl-1.10/editwin.c:742: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(tmp, middle, end - middle);
data/barnowl-1.10/editwin.c:743: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(tmp + (end - middle), start, middle - start);
data/barnowl-1.10/editwin.c:1300: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 tmp[7];
data/barnowl-1.10/editwin.c:1394: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(p, e->buff + start, end - start);
data/barnowl-1.10/fmtext.c:187:3:  [2] (buffer) wchar_t:
  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.
  wchar_t blank[2] = { ' ', 0 };
data/barnowl-1.10/functions.c:394:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[7];
data/barnowl-1.10/functions.c:1344:8:  [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/barnowl-1.10/functions.c:1775: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 buff[MAXPATHLEN+1];
data/barnowl-1.10/functions.c:2238:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[5];
data/barnowl-1.10/functions.c:2614:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[2], *zperson;
data/barnowl-1.10/functions.c:3200:8:  [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, "w");
data/barnowl-1.10/functions.c:3294:8:  [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, "a");
data/barnowl-1.10/functions.c:3330:10:  [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(path, "r");
data/barnowl-1.10/global.c:897:10:  [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).
    fd = open(path, O_CREAT|O_WRONLY|O_EXCL, 0600);
data/barnowl-1.10/libfaim/admin.c:78:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
					strcpy(email, "*suppressed*");
data/barnowl-1.10/libfaim/aim.h:389: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 sn[MAXSNLEN+1];
data/barnowl-1.10/libfaim/aim.h:430: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 server[128];
data/barnowl-1.10/libfaim/aim.h:431: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 username[128];
data/barnowl-1.10/libfaim/aim.h:432: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 password[128];
data/barnowl-1.10/libfaim/aim.h:882: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 magic[4];		/* 0 */
data/barnowl-1.10/libfaim/aim.h:886: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 bcookie[8];	/* 8 */
data/barnowl-1.10/libfaim/aim.h: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 dummy[69];		/* 103 */
data/barnowl-1.10/libfaim/aim.h: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 macfileinfo[16];	/* 172 */
data/barnowl-1.10/libfaim/aim.h:911: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[64];		/* 192 */
data/barnowl-1.10/libfaim/aim.h:916: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 cookie[8];
data/barnowl-1.10/libfaim/aim_internal.h:25: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[AIM_MODULENAME_MAXLEN+1];
data/barnowl-1.10/libfaim/aim_internal.h:142: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[128];
data/barnowl-1.10/libfaim/bstream.c:201:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, bs->data + bs->offset, len);
data/barnowl-1.10/libfaim/bstream.c:245:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(bs->data + bs->offset, v, len);
data/barnowl-1.10/libfaim/bstream.c:260:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(bs->data + bs->offset, srcbs->data + srcbs->offset, len);
data/barnowl-1.10/libfaim/conn.c:402:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char buf[512];
data/barnowl-1.10/libfaim/conn.c:410:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				proxyport = atoi(&(sess->socksproxy.server[i+1]));
data/barnowl-1.10/libfaim/conn.c:428: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(&sa.sin_addr, hp->h_addr, hp->h_length);
data/barnowl-1.10/libfaim/conn.c:527: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(&sa.sin_addr, hp->h_addr, hp->h_length);
data/barnowl-1.10/libfaim/conn.c:638:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = atoi(&(dest[i+1]));
data/barnowl-1.10/libfaim/ft.c:69: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 sn[MAXSNLEN+1];
data/barnowl-1.10/libfaim/ft.c:70: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 ip[22];
data/barnowl-1.10/libfaim/ft.c:151: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 ((fd = fopen(filename, "rb"))) {
data/barnowl-1.10/libfaim/ft.c:179: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 serv[5];
data/barnowl-1.10/libfaim/ft.c:259: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 ip[20];
data/barnowl-1.10/libfaim/ft.c:332:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(fr->hdr.rend.magic, "ODC2", 4);
data/barnowl-1.10/libfaim/ft.c:411:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(fr->hdr.rend.magic, "ODC2", 4);
data/barnowl-1.10/libfaim/ft.c:552:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cookie->cookie, ck, 8);
data/barnowl-1.10/libfaim/ft.c:558:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(priv->cookie, ck, 8);
data/barnowl-1.10/libfaim/ft.c:572:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(priv->cookie, ck, 8);
data/barnowl-1.10/libfaim/ft.c:606:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(intdata->cookie, cookie, 8);
data/barnowl-1.10/libfaim/ft.c:720: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(new->cookie, cookie, 8);
data/barnowl-1.10/libfaim/ft.c:949:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(fr->hdr.rend.magic, "OFT2", 4);
data/barnowl-1.10/libfaim/icq.c:32:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:64:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:96:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:145:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:185:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:189:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(uin));
data/barnowl-1.10/libfaim/icq.c:196:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	info->uin = atoi(uin);
data/barnowl-1.10/libfaim/icq.c:230:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:234:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(uin));
data/barnowl-1.10/libfaim/icq.c:241:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	info->uin = atoi(uin);
data/barnowl-1.10/libfaim/icq.c:274:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:278:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(uin));
data/barnowl-1.10/libfaim/icq.c:311:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/icq.c:347: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 *xml, timestr[30];
data/barnowl-1.10/libfaim/icq.c:392:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/im.c:629: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(cookie, ck, 8);
data/barnowl-1.10/libfaim/im.c:700:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				ip[i] = atoi(nexttoken);
data/barnowl-1.10/libfaim/im.c:950: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 ck[8];
data/barnowl-1.10/libfaim/im.c:982:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aimbs_putle32(&fr->data, atoi(sess->sn));
data/barnowl-1.10/libfaim/im.c:1150:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dup, data, datalen);
data/barnowl-1.10/libfaim/im.c:1647: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 proxyip[30] = {""};
data/barnowl-1.10/libfaim/im.c:1648: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 clientip[30] = {""};
data/barnowl-1.10/libfaim/im.c:1649: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 verifiedip[30] = {""};
data/barnowl-1.10/libfaim/im.c:1672:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(args.cookie, cookie2, 8);
data/barnowl-1.10/libfaim/locate.c:220: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(cur->iconcsum, userinfo->iconcsum, userinfo->iconcsumlen);
data/barnowl-1.10/libfaim/locate.c:228: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(cur->info, userinfo->info, userinfo->info_len);
data/barnowl-1.10/libfaim/locate.c:237: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(cur->away, userinfo->away, userinfo->away_len);
data/barnowl-1.10/libfaim/locate.c:797:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(info->sn) != 0) {
data/barnowl-1.10/libfaim/locate.c:1079: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(userinfo->info, tlv->value, tlv->length);
data/barnowl-1.10/libfaim/locate.c:1087: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(userinfo->away, tlv->value, tlv->length);
data/barnowl-1.10/libfaim/md5.c:52: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 const char *const test[7] = {
data/barnowl-1.10/libfaim/md5.c:203:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(xbuf, data, 64);
data/barnowl-1.10/libfaim/md5.c:354:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pms->buf + offset, p, copy);
data/barnowl-1.10/libfaim/md5.c:368:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pms->buf, p, left);
data/barnowl-1.10/libfaim/msgcookie.c:104:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cookie->cookie, c, 8);
data/barnowl-1.10/libfaim/oscar.c:137: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[80];
data/barnowl-1.10/libfaim/oscar.c:146: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 ip[64];
data/barnowl-1.10/libfaim/oscar.c:412: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 hex[3];
data/barnowl-1.10/libfaim/oscar.c:463: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[256];
data/barnowl-1.10/libfaim/oscar.c:1048: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[256];
data/barnowl-1.10/libfaim/oscar.c:1158:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = atoi(&(info->bosip[i+1]));
data/barnowl-1.10/libfaim/oscar.c:1196: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[17];
data/barnowl-1.10/libfaim/oscar.c:1208: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[256];
data/barnowl-1.10/libfaim/oscar.c:1323: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[256];
data/barnowl-1.10/libfaim/oscar.c:1597:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = atoi(&(redir->ip[i+1]));
data/barnowl-1.10/libfaim/oscar.c:1892: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[256];
data/barnowl-1.10/libfaim/oscar.c:2029:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&oft_info->fh, fh, sizeof(*fh));
data/barnowl-1.10/libfaim/oscar.c:2032:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&oft_info->fh.bcookie, oft_info->cookie, 8);
data/barnowl-1.10/libfaim/oscar.c:2141:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = atoi(&(d->ip[i+1]));
data/barnowl-1.10/libfaim/oscar.c:2203: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(iconfile, "rb");
data/barnowl-1.10/libfaim/oscar.c:2394: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[256];
data/barnowl-1.10/libfaim/oscar.c:2409: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(d->cookie, args->cookie, 8);
data/barnowl-1.10/libfaim/oscar.c:3052:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[1024];
data/barnowl-1.10/libfaim/oscar.c:3067:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[512], *tmp;
data/barnowl-1.10/libfaim/oscar.c:3517: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).
			FILE *file = fopen(iconfile, "rb");
data/barnowl-1.10/libfaim/oscar.c:3573:15:  [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 *codes[5] = {
data/barnowl-1.10/libfaim/oscar.c:3985: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 date[30];
data/barnowl-1.10/libfaim/oscar.c:3994: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 age[5];
data/barnowl-1.10/libfaim/oscar.c:4158: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 msg[256];
data/barnowl-1.10/libfaim/oscar.c:4328: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).
			FILE *file = fopen(iconfile, "r");
data/barnowl-1.10/libfaim/oscar.c:4667: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[MSG_LEN];
data/barnowl-1.10/libfaim/oscar.c:5236:47:  [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).
		aim_chatnav_createroom(od->sess, cur, name, atoi(exchange));
data/barnowl-1.10/libfaim/oscar.c:5242:18:  [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).
		cr->exchange = atoi(exchange);
data/barnowl-1.10/libfaim/oscar.c:5373: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 *emblems[4] = {NULL,NULL,NULL,NULL};
data/barnowl-1.10/libfaim/oscar.c:5585:20:  [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(iconfile, "rb");
data/barnowl-1.10/libfaim/oscar.c:5622: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[256];
data/barnowl-1.10/libfaim/oscar.c:5779:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if (data + (size = atoi(datasize)) <= msgend)
data/barnowl-1.10/libfaim/oscar.c:5883:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if (id && (image = gaim_imgstore_get(atoi(id)))) {
data/barnowl-1.10/libfaim/oscar.c:6025: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[MAXMSGLEN];
data/barnowl-1.10/libfaim/oscar.c:6455:10:  [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(iconfile, "rb");
data/barnowl-1.10/libfaim/oscar.c:6458: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 md5[16];
data/barnowl-1.10/libfaim/rxhandlers.c:214:15:  [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 *channels[6] = {
data/barnowl-1.10/libfaim/rxhandlers.c:225:15:  [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 *literals[14][25] = {
data/barnowl-1.10/libfaim/service.c:212:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(rc, inrc, sizeof(struct rateclass));
data/barnowl-1.10/libfaim/snac.c:43: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(snac.data, data, datalen);
data/barnowl-1.10/libfaim/snac.c:64:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(snac, newsnac, sizeof(aim_snac_t));
data/barnowl-1.10/libfaim/ssi.c:1058:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&csumdata[2], iconsum, iconsumlen);
data/barnowl-1.10/libfaim/tlv.c:397: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(newtlv->tlv->value, value, newtlv->tlv->length);
data/barnowl-1.10/libfaim/tlv.c:585: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(cur->tlv->value, value, cur->tlv->length);
data/barnowl-1.10/libfaim/tlv.c:762:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(newstr, tlv->value, tlv->length);
data/barnowl-1.10/libfaim/util.c:34:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dest, src, len);
data/barnowl-1.10/libfaim/util.c:117: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(toReturn, last, (next - last));
data/barnowl-1.10/libfaim/util.c:145: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 localhost[129];
data/barnowl-1.10/libfaim/util.c:155:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ip, hptr->h_addr_list[0], 4);
data/barnowl-1.10/logging.c:164:10:  [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(msg->filename, "a");
data/barnowl-1.10/message.c:779: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 hbuf[NI_MAXHOST];
data/barnowl-1.10/owl.c:314: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 utf8buf[7];
data/barnowl-1.10/owl.c:449: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/barnowl-1.10/perlconfig.c:288:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *args[4] = {"", "-e", "0;", NULL};
data/barnowl-1.10/tester.c:45: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).
  wnull = fopen("/dev/null", "w");
data/barnowl-1.10/tester.c:46: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).
  rnull = fopen("/dev/null", "r");
data/barnowl-1.10/text.c:179: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(out, p, q - p);
data/barnowl-1.10/util.c:462:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((old = fopen(filename, "r")) == NULL) {
data/barnowl-1.10/util.c:482:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((new = fopen(newfile, "w")) == NULL) {
data/barnowl-1.10/zcrypt.c:323: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 newkey[MAX_KEY];
data/barnowl-1.10/zcrypt.c:336: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).
    fkey = fopen(keyfile, "w");
data/barnowl-1.10/zcrypt.c:442: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 *varname[MAX_SEARCH];
data/barnowl-1.10/zcrypt.c:444: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[MAX_BUFF];
data/barnowl-1.10/zcrypt.c:447: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 result[MAX_SEARCH][MAX_BUFF];
data/barnowl-1.10/zcrypt.c:472: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).
  fsearch = fopen(filename, "r");
data/barnowl-1.10/zcrypt.c:533:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[20];
data/barnowl-1.10/zcrypt.c:681:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fkey = fopen(keyfile, "r");
data/barnowl-1.10/zcrypt.c:736:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char input[8], output[8];
data/barnowl-1.10/zcrypt.c:761: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(input, inptr, size);
data/barnowl-1.10/zcrypt.c:768: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(input, inptr, size);
data/barnowl-1.10/zcrypt.c:913:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char input[8], output[8];
data/barnowl-1.10/zcrypt.c:914: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 tmp[9];
data/barnowl-1.10/zcrypt.c:941: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(tmp, output, 8);
data/barnowl-1.10/zephyr.c:296:10:  [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(subsfile, "r");
data/barnowl-1.10/zephyr.c:416:10:  [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(subsfile, "r");
data/barnowl-1.10/zephyr.c:626: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 *fields[OWL_NFIELDS + 1];
data/barnowl-1.10/zephyr.c:730: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(notice.z_message+strlen(zsig)+1, message, strlen(message));
data/barnowl-1.10/zephyr.c:995:10:  [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(subsfile, "r");
data/barnowl-1.10/zephyr.c:1008: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).
    file = fopen(subsfile, "a");
data/barnowl-1.10/zephyr.c:1080:10:  [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, "a");
data/barnowl-1.10/zephyr.c:1340:7:  [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).
  f = fopen(ourfile, "r");
data/barnowl-1.10/aim.c:355:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(foo);
data/barnowl-1.10/aim.c:441:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  j=strlen(in);
data/barnowl-1.10/aim.c:1405:126:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  owl_function_debugmsg("faimtest_parse_evilnotify: new value = %2.1f%% (caused by %s)\n", ((float)newevil)/10, (userinfo && strlen(userinfo->sn))?userinfo->sn:"anonymous");
data/barnowl-1.10/aim.c:1704: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).
    aim_chat_send_im(sess, fr->conn, 0, tmpbuf, strlen(tmpbuf));
data/barnowl-1.10/commands.c:1712:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i=strlen(newbuff)-1; i>=0; i--) {
data/barnowl-1.10/editwin.c:646: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).
  need = strlen(s) - free;
data/barnowl-1.10/editwin.c:653: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).
  memmove(e->buff + start + strlen(s), e->buff + end, e->bufflen + 1 - end);
data/barnowl-1.10/editwin.c:654:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  memcpy(e->buff + start, s, strlen(s));
data/barnowl-1.10/editwin.c:655:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  change = start - end + strlen(s);
data/barnowl-1.10/editwin.c:658: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).
  e->index += strlen(s);
data/barnowl-1.10/filterproc.c:80:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  struct filter_data data = {&in, in + strlen(in), g_string_new(""), g_main_loop_new(context, FALSE), 0};
data/barnowl-1.10/fmtext.c:575:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, txtptr, ptr-txtptr);
data/barnowl-1.10/fmtext.c:610:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, ptr, tmpptr-ptr);
data/barnowl-1.10/fmtext.c:672:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(buff, txtptr, tmpptr-txtptr);
data/barnowl-1.10/fmtext.c:700:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, txtptr, ptr-txtptr);
data/barnowl-1.10/fmtext.c:747:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, txtptr, ptr-txtptr+1);
data/barnowl-1.10/keymap.c:148:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    owl_fmtext_append_spaces(fm, 11-strlen(kbstr));
data/barnowl-1.10/libfaim/admin.c:107:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2+2+strlen(newnick))))
data/barnowl-1.10/libfaim/admin.c:113:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0001, strlen(newnick), newnick);
data/barnowl-1.10/libfaim/admin.c:134:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+4+strlen(curpw)+4+strlen(newpw))))
data/barnowl-1.10/libfaim/admin.c:134:83:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+4+strlen(curpw)+4+strlen(newpw))))
data/barnowl-1.10/libfaim/admin.c:141:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0002, strlen(newpw), newpw);
data/barnowl-1.10/libfaim/admin.c:144:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0012, strlen(curpw), curpw);
data/barnowl-1.10/libfaim/admin.c:164:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2+2+strlen(newemail))))
data/barnowl-1.10/libfaim/admin.c:170:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0011, strlen(newemail), newemail);
data/barnowl-1.10/libfaim/admin.c:234:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "admin", sizeof(mod->name));
data/barnowl-1.10/libfaim/adverts.c:27:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "adverts", sizeof(mod->name));
data/barnowl-1.10/libfaim/auth.c:50:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(password); i++)
data/barnowl-1.10/libfaim/auth.c:62: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).
	md5_append(&state, (const md5_byte_t *)key, strlen(key));
data/barnowl-1.10/libfaim/auth.c:63: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).
	md5_append(&state, (const md5_byte_t *)password, strlen(password));
data/barnowl-1.10/libfaim/auth.c:64:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	md5_append(&state, (const md5_byte_t *)AIM_MD5_STRING, strlen(AIM_MD5_STRING));
data/barnowl-1.10/libfaim/auth.c:76: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).
	md5_append(&state, (const md5_byte_t *)password, strlen(password));
data/barnowl-1.10/libfaim/auth.c:80: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).
	md5_append(&state, (const md5_byte_t *)key, strlen(key));
data/barnowl-1.10/libfaim/auth.c:82:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	md5_append(&state, (const md5_byte_t *)AIM_MD5_STRING, strlen(AIM_MD5_STRING));
data/barnowl-1.10/libfaim/auth.c:144:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	passwdlen = strlen(password);
data/barnowl-1.10/libfaim/auth.c:158:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0001, strlen(sn), sn);
data/barnowl-1.10/libfaim/auth.c:162: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).
		aim_tlvlist_add_raw(&tl, 0x0003, strlen(ci->clientstring), ci->clientstring);
data/barnowl-1.10/libfaim/auth.c:169:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x000f, strlen(ci->lang), ci->lang);
data/barnowl-1.10/libfaim/auth.c:170:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x000e, strlen(ci->country), ci->country);
data/barnowl-1.10/libfaim/auth.c:231:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0001, strlen(sn), sn);
data/barnowl-1.10/libfaim/auth.c:241: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).
		aim_tlvlist_add_raw(&tl, 0x0003, strlen(ci->clientstring), ci->clientstring);
data/barnowl-1.10/libfaim/auth.c:248:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x000f, strlen(ci->lang), ci->lang);
data/barnowl-1.10/libfaim/auth.c:249:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x000e, strlen(ci->country), ci->country);
data/barnowl-1.10/libfaim/auth.c:298:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(sess->sn, info->sn, sizeof(sess->sn));
data/barnowl-1.10/libfaim/auth.c:471:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2+2+strlen(sn) /*+8*/ )))
data/barnowl-1.10/libfaim/auth.c:477:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0001, strlen(sn), sn);
data/barnowl-1.10/libfaim/auth.c:553:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "auth", sizeof(mod->name));
data/barnowl-1.10/libfaim/bart.c:85: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).
	if (!sess || !(conn = aim_conn_findbygroup(sess, 0x0010)) || !sn || !strlen(sn) || !iconcsum || !iconcsumlen)
data/barnowl-1.10/libfaim/bart.c:88:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 1+strlen(sn) + 4 + 1+iconcsumlen)))
data/barnowl-1.10/libfaim/bart.c:94: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/bart.c:95:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/bart.c:161:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "bart", sizeof(mod->name));
data/barnowl-1.10/libfaim/bos.c:134:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put8(&fr->data, strlen(tmpptr));
data/barnowl-1.10/libfaim/bos.c:135:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, tmpptr, strlen(tmpptr));
data/barnowl-1.10/libfaim/bos.c:163:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "bos", sizeof(mod->name));
data/barnowl-1.10/libfaim/buddylist.c:81:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!sn || !strlen(sn))
data/barnowl-1.10/libfaim/buddylist.c:84:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn))))
data/barnowl-1.10/libfaim/buddylist.c:87:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0003, 0x0004, 0x0000, sn, strlen(sn)+1);
data/barnowl-1.10/libfaim/buddylist.c:90: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:91:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:120:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		faimdprintf(sess, 2, "---adding: %s (%d)\n", tmpptr, strlen(tmpptr));
data/barnowl-1.10/libfaim/buddylist.c:121:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += 1 + strlen(tmpptr);
data/barnowl-1.10/libfaim/buddylist.c:131:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(localcpy, buddy_list, strlen(buddy_list) + 1);
data/barnowl-1.10/libfaim/buddylist.c:131:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncpy(localcpy, buddy_list, strlen(buddy_list) + 1);
data/barnowl-1.10/libfaim/buddylist.c:135:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		faimdprintf(sess, 2, "---adding: %s (%d)\n", tmpptr, strlen(tmpptr));
data/barnowl-1.10/libfaim/buddylist.c:137:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put8(&fr->data, strlen(tmpptr));
data/barnowl-1.10/libfaim/buddylist.c:138:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, tmpptr, strlen(tmpptr));
data/barnowl-1.10/libfaim/buddylist.c:161:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!sn || !strlen(sn))
data/barnowl-1.10/libfaim/buddylist.c:164:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn))))
data/barnowl-1.10/libfaim/buddylist.c:167:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0003, 0x0005, 0x0000, sn, strlen(sn)+1);
data/barnowl-1.10/libfaim/buddylist.c:170: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:171:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:219:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn))))
data/barnowl-1.10/libfaim/buddylist.c:225: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:226:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/buddylist.c:281:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "buddylist", sizeof(mod->name));
data/barnowl-1.10/libfaim/chat.c:94: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).
	buflen = 2 + 1 + strlen(roomname) + 2;
data/barnowl-1.10/libfaim/chat.c:102:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_put8(&bs, strlen(roomname));
data/barnowl-1.10/libfaim/chat.c:103:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&bs, roomname, strlen(roomname));
data/barnowl-1.10/libfaim/chat.c:126:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!sess || !conn || !roomname || !strlen(roomname))
data/barnowl-1.10/libfaim/chat.c:134:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(csi.name, roomname, sizeof(csi.name));
data/barnowl-1.10/libfaim/chat.c:203:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152+strlen(sn)+strlen(roomname)+strlen(msg))))
data/barnowl-1.10/libfaim/chat.c:203:78:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152+strlen(sn)+strlen(roomname)+strlen(msg))))
data/barnowl-1.10/libfaim/chat.c:203:95:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152+strlen(sn)+strlen(roomname)+strlen(msg))))
data/barnowl-1.10/libfaim/chat.c:206:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0004, 0x0006, 0x0000, sn, strlen(sn)+1);
data/barnowl-1.10/libfaim/chat.c:231: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).
	aimbs_put8(&fr->data, strlen(sn)); /* Screename length */
data/barnowl-1.10/libfaim/chat.c:232:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn)); /* Screenname */
data/barnowl-1.10/libfaim/chat.c:244: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).
	hdrlen = 2+8+16+6+4+4+strlen(msg)+4+2+1+strlen(roomname)+2;
data/barnowl-1.10/libfaim/chat.c:244: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).
	hdrlen = 2+8+16+6+4+4+strlen(msg)+4+2+1+strlen(roomname)+2;
data/barnowl-1.10/libfaim/chat.c:254: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).
	aim_tlvlist_add_raw(&itl, 0x000c, strlen(msg), msg);
data/barnowl-1.10/libfaim/chat.c:698:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "chat", sizeof(mod->name));
data/barnowl-1.10/libfaim/chatnav.c:56: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).
	aimbs_put8(&fr->data, strlen(ck));
data/barnowl-1.10/libfaim/chatnav.c:57:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, ck, strlen(ck));
data/barnowl-1.10/libfaim/chatnav.c:70:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x00d3, strlen(name), name);
data/barnowl-1.10/libfaim/chatnav.c:71:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x00d6, strlen(charset), charset);
data/barnowl-1.10/libfaim/chatnav.c:72:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x00d7, strlen(lang), lang);
data/barnowl-1.10/libfaim/chatnav.c:430:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "chatnav", sizeof(mod->name));
data/barnowl-1.10/libfaim/conn.c:400:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(sess->socksproxy.server)) { /* connecting via proxy */
data/barnowl-1.10/libfaim/conn.c:408:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for(i=0;i<(int)strlen(sess->socksproxy.server);i++) {
data/barnowl-1.10/libfaim/conn.c:416:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(proxy, sess->socksproxy.server, i);
data/barnowl-1.10/libfaim/conn.c:440:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(sess->socksproxy.username)) {
data/barnowl-1.10/libfaim/conn.c:455:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, buf, 2) < 2) {
data/barnowl-1.10/libfaim/conn.c:470: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).
			i += aimutil_put8(buf+i, strlen(sess->socksproxy.username));
data/barnowl-1.10/libfaim/conn.c:471:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			i += aimutil_putstr(buf+i, sess->socksproxy.username, strlen(sess->socksproxy.username));
data/barnowl-1.10/libfaim/conn.c:472: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).
			i += aimutil_put8(buf+i, strlen(sess->socksproxy.password));
data/barnowl-1.10/libfaim/conn.c:473:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			i += aimutil_putstr(buf+i, sess->socksproxy.password, strlen(sess->socksproxy.password));
data/barnowl-1.10/libfaim/conn.c:479:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(fd, buf, 2) < 2) {
data/barnowl-1.10/libfaim/conn.c:495: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).
		i += aimutil_put8(buf+i, strlen(host));
data/barnowl-1.10/libfaim/conn.c:496: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).
		i += aimutil_putstr(buf+i, host, strlen(host));
data/barnowl-1.10/libfaim/conn.c:505:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, buf, 10) < 10) {
data/barnowl-1.10/libfaim/conn.c:636:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for(i = 0; i < (int)strlen(dest); i++) {
data/barnowl-1.10/libfaim/conn.c:644:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(host, dest, i);
data/barnowl-1.10/libfaim/conn.c:827:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!server || !strlen(server)) {
data/barnowl-1.10/libfaim/conn.c:834:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(sess->socksproxy.server, server, sizeof(sess->socksproxy.server));
data/barnowl-1.10/libfaim/conn.c:835:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (username && strlen(username)) 
data/barnowl-1.10/libfaim/conn.c:836:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(sess->socksproxy.username, username, sizeof(sess->socksproxy.username));
data/barnowl-1.10/libfaim/conn.c:837:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (password && strlen(password))
data/barnowl-1.10/libfaim/conn.c:838:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(sess->socksproxy.password, password, sizeof(sess->socksproxy.password));
data/barnowl-1.10/libfaim/email.c:211:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "email", sizeof(mod->name));
data/barnowl-1.10/libfaim/ft.c:271:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ip, inet_ntoa(addr.sin.sin_addr), sizeof(ip));
data/barnowl-1.10/libfaim/ft.c:364:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(hdrbs, sess->sn, strlen(sess->sn));
data/barnowl-1.10/libfaim/ft.c:439:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(hdrbs, sess->sn, strlen(sess->sn));
data/barnowl-1.10/libfaim/ft.c:507:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!sess || !sn || !strlen(sn))
data/barnowl-1.10/libfaim/ft.c:559:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(priv->sn, sn, sizeof(priv->sn));
data/barnowl-1.10/libfaim/ft.c:573:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(priv->sn, sn, sizeof(priv->sn));
data/barnowl-1.10/libfaim/ft.c:607:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(intdata->sn, sn, sizeof(intdata->sn));
data/barnowl-1.10/libfaim/ft.c:609:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(intdata->ip, addr, sizeof(intdata->ip));
data/barnowl-1.10/libfaim/ft.c:737:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(new->fh.idstring, "OFT_Windows ICBMFT V1.1 32", 31);
data/barnowl-1.10/libfaim/ft.c:739:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(new->fh.name, filename, 63);
data/barnowl-1.10/libfaim/icq.c:129:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	passwdlen = strlen(passwd);
data/barnowl-1.10/libfaim/icq.c:292:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!xml || !strlen(xml))
data/barnowl-1.10/libfaim/icq.c:298:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bslen = 2 + 10 + 2 + strlen(xml) + 1;
data/barnowl-1.10/libfaim/icq.c:315: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).
	aimbs_putle16(&fr->data, strlen(xml) + 1);
data/barnowl-1.10/libfaim/icq.c:316: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).
	aimbs_putraw(&fr->data, xml, strlen(xml) + 1);
data/barnowl-1.10/libfaim/icq.c:362: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).
	xmllen = 225 + strlen(name) + strlen(msg) + strlen(sess->sn) + strlen(alias) + strlen(timestr) + 1;
data/barnowl-1.10/libfaim/icq.c:362:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	xmllen = 225 + strlen(name) + strlen(msg) + strlen(sess->sn) + strlen(alias) + strlen(timestr) + 1;
data/barnowl-1.10/libfaim/icq.c:362: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).
	xmllen = 225 + strlen(name) + strlen(msg) + strlen(sess->sn) + strlen(alias) + strlen(timestr) + 1;
data/barnowl-1.10/libfaim/icq.c:362:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	xmllen = 225 + strlen(name) + strlen(msg) + strlen(sess->sn) + strlen(alias) + strlen(timestr) + 1;
data/barnowl-1.10/libfaim/icq.c:362:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	xmllen = 225 + strlen(name) + strlen(msg) + strlen(sess->sn) + strlen(alias) + strlen(timestr) + 1;
data/barnowl-1.10/libfaim/icq.c:679:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "icq", sizeof(mod->name));
data/barnowl-1.10/libfaim/im.c:50: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).
	aimbs_put8(bs, strlen(sn));
data/barnowl-1.10/libfaim/im.c:51:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(bs, sn, strlen(sn));
data/barnowl-1.10/libfaim/im.c:52: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).
	return 8+2+1+strlen(sn);
data/barnowl-1.10/libfaim/im.c:292:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0004, 0x0006, 0x0000, args->destsn, strlen(args->destsn)+1);
data/barnowl-1.10/libfaim/im.c:415:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	args.msglen = strlen(msg);
data/barnowl-1.10/libfaim/im.c:448: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).
	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+2+1+strlen(sn)+2+2+2+8+16+2+2+2+2+2+2+2+4+4+4+iconlen+strlen(AIM_ICONIDENT)+2+2)))
data/barnowl-1.10/libfaim/im.c:448:121:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+2+1+strlen(sn)+2+2+2+8+16+2+2+2+2+2+2+2+4+4+4+iconlen+strlen(AIM_ICONIDENT)+2+2)))
data/barnowl-1.10/libfaim/im.c:463:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_put16(&fr->data, 2+8+16+6+4+4+iconlen+4+4+4+strlen(AIM_ICONIDENT));
data/barnowl-1.10/libfaim/im.c:480: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).
	aimbs_put16(&fr->data, 4+4+4+iconlen+strlen(AIM_ICONIDENT));
data/barnowl-1.10/libfaim/im.c:486: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).
	aimbs_putraw(&fr->data, AIM_ICONIDENT, strlen(AIM_ICONIDENT));
data/barnowl-1.10/libfaim/im.c:527: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).
	servdatalen = 2+2+16+2+4+1+2  +  2+2+4+4+4  +  2+4+2+strlen(args->rtfmsg)+1  +  4+4+4+strlen(rtfcap)+1;
data/barnowl-1.10/libfaim/im.c:527:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	servdatalen = 2+2+16+2+4+1+2  +  2+2+4+4+4  +  2+4+2+strlen(args->rtfmsg)+1  +  4+4+4+strlen(rtfcap)+1;
data/barnowl-1.10/libfaim/im.c:578: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).
	aimbs_putle16(&fr->data, strlen(args->rtfmsg)+1);
data/barnowl-1.10/libfaim/im.c:579:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, args->rtfmsg, strlen(args->rtfmsg)+1);
data/barnowl-1.10/libfaim/im.c:583: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).
	aimbs_putle32(&fr->data, strlen(rtfcap)+1);
data/barnowl-1.10/libfaim/im.c:584: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).
	aimbs_putraw(&fr->data, rtfcap, strlen(rtfcap)+1);
data/barnowl-1.10/libfaim/im.c:609:66:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 256+strlen(sn))))
data/barnowl-1.10/libfaim/im.c:709:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		buflen = 2+2+4+strlen(oft_info->fh.name)+1;
data/barnowl-1.10/libfaim/im.c:717:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&bs, oft_info->fh.name, strlen(oft_info->fh.name));
data/barnowl-1.10/libfaim/im.c:745:70:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 11+strlen(oft_info->sn) + aim_tlvlist_size(&tl))))
data/barnowl-1.10/libfaim/im.c:777:70:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 11+strlen(oft_info->sn) + 4+2+8+16)))
data/barnowl-1.10/libfaim/im.c:810:70:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 11+strlen(oft_info->sn) + 4+2+8+16)))
data/barnowl-1.10/libfaim/im.c:853: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).
	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+2+1+strlen(sn) + 4+0x5e + 4)))
data/barnowl-1.10/libfaim/im.c:958:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+3+strlen(sn)+12+strlen(message)+1+4)))
data/barnowl-1.10/libfaim/im.c:958:83:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+3+strlen(sn)+12+strlen(message)+1+4)))
data/barnowl-1.10/libfaim/im.c:977: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).
	aimbs_put16(&fr->data, 4 + 2+2+strlen(message)+1);
data/barnowl-1.10/libfaim/im.c:988: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).
	aimbs_putle16(&fr->data, strlen(message)+1);
data/barnowl-1.10/libfaim/im.c:989:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, message, strlen(message)+1);
data/barnowl-1.10/libfaim/im.c:1168: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).
	if (mpmsg_addsection(sess, mpm, 0x0000, 0x0000, dup, strlen(ascii)) == -1) {
data/barnowl-1.10/libfaim/im.c:1786:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(proxyip))
data/barnowl-1.10/libfaim/im.c:1788:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(clientip))
data/barnowl-1.10/libfaim/im.c:1790:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(verifiedip))
data/barnowl-1.10/libfaim/im.c:1987:62:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, strlen(sn)+13)))
data/barnowl-1.10/libfaim/im.c:1990:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0004, 0x0008, 0x0000, sn, strlen(sn)+1);
data/barnowl-1.10/libfaim/im.c:1994: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/im.c:1995:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/im.c:2045: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).
	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+8+2+1+strlen(sender)+6)))
data/barnowl-1.10/libfaim/im.c:2054: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).
	aimbs_put8(&fr->data, strlen(sender));
data/barnowl-1.10/libfaim/im.c:2055: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).
	aimbs_putraw(&fr->data, sender, strlen(sender));
data/barnowl-1.10/libfaim/im.c:2200:68:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+11+strlen(sn)+2)))
data/barnowl-1.10/libfaim/im.c:2223: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/im.c:2224:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/im.c:2294:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "messaging", sizeof(mod->name));
data/barnowl-1.10/libfaim/invite.c:30:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "invite", sizeof(mod->name));
data/barnowl-1.10/libfaim/locate.c:781: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).
	aimbs_put8(bs, strlen(info->sn));
data/barnowl-1.10/libfaim/locate.c:782: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).
	aimbs_putraw(bs, info->sn, strlen(info->sn));
data/barnowl-1.10/libfaim/locate.c:953:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		encoding = malloc(strlen(defencoding) + strlen(profile_encoding));
data/barnowl-1.10/libfaim/locate.c:953:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		encoding = malloc(strlen(defencoding) + strlen(profile_encoding));
data/barnowl-1.10/libfaim/locate.c:957:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding);
data/barnowl-1.10/libfaim/locate.c:957:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding);
data/barnowl-1.10/libfaim/locate.c:958: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).
		aim_tlvlist_add_raw(&tl, 0x0001, strlen(encoding), encoding);
data/barnowl-1.10/libfaim/locate.c:973:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			encoding = malloc(strlen(defencoding) + strlen(awaymsg_encoding));
data/barnowl-1.10/libfaim/locate.c:973:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			encoding = malloc(strlen(defencoding) + strlen(awaymsg_encoding));
data/barnowl-1.10/libfaim/locate.c:977:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding);
data/barnowl-1.10/libfaim/locate.c:977:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding);
data/barnowl-1.10/libfaim/locate.c:978:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			aim_tlvlist_add_raw(&tl, 0x0003, strlen(encoding), encoding);
data/barnowl-1.10/libfaim/locate.c:1046:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 12+1+strlen(sn))))
data/barnowl-1.10/libfaim/locate.c:1053: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1054:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1138: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).
		aim_tlvlist_add_raw(&tl, 0x0001, strlen(first), first);
data/barnowl-1.10/libfaim/locate.c:1140: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).
		aim_tlvlist_add_raw(&tl, 0x0002, strlen(last), last);
data/barnowl-1.10/libfaim/locate.c:1142: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).
		aim_tlvlist_add_raw(&tl, 0x0003, strlen(middle), middle);
data/barnowl-1.10/libfaim/locate.c:1144: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).
		aim_tlvlist_add_raw(&tl, 0x0004, strlen(maiden), maiden);
data/barnowl-1.10/libfaim/locate.c:1147: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).
		aim_tlvlist_add_raw(&tl, 0x0007, strlen(state), state);
data/barnowl-1.10/libfaim/locate.c:1149: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).
		aim_tlvlist_add_raw(&tl, 0x0008, strlen(city), city);
data/barnowl-1.10/libfaim/locate.c:1152: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).
		aim_tlvlist_add_raw(&tl, 0x000c, strlen(nickname), nickname);
data/barnowl-1.10/libfaim/locate.c:1154: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).
		aim_tlvlist_add_raw(&tl, 0x000d, strlen(zip), zip);
data/barnowl-1.10/libfaim/locate.c:1157: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).
		aim_tlvlist_add_raw(&tl, 0x0021, strlen(street), street);
data/barnowl-1.10/libfaim/locate.c:1187:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn))))
data/barnowl-1.10/libfaim/locate.c:1193: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1194:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1221:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&tl, 0x0000b, strlen(interest1), interest1);
data/barnowl-1.10/libfaim/locate.c:1223:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&tl, 0x0000b, strlen(interest2), interest2);
data/barnowl-1.10/libfaim/locate.c:1225:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&tl, 0x0000b, strlen(interest3), interest3);
data/barnowl-1.10/libfaim/locate.c:1227:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&tl, 0x0000b, strlen(interest4), interest4);
data/barnowl-1.10/libfaim/locate.c:1229:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&tl, 0x0000b, strlen(interest5), interest5);
data/barnowl-1.10/libfaim/locate.c:1266:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+4+1+strlen(sn))))
data/barnowl-1.10/libfaim/locate.c:1269:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x0002, 0x0015, 0x0000, sn, strlen(sn)+1);
data/barnowl-1.10/libfaim/locate.c:1273: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1274:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/locate.c:1314:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "locate", sizeof(mod->name));
data/barnowl-1.10/libfaim/md5.c:70:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	md5_append(&state, (const md5_byte_t *)test[i], strlen(test[i]));
data/barnowl-1.10/libfaim/misc.c:143:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "misc", sizeof(mod->name));
data/barnowl-1.10/libfaim/odir.c:33:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x001c, strlen(region), region);
data/barnowl-1.10/libfaim/odir.c:35:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x0005, strlen(email), email);
data/barnowl-1.10/libfaim/odir.c:82:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x001c, strlen(region), region);
data/barnowl-1.10/libfaim/odir.c:85: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).
		aim_tlvlist_add_raw(&tl, 0x0001, strlen(first), first);
data/barnowl-1.10/libfaim/odir.c:87: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).
		aim_tlvlist_add_raw(&tl, 0x0002, strlen(last), last);
data/barnowl-1.10/libfaim/odir.c:89: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).
		aim_tlvlist_add_raw(&tl, 0x0003, strlen(middle), middle);
data/barnowl-1.10/libfaim/odir.c:91: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).
		aim_tlvlist_add_raw(&tl, 0x0004, strlen(maiden), maiden);
data/barnowl-1.10/libfaim/odir.c:93: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).
		aim_tlvlist_add_raw(&tl, 0x0006, strlen(country), country);
data/barnowl-1.10/libfaim/odir.c:95: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).
		aim_tlvlist_add_raw(&tl, 0x0007, strlen(state), state);
data/barnowl-1.10/libfaim/odir.c:97: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).
		aim_tlvlist_add_raw(&tl, 0x0008, strlen(city), city);
data/barnowl-1.10/libfaim/odir.c:99: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).
		aim_tlvlist_add_raw(&tl, 0x000c, strlen(nick), nick);
data/barnowl-1.10/libfaim/odir.c:101: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).
		aim_tlvlist_add_raw(&tl, 0x000d, strlen(zip), zip);
data/barnowl-1.10/libfaim/odir.c:103: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).
		aim_tlvlist_add_raw(&tl, 0x0021, strlen(address), address);
data/barnowl-1.10/libfaim/odir.c:137:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aim_tlvlist_add_raw(&tl, 0x001c, strlen(region), region);
data/barnowl-1.10/libfaim/odir.c:140: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).
		aim_tlvlist_add_raw(&tl, 0x0001, strlen(interest), interest);
data/barnowl-1.10/libfaim/odir.c:241:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "odir", sizeof(mod->name));
data/barnowl-1.10/libfaim/oscar.c:417:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(hex, x + ++i, 2); hex[2] = 0;
data/barnowl-1.10/libfaim/oscar.c:610:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (buf[strlen(buf)-1] != '\n')
data/barnowl-1.10/libfaim/oscar.c:832:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oft_info->fh.name, xfer->filename, 64);
data/barnowl-1.10/libfaim/oscar.c:1156:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < (int)strlen(info->bosip); i++) {
data/barnowl-1.10/libfaim/oscar.c:1198:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (read(pos->fd, &in, 1) == 1) {
data/barnowl-1.10/libfaim/oscar.c:1219:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(pos->fd, m, 16);
data/barnowl-1.10/libfaim/oscar.c:1253:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	write(pos->fd, buf, strlen(buf));
data/barnowl-1.10/libfaim/oscar.c:1595:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < (int)strlen(redir->ip); i++) {
data/barnowl-1.10/libfaim/oscar.c:2139:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < (int)strlen(d->ip); i++) {
data/barnowl-1.10/libfaim/oscar.c:2408:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(d->ip, args->verifiedip, sizeof(d->ip));
data/barnowl-1.10/libfaim/oscar.c:2569:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		msg2[i] = g_convert(msg1[i], strlen(msg1[i]), "UTF-8", "ISO-8859-1", NULL, NULL, &err);
data/barnowl-1.10/libfaim/oscar.c:2679: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).
				for (i=0; i<strlen(text[0]); i++)
data/barnowl-1.10/libfaim/oscar.c:4364:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(tmpmsg);
data/barnowl-1.10/libfaim/oscar.c:4393: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(tmpmsg);
data/barnowl-1.10/libfaim/oscar.c:4481:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		msg = g_convert(text_html, strlen(text_html), "UCS-2BE", "UTF-8", NULL, &msglen, NULL);
data/barnowl-1.10/libfaim/oscar.c:4485:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		msg = g_convert(text_html, strlen(text_html), "ISO-8859-1", "UTF-8", NULL, &msglen, NULL);
data/barnowl-1.10/libfaim/oscar.c:4489: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).
		msglen = strlen(text_html);
data/barnowl-1.10/libfaim/oscar.c:4537:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		msg = g_convert(text_html, strlen(text_html), "UCS-2BE", "UTF-8", NULL, &msglen, NULL);
data/barnowl-1.10/libfaim/oscar.c:4543:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		msg = g_convert(text_html, strlen(text_html), "ISO-8859-1", "UTF-8", NULL, &msglen, NULL);
data/barnowl-1.10/libfaim/oscar.c:4549: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).
		msglen = strlen(text_html);
data/barnowl-1.10/libfaim/oscar.c:4641:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(email))
data/barnowl-1.10/libfaim/oscar.c:4969:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								if (!alias && buddy->alias && strlen(buddy->alias))
data/barnowl-1.10/libfaim/oscar.c:5327: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).
	buf = g_malloc(strlen(message) * 4 + 1);
data/barnowl-1.10/libfaim/oscar.c:5328:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0, j = 0; i < strlen(message); i++) {
data/barnowl-1.10/libfaim/oscar.c:5340:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(buf) > c->maxlen)
data/barnowl-1.10/libfaim/oscar.c:5344:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(buf2) > c->maxvis) {
data/barnowl-1.10/libfaim/oscar.c:5350: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).
	aim_chat_send_im(od->sess, c->conn, 0, buf, strlen(buf));
data/barnowl-1.10/libfaim/oscar.c:5484:56:  [1] (buffer) strlen:
  Does not handle 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 *escaped = g_markup_escape_text(bi->availmsg, strlen(bi->availmsg));
data/barnowl-1.10/libfaim/oscar.c:5499: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).
				tmp1 = g_markup_escape_text(tmp2, strlen(tmp2));
data/barnowl-1.10/libfaim/oscar.c:5524:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		ret[strlen(ret)-1] = '\0';
data/barnowl-1.10/libfaim/oscar.c:5541:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			ret = g_markup_escape_text(bi->availmsg, strlen(bi->availmsg));
data/barnowl-1.10/libfaim/oscar.c:5776: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).
				data += strlen(tag);
data/barnowl-1.10/libfaim/oscar.c:5930:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(message);
data/barnowl-1.10/libfaim/popups.c:60:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "popups", sizeof(mod->name));
data/barnowl-1.10/libfaim/search.c:51:65:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+strlen(address))))
data/barnowl-1.10/libfaim/search.c:54:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snacid = aim_cachesnac(sess, 0x000a, 0x0002, 0x0000, strdup(address), strlen(address)+1);
data/barnowl-1.10/libfaim/search.c:57:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, address, strlen(address)); 
data/barnowl-1.10/libfaim/search.c:90:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(&buf[j * (MAXSNLEN+1)], cur, MAXSNLEN);
data/barnowl-1.10/libfaim/search.c:130:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "search", sizeof(mod->name));
data/barnowl-1.10/libfaim/service.c:798:72:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 4 + strlen(msg) + 8)))
data/barnowl-1.10/libfaim/service.c:805:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put16(&fr->data, strlen(msg)+8); /* total length of userinfo TLV data */
data/barnowl-1.10/libfaim/service.c:808:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put8(&fr->data, strlen(msg)+4);
data/barnowl-1.10/libfaim/service.c:809:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put16(&fr->data, strlen(msg));
data/barnowl-1.10/libfaim/service.c:810:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, msg, strlen(msg));
data/barnowl-1.10/libfaim/service.c:1085:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "service", sizeof(mod->name));
data/barnowl-1.10/libfaim/ssi.c:110: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).
		new->name = (char *)malloc((strlen(name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:399:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(alias, tlv->value, tlv->length);
data/barnowl-1.10/libfaim/ssi.c:424:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(alias, tlv->value, tlv->length);
data/barnowl-1.10/libfaim/ssi.c:725:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&data, 0x0131, strlen(alias), alias);
data/barnowl-1.10/libfaim/ssi.c:727:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&data, 0x013a, strlen(smsnum), smsnum);
data/barnowl-1.10/libfaim/ssi.c:729:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_add_raw(&data, 0x013c, strlen(comment), comment);
data/barnowl-1.10/libfaim/ssi.c:924:26:  [1] (buffer) strlen:
  Does not handle 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 ((alias != NULL) && (strlen(alias) > 0))
data/barnowl-1.10/libfaim/ssi.c:925:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_replace_raw(&tmp->data, 0x0131, strlen(alias), alias);
data/barnowl-1.10/libfaim/ssi.c:956: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).
	if ((comment != NULL) && (strlen(comment) > 0))
data/barnowl-1.10/libfaim/ssi.c:957:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aim_tlvlist_replace_raw(&tmp->data, 0x013c, strlen(comment), comment);
data/barnowl-1.10/libfaim/ssi.c:986:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	group->name = (char *)malloc((strlen(newgn)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1319: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).
			snaclen += strlen(cur->item->name);
data/barnowl-1.10/libfaim/ssi.c:1331:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_put16(&fr->data, cur->item->name ? strlen(cur->item->name) : 0);
data/barnowl-1.10/libfaim/ssi.c:1333:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			aimbs_putraw(&fr->data, cur->item->name, strlen(cur->item->name));
data/barnowl-1.10/libfaim/ssi.c:1418: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).
				item->name = (char *)malloc((strlen(name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1430: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).
				item->name = (char *)malloc((strlen(name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1512:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						cur->name = (char *)malloc((strlen(cur->item->name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1526: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).
							cur->item->name = (char *)malloc((strlen(cur1->name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1560:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							cur1->name = (char *)malloc((strlen(cur->item->name)+1)*sizeof(char));
data/barnowl-1.10/libfaim/ssi.c:1671:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn)+2+(msg ? strlen(msg)+1 : 0)+2)))
data/barnowl-1.10/libfaim/ssi.c:1671:87:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn)+2+(msg ? strlen(msg)+1 : 0)+2)))
data/barnowl-1.10/libfaim/ssi.c:1678: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1679:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1682: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).
	aimbs_put16(&fr->data, msg ? strlen(msg) : 0);
data/barnowl-1.10/libfaim/ssi.c:1684:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, msg, strlen(msg));
data/barnowl-1.10/libfaim/ssi.c:1746:67:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn)+2+(msg ? strlen(msg)+1 : 0)+2)))
data/barnowl-1.10/libfaim/ssi.c:1746:87:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+1+strlen(sn)+2+(msg ? strlen(msg)+1 : 0)+2)))
data/barnowl-1.10/libfaim/ssi.c:1753: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1754:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1757: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).
	aimbs_put16(&fr->data, msg ? strlen(msg) : 0);
data/barnowl-1.10/libfaim/ssi.c:1759:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, msg, strlen(msg));
data/barnowl-1.10/libfaim/ssi.c:1824:69:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 1+strlen(sn) + 1 + 2+(msg ? strlen(msg)+1 : 0) + 2)))
data/barnowl-1.10/libfaim/ssi.c:1824:95:  [1] (buffer) strlen:
  Does not handle 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 (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 1+strlen(sn) + 1 + 2+(msg ? strlen(msg)+1 : 0) + 2)))
data/barnowl-1.10/libfaim/ssi.c:1831: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).
	aimbs_put8(&fr->data, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1832:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_putraw(&fr->data, sn, strlen(sn));
data/barnowl-1.10/libfaim/ssi.c:1838:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	aimbs_put16(&fr->data, msg ? (strlen(msg)+1) : 0);
data/barnowl-1.10/libfaim/ssi.c:1840:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		aimbs_putraw(&fr->data, msg, strlen(msg));
data/barnowl-1.10/libfaim/ssi.c:1958:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "ssi", sizeof(mod->name));
data/barnowl-1.10/libfaim/stats.c:40:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "stats", sizeof(mod->name));
data/barnowl-1.10/libfaim/translate.c:23:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(mod->name, "translate", sizeof(mod->name));
data/barnowl-1.10/libfaim/util.c:60:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		toReturn = strlen(toSearch) - (curCount - 1);
data/barnowl-1.10/libfaim/util.c:113:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			toReturn = malloc((strlen(last) + 1) * sizeof(char));
data/barnowl-1.10/logging.c:287:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (text[strlen(text)-1] != '\n') {
data/barnowl-1.10/logging.c:297:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (text[strlen(text)-1] != '\n') {
data/barnowl-1.10/logging.c:366:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(frombuff);
data/barnowl-1.10/message.c:46:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  m->timestr[strlen(m->timestr)-1] = '\0';
data/barnowl-1.10/message.c:802:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  m->timestr[strlen(m->timestr)-1] = '\0';
data/barnowl-1.10/message.c:895: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).
      int len = strlen(out);
data/barnowl-1.10/owl.c:465:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bread = read(rfd, buf, navail);
data/barnowl-1.10/perlconfig.c:23:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (is_utf8_string((const U8 *)str, strlen(str))) {
data/barnowl-1.10/perlconfig.c:64:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)hv_store(ret, key, strlen(key), to_sv(element), 0);
data/barnowl-1.10/perlconfig.c:91:50:  [1] (buffer) strlen:
  Does not handle 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 MSG2H(h,field) (void)hv_store(h, #field, strlen(#field),        \
data/barnowl-1.10/perlconfig.c:104: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).
      (void)hv_store(h, "auth", strlen("auth"),
data/barnowl-1.10/perlconfig.c:109: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).
      (void)hv_store(h, "auth", strlen("auth"), owl_new_sv("NO"), 0);
data/barnowl-1.10/perlconfig.c:111: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).
    (void)hv_store(h, "fields", strlen("fields"), newRV_noinc((SV*)av_zfields), 0);
data/barnowl-1.10/perlconfig.c:116:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)hv_store(h, owl_pair_get_key(pair), strlen(owl_pair_get_key(pair)),
data/barnowl-1.10/perlconfig.c:136: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).
  (void)hv_store(h, "time", strlen("time"), owl_new_sv(owl_message_get_timestr(m)),0);
data/barnowl-1.10/perlconfig.c:137: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).
  (void)hv_store(h, "unix_time", strlen("unix_time"), newSViv(m->time), 0);
data/barnowl-1.10/perlconfig.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).
  (void)hv_store(h, "id", strlen("id"), newSViv(owl_message_get_id(m)),0);
data/barnowl-1.10/perlconfig.c:139:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void)hv_store(h, "deleted", strlen("deleted"), newSViv(owl_message_is_delete(m)),0);
data/barnowl-1.10/perlconfig.c:140:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void)hv_store(h, "private", strlen("private"), newSViv(owl_message_is_private(m)),0);
data/barnowl-1.10/perlconfig.c:142:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 strlen("should_wordwrap"), newSViv(
data/barnowl-1.10/popexec.c:137:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bread = read(fd, buf, navail);
data/barnowl-1.10/regex.c:67: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).
    match.rm_eo = strlen(string);
data/barnowl-1.10/style.c:69: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).
  curlen = strlen(indent);
data/barnowl-1.10/tester.c:643:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              owl_fmtext_num_bytes(&fm2) == strlen(owl_fmtext_get_text(&fm2)));
data/barnowl-1.10/text.c:12: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).
  last=in+strlen(in)-1;
data/barnowl-1.10/text.c:55: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).
  out=g_new(char, strlen(in)+30);
data/barnowl-1.10/text.c:56:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(out, "");
data/barnowl-1.10/text.c:59: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).
  end=in+strlen(in);
data/barnowl-1.10/text.c:73:7:  [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(out, ptr1, ptr2-ptr1);
data/barnowl-1.10/text.c:98:7:  [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(out, "\n");
data/barnowl-1.10/text.c:104:5:  [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(out, ptr2, ptr3-ptr2+1);
data/barnowl-1.10/text.c:196:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(in);
data/barnowl-1.10/text.c:240:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  j=strlen(in);
data/barnowl-1.10/text.c:292: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).
  in_len=strlen(in);
data/barnowl-1.10/text.c:293: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).
  toquote_len=strlen(toquote);
data/barnowl-1.10/text.c:294:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  quotestr_len=strlen(quotestr);
data/barnowl-1.10/util.c:64:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      end = in + strlen(in);
data/barnowl-1.10/util.c:118:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(line);
data/barnowl-1.10/util.c:394: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).
  ptr2=ptr1+strlen(ptr1)-1;
data/barnowl-1.10/util.c:552: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).
  end = start + strlen(start) - 1;
data/barnowl-1.10/util.c:584:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    r = g_new(char, strlen(in)+1);
data/barnowl-1.10/util.c:592:2:  [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(r, s, p-s);
data/barnowl-1.10/util.c:692:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(fp);
data/barnowl-1.10/viewwin.c:19: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).
    if (text[0] != '\0' && text[strlen(text) - 1] != '\n') {
data/barnowl-1.10/viewwin.c:42:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (text[0] != '\0' && text[strlen(text) - 1] != '\n') {
data/barnowl-1.10/zcrypt.c:341:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (fputs(newkey, fkey) != strlen(newkey) || putc('\n', fkey) != '\n')
data/barnowl-1.10/zcrypt.c:410: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(argv[i]) + 1;
data/barnowl-1.10/zcrypt.c:464: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).
    length[i] = strlen(varname[i]);
data/barnowl-1.10/zcrypt.c:487: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 (result[i][strlen(result[i])-1] == '\n')
data/barnowl-1.10/zcrypt.c:488:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              result[i][strlen(result[i])-1] = '\0';
data/barnowl-1.10/zcrypt.c:505:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      keyfile = (char *)malloc(strlen(temp) + 1);
data/barnowl-1.10/zcrypt.c:643:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        inptr += strlen(inptr);
data/barnowl-1.10/zcrypt.c:660: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).
    *length = strlen(buf);
data/barnowl-1.10/zcrypt.c:817: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).
  fwrite(out, strlen(out), 1, outfile);
data/barnowl-1.10/zcrypt.c:905: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).
  fwrite(out, strlen(out), 1, stdout);
data/barnowl-1.10/zcrypt.c:945:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!tmp[0] || tmp[strlen(tmp) - 1] != '\n')
data/barnowl-1.10/zephyr.c:687:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *k=strlen(n->z_message);
data/barnowl-1.10/zephyr.c:727: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).
  notice.z_message_len=strlen(zsig)+1+strlen(message);
data/barnowl-1.10/zephyr.c:727: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).
  notice.z_message_len=strlen(zsig)+1+strlen(message);
data/barnowl-1.10/zephyr.c:730: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).
  memcpy(notice.z_message+strlen(zsig)+1, message, strlen(message));
data/barnowl-1.10/zephyr.c:730:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  memcpy(notice.z_message+strlen(zsig)+1, message, strlen(message));
data/barnowl-1.10/zephyr.c:1030: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).
  line[strlen(line)-1]='\0';
data/barnowl-1.10/zephyr.c:1315:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    realm = in + strlen(in);

ANALYSIS SUMMARY:

Hits = 598
Lines analyzed = 52014 in approximately 1.47 seconds (35287 lines/second)
Physical Source Lines of Code (SLOC) = 36670
Hits@level = [0] 107 [1] 389 [2] 172 [3]  11 [4]  26 [5]   0
Hits@level+ = [0+] 705 [1+] 598 [2+] 209 [3+]  37 [4+]  26 [5+]   0
Hits/KSLOC@level+ = [0+] 19.2255 [1+] 16.3076 [2+] 5.69948 [3+] 1.009 [4+] 0.709026 [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.