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/slrn-1.0.3+dfsg/src/slrn.c
Examining data/slrn-1.0.3+dfsg/src/spool.c
Examining data/slrn-1.0.3+dfsg/src/sltcp.c
Examining data/slrn-1.0.3+dfsg/src/nntpcodes.h
Examining data/slrn-1.0.3+dfsg/src/vms.h
Examining data/slrn-1.0.3+dfsg/src/snprintf.c
Examining data/slrn-1.0.3+dfsg/src/misc.c
Examining data/slrn-1.0.3+dfsg/src/ttymsg.c
Examining data/slrn-1.0.3+dfsg/src/group.c
Examining data/slrn-1.0.3+dfsg/src/strutil.c
Examining data/slrn-1.0.3+dfsg/src/mime.c
Examining data/slrn-1.0.3+dfsg/src/charset.c
Examining data/slrn-1.0.3+dfsg/src/menu.h
Examining data/slrn-1.0.3+dfsg/src/post.h
Examining data/slrn-1.0.3+dfsg/src/util.c
Examining data/slrn-1.0.3+dfsg/src/slrnpull.c
Examining data/slrn-1.0.3+dfsg/src/jdmacros.h
Examining data/slrn-1.0.3+dfsg/src/server.h
Examining data/slrn-1.0.3+dfsg/src/art_sort.c
Examining data/slrn-1.0.3+dfsg/src/interp.c
Examining data/slrn-1.0.3+dfsg/src/score.c
Examining data/slrn-1.0.3+dfsg/src/hdrutils.h
Examining data/slrn-1.0.3+dfsg/src/chkslang.c
Examining data/slrn-1.0.3+dfsg/src/parse2822.c
Examining data/slrn-1.0.3+dfsg/src/xover.h
Examining data/slrn-1.0.3+dfsg/src/ranges.h
Examining data/slrn-1.0.3+dfsg/src/vfile.h
Examining data/slrn-1.0.3+dfsg/src/slrndir.h
Examining data/slrn-1.0.3+dfsg/src/post.c
Examining data/slrn-1.0.3+dfsg/src/startup.h
Examining data/slrn-1.0.3+dfsg/src/print.h
Examining data/slrn-1.0.3+dfsg/src/decode.h
Examining data/slrn-1.0.3+dfsg/src/help.c
Examining data/slrn-1.0.3+dfsg/src/art_misc.c
Examining data/slrn-1.0.3+dfsg/src/grplens.c
Examining data/slrn-1.0.3+dfsg/src/util.h
Examining data/slrn-1.0.3+dfsg/src/vmsmail.c
Examining data/slrn-1.0.3+dfsg/src/strutil.h
Examining data/slrn-1.0.3+dfsg/src/art.c
Examining data/slrn-1.0.3+dfsg/src/version.h
Examining data/slrn-1.0.3+dfsg/src/nntp.c
Examining data/slrn-1.0.3+dfsg/src/sortdate.c
Examining data/slrn-1.0.3+dfsg/src/score.h
Examining data/slrn-1.0.3+dfsg/src/help.h
Examining data/slrn-1.0.3+dfsg/src/clientlib.h
Examining data/slrn-1.0.3+dfsg/src/charset.h
Examining data/slrn-1.0.3+dfsg/src/ranges.c
Examining data/slrn-1.0.3+dfsg/src/server.c
Examining data/slrn-1.0.3+dfsg/src/clientlib.c
Examining data/slrn-1.0.3+dfsg/src/art.h
Examining data/slrn-1.0.3+dfsg/src/sltcp.h
Examining data/slrn-1.0.3+dfsg/src/startup.c
Examining data/slrn-1.0.3+dfsg/src/ttymsg.h
Examining data/slrn-1.0.3+dfsg/src/decode.c
Examining data/slrn-1.0.3+dfsg/src/slrndir.c
Examining data/slrn-1.0.3+dfsg/src/nntplib.h
Examining data/slrn-1.0.3+dfsg/src/print.c
Examining data/slrn-1.0.3+dfsg/src/art_sort.h
Examining data/slrn-1.0.3+dfsg/src/editscore.c
Examining data/slrn-1.0.3+dfsg/src/interp.h
Examining data/slrn-1.0.3+dfsg/src/common.h
Examining data/slrn-1.0.3+dfsg/src/xover.c
Examining data/slrn-1.0.3+dfsg/src/grplens.h
Examining data/slrn-1.0.3+dfsg/src/group.h
Examining data/slrn-1.0.3+dfsg/src/sortdate.h
Examining data/slrn-1.0.3+dfsg/src/hooks.h
Examining data/slrn-1.0.3+dfsg/src/slrnconf.h
Examining data/slrn-1.0.3+dfsg/src/snprintf.h
Examining data/slrn-1.0.3+dfsg/src/parse2822.h
Examining data/slrn-1.0.3+dfsg/src/slrn.h
Examining data/slrn-1.0.3+dfsg/src/vmsmail.h
Examining data/slrn-1.0.3+dfsg/src/hdrutils.c
Examining data/slrn-1.0.3+dfsg/src/hash.h
Examining data/slrn-1.0.3+dfsg/src/misc.h
Examining data/slrn-1.0.3+dfsg/src/mime.h
Examining data/slrn-1.0.3+dfsg/src/version.c
Examining data/slrn-1.0.3+dfsg/src/hash.c
Examining data/slrn-1.0.3+dfsg/src/menu.c
Examining data/slrn-1.0.3+dfsg/src/vfile.c
Examining data/slrn-1.0.3+dfsg/src/hooks.c
Examining data/slrn-1.0.3+dfsg/src/nntplib.c

FINAL RESULTS:

data/slrn-1.0.3+dfsg/src/decode.c:217:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
     chmod (name, mode);
data/slrn-1.0.3+dfsg/src/group.c:2820:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (-1 == chmod (newsrc_filename, filestat.st_mode & (S_IRUSR | S_IWUSR | S_IXUSR)))
data/slrn-1.0.3+dfsg/src/group.c:2821:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	  (void) chmod (newsrc_filename, S_IWUSR | S_IRUSR);
data/slrn-1.0.3+dfsg/src/group.c:2823:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	(void) chown (newsrc_filename, filestat.st_uid, filestat.st_gid);
data/slrn-1.0.3+dfsg/src/server.c:573:15:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    if (-1 == chmod (Pull_Post_Filename, S_IRUSR|S_IWUSR|S_IRGRP))
data/slrn-1.0.3+dfsg/src/slrnpull.c:1889:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
   if (-1 == chmod (dir, OUTGOING_DIR_MODE))
data/slrn-1.0.3+dfsg/src/spool.c:1874:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (-1 == chmod (Slrn_Requests_File, filestat.st_mode))
data/slrn-1.0.3+dfsg/src/spool.c:1875:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	  (void) chmod (Slrn_Requests_File, S_IWUSR | S_IRUSR | S_IRGRP);
data/slrn-1.0.3+dfsg/src/spool.c:1877:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	(void) chown (Slrn_Requests_File, filestat.st_uid, filestat.st_gid);
data/slrn-1.0.3+dfsg/src/spool.c:1880:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
     (void) chmod (Slrn_Requests_File, S_IWUSR | S_IRUSR | S_IRGRP);
data/slrn-1.0.3+dfsg/src/art.c:1084: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 (bp, url); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:2409: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 (l->buf, buf + 1); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:2412: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 (l->buf, buf); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8933:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (retval, NNTP_FMT_ARTNUM, h->number); /* safe */
data/slrn-1.0.3+dfsg/src/art_misc.c:440: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 (b, l->buf + 1); /* safe */
data/slrn-1.0.3+dfsg/src/art_misc.c:972: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 (new_buf + len0, l->buf); /* safe */
data/slrn-1.0.3+dfsg/src/charset.c:326: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 (new_str + offset, substr);
data/slrn-1.0.3+dfsg/src/charset.c:327: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 (new_str + offset + dlen, str + offset + len);
data/slrn-1.0.3+dfsg/src/charset.c:361:11:  [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.
	retval = vfprintf (fp, format, args);
data/slrn-1.0.3+dfsg/src/chkslang.c:138:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if ((2 != sscanf ("9223372036854775807 9223372036854775807",
data/slrn-1.0.3+dfsg/src/decode.c:67:11:  [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.
   return popen (cmd, mode);
data/slrn-1.0.3+dfsg/src/decode.c:1124: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, fmt, ap);
data/slrn-1.0.3+dfsg/src/decode.c:1137: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, fmt, ap);
data/slrn-1.0.3+dfsg/src/group.c:736:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy (origpat, pattern); /* safe */
data/slrn-1.0.3+dfsg/src/group.c:2867:11:  [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.
	     if (fprintf (fp, (" 1-" NNTP_FMT_ARTNUM), g->range.min - 1) < 0)
data/slrn-1.0.3+dfsg/src/group.c:2961:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  sprintf (buf, NNTP_FMT_ARTNUM, g->range.max); /* safe */
data/slrn-1.0.3+dfsg/src/group.c:2973:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  sprintf (buf, NNTP_FMT_ARTNUM, g->range.min); /* safe */
data/slrn-1.0.3+dfsg/src/group.c:2989:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  sprintf (buf, NNTP_FMT_ARTNUM, g->range.max - g->range.min + 1); /* safe */
data/slrn-1.0.3+dfsg/src/group.c:2995:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (buf, NNTP_FMT_ARTNUM, g->unread); /* safe */
data/slrn-1.0.3+dfsg/src/hash.c:120: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 (node->newsgroup, newsgroup); /* safe */
data/slrn-1.0.3+dfsg/src/help.c:754:10:  [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(EscapeSequences[i]+1,s); /* safe */
data/slrn-1.0.3+dfsg/src/help.c:762: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(EscapeSequences[i]+1,DefaultSequences[i]); /* safe */
data/slrn-1.0.3+dfsg/src/help.c:802: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 (result+ind, ctrlstr); /* safe */
data/slrn-1.0.3+dfsg/src/help.c:819: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(result+ind, _(KeyNames[i])); /* safe */
data/slrn-1.0.3+dfsg/src/jdmacros.h:114:50:  [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 ATTRIBUTE_PRINTF(a,b) ATTRIBUTE_((format(printf,a,b)))
data/slrn-1.0.3+dfsg/src/menu.c:1091:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (title, "....%s", dir); /* safe */
data/slrn-1.0.3+dfsg/src/menu.c:1093: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).
   else strcpy (title, dir); /* safe */
data/slrn-1.0.3+dfsg/src/menu.c:1111: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 (argv[argc], de->name); /* safe */
data/slrn-1.0.3+dfsg/src/mime.c:798: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 (buf_pos, l->buf); /* safe */
data/slrn-1.0.3+dfsg/src/mime.c:909: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 (b + len, next_line->buf); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:366:9:  [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.
	(void) vfprintf (Slrn_Debug_Fp, fmt, ap);
data/slrn-1.0.3+dfsg/src/misc.c:819:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (cp1, fn1); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:830:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(fname, cp); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:841:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (cp1, fn1); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:852:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(fname, cp); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:860:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (file, name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:896:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (cp, name); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:914:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (fn, name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:932:10:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		       strcat(dir, name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:937:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	       strcat(dir, name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:940:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat(dir, name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1360: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.
   fp = popen (cmd, mode);
data/slrn-1.0.3+dfsg/src/misc.c:1576: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 (ubuf, prompt);
data/slrn-1.0.3+dfsg/src/misc.c:1713: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 (buf, Dir_Name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1781: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 (buf, Dir_Name); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1887: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 (last, buf); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1892: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 (last, buf); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1980:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy (prev, last); /* safe; make this the new search context */
data/slrn-1.0.3+dfsg/src/misc.c:2264:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (sdfl_buf, NNTP_FMT_ARTNUM, *dflt); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:2275:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
   if (1 != sscanf(str, NNTP_FMT_ARTNUM, &n))
data/slrn-1.0.3+dfsg/src/misc.c:3046:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "From: %s <%s@%s>", realname, localpart, /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:3054:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "From: %s@%s", localpart, Slrn_User_Info.hostname); /* safe */
data/slrn-1.0.3+dfsg/src/nntplib.c:906:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if (3 != sscanf (s->rspbuf + 4, NNTP_FMT_ARTNUM_3, &estim, &min, &max))
data/slrn-1.0.3+dfsg/src/nntplib.c:991:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	     if (3 != sscanf (s->rspbuf + 4, NNTP_FMT_ARTNUM_3, &estim,
data/slrn-1.0.3+dfsg/src/nntplib.c:1183: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 (mbuf + buffer_len, line); /* safe */
data/slrn-1.0.3+dfsg/src/post.c:799: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 (t, b); /*safe*/
data/slrn-1.0.3+dfsg/src/print.c:303:25:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   if (NULL == (p->fp = popen (print_cmd, "w")))
data/slrn-1.0.3+dfsg/src/ranges.c:85:11:  [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.
	     if (fprintf (fp, NNTP_FMT_ARTRANGE, r->min, minmax) < 0)
data/slrn-1.0.3+dfsg/src/ranges.c:88:11:  [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.
	else if (fprintf (fp, NNTP_FMT_ARTNUM, r->min) < 0)
data/slrn-1.0.3+dfsg/src/server.c:109:28:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   if (NULL == (Fp_Inews = popen (Slrn_Inews_Pgm, "w")))
data/slrn-1.0.3+dfsg/src/server.c:626:10:  [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.
   ret = vfprintf (Pull_Fp, fmt, ap);
data/slrn-1.0.3+dfsg/src/slrn.c:895:7:  [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, fmt, ap);
data/slrn-1.0.3+dfsg/src/slrnconf.h:135:10:  [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.
# define popen _popen
data/slrn-1.0.3+dfsg/src/slrnpull.c:384:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
   if ((1 != sscanf (line, NNTP_FMT_ARTNUM, &retval))
data/slrn-1.0.3+dfsg/src/slrnpull.c:406:15:  [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.
   if (EOF == fprintf (fp, NNTP_FMT_ARTNUM, val))
data/slrn-1.0.3+dfsg/src/slrnpull.c:458:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
   if (2 != sscanf (line, NNTP_FMT_ARTNUM_2, &min, &max))
data/slrn-1.0.3+dfsg/src/slrnpull.c:488:15:  [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.
   if (EOF == fprintf (fp, NNTP_FMT_ARTNUM_2, g->min, g->max))
data/slrn-1.0.3+dfsg/src/slrnpull.c:511: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 (g->dirname, g->name); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:539: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 (dirbuf, SlrnPull_Spool_News_Dir); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:545: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 (dir, g->dirname); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:1111:16:  [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.
   if ((EOF == fprintf (fp,
data/slrn-1.0.3+dfsg/src/slrnpull.c:1964:13:  [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.
	if (EOF == fprintf (fp, ("%s " NNTP_FMT_ARTNUM_2 " y\n"), g->name,
data/slrn-1.0.3+dfsg/src/slrnpull.c:2719: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 (mbuf + buffer_len, line); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:2749:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   sprintf (buf, NNTP_FMT_ARTNUM, id); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:3053:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if ((1 != sscanf (name, NNTP_FMT_ARTNUM, &id))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3104:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	     sprintf (buf, NNTP_FMT_ARTNUM, ok_names[cutoff]); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:3186:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (buf, NNTP_FMT_ARTNUM, ok_names[i]); /* safe */
data/slrn-1.0.3+dfsg/src/sltcp.c:179:9:  [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.
	(void) vfprintf(stderr, fmt, ap);
data/slrn-1.0.3+dfsg/src/snprintf.c:89: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 (cur, p); /* safe */
data/slrn-1.0.3+dfsg/src/snprintf.c:110:4:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
   vsprintf (buffer, format, args2); /* safe */
data/slrn-1.0.3+dfsg/src/snprintf.c:137:13:  [4] (format) vsnprintf:
  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.
   retval = vsnprintf (str, n, format, ap);
data/slrn-1.0.3+dfsg/src/snprintf.c:156:13:  [4] (format) vsnprintf:
  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.
   retval = vsnprintf (str, n, format, args);
data/slrn-1.0.3+dfsg/src/snprintf.c:171:5:  [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.
int snprintf (char *str, size_t n, const char *format, ... ) /*{{{*/
data/slrn-1.0.3+dfsg/src/snprintf.c:195:5:  [4] (format) vsnprintf:
  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.
int vsnprintf (char *str, size_t n, const char *format, va_list ap) /*{{{*/
data/slrn-1.0.3+dfsg/src/spool.c:143:7:  [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(Slrn_Debug_Fp, fmt, ap);
data/slrn-1.0.3+dfsg/src/spool.c:207:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if (1 != fscanf (Spool_fh_local, NNTP_FMT_ARTNUM, &cur))
data/slrn-1.0.3+dfsg/src/spool.c:259:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if ((1 != fscanf (Spool_fh_local, NNTP_FMT_ARTNUM, &i))
data/slrn-1.0.3+dfsg/src/spool.c:814:17:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
       || (2 != sscanf (buf, NNTP_FMT_ARTNUM_2, min, max)))
data/slrn-1.0.3+dfsg/src/spool.c:877:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	     if (2 != sscanf (buf + len + 1, NNTP_FMT_ARTNUM NNTP_FMT_ARTNUM, max, min))
data/slrn-1.0.3+dfsg/src/spool.c:914:20:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
				      && (1 == fscanf (Spool_fh_nov, NNTP_FMT_ARTNUM, min)));
data/slrn-1.0.3+dfsg/src/spool.c:973:13:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
   if (1 != fscanf (Spool_fh_nov, NNTP_FMT_ARTNUM, max))
data/slrn-1.0.3+dfsg/src/spool.c:1524: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 (p + 1, dir); /* safe */
data/slrn-1.0.3+dfsg/src/spool.c:1552: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 (p, dir); /* safe */
data/slrn-1.0.3+dfsg/src/startup.c:1551: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 (contents, field); /* safe */
data/slrn-1.0.3+dfsg/src/strutil.c:331:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy (c+len_a, s);
data/slrn-1.0.3+dfsg/src/util.c:153:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat (outpath, p+1); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:156:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy (outpath, inpath); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:197:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
     strcat (file, ext); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:257:19:  [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).
	if (dir != file) strcpy (file, dir); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:262:22:  [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 (name != NULL) strcat (file, name); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:266:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy (file, convdir); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:364: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 (spool_group, root); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:370: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 (p, name); /* safe */
data/slrn-1.0.3+dfsg/src/util.c:594:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   (void) sprintf (retval, "%s%s", filename, suffix);
data/slrn-1.0.3+dfsg/src/vms.h:30:14:  [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.
extern FILE *popen(char *, char *);
data/slrn-1.0.3+dfsg/src/xover.c:283: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 (buf, subj); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:287: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 (buf, from); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:300: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 (buf, date); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:304: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 (buf, msgid); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:308: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 (buf, refs); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:312: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 (buf, xref); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:640: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 (buf, name); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:644: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 (buf, value); /* safe */
data/slrn-1.0.3+dfsg/src/xover.c:750: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 (mbuf + buffer_len, line); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:1153:17:  [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 ((NULL == getenv ("DISPLAY"))
data/slrn-1.0.3+dfsg/src/art.c:5530: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.
   if ((NULL == (home = getenv ("SLRNHOME"))) &&
data/slrn-1.0.3+dfsg/src/art.c:5531: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.
       (NULL == (home = getenv ("HOME"))))
data/slrn-1.0.3+dfsg/src/art.c:7382:16:  [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 (NULL != getenv ("COLORTERM"))
data/slrn-1.0.3+dfsg/src/group.c:1973:16:  [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 (NULL != getenv ("COLORTERM"))
data/slrn-1.0.3+dfsg/src/interp.c:1804:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if (NULL == (dir = getenv (ENV_SLRN_SLANG_DIR)))
data/slrn-1.0.3+dfsg/src/mime.c:1276:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if (NULL == (tmp = getenv ("TMP")))
data/slrn-1.0.3+dfsg/src/misc.c:785:24:  [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 (NULL == (home = getenv ("SLRNHOME")))
data/slrn-1.0.3+dfsg/src/misc.c:786: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.
     home = getenv ("HOME");
data/slrn-1.0.3+dfsg/src/misc.c:803:24:  [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 (NULL == (home = getenv ("SLRNHOME")))
data/slrn-1.0.3+dfsg/src/misc.c:804: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.
     home = getenv ("HOME");
data/slrn-1.0.3+dfsg/src/misc.c:883:11:  [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/slrn-1.0.3+dfsg/src/misc.c:1027: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.
   dir = getenv ("TMP");
data/slrn-1.0.3+dfsg/src/misc.c:1029:12:  [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.
     dir = getenv ("TMPDIR");
data/slrn-1.0.3+dfsg/src/misc.c:1469:30:  [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.
       && (NULL == (editor = getenv("SLRN_EDITOR")))
data/slrn-1.0.3+dfsg/src/misc.c:1470:30:  [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.
       && (NULL == (editor = getenv("SLANG_EDITOR")))
data/slrn-1.0.3+dfsg/src/misc.c:1471:30:  [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.
       && (NULL == (editor = getenv("EDITOR")))
data/slrn-1.0.3+dfsg/src/misc.c:1472:30:  [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.
       && (NULL == (editor = getenv("VISUAL"))))
data/slrn-1.0.3+dfsg/src/misc.c:2711: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.
   if ((NULL != (host1 = getenv ("HOSTNAME")))
data/slrn-1.0.3+dfsg/src/misc.c:2758:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
       && ((name = getenv("USER")) == NULL)
data/slrn-1.0.3+dfsg/src/misc.c:2759:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
       && ((name = getenv("LOGNAME")) == NULL)
data/slrn-1.0.3+dfsg/src/misc.c:2767:34:  [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 ((Slrn_User_Info.replyto = getenv ("REPLYTO")) == NULL)
data/slrn-1.0.3+dfsg/src/misc.c:2775:30:  [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.
   Slrn_User_Info.realname = getenv ("NAME");
data/slrn-1.0.3+dfsg/src/misc.c:2796: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.
   org = getenv ("ORGANIZATION");
data/slrn-1.0.3+dfsg/src/nntplib.c:562:11:  [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.
   host = getenv("NNTPSERVER");
data/slrn-1.0.3+dfsg/src/print.c:287:14:  [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.
	print_cmd = getenv ("PRINTER");
data/slrn-1.0.3+dfsg/src/slrn.c:1045:16:  [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 (NULL != getenv ("AUTOSUBSCRIBE"))
data/slrn-1.0.3+dfsg/src/slrn.c:1047:16:  [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 (NULL != getenv ("AUTOUNSUBSCRIBE"))
data/slrn-1.0.3+dfsg/src/slrn.c:1272:28:  [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 (NULL == (hlp_file = getenv ("SLRNHELP")))
data/slrn-1.0.3+dfsg/src/slrndir.c:163:17:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
   c = (char *) getwd(cwd);
data/slrn-1.0.3+dfsg/src/slrndir.c:174:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((NULL == (c = getenv ("PWD")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2231: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.
   dir = getenv ("SLRNPULL_ROOT");
data/slrn-1.0.3+dfsg/src/startup.c:1985:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *val = getenv (*var);
data/slrn-1.0.3+dfsg/src/art.c:204:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Output_Filename[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:697: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 lines_buf[32];
data/slrn-1.0.3+dfsg/src/art.c:698:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (lines_buf, "%d", h->lines); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:973:33:  [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.
	       decode_rot13 ((unsigned char *) argv[argc]);
data/slrn-1.0.3+dfsg/src/art.c:1043:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (p, "%%%2X", (unsigned char) *url); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:1202: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 url[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:1206: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 *argv[MAX_URLS];
data/slrn-1.0.3+dfsg/src/art.c:1243: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.
   static char search_str[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:2117:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[128];
data/slrn-1.0.3+dfsg/src/art.c:2139: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[256];
data/slrn-1.0.3+dfsg/src/art.c:2293:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:2685:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/art.c:2908: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:2909: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 from_buf[256];
data/slrn-1.0.3+dfsg/src/art.c:3105: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:3106: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 to[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:3231: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 cc_address_buf[256];
data/slrn-1.0.3+dfsg/src/art.c:3235: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:3662: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 canfile[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:3711: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 file[SLRN_MAX_PATH_LEN], from_buf[512];
data/slrn-1.0.3+dfsg/src/art.c:3715: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 me_buf[512];
data/slrn-1.0.3+dfsg/src/art.c:4116: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.
   static char same_subject[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:4276:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "w");
data/slrn-1.0.3+dfsg/src/art.c:4301: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 from_buf[256];
data/slrn-1.0.3+dfsg/src/art.c:4315:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (from_buf, "nobody@nowhere"); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:4346: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 file[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:4347: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 name[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:4413:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (p, ".txt"); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:4460:22:  [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 (NULL == (fp = fopen (file, "a")))
data/slrn-1.0.3+dfsg/src/art.c:4543: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 stuff[26];
data/slrn-1.0.3+dfsg/src/art.c:4572: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 where [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/art.c:4723: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.
   static char cmd[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:5088: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.
   static char search_str[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:5503: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 line [1024], file[SLRN_MAX_PATH_LEN], *home;
data/slrn-1.0.3+dfsg/src/art.c:5591:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	slrn_free ((char *)scores [i++]);
data/slrn-1.0.3+dfsg/src/art.c:5959:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:6183:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/slrn-1.0.3+dfsg/src/art.c:6292:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[SLRL_DISPLAY_BUFFER_SIZE+2];
data/slrn-1.0.3+dfsg/src/art.c:6987: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 from_buf[512], me_buf[512], *from;
data/slrn-1.0.3+dfsg/src/art.c:7320: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 line[512];
data/slrn-1.0.3+dfsg/src/art.c:7549: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 numbuf[2];
data/slrn-1.0.3+dfsg/src/art.c:8075:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *Header_Display_Formats [SLRN_MAX_DISPLAY_FORMATS];
data/slrn-1.0.3+dfsg/src/art.c:8289:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Rot13buf[256];
data/slrn-1.0.3+dfsg/src/art.c:8629:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLRN_GROUPLENS_DISPLAY_WIDTH+1], *b, *bmax;
data/slrn-1.0.3+dfsg/src/art.c:8693: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.
   static char buf[256];
data/slrn-1.0.3+dfsg/src/art.c:8742:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (retval, "%d", score); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8759:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (retval, "%d ", h->bytes); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8773:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	       sprintf (retval, "%.1f%c", size, factor); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8778:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	       sprintf (retval, "%.0f%c", size, factor); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8790:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (buf, "%d", 1 + h->num_children); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8804:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (retval, "%d", h->lines); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8820:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (buf, "%3d ", 1 + h->num_children); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9034: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.
   static char buf[66];
data/slrn-1.0.3+dfsg/src/art.c:9053:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", 1 + Slrn_Current_Header->num_children); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9059:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_High_Scored); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9065:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_Score_Killed); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9071:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_Low_Scored); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9085:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_Read); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9091:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_Total); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9097:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%u", Number_Total - Number_Read); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9163: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.
   static char buf[66];
data/slrn-1.0.3+dfsg/src/art_misc.c:242:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   static unsigned char compiled_pattern_buf[256];
data/slrn-1.0.3+dfsg/src/art_misc.c:250: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 name[32];
data/slrn-1.0.3+dfsg/src/art_misc.c:834:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/art_sort.c:173:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     int a = atoi (sa), b = atoi (sb);
data/slrn-1.0.3+dfsg/src/art_sort.c:173:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     int a = atoi (sa), b = atoi (sb);
data/slrn-1.0.3+dfsg/src/art_sort.c:814: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 tree[MAX_TREE_SIZE];
data/slrn-1.0.3+dfsg/src/art_sort.c:1032:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/chkslang.c:31: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.
   static char v_string[16];
data/slrn-1.0.3+dfsg/src/chkslang.c:37:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf (v_string, "%u.%u.%u", a, b, c); /* safe */
data/slrn-1.0.3+dfsg/src/decode.c:205:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (name, "wb");
data/slrn-1.0.3+dfsg/src/decode.c:225:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char Base64_Table [256];
data/slrn-1.0.3+dfsg/src/decode.c:250:13:  [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 bytes[3];
data/slrn-1.0.3+dfsg/src/decode.c:339:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Base64_Filename[256];
data/slrn-1.0.3+dfsg/src/decode.c:551: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 id[256];		       /* required */
data/slrn-1.0.3+dfsg/src/decode.c:623: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 line[MAX_ARTICLE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/decode.c:737: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 ((char *) current_pmt, (char *) &pmt, sizeof (Mime_Message_Partial_Type));
data/slrn-1.0.3+dfsg/src/decode.c:781:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MAX_ARTICLE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/decode.c:829: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.
	     unsigned char out[60], *outp, *outmax, *b, *bmax;
data/slrn-1.0.3+dfsg/src/decode.c:1037: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 olddir_buf[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/decode.c:1038: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 newdir_buf[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/decode.c:1065: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).
   else fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/editscore.c:66: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 file[256];
data/slrn-1.0.3+dfsg/src/editscore.c:67: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 qregexp[2*SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/editscore.c:79:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[2*SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:731: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.
   static char pattern[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:764:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *Group_Display_Formats [SLRN_MAX_DISPLAY_FORMATS];
data/slrn-1.0.3+dfsg/src/group.c: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 int_prompt_buf[512];
data/slrn-1.0.3+dfsg/src/group.c:1202: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.
   static char search_str[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1268: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 group[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1567: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 origpat[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1579:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	     char buf [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1727: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 group[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1728: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 followupto[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:1729: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 subj[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:2150: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 line[2 * SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2151: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2164:22:  [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 (NULL == (fp = fopen (file, "w")))
data/slrn-1.0.3+dfsg/src/group.c:2237: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 line[2 * SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2238: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2250:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/group.c:2255: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).
	if (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/group.c:2259:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	     fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/group.c:2264: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).
	fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/group.c:2298: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 line[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:2299: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2315:26:  [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).
       && (NULL != (fp = fopen (file, "r"))))
data/slrn-1.0.3+dfsg/src/group.c:2425:22:  [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 (NULL == (fp = fopen (file, "w", "fop=cif")))
data/slrn-1.0.3+dfsg/src/group.c:2427:22:  [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 (NULL == (fp = fopen (file, "w")))
data/slrn-1.0.3+dfsg/src/group.c:2469:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   *maxp = atoi ((char*)p);
data/slrn-1.0.3+dfsg/src/group.c:2472:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   *minp = atoi((char*)p);
data/slrn-1.0.3+dfsg/src/group.c:2492: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 line[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/group.c:2591: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2674: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).
	if (NULL == (fp = fopen (Slrn_Newsrc_File, "w", "fop=cif")))
data/slrn-1.0.3+dfsg/src/group.c:2676: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).
	if (NULL == (fp = fopen (Slrn_Newsrc_File, "w")))
data/slrn-1.0.3+dfsg/src/group.c:2734: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 autosave_file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/group.c:2802:22:  [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 (NULL == (fp = fopen (newsrc_filename, "w")))
data/slrn-1.0.3+dfsg/src/group.c:2932: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.
   static char buf[512];
data/slrn-1.0.3+dfsg/src/group.c:3005: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.
   static char buf[66];
data/slrn-1.0.3+dfsg/src/grplens.c:249:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:383:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:450: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 response [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:511: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 response [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:618:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:763: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 response [GL_MAX_RESPONSE_LINE_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:789: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 (value);
data/slrn-1.0.3+dfsg/src/grplens.c:859:34:  [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.
	if (slrn_case_strcmp ((unsigned char *)argv[1], (unsigned char *)"GROUP"))
data/slrn-1.0.3+dfsg/src/grplens.c:864:34:  [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.
	if (slrn_case_strcmp ((unsigned char *)argv[1], (unsigned char *)"DEFAULT"))
data/slrn-1.0.3+dfsg/src/grplens.c:952: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/grplens.c:953: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 line [1024];
data/slrn-1.0.3+dfsg/src/grplens.c:955: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 *argv [GL_MAX_CONFIG_FILE_ARGC + 1];
data/slrn-1.0.3+dfsg/src/grplens.c:993:20:  [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 *)argv[0]))
data/slrn-1.0.3+dfsg/src/hash.c:218:13:  [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[0x7FFF];
data/slrn-1.0.3+dfsg/src/help.c:275:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *User_Article_Help[MAX_HELP_LINES];
data/slrn-1.0.3+dfsg/src/help.c:276:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *User_Group_Help[MAX_HELP_LINES];
data/slrn-1.0.3+dfsg/src/help.c:416:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/help.c:426:22:  [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 (NULL == (fp = fopen (helpfile, "r"))) return -1;
data/slrn-1.0.3+dfsg/src/help.c:519: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.
   static char buf[3];
data/slrn-1.0.3+dfsg/src/help.c:564:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *KeyNames[NUMBER_OF_KEYNAMES] = /*{{{*/
data/slrn-1.0.3+dfsg/src/help.c:606:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char KeyNameLengths[NUMBER_OF_KEYNAMES] =
data/slrn-1.0.3+dfsg/src/help.c:611:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *TermcapNames[NUMBER_OF_KEYNAMES] = /*{{{*/
data/slrn-1.0.3+dfsg/src/help.c:654:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *DefaultSequences[NUMBER_OF_KEYNAMES] = /*{{{*/
data/slrn-1.0.3+dfsg/src/help.c:735:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char EscapeSequences[NUMBER_OF_KEYNAMES][SLANG_MAX_KEYMAP_KEY_SEQ+2];
data/slrn-1.0.3+dfsg/src/help.c:774: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.
   static char result[31]; /* maxlen+1 */
data/slrn-1.0.3+dfsg/src/help.c:840: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.
   static char result [SLANG_MAX_KEYMAP_KEY_SEQ+1];
data/slrn-1.0.3+dfsg/src/interp.c:271: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/interp.c:281: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/interp.c:286: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 dir[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/interp.c:539: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 str[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/interp.c:801:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[128];
data/slrn-1.0.3+dfsg/src/interp.c:824:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[128];
data/slrn-1.0.3+dfsg/src/interp.c:1376:19:  [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).
   Log_File_Ptr = fopen (file, "w");
data/slrn-1.0.3+dfsg/src/interp.c:1482: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/jdmacros.h:54:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define SLMEMCPY memcpy
data/slrn-1.0.3+dfsg/src/menu.c:723:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[2];
data/slrn-1.0.3+dfsg/src/menu.c:1059: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 *argv [MAX_DIR_FILES];
data/slrn-1.0.3+dfsg/src/menu.c:1064: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 title [45];
data/slrn-1.0.3+dfsg/src/mime.c:1261: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 tempfile [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/mime.c:1562:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MAX_RFC2047_WORD_SIZE + 1], *b, *b0, *bmax;
data/slrn-1.0.3+dfsg/src/mime.c:1649:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (b, "=%02X", (int) *u);
data/slrn-1.0.3+dfsg/src/misc.c:209:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d/%d", w->line_num, w->num_lines);
data/slrn-1.0.3+dfsg/src/misc.c:225:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%d%%", (100 * bot_number) / w->num_lines); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:233: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.
   static char buf[32];
data/slrn-1.0.3+dfsg/src/misc.c:298:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Message_Buffer[1024];
data/slrn-1.0.3+dfsg/src/misc.c:744:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Copystr[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:792: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.
   static char fname[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:793: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 fn[SLRN_MAX_PATH_LEN], fn1[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:874: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 fn[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:875: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.
   static char fname[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:979:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[80];
data/slrn-1.0.3+dfsg/src/misc.c:1007:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (file + len, ".%u", i); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:1011:7:  [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 (file, O_WRONLY | O_CREAT | O_EXCL, S_IREAD | S_IWRITE);
data/slrn-1.0.3+dfsg/src/misc.c:1052: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 filebuf[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1065:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen (file, mode, "fop=cif");
data/slrn-1.0.3+dfsg/src/misc.c:1075: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).
   return fopen (file, mode);
data/slrn-1.0.3+dfsg/src/misc.c:1082: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 filebuf[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1103: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 outfile [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1337: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[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1364: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/slrn-1.0.3+dfsg/src/misc.c:1695:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char File_Pattern[SLRN_MAX_PATH_LEN], Dir_Name[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1818: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 last_char [2];
data/slrn-1.0.3+dfsg/src/misc.c:1832: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 last[SLRN_MAX_PATH_LEN], buf[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:1833: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.
   static char prev[SLRN_MAX_PATH_LEN], prevcall[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/misc.c:2095: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 prompt_buf[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/misc.c:2257: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 sdfl_buf[256];
data/slrn-1.0.3+dfsg/src/misc.c:2259: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 str[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/misc.c:2336: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 buf[256];
data/slrn-1.0.3+dfsg/src/misc.c:2407: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 buf0[512], buf[512];
data/slrn-1.0.3+dfsg/src/misc.c:2455:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/slrn-1.0.3+dfsg/src/misc.c:2513:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/misc.c:2588:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MAX_HOST_NAME_LEN + 1];
data/slrn-1.0.3+dfsg/src/misc.c:2656: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.
   static char line[MAX_HOST_NAME_LEN + 1];
data/slrn-1.0.3+dfsg/src/misc.c:2658:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/misc.c:2803: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 orgbuf[512];
data/slrn-1.0.3+dfsg/src/misc.c:2807:28:  [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 (NULL != (fporg = fopen (org, "r")))
data/slrn-1.0.3+dfsg/src/nntp.c:324:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/nntp.c:524: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).
		  NNTP_Port = atoi (arg1);
data/slrn-1.0.3+dfsg/src/nntplib.c:223:13:  [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 compiled_pattern_buf[256];
data/slrn-1.0.3+dfsg/src/nntplib.c:258: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).
   status = atoi (s->rspbuf);
data/slrn-1.0.3+dfsg/src/nntplib.c:378:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [NNTP_MAX_CMD_LEN];
data/slrn-1.0.3+dfsg/src/nntplib.c:390:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [NNTP_MAX_CMD_LEN];
data/slrn-1.0.3+dfsg/src/nntplib.c:560: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.
   static char buf[256];
data/slrn-1.0.3+dfsg/src/nntplib.c:580:22:  [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 (NULL == (fp = fopen(file, "r")))
data/slrn-1.0.3+dfsg/src/nntplib.c:672:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (((*a != ':') || (!(port = atoi (a+1))
data/slrn-1.0.3+dfsg/src/nntplib.c:734:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/nntplib.c:797:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/nntplib.c:1048: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 tmpbuf[1024];
data/slrn-1.0.3+dfsg/src/nntplib.c:1153: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 line [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/nntplib.h:33: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 group_name [NNTP_MAX_GROUP_NAME_LEN + 1];
data/slrn-1.0.3+dfsg/src/nntplib.h:35: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 host [NNTP_MAX_HOST_LEN + 1];
data/slrn-1.0.3+dfsg/src/nntplib.h:36: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 name [NNTP_MAX_HOST_LEN];
data/slrn-1.0.3+dfsg/src/nntplib.h:41: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 rspbuf[NNTP_RSPBUF_SIZE];
data/slrn-1.0.3+dfsg/src/post.c:104: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 baseid[64];
data/slrn-1.0.3+dfsg/src/post.c:105: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 *b, tmp[32];
data/slrn-1.0.3+dfsg/src/post.c:229: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:230:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [256];
data/slrn-1.0.3+dfsg/src/post.c:441: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 outfile [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:442: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 cmdbuf [2*SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1163: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 save_post_file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1203: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 filebuf[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1204: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 line[256];
data/slrn-1.0.3+dfsg/src/post.c:1212:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/post.c:1299: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 canfile[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1786: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1903: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 dir [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/post.c:1904: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 dirfile [SLRL_DISPLAY_BUFFER_SIZE + 256];
data/slrn-1.0.3+dfsg/src/post.c:1949: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 dir [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/print.c:127: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 printer_name_buf [256];
data/slrn-1.0.3+dfsg/src/print.c:198: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/print.c:283:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char print_cmd_buf[1024];
data/slrn-1.0.3+dfsg/src/print.c:403: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 line [1024];
data/slrn-1.0.3+dfsg/src/print.c:407:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/ranges.c:54:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	min = atoi (line++);
data/slrn-1.0.3+dfsg/src/ranges.c:59: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).
	     max = atoi (line);
data/slrn-1.0.3+dfsg/src/score.c:75: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 keyword[MAX_KEYWORD_LEN];      /* used only by generic type */
data/slrn-1.0.3+dfsg/src/score.c:126:13:  [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];	       /* for compiled pattern */
data/slrn-1.0.3+dfsg/src/score.c:174: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 name[MAX_GROUP_NAME_LEN];      /* group name or pattern */
data/slrn-1.0.3+dfsg/src/score.c:175:13:  [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[MAX_GROUP_REGEXP_SIZE];/* for compiled pattern */
data/slrn-1.0.3+dfsg/src/score.c:759:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     psrt->ireg.ival = atoi(str);
data/slrn-1.0.3+dfsg/src/score.c:764:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     psrt->ireg.ival = time(NULL) - atoi(str) * 86400;
data/slrn-1.0.3+dfsg/src/score.c:1004:13:  [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 group[256];
data/slrn-1.0.3+dfsg/src/score.c:1026:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/score.c:1028: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 convline [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/score.c:1071: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 line[1024];
data/slrn-1.0.3+dfsg/src/score.c:1157:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  c->score = atoi (lpp);
data/slrn-1.0.3+dfsg/src/score.c:1373:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/server.c:92:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Inews_Outfile [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/server.c:123:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [MAX_LINE_BUFLEN];
data/slrn-1.0.3+dfsg/src/server.c:189: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 inews [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/server.c:490:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char Pull_Post_Filename [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/server.c:491:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char Pull_Post_Dir [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/server.c:498: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 name[256];
data/slrn-1.0.3+dfsg/src/server.c:527:7:  [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 (Pull_Post_Filename, O_WRONLY | O_CREAT | O_EXCL,
data/slrn-1.0.3+dfsg/src/server.c:548: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrn.c:180:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fp = fopen (file, "r")) != NULL)
data/slrn-1.0.3+dfsg/src/slrn.c:212:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "w", "fop=cif");
data/slrn-1.0.3+dfsg/src/slrn.c:214:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "w");
data/slrn-1.0.3+dfsg/src/slrn.c:232: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 name[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/slrn.c:236: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 file_rn[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/slrn.c:347:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Suspend_Stack [SUSPEND_STACK_SIZE];
data/slrn-1.0.3+dfsg/src/slrn.c:993: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 file[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/slrn.c:1026: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/slrn.c:1083:35:  [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).
                  Slrn_Debug_Fp = fopen (argv[++i], "w");
data/slrn-1.0.3+dfsg/src/slrn.c:1320: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).
	if (NULL == (fp = fopen (Slrn_Newsrc_File, "r")))
data/slrn-1.0.3+dfsg/src/slrn.c:1343:21:  [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).
	Slrn_Kill_Log_FP = fopen(kill_logfile, "a");
data/slrn-1.0.3+dfsg/src/slrn.c:1537: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.
   static char buf[32];
data/slrn-1.0.3+dfsg/src/slrn.c:1674:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[20];
data/slrn-1.0.3+dfsg/src/slrn.c:1696:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   slrn_set_prefix_argument (atoi (buf));
data/slrn-1.0.3+dfsg/src/slrnconf.h:269:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
# define NNTP_STR_TO_ARTNUM atol
data/slrn-1.0.3+dfsg/src/slrndir.c:150: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.
   static char cwd[SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/slrndir.c:200: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 dirbuf[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrndir.c:202: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 convdir[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrndir.h:22: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 name [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:188: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 name [MAX_GROUP_NAME_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:189: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 dirname [MAX_GROUP_NAME_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:237:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[2048];
data/slrn-1.0.3+dfsg/src/slrnpull.c:358: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).
   return fopen (file, mode);
data/slrn-1.0.3+dfsg/src/slrnpull.c:365: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 file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:366: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 line[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:397: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 file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:426: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).
   return fopen (file, mode);
data/slrn-1.0.3+dfsg/src/slrnpull.c:436: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 file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:437: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 line[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:479: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 file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:506: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 dirbuf [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:609:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:613:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (Active_Groups_File, "r");
data/slrn-1.0.3+dfsg/src/slrnpull.c:616: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).
	if (NULL == (fp = fopen (SLRN_CONF_DIR "/" SLRNPULL_CONF, "r")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:635: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 *argv[MAX_ARGS];
data/slrn-1.0.3+dfsg/src/slrnpull.c:848:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:914:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [512];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1133: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 file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1134:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1145:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "ab");
data/slrn-1.0.3+dfsg/src/slrnpull.c:1147:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "a");
data/slrn-1.0.3+dfsg/src/slrnpull.c:1179: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1180:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1199:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "wb");
data/slrn-1.0.3+dfsg/src/slrnpull.c:1201:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "w");
data/slrn-1.0.3+dfsg/src/slrnpull.c:1264:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256], *b;
data/slrn-1.0.3+dfsg/src/slrnpull.c:1416:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[20*SLRN_MAX_QUEUED];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1454: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 ov_file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1463: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).
	fp = fopen (ov_file, mode);
data/slrn-1.0.3+dfsg/src/slrnpull.c:1480: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 *heads[SLRN_MAX_QUEUED];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1481: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 *bodies[SLRN_MAX_QUEUED];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1582: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 *heads[SLRN_MAX_QUEUED];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1583: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 *bodies[SLRN_MAX_QUEUED];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1802:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[8 * 1024];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1806:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/slrnpull.c:1856: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 bad_file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1902: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1951: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 file [SLRN_MAX_PATH_LEN + 5];
data/slrn-1.0.3+dfsg/src/slrnpull.c:1955:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "w");
data/slrn-1.0.3+dfsg/src/slrnpull.c:2087: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2095: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).
   MLog_Fp = fopen (file, "a");
data/slrn-1.0.3+dfsg/src/slrnpull.c:2109: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).
   KLog_Fp = fopen (file, "a");
data/slrn-1.0.3+dfsg/src/slrnpull.c:2173: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2278:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     Kill_Score = atoi (*argv);
data/slrn-1.0.3+dfsg/src/slrnpull.c:2283:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	     Fetch_Score = atoi (*argv);
data/slrn-1.0.3+dfsg/src/slrnpull.c:2295:12:  [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 (*argv, O_WRONLY | O_CREAT, S_IREAD | S_IWRITE);
data/slrn-1.0.3+dfsg/src/slrnpull.c:2413: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 line [1024];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2419:25:  [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 (NULL == (fp_ng = fopen (New_Groups_File, "a")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2427:27:  [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 (NULL != (fp_time = fopen (New_Groups_Time_File, "r")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2529:27:  [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 (NULL == (fp_time = fopen (New_Groups_Time_File, "w")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2684: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 line [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2688:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2742: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2747:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2807: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 dir [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2885: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2886: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 newfile [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2887: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 dir [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2888:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [4096];
data/slrn-1.0.3+dfsg/src/slrnpull.c:2907:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
   strcat (newfile, "-new"); /* safe */
data/slrn-1.0.3+dfsg/src/slrnpull.c:2909: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).
   new_xov_fp = fopen (newfile, "w");
data/slrn-1.0.3+dfsg/src/slrnpull.c:3013: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 dir [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3014: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3099:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	     char buf[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3185: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/slrn-1.0.3+dfsg/src/slrnpull.c:3268: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3269: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.
   static char pass[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3270: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.
   static char name[256];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3278:22:  [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 (NULL == (fp = fopen (file, "r")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3316: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 head_file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3358: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 head_file[SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/slrnpull.c:3376: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).
	if (NULL == (fp = fopen (head_file, "w")))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3401: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 file [SLRN_MAX_PATH_LEN + 1];
data/slrn-1.0.3+dfsg/src/sltcp.c:140:13:  [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 tcp_read_buf [SLTCP_BUF_SIZE];
data/slrn-1.0.3+dfsg/src/sltcp.c:141:13:  [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 tcp_write_buf [SLTCP_BUF_SIZE];
data/slrn-1.0.3+dfsg/src/sltcp.c:211: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 portstr[6]; /* To pass a port number as a string */
data/slrn-1.0.3+dfsg/src/sltcp.c:252:10:  [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[NI_MAXHOST];
data/slrn-1.0.3+dfsg/src/sltcp.c:316: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 *fake_h_addr_list[2];
data/slrn-1.0.3+dfsg/src/sltcp.c:380: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 ((char *) &s_in.sin_addr, *h_addr_list, h_length);
data/slrn-1.0.3+dfsg/src/sltcp.c:1025: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 (s, (char *) buf, len);
data/slrn-1.0.3+dfsg/src/sltcp.c:1033: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 (s, (char *) buf, blen);
data/slrn-1.0.3+dfsg/src/sltcp.c:1061: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 ((char *) b, s, len);
data/slrn-1.0.3+dfsg/src/sltcp.c:1105:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLTCP_BUF_SIZE];
data/slrn-1.0.3+dfsg/src/sortdate.c:68: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 name[5];
data/slrn-1.0.3+dfsg/src/spool.c:189:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (q,"rb");
data/slrn-1.0.3+dfsg/src/spool.c:364:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [4096];
data/slrn-1.0.3+dfsg/src/spool.c:426:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/spool.c:430: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).
   return fopen (buf,"r");
data/slrn-1.0.3+dfsg/src/spool.c:435:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/spool.c:447:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/spool.c:533: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 buf1[512];
data/slrn-1.0.3+dfsg/src/spool.c:609:21:  [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).
   Spool_fh_local = fopen (Slrn_ActiveTimes_File, "r");
data/slrn-1.0.3+dfsg/src/spool.c:682:9:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  if (atol(p) < threshold)/* or <= ? !HACK! */
data/slrn-1.0.3+dfsg/src/spool.c:703:6:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atol(p) >= threshold) /* or just > ? !HACK! */
data/slrn-1.0.3+dfsg/src/spool.c:798:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/slrn-1.0.3+dfsg/src/spool.c:805:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (file, "r");
data/slrn-1.0.3+dfsg/src/spool.c:860:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/slrn-1.0.3+dfsg/src/spool.c:864:21:  [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).
   Spool_fh_local = fopen(Slrn_Active_File,"r");
data/slrn-1.0.3+dfsg/src/spool.c:1113: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[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/spool.c:1138: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 header[80];
data/slrn-1.0.3+dfsg/src/spool.c:1139: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 pat[256];
data/slrn-1.0.3+dfsg/src/spool.c:1156: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 tmpbuf [8192];
data/slrn-1.0.3+dfsg/src/spool.c:1329: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 tmpbuf [1024];
data/slrn-1.0.3+dfsg/src/spool.c:1412: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).
	Spool_fh_local=fopen(Slrn_Overviewfmt_File,"r");
data/slrn-1.0.3+dfsg/src/spool.c:1425:19:  [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).
   Spool_fh_local=fopen(Slrn_Newsgroups_File,"r");
data/slrn-1.0.3+dfsg/src/spool.c:1445:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   static unsigned char compiled_pattern_buf [512];
data/slrn-1.0.3+dfsg/src/spool.c:1465:19:  [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).
   Spool_fh_local=fopen (Slrn_Active_File,"r");
data/slrn-1.0.3+dfsg/src/spool.c:1508:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Spool_Buf[256];
data/slrn-1.0.3+dfsg/src/spool.c:1509:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Spool_nBuf[256];
data/slrn-1.0.3+dfsg/src/spool.c:1611:15:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    || ((l = atol (p)) == 0))
data/slrn-1.0.3+dfsg/src/spool.c:1857:22:  [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 (NULL == (fp = fopen (Slrn_Requests_File, "w")))
data/slrn-1.0.3+dfsg/src/startup.c:1248:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *Color_Names [16] =
data/slrn-1.0.3+dfsg/src/startup.c:1314: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).
	int level = atoi (name+6);
data/slrn-1.0.3+dfsg/src/startup.c:1364: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).
	int level = atoi (name+6);
data/slrn-1.0.3+dfsg/src/startup.c:1446: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).
	SLtt_set_mono (QUOTE_COLOR + atoi (what+6), NULL, mono_attr);
data/slrn-1.0.3+dfsg/src/startup.c:1659: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 pathbuf [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/startup.c:1742:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[SLRL_DISPLAY_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/startup.c:1869: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 line [512];
data/slrn-1.0.3+dfsg/src/startup.c:1886:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen (name, "r");
data/slrn-1.0.3+dfsg/src/startup.c:1944: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 file [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/ttymsg.c:35: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 *b, buf[1024];
data/slrn-1.0.3+dfsg/src/util.c:151:9:  [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 (outpath, "/cygdrive/");
data/slrn-1.0.3+dfsg/src/util.c:180: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.
   static char drive[3] = " :";
data/slrn-1.0.3+dfsg/src/util.c:181: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 fsys[5];
data/slrn-1.0.3+dfsg/src/util.c:226: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 convdir [SLRN_MAX_PATH_LEN];
data/slrn-1.0.3+dfsg/src/util.c:288: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.
   static char newpat[256];
data/slrn-1.0.3+dfsg/src/util.c:523:22:  [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 (NULL == (in = fopen (infile, "rb")))
data/slrn-1.0.3+dfsg/src/util.c:529:23:  [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 (NULL == (out = fopen (outfile, "wb")))
data/slrn-1.0.3+dfsg/src/vfile.c:110:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = open(file, mode | O_RDONLY, 0)) < 0) return(NULL);
data/slrn-1.0.3+dfsg/src/xover.c:252: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 fake_ref_buf [512];
data/slrn-1.0.3+dfsg/src/xover.c:314: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).
   xov->bytes = atoi (bytes);
data/slrn-1.0.3+dfsg/src/xover.c:315: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).
   xov->lines = atoi (lines);
data/slrn-1.0.3+dfsg/src/xover.c:442: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 line[NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/xover.c:707: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 line [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/xover.c:913:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/xover.c:1104: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.
   static char valbuf [NNTP_BUFFER_SIZE];
data/slrn-1.0.3+dfsg/src/art.c:834: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).
					   (unsigned char *) l->buf + strlen (l->buf),
data/slrn-1.0.3+dfsg/src/art.c:837:99:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     else ptr = (char *)SLsearch_forward (st, (SLuchar_Type *) l->buf, (SLuchar_Type *) l->buf + strlen (l->buf));
data/slrn-1.0.3+dfsg/src/art.c:1059: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).
   len = strlen (cmd) + 1;
data/slrn-1.0.3+dfsg/src/art.c:1060: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).
   urllen = strlen (url);
data/slrn-1.0.3+dfsg/src/art.c:1113: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 (url[strlen(url)-1] == '>')
data/slrn-1.0.3+dfsg/src/art.c:1230:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (url, argv[selected], sizeof (url));
data/slrn-1.0.3+dfsg/src/art.c:2078: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).
   len = strlen (dest);
data/slrn-1.0.3+dfsg/src/art.c:2130: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).
	p += strlen (p);
data/slrn-1.0.3+dfsg/src/art.c:2159: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).
	f = buf + strlen (buf) - 1;
data/slrn-1.0.3+dfsg/src/art.c:2200: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).
   return _art_find_header_from_msgid (msgid, msgid + strlen (msgid));
data/slrn-1.0.3+dfsg/src/art.c:2389:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (buf);
data/slrn-1.0.3+dfsg/src/art.c:2600: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).
	  estr = str + strlen (str);
data/slrn-1.0.3+dfsg/src/art.c:2616:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (l->buf, str, len);
data/slrn-1.0.3+dfsg/src/art.c:2722: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 <= strlen (Header_Showing->realname); i++)
data/slrn-1.0.3+dfsg/src/art.c:2826: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).
   unsigned int len = strlen (subject);
data/slrn-1.0.3+dfsg/src/art.c:2867:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (subject);
data/slrn-1.0.3+dfsg/src/art.c:2925: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).
       || ((strlen(from_buf) > 8) &&
data/slrn-1.0.3+dfsg/src/art.c:2927: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).
			      from_buf+strlen(from_buf)-8))))
data/slrn-1.0.3+dfsg/src/art.c:3330: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).
		  char* epos = rpos + strlen(rpos);
data/slrn-1.0.3+dfsg/src/art.c:3342: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 ((len == strlen(Slrn_Current_Group_Name))
data/slrn-1.0.3+dfsg/src/art.c:3381: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 (responses) != 8)
data/slrn-1.0.3+dfsg/src/art.c:3481:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 || ((strlen(cc_address_buf) > 8) &&
data/slrn-1.0.3+dfsg/src/art.c:3484: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).
					strlen(cc_address_buf)-8))))
data/slrn-1.0.3+dfsg/src/art.c:3691: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).
   cankey = md5_key (buf, filelen, msgid, strlen(msgid));
data/slrn-1.0.3+dfsg/src/art.c:3693: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).
   cankey = sha_key ((unsigned char *) buf, filelen, (unsigned char *)msgid, strlen(msgid));
data/slrn-1.0.3+dfsg/src/art.c:4144: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).
				  (unsigned char *) l->subject + strlen (l->subject),
data/slrn-1.0.3+dfsg/src/art.c:4148: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).
					  (SLuchar_Type *)l->subject + strlen (l->subject)))
data/slrn-1.0.3+dfsg/src/art.c:4387: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).
	defdir_len = strlen (file);
data/slrn-1.0.3+dfsg/src/art.c:4577:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (where) + 1 >= sizeof (where))
data/slrn-1.0.3+dfsg/src/art.c:4580:4:  [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 (where, "/"); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:4761:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    ((-1 == slrn_write_to_printer (p, l->buf, strlen (l->buf)))
data/slrn-1.0.3+dfsg/src/art.c:5126: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).
				       (unsigned char *) l->subject + strlen (l->subject),
data/slrn-1.0.3+dfsg/src/art.c:5130: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).
					       (SLuchar_Type *) l->subject + strlen (l->subject)))
data/slrn-1.0.3+dfsg/src/art.c:5138: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).
				       (unsigned char *) l->from + strlen (l->from),
data/slrn-1.0.3+dfsg/src/art.c:5142: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).
					       (SLuchar_Type *) l->from + strlen (l->from)))
data/slrn-1.0.3+dfsg/src/art.c:5537: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).
     homelen = strlen (home);
data/slrn-1.0.3+dfsg/src/art.c:5907:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ref = _art_find_header_from_msgid (msgid, msgid + strlen (msgid));
data/slrn-1.0.3+dfsg/src/art.c:6219: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).
	     r1 = rmin + strlen (rmin);
data/slrn-1.0.3+dfsg/src/art.c:6236:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf, r0, len);
data/slrn-1.0.3+dfsg/src/art.c:6310: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 (msgid [strlen(msgid) - 1] != '>')
data/slrn-1.0.3+dfsg/src/art.c:6311:6:  [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 (msgid, ">"); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:8106: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).
   slrn_write_nbytes (s, strlen (s));
data/slrn-1.0.3+dfsg/src/art.c:8154: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).
		  s = str + strlen (str);
data/slrn-1.0.3+dfsg/src/art.c:9077:29:  [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.
	if (Header_Window_HScroll) strcpy (buf, "<"); /* safe */
data/slrn-1.0.3+dfsg/src/art.c:9078:7:  [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.
	else strcpy (buf, " "); /* safe */
data/slrn-1.0.3+dfsg/src/art_misc.c:128: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).
   len = strlen ((char *) b);
data/slrn-1.0.3+dfsg/src/art_misc.c:303:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (name, (char *) b, len); name[len] = 0;
data/slrn-1.0.3+dfsg/src/art_misc.c:438: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).
	b += strlen (b);
data/slrn-1.0.3+dfsg/src/art_misc.c:536:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     unsigned int bytes = SLsmg_strbytes (buf, buf+strlen((char *)buf),
data/slrn-1.0.3+dfsg/src/art_misc.c:857: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).
	next->len = strlen (buf);
data/slrn-1.0.3+dfsg/src/art_misc.c:963: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).
	     len0 = strlen (prev->buf);
data/slrn-1.0.3+dfsg/src/art_misc.c:964: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).
	     len1 = len0 + strlen (l->buf) + 1;
data/slrn-1.0.3+dfsg/src/art_sort.c:131: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).
   char *end_a = sa + strlen (sa);
data/slrn-1.0.3+dfsg/src/art_sort.c:132: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).
   char *end_b = sb + strlen (sb);
data/slrn-1.0.3+dfsg/src/art_sort.c:889: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).
	r1 = rmin + strlen (rmin);
data/slrn-1.0.3+dfsg/src/charset.c:301: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).
   new_len = strlen (str);
data/slrn-1.0.3+dfsg/src/charset.c:317:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   dlen = strlen (substr);
data/slrn-1.0.3+dfsg/src/charset.c:325:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (new_str, str, offset);
data/slrn-1.0.3+dfsg/src/charset.c:345: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(NULL == (*dest = slrn_convert_substring(str, 0, strlen (str), to_charset, from_charset, 0)))
data/slrn-1.0.3+dfsg/src/charset.c:376:54:  [1] (buffer) strlen:
  Does not handle 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 (NULL == (tmp = slrn_convert_substring(str, 0, strlen (str), to_charset, from_charset, 0)))
data/slrn-1.0.3+dfsg/src/charset.c:421: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).
	if (1 == iconv_convert_string(cd, line->buf, strlen (line->buf), 0, &tmp))
data/slrn-1.0.3+dfsg/src/charset.c:475:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	switch (iconv_convert_string (cd, rline->buf, strlen (rline->buf), 1, &next->buf))
data/slrn-1.0.3+dfsg/src/decode.c:181: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).
	unsigned int len = strlen (name);
data/slrn-1.0.3+dfsg/src/decode.c:324: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).
   len = strlen (s);
data/slrn-1.0.3+dfsg/src/decode.c:393: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).
   len = strlen (name);
data/slrn-1.0.3+dfsg/src/decode.c:408: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).
   len = strlen (name);
data/slrn-1.0.3+dfsg/src/decode.c:594: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).
   len = strlen (line);
data/slrn-1.0.3+dfsg/src/decode.c:599:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc (fp);
data/slrn-1.0.3+dfsg/src/decode.c:611:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (line);
data/slrn-1.0.3+dfsg/src/decode.c:766: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).
   bmax = b + strlen (b);
data/slrn-1.0.3+dfsg/src/decode.c:985:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   while (EOF != (ch = getc (fp)))
data/slrn-1.0.3+dfsg/src/decode.c:1016:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	     ch = getc (fp);
data/slrn-1.0.3+dfsg/src/editscore.c:106: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(typeresp) != 10) /* Translator messed it up */
data/slrn-1.0.3+dfsg/src/editscore.c:123: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 (scoperesp) != 4) /* Translator messed it up */
data/slrn-1.0.3+dfsg/src/editscore.c:192:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (EOF != (ich = getc (fp)))
data/slrn-1.0.3+dfsg/src/group.c:217: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).
						(unsigned char *) group + strlen (group));
data/slrn-1.0.3+dfsg/src/group.c:441: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 (len == strlen (g->group_name)) break;
data/slrn-1.0.3+dfsg/src/group.c:468:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (g->group_name, name, len);
data/slrn-1.0.3+dfsg/src/group.c:685: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).
	     if (-1 != add_group (ug->group_name, strlen (ug->group_name), subscribe_flag, 0, 0))
data/slrn-1.0.3+dfsg/src/group.c:717: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).
   Slrn_Group_Type *g = find_group_entry (name, strlen (name));
data/slrn-1.0.3+dfsg/src/group.c:822: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).
				    (unsigned char *) g->group_name + strlen (g->group_name),
data/slrn-1.0.3+dfsg/src/group.c:826: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).
					   (unsigned char *) g->descript + strlen (g->descript),
data/slrn-1.0.3+dfsg/src/group.c:834: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).
					   (unsigned char *) g->group_name + strlen (g->group_name)))
data/slrn-1.0.3+dfsg/src/group.c:837: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).
						  (unsigned char *) g->descript + strlen (g->descript)))))
data/slrn-1.0.3+dfsg/src/group.c:1250: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).
	     retval = add_group (group, strlen (group), 0, 1, 0);
data/slrn-1.0.3+dfsg/src/group.c:1749:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (name) >= sizeof (group))
data/slrn-1.0.3+dfsg/src/group.c:1779:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (responses) != 8)
data/slrn-1.0.3+dfsg/src/group.c:2563: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 (NULL != (Slrn_Group_Current_Group = find_group_entry (name, strlen (name))))
data/slrn-1.0.3+dfsg/src/group.c:3186: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).
	if (NULL == (g = find_group_entry (name, strlen (name))))
data/slrn-1.0.3+dfsg/src/grplens.c:150:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (s1, s, len);
data/slrn-1.0.3+dfsg/src/grplens.c:160: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).
   return make_nstring (s, strlen (s));
data/slrn-1.0.3+dfsg/src/grplens.c:230: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).
   b = buf + strlen (buf);
data/slrn-1.0.3+dfsg/src/grplens.c:317: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).
   kwlen = strlen (kw);
data/slrn-1.0.3+dfsg/src/hash.c:98: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).
   len = strlen (newsgroup);
data/slrn-1.0.3+dfsg/src/hash.c:165: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).
   msgid_len = strlen (msgid);
data/slrn-1.0.3+dfsg/src/hdrutils.c:45: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).
   unsigned int len = strlen (header);
data/slrn-1.0.3+dfsg/src/hdrutils.c:126: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).
   buflen = strlen (key) + strlen(value) + 3;
data/slrn-1.0.3+dfsg/src/hdrutils.c:126: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).
   buflen = strlen (key) + strlen(value) + 3;
data/slrn-1.0.3+dfsg/src/help.c:751: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(s);
data/slrn-1.0.3+dfsg/src/help.c:763: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).
	EscapeSequences[i][0] = strlen(DefaultSequences[i]);
data/slrn-1.0.3+dfsg/src/help.c:799: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).
		  int len = strlen(ctrlstr)+1;
data/slrn-1.0.3+dfsg/src/help.c:816: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(_(KeyNames[i]));
data/slrn-1.0.3+dfsg/src/help.c:842: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).
   int slen = strlen(s);
data/slrn-1.0.3+dfsg/src/help.c:862:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		  strncpy(result+ind, EscapeSequences[i]+1, EscapeSequences[i][0]);
data/slrn-1.0.3+dfsg/src/interp.c:543:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (str, init, sizeof (str));
data/slrn-1.0.3+dfsg/src/interp.c:806: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).
   len = strlen (h);
data/slrn-1.0.3+dfsg/src/interp.c:834: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).
   len = strlen (h);
data/slrn-1.0.3+dfsg/src/interp.c:869: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 (buf);
data/slrn-1.0.3+dfsg/src/interp.c:1585: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).
   strmax = str + strlen (str);
data/slrn-1.0.3+dfsg/src/menu.c:112: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).
   col = SLtt_Screen_Cols - (5 + strlen(Slrn_Version_String));
data/slrn-1.0.3+dfsg/src/menu.c:138: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 dcol = 2 + strlen (_(m->menu_name));
data/slrn-1.0.3+dfsg/src/menu.c:222: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).
   int len = strlen (title);
data/slrn-1.0.3+dfsg/src/menu.c:293: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).
   max_selection_len = strlen (title);
data/slrn-1.0.3+dfsg/src/menu.c:297:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (_(line));
data/slrn-1.0.3+dfsg/src/menu.c:857: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).
     Select_List_Window_Ncols = 2 + strlen (title);
data/slrn-1.0.3+dfsg/src/menu.c:883:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (curr->data);
data/slrn-1.0.3+dfsg/src/menu.c:936: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).
     Select_List_Window_Ncols = 2 + strlen (title);
data/slrn-1.0.3+dfsg/src/menu.c:966:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (text);
data/slrn-1.0.3+dfsg/src/menu.c:998:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (curr->data);
data/slrn-1.0.3+dfsg/src/menu.c:1087: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).
   len = strlen (dir) + 1;
data/slrn-1.0.3+dfsg/src/menu.c:1169:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (file);
data/slrn-1.0.3+dfsg/src/mime.c:365: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).
   return decode_quoted_printable (str, str, str+strlen(str), 0, 1, 0);
data/slrn-1.0.3+dfsg/src/mime.c:479:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			   (strlen(Slrn_Display_Charset) <= len) ? strlen(Slrn_Display_Charset) : len) != 0)
data/slrn-1.0.3+dfsg/src/mime.c:479: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).
			   (strlen(Slrn_Display_Charset) <= len) ? strlen(Slrn_Display_Charset) : len) != 0)
data/slrn-1.0.3+dfsg/src/mime.c:503: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).
		  s += strlen(s2);
data/slrn-1.0.3+dfsg/src/mime.c:552: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).
   imax = strlen (encodemap);
data/slrn-1.0.3+dfsg/src/mime.c:614: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).
	dlen = strlen (str);
data/slrn-1.0.3+dfsg/src/mime.c:701: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).
	if (NULL == (s = slrn_convert_string (NULL, s, s+strlen(s),
data/slrn-1.0.3+dfsg/src/mime.c:722:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (name);
data/slrn-1.0.3+dfsg/src/mime.c:785: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(l->buf);
data/slrn-1.0.3+dfsg/src/mime.c:799:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	buf_pos += strlen(l->buf);
data/slrn-1.0.3+dfsg/src/mime.c:836: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).
   buf_end = buf_dest + strlen (buf_dest);
data/slrn-1.0.3+dfsg/src/mime.c:860:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(l->buf, buf_dest, len);
data/slrn-1.0.3+dfsg/src/mime.c:904: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).
	if (NULL == (b = (char *) SLrealloc (b, 1 + len + strlen (next_line->buf))))
data/slrn-1.0.3+dfsg/src/mime.c:1028: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).
	     len = strlen (b);
data/slrn-1.0.3+dfsg/src/mime.c:1175: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).
	return slrn_guess_charset (p, p + strlen(p));
data/slrn-1.0.3+dfsg/src/mime.c:1302: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).
       || (strlen (mm) > SLRN_MAX_PATH_LEN))
data/slrn-1.0.3+dfsg/src/mime.c:1315:4:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   getchar();
data/slrn-1.0.3+dfsg/src/mime.c:1386: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 (Slrn_Outgoing_Charset);
data/slrn-1.0.3+dfsg/src/mime.c:1473: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).
   smax = s0 + strlen (s0);
data/slrn-1.0.3+dfsg/src/mime.c:1570:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len_charset = strlen (charset);
data/slrn-1.0.3+dfsg/src/mime.c:1593: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).
   b0 = buf + strlen (buf);
data/slrn-1.0.3+dfsg/src/mime.c:1599: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).
   ustrmax = ustr + strlen ((char *)ustr);
data/slrn-1.0.3+dfsg/src/mime.c:1775: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).
   strmax = str + strlen (str);
data/slrn-1.0.3+dfsg/src/mime.c:1879: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).
   imax = strlen (encodemap);
data/slrn-1.0.3+dfsg/src/mime.c:1937: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).
	dlen = strlen (encoded_str);
data/slrn-1.0.3+dfsg/src/mime.c:1978: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).
   len = strlen (s0);
data/slrn-1.0.3+dfsg/src/mime.c:2054: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).
	if (0 == slrn_case_strncmp (s, h->keyword, strlen (h->keyword)))
data/slrn-1.0.3+dfsg/src/misc.c:316: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).
   mmax = m + strlen (m);
data/slrn-1.0.3+dfsg/src/misc.c:640: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).
	smax = s + strlen (s);
data/slrn-1.0.3+dfsg/src/misc.c:736: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 (pos == strlen(name))
data/slrn-1.0.3+dfsg/src/misc.c:738:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   for(idx=pos;idx<strlen(name);idx++)
data/slrn-1.0.3+dfsg/src/misc.c:817: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(cp1, "/"); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:829: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 (fname) + strlen (cp) < sizeof (fname))
data/slrn-1.0.3+dfsg/src/misc.c:829: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 (strlen (fname) + strlen (cp) < sizeof (fname))
data/slrn-1.0.3+dfsg/src/misc.c:839: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(cp1, "/"); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:851: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 (fname) + strlen (cp) < sizeof (fname))
data/slrn-1.0.3+dfsg/src/misc.c:851: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 (strlen (fname) + strlen (cp) < sizeof (fname))
data/slrn-1.0.3+dfsg/src/misc.c:859: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 (file) + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:859: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 (strlen (file) + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:894: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(cp, "/"); /* safe ? */
data/slrn-1.0.3+dfsg/src/misc.c:910:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     if (strlen (fn) + 1 < sizeof (fn))
data/slrn-1.0.3+dfsg/src/misc.c:911:9:  [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(fn, "/"); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:913: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 (fn) + strlen (name) < sizeof (fn))
data/slrn-1.0.3+dfsg/src/misc.c:913:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (fn) + strlen (name) < sizeof (fn))
data/slrn-1.0.3+dfsg/src/misc.c:926: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).
	     len = strlen(dir) - 1;
data/slrn-1.0.3+dfsg/src/misc.c:929: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).
		  if (len + 3 + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:933:10:  [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(dir, "]"); /* safe */
data/slrn-1.0.3+dfsg/src/misc.c:936: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).
	     else if (len + 1 + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:939:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	else if (strlen (dir) + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:939: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).
	else if (strlen (dir) + strlen (name) < n)
data/slrn-1.0.3+dfsg/src/misc.c:1001: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).
   len = strlen (file);
data/slrn-1.0.3+dfsg/src/misc.c:1119:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     if (strlen (responses) != 6)
data/slrn-1.0.3+dfsg/src/misc.c:1159:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     if (strlen (responses) != 8)
data/slrn-1.0.3+dfsg/src/misc.c:1166:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     if (strlen (responses) != 10)
data/slrn-1.0.3+dfsg/src/misc.c:1533:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((strlen (cmd) > 1)
data/slrn-1.0.3+dfsg/src/misc.c:1574: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).
   prompt_len = strlen (prompt);
data/slrn-1.0.3+dfsg/src/misc.c:1577:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (ubuf + prompt_len, buf, len);
data/slrn-1.0.3+dfsg/src/misc.c:1647:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (str, Input_String_Ptr, 255);
data/slrn-1.0.3+dfsg/src/misc.c:1657: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).
   return strlen (str);
data/slrn-1.0.3+dfsg/src/misc.c:1703: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).
   unsigned int len = strlen (File_Pattern);
data/slrn-1.0.3+dfsg/src/misc.c:1714: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).
	     len = strlen (buf);
data/slrn-1.0.3+dfsg/src/misc.c:1725: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).
   int pos = strlen (buf);
data/slrn-1.0.3+dfsg/src/misc.c:1741:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (Dir_Name);
data/slrn-1.0.3+dfsg/src/misc.c:1774: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).
   unsigned int len = strlen (File_Pattern);
data/slrn-1.0.3+dfsg/src/misc.c:1782: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).
	     len = strlen (buf);
data/slrn-1.0.3+dfsg/src/misc.c:1800: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).
   int pos = strlen (buf);
data/slrn-1.0.3+dfsg/src/misc.c:1960:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (last);
data/slrn-1.0.3+dfsg/src/misc.c:2105: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).
   len = strlen (prompt);
data/slrn-1.0.3+dfsg/src/misc.c:2131: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).
	     unsigned int slen = strlen (str);
data/slrn-1.0.3+dfsg/src/misc.c:2191: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).
	i = strlen (str);
data/slrn-1.0.3+dfsg/src/misc.c:2307:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((strlen (native_chars) != strlen (translated_chars)) ||
data/slrn-1.0.3+dfsg/src/misc.c:2307: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 ((strlen (native_chars) != strlen (translated_chars)) ||
data/slrn-1.0.3+dfsg/src/misc.c:2439:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (responses) != 4) /* Translator messed it up */
data/slrn-1.0.3+dfsg/src/misc.c:2464:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (responses) != 6)
data/slrn-1.0.3+dfsg/src/misc.c:2547:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   return (unsigned char *)SLregexp_match (re, str, strlen (str));
data/slrn-1.0.3+dfsg/src/misc.c:2572:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (p [strlen(p)-1] == '.')
data/slrn-1.0.3+dfsg/src/misc.c:2811: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).
		       unsigned int orglen = strlen (orgbuf);
data/slrn-1.0.3+dfsg/src/misc.c:2861: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).
   len = strlen (src);
data/slrn-1.0.3+dfsg/src/misc.c:2958: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).
   pmax = p + strlen (realname);
data/slrn-1.0.3+dfsg/src/misc.c:3044: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).
	buf=slrn_safe_malloc(6 + strlen(realname) +2 + strlen(localpart) + 1
data/slrn-1.0.3+dfsg/src/misc.c:3044: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).
	buf=slrn_safe_malloc(6 + strlen(realname) +2 + strlen(localpart) + 1
data/slrn-1.0.3+dfsg/src/misc.c:3045:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  + strlen(Slrn_User_Info.hostname)+2);
data/slrn-1.0.3+dfsg/src/misc.c:3052: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).
	buf=slrn_safe_malloc(6 + strlen(localpart) + 1
data/slrn-1.0.3+dfsg/src/misc.c:3053:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  + strlen(Slrn_User_Info.hostname)+2);
data/slrn-1.0.3+dfsg/src/nntp.c:215:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf, NNTP_Server->rspbuf, len);
data/slrn-1.0.3+dfsg/src/nntp.c:393:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    strlen(post_rsp), re);
data/slrn-1.0.3+dfsg/src/nntp.c:395: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).
	t = SLregexp_match (re, post_rsp, strlen (post_rsp));
data/slrn-1.0.3+dfsg/src/nntplib.c:174: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).
   len = strlen (buf);
data/slrn-1.0.3+dfsg/src/nntplib.c:231: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).
   if (NULL == SLang_regexp_match ((unsigned char *) str, strlen (str), &re))
data/slrn-1.0.3+dfsg/src/nntplib.c:239: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 (NULL != SLregexp_match (re, str, strlen (str)))
data/slrn-1.0.3+dfsg/src/nntplib.c:1081:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf, b, buflen - 1);
data/slrn-1.0.3+dfsg/src/nntplib.c:1100: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).
   colon = strlen (hdr);
data/slrn-1.0.3+dfsg/src/nntplib.c:1115:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf, b, buflen - 1);
data/slrn-1.0.3+dfsg/src/nntplib.c:1165:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (line);
data/slrn-1.0.3+dfsg/src/parse2822.c:704: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).
   len = strlen (header);
data/slrn-1.0.3+dfsg/src/post.c:183: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).
   malloc_len=(strlen(baseid)+strlen(Slrn_User_Info.posting_host)+8);
data/slrn-1.0.3+dfsg/src/post.c:183: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).
   malloc_len=(strlen(baseid)+strlen(Slrn_User_Info.posting_host)+8);
data/slrn-1.0.3+dfsg/src/post.c:352:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     if (strlen (nextid) + extra_whitespaces + len < GNKSA_LENGTH)
data/slrn-1.0.3+dfsg/src/post.c:368:4:  [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 (buf, "References: ", 12);
data/slrn-1.0.3+dfsg/src/post.c:370:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (p, l, len);
data/slrn-1.0.3+dfsg/src/post.c:384:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (p+1, l, len);
data/slrn-1.0.3+dfsg/src/post.c:779: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).
	     buflen = strlen (line) + 1;   /* is big enough for any substring of line */
data/slrn-1.0.3+dfsg/src/post.c:781: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).
	     t = tmp = slrn_safe_malloc (buflen + strlen(to) + 1);
data/slrn-1.0.3+dfsg/src/post.c:783:7:  [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(t, "Cc: ", 4);
data/slrn-1.0.3+dfsg/src/post.c:800: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).
		  t += strlen(b);
data/slrn-1.0.3+dfsg/src/post.c:883: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).
   qlen = strlen (qs);
data/slrn-1.0.3+dfsg/src/post.c:1327: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).
   canlock = md5_lock(buf, filelen, msgid, strlen(msgid));
data/slrn-1.0.3+dfsg/src/post.c:1329:80:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   canlock = sha_lock ((unsigned char *) buf, filelen, (unsigned char *)msgid, strlen(msgid));
data/slrn-1.0.3+dfsg/src/post.c:1366: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).
   len = strlen (key);
data/slrn-1.0.3+dfsg/src/post.c:1537:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if (strlen (responses) != 12)
data/slrn-1.0.3+dfsg/src/post.c:1544:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if (strlen (responses) != 10)
data/slrn-1.0.3+dfsg/src/post.c:1554:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if (strlen (responses) != 10)
data/slrn-1.0.3+dfsg/src/post.c:1561:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if (strlen (responses) != 8)
data/slrn-1.0.3+dfsg/src/post.c:1627: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 (responses) != 8)
data/slrn-1.0.3+dfsg/src/post.c:1634: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 (responses) != 10)
data/slrn-1.0.3+dfsg/src/post.c:1736: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 (responses) != 6)
data/slrn-1.0.3+dfsg/src/print.c:423: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).
	if (-1 == slrn_write_to_printer (p, line, strlen(line)))
data/slrn-1.0.3+dfsg/src/score.c:344:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen (s);
data/slrn-1.0.3+dfsg/src/score.c:682: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).
   n = strlen (group_name);
data/slrn-1.0.3+dfsg/src/score.c:770:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (psrt->keyword, keyword, MAX_KEYWORD_LEN);
data/slrn-1.0.3+dfsg/src/score.c:822:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (gsnt->name, group, MAX_GROUP_NAME_LEN - 1);
data/slrn-1.0.3+dfsg/src/score.c:1172: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).
		       eol = lpp + strlen (lpp) - 1;
data/slrn-1.0.3+dfsg/src/server.c:192:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (inews, Slrn_Inews_Pgm, SLRN_MAX_PATH_LEN);
data/slrn-1.0.3+dfsg/src/server.c:611: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).
   len = strlen (s);
data/slrn-1.0.3+dfsg/src/slrn.c:1041:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
   (void) umask (077);
data/slrn-1.0.3+dfsg/src/slrndir.c:132: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).
   len = strlen (ep->d_name);
data/slrn-1.0.3+dfsg/src/slrndir.c:138:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (dir.name, ep->d_name, len);
data/slrn-1.0.3+dfsg/src/slrndir.c:184:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cwd, c, sizeof (cwd));
data/slrn-1.0.3+dfsg/src/slrndir.c:192:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (cwdbuf, cwd, buflen);
data/slrn-1.0.3+dfsg/src/slrndir.c:208:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (dirbuf, dir, SLRN_MAX_PATH_LEN);
data/slrn-1.0.3+dfsg/src/slrndir.c:210: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).
   len = strlen (dirbuf);
data/slrn-1.0.3+dfsg/src/slrnpull.c:317:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (g->name, name, MAX_GROUP_NAME_LEN);   /* null terminated
data/slrn-1.0.3+dfsg/src/slrnpull.c:534: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).
   len = strlen (SlrnPull_Spool_News_Dir);
data/slrn-1.0.3+dfsg/src/slrnpull.c:536:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (sizeof (dirbuf) < len + strlen (g->dirname) + 2)
data/slrn-1.0.3+dfsg/src/slrnpull.c:547: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).
   d = dir + strlen (dir);
data/slrn-1.0.3+dfsg/src/slrnpull.c:654: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 (name) > MAX_GROUP_NAME_LEN)
data/slrn-1.0.3+dfsg/src/slrnpull.c:1279: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).
	b += strlen (b);
data/slrn-1.0.3+dfsg/src/slrnpull.c:1431: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).
	b += strlen (b);
data/slrn-1.0.3+dfsg/src/slrnpull.c:1828: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).
	b = buf + strlen (buf);
data/slrn-1.0.3+dfsg/src/slrnpull.c:1923:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((*name != 'X') || (name[strlen(name)-1] == '~'))
data/slrn-1.0.3+dfsg/src/slrnpull.c:2701:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (line);
data/slrn-1.0.3+dfsg/src/slrnpull.c:3295:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (0 == strlen (name))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3418: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(name)>4) &&
data/slrn-1.0.3+dfsg/src/slrnpull.c:3419: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).
	    (!strcmp("-bak", name+strlen(name)-4)))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3422: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(name)>4) &&
data/slrn-1.0.3+dfsg/src/slrnpull.c:3423: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).
	    (!strcmp(".bak", name+strlen(name)-4)))
data/slrn-1.0.3+dfsg/src/slrnpull.c:3425:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (name[strlen(name)-1]=='~')
data/slrn-1.0.3+dfsg/src/sltcp.c:157:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define SLTCP_READ(x,y,z)	read((x),(y),(z))
data/slrn-1.0.3+dfsg/src/sltcp.c:1094: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).
   len = strlen (s);
data/slrn-1.0.3+dfsg/src/snprintf.c:78: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 (p);
data/slrn-1.0.3+dfsg/src/snprintf.c:91:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cur += strlen (cur);
data/slrn-1.0.3+dfsg/src/snprintf.c:185:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (str, printed, n);
data/slrn-1.0.3+dfsg/src/snprintf.c:186: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).
   retval = strlen (printed); /* behave like glibc 2.1 */
data/slrn-1.0.3+dfsg/src/snprintf.c:205:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (str, printed, n);
data/slrn-1.0.3+dfsg/src/snprintf.c:206: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).
   retval = strlen (printed); /* behave like glibc 2.1 */
data/slrn-1.0.3+dfsg/src/snprintf.c:278: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 (string_arg);
data/slrn-1.0.3+dfsg/src/spool.c:213:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (((ch = getc (Spool_fh_local)) != '\n') && (ch != EOF))
data/slrn-1.0.3+dfsg/src/spool.c:272:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	     while (((ch = getc(Spool_fh_local)) != '\n')
data/slrn-1.0.3+dfsg/src/spool.c:323: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).
	buflen = strlen (the_buf);
data/slrn-1.0.3+dfsg/src/spool.c:372: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).
	unsigned int len = strlen (msgid);
data/slrn-1.0.3+dfsg/src/spool.c:458: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).
   pmax = p + strlen (p);
data/slrn-1.0.3+dfsg/src/spool.c:669:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	     ch = getc(Spool_fh_local);
data/slrn-1.0.3+dfsg/src/spool.c:677: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).
		  i -= strlen(buf1);
data/slrn-1.0.3+dfsg/src/spool.c:867: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).
   len = strlen(name);
data/slrn-1.0.3+dfsg/src/spool.c:959:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	     ch = getc(Spool_fh_nov);
data/slrn-1.0.3+dfsg/src/spool.c:1095: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).
   len = strlen(line);
data/slrn-1.0.3+dfsg/src/spool.c:1122: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).
	     numlen = strlen (line);
data/slrn-1.0.3+dfsg/src/spool.c:1178: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).
		  blen = strlen (buf);
data/slrn-1.0.3+dfsg/src/spool.c:1180:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		  strncpy (buf + blen, tmpbuf, len - blen);
data/slrn-1.0.3+dfsg/src/spool.c:1231: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).
		  blen = strlen (buf);
data/slrn-1.0.3+dfsg/src/spool.c:1233:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		  strncpy (buf + blen, b, len - blen);
data/slrn-1.0.3+dfsg/src/spool.c:1266:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (Spool_XPat_Struct.header, hdr, sizeof (Spool_XPat_Struct.header) - 1);
data/slrn-1.0.3+dfsg/src/spool.c:1267:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (Spool_XPat_Struct.pat, pat, sizeof (Spool_XPat_Struct.pat) - 1);
data/slrn-1.0.3+dfsg/src/spool.c:1339: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).
   colon = strlen (hdr);
data/slrn-1.0.3+dfsg/src/spool.c:1354: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).
	     unsigned int len = strlen (buf);
data/slrn-1.0.3+dfsg/src/spool.c:1518:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   p = Spool_Buf + strlen(Spool_Buf);
data/slrn-1.0.3+dfsg/src/spool.c:1521:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       (strlen (dir) < sizeof (Spool_Buf) - (size_t) (Spool_Buf - p + 2)))
data/slrn-1.0.3+dfsg/src/spool.c:1546: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).
	tmp->len = strlen (dir);
data/slrn-1.0.3+dfsg/src/spool.c:1548: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).
	p = Spool_nBuf + strlen (Spool_nBuf);
data/slrn-1.0.3+dfsg/src/spool.c:1549: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 (dir) < sizeof (Spool_nBuf) - (size_t) (Spool_nBuf - p + 2))
data/slrn-1.0.3+dfsg/src/spool.c:1567: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).
   Spool_Buf [strlen(Spool_Buf) - Spool_Head->len - 1] = '\0';
data/slrn-1.0.3+dfsg/src/spool.c:1569: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).
   i = strlen(Spool_nBuf) - Spool_Head->len - 1;
data/slrn-1.0.3+dfsg/src/spool.c:1906: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).
	     if ((p != vline) && (((p-vline != (int) strlen(group)) ||
data/slrn-1.0.3+dfsg/src/startup.c:1540: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).
	     n = strlen (field);
data/slrn-1.0.3+dfsg/src/startup.c:1545:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		  strncpy (contents, field, u->size);
data/slrn-1.0.3+dfsg/src/strutil.c:58: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).
   s = smin + strlen (smin);
data/slrn-1.0.3+dfsg/src/strutil.c:151: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).
     return SLutf8_compare((SLuchar_Type *)a, (SLuchar_Type *)a+strlen(a),
data/slrn-1.0.3+dfsg/src/strutil.c:152: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).
			   (SLuchar_Type *)b, (SLuchar_Type *)b+strlen(b),
data/slrn-1.0.3+dfsg/src/strutil.c:190:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len_a=strlen(a);
data/slrn-1.0.3+dfsg/src/strutil.c:191:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len_b=strlen(b);
data/slrn-1.0.3+dfsg/src/strutil.c:217:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (dest, src, n);
data/slrn-1.0.3+dfsg/src/strutil.c:260: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).
   return slrn_strnmalloc (s, strlen (s), do_error);
data/slrn-1.0.3+dfsg/src/strutil.c:316: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).
   len_a = (amax == NULL) ? strlen (a) : (unsigned int)(amax - a);
data/slrn-1.0.3+dfsg/src/strutil.c:317: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).
   len_b = (bmax == NULL) ? strlen (b) : (unsigned int)(bmax - b);
data/slrn-1.0.3+dfsg/src/strutil.c:322: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_s = strlen (s);
data/slrn-1.0.3+dfsg/src/strutil.c:329:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (c, a, len_a);
data/slrn-1.0.3+dfsg/src/strutil.c:332:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (c+len_a+len_s, b, len_b);
data/slrn-1.0.3+dfsg/src/util.c:61: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).
     return strlen (str);
data/slrn-1.0.3+dfsg/src/util.c:70: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).
     smax = s + strlen (s);
data/slrn-1.0.3+dfsg/src/util.c:137: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).
   outlen = strlen (inpath) + 1;
data/slrn-1.0.3+dfsg/src/util.c:152:9:  [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 (outpath, inpath, 1);
data/slrn-1.0.3+dfsg/src/util.c:196:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (file) + strlen (ext) < n)
data/slrn-1.0.3+dfsg/src/util.c:196: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).
   if (strlen (file) + strlen (ext) < n)
data/slrn-1.0.3+dfsg/src/util.c:206: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).
   len = strlen (path);
data/slrn-1.0.3+dfsg/src/util.c:243:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (name);
data/slrn-1.0.3+dfsg/src/util.c:246: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 (dir != NULL) len += strlen (dir);
data/slrn-1.0.3+dfsg/src/util.c:265:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       (strlen (convdir) < n))
data/slrn-1.0.3+dfsg/src/util.c:356: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).
   len = strlen (root);
data/slrn-1.0.3+dfsg/src/util.c:358: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).
   spool_group = SLmalloc (strlen (name) + len + 2);
data/slrn-1.0.3+dfsg/src/util.c:378: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).
   len = strlen (spool_group) + 9;
data/slrn-1.0.3+dfsg/src/util.c:537:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   while (EOF != (ch = getc (in)))
data/slrn-1.0.3+dfsg/src/util.c:579: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).
   unsigned int len = strlen(filename)+5;
data/slrn-1.0.3+dfsg/src/util.c:592: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 (suffix) + strlen (filename);
data/slrn-1.0.3+dfsg/src/util.c:592: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).
   len = 1 + strlen (suffix) + strlen (filename);
data/slrn-1.0.3+dfsg/src/version.c:99: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).
   len = strlen (title);
data/slrn-1.0.3+dfsg/src/version.c:102: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).
	unsigned int dlen = strlen (opts->name) + 2;
data/slrn-1.0.3+dfsg/src/vfile.c:203:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  nread = read(fd, bp, max);
data/slrn-1.0.3+dfsg/src/vmsmail.c:40: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).
   m->buflen = strlen(s);
data/slrn-1.0.3+dfsg/src/xover.c:240:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (buf, p, len);
data/slrn-1.0.3+dfsg/src/xover.c:278: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).
   len = strlen (subj) + strlen (from) + 2;
data/slrn-1.0.3+dfsg/src/xover.c:278: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).
   len = strlen (subj) + strlen (from) + 2;
data/slrn-1.0.3+dfsg/src/xover.c:284: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).
   buf += strlen (subj) + 1;
data/slrn-1.0.3+dfsg/src/xover.c:289: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).
   len = strlen (date) + strlen (msgid) + strlen (refs) + strlen (xref) + 4;
data/slrn-1.0.3+dfsg/src/xover.c:289: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).
   len = strlen (date) + strlen (msgid) + strlen (refs) + strlen (xref) + 4;
data/slrn-1.0.3+dfsg/src/xover.c:289: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).
   len = strlen (date) + strlen (msgid) + strlen (refs) + strlen (xref) + 4;
data/slrn-1.0.3+dfsg/src/xover.c:289: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).
   len = strlen (date) + strlen (msgid) + strlen (refs) + strlen (xref) + 4;
data/slrn-1.0.3+dfsg/src/xover.c:301: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).
   buf += strlen (date) + 1;
data/slrn-1.0.3+dfsg/src/xover.c:305: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).
   buf += strlen (msgid) + 1;
data/slrn-1.0.3+dfsg/src/xover.c:309: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).
   buf += strlen (refs) + 1;
data/slrn-1.0.3+dfsg/src/xover.c:345: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).
   len = strlen (hdr);
data/slrn-1.0.3+dfsg/src/xover.c:419: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).
				 (unsigned char *)h->msgid + strlen (h->msgid));
data/slrn-1.0.3+dfsg/src/xover.c:459: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 ((len = strlen (line)) && (line[len-1] == ':'))
data/slrn-1.0.3+dfsg/src/xover.c:554: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).
   len = strlen (hdr);
data/slrn-1.0.3+dfsg/src/xover.c:630:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (name) + strlen (value) + 2;
data/slrn-1.0.3+dfsg/src/xover.c:630: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).
	len = strlen (name) + strlen (value) + 2;
data/slrn-1.0.3+dfsg/src/xover.c:641: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).
	buf += strlen (name) + 1;
data/slrn-1.0.3+dfsg/src/xover.c:677: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).
   group_len = strlen (Slrn_Current_Group_Name);
data/slrn-1.0.3+dfsg/src/xover.c:732:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (line);

ANALYSIS SUMMARY:

Hits = 926
Lines analyzed = 53059 in approximately 1.15 seconds (46259 lines/second)
Physical Source Lines of Code (SLOC) = 39805
Hits@level = [0] 125 [1] 359 [2] 410 [3]  33 [4] 114 [5]  10
Hits@level+ = [0+] 1051 [1+] 926 [2+] 567 [3+] 157 [4+] 124 [5+]  10
Hits/KSLOC@level+ = [0+] 26.4037 [1+] 23.2634 [2+] 14.2444 [3+] 3.94423 [4+] 3.11519 [5+] 0.251225
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.