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/wily-0.13.41/tools/python/wilymodule.c
Examining data/wily-0.13.41/tools/python/config.h
Examining data/wily-0.13.41/tools/old/edit/c.c
Examining data/wily-0.13.41/tools/old/edit/change.c
Examining data/wily-0.13.41/tools/old/edit/change.h
Examining data/wily-0.13.41/tools/old/edit/e.c
Examining data/wily-0.13.41/tools/old/edit/q.c
Examining data/wily-0.13.41/tools/old/edit/range.c
Examining data/wily-0.13.41/tools/old/edit/range.h
Examining data/wily-0.13.41/tools/old/edit/regexp.c
Examining data/wily-0.13.41/tools/old/edit/sam.c
Examining data/wily-0.13.41/tools/old/edit/sam.h
Examining data/wily-0.13.41/tools/old/edit/x.c
Examining data/wily-0.13.41/tools/old/reader/getmsg.c
Examining data/wily-0.13.41/tools/old/reader/headers.h
Examining data/wily-0.13.41/tools/old/reader/mail.c
Examining data/wily-0.13.41/tools/old/reader/mail.h
Examining data/wily-0.13.41/tools/old/reader/mbox.c
Examining data/wily-0.13.41/tools/old/reader/mbox.h
Examining data/wily-0.13.41/tools/old/reader/proto.h
Examining data/wily-0.13.41/tools/old/reader/reader.c
Examining data/wily-0.13.41/tools/old/reader/reader.h
Examining data/wily-0.13.41/tools/old/reader/utils.c
Examining data/wily-0.13.41/tools/old/reader/solaris.c
Examining data/wily-0.13.41/tools/old/sh/wcmd.c
Examining data/wily-0.13.41/tools/old/sh/rpc.c
Examining data/wily-0.13.41/tools/old/wilytoys/bold.c
Examining data/wily-0.13.41/tools/old/wilytoys/wcat.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/getmsg.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/headers.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader/mail.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/mail.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/mbox.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader/proto.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader/reader.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/reader.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader/utils.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/solaris.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/membuf.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader/membuf.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/getmsg.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/headers.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/mail.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/membuf.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/membuf.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/news.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/utils.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/news.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/solaris.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/proto.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/mailheaders.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/newsheaders.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/reader.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/post.c
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/post.h
Examining data/wily-0.13.41/tools/old/wilytoys/reader2/addr.c
Examining data/wily-0.13.41/tools/old/wilytoys/toys/bold.c
Examining data/wily-0.13.41/tools/old/wilytoys/toys/wcat.c
Examining data/wily-0.13.41/tools/quanstro/wattach.c
Examining data/wily-0.13.41/tools/quanstro/wcat.c
Examining data/wily-0.13.41/tools/quanstro/windows.c
Examining data/wily-0.13.41/tools/quanstro/wread.c
Examining data/wily-0.13.41/tools/quanstro/wreplace.c
Examining data/wily-0.13.41/tools/win/confdefs.h
Examining data/wily-0.13.41/tools/win/wgoto.c
Examining data/wily-0.13.41/tools/win/win.c
Examining data/wily-0.13.41/tools/win/wreplace.c
Examining data/wily-0.13.41/tools/shell/Wins.c
Examining data/wily-0.13.41/tools/shell/Wexec.c
Examining data/wily-0.13.41/tools/shell/Wgoto.c
Examining data/wily-0.13.41/tools/tcl/wily.c
Examining data/wily-0.13.41/tools/tcl/wtcl.c
Examining data/wily-0.13.41/tools/tcl/wtcl.h
Examining data/wily-0.13.41/tools/tcl/wtk.c
Examining data/wily-0.13.41/wily/mouse.c
Examining data/wily-0.13.41/wily/wily.c
Examining data/wily-0.13.41/wily/path.c
Examining data/wily-0.13.41/wily/data.c
Examining data/wily-0.13.41/wily/view.h
Examining data/wily-0.13.41/wily/text.c
Examining data/wily-0.13.41/wily/wily.h
Examining data/wily-0.13.41/wily/grow.c
Examining data/wily-0.13.41/wily/point.c
Examining data/wily-0.13.41/wily/sam.h
Examining data/wily-0.13.41/wily/proto.h
Examining data/wily-0.13.41/wily/tile2.h
Examining data/wily-0.13.41/wily/sam.c
Examining data/wily-0.13.41/wily/regexp.c
Examining data/wily-0.13.41/wily/text.h
Examining data/wily-0.13.41/wily/tag.c
Examining data/wily-0.13.41/wily/tile.h
Examining data/wily-0.13.41/wily/adjust.c
Examining data/wily-0.13.41/wily/global.c
Examining data/wily-0.13.41/wily/win.c
Examining data/wily-0.13.41/wily/cursor.c
Examining data/wily-0.13.41/wily/vgeom.c
Examining data/wily-0.13.41/wily/builtins.c
Examining data/wily-0.13.41/wily/select.c
Examining data/wily-0.13.41/wily/view.c
Examining data/wily-0.13.41/wily/util.c
Examining data/wily-0.13.41/wily/keyboard.c
Examining data/wily-0.13.41/wily/text2.c
Examining data/wily-0.13.41/wily/search.c
Examining data/wily-0.13.41/wily/include.c
Examining data/wily-0.13.41/wily/tagmatch.c
Examining data/wily-0.13.41/wily/env.c
Examining data/wily-0.13.41/wily/list.c
Examining data/wily-0.13.41/wily/const.h
Examining data/wily-0.13.41/wily/tile.c
Examining data/wily-0.13.41/wily/col.c
Examining data/wily-0.13.41/wily/dir.c
Examining data/wily-0.13.41/wily/vsearch.c
Examining data/wily-0.13.41/wily/exec.c
Examining data/wily-0.13.41/wily/event.c
Examining data/wily-0.13.41/wily/place.c
Examining data/wily-0.13.41/wily/data.h
Examining data/wily-0.13.41/wily/msg.c
Examining data/wily-0.13.41/wily/vshow.c
Examining data/wily-0.13.41/wily/global.h
Examining data/wily-0.13.41/wily/file.c
Examining data/wily-0.13.41/wily/click.c
Examining data/wily-0.13.41/wily/scroll.c
Examining data/wily-0.13.41/wily/line.c
Examining data/wily-0.13.41/wily/label.c
Examining data/wily-0.13.41/wily/undo.c
Examining data/wily-0.13.41/wily/textpage.c
Examining data/wily-0.13.41/wily/tile2.c
Examining data/wily-0.13.41/wily/buffer.h
Examining data/wily-0.13.41/wily/buffer.c
Examining data/wily-0.13.41/Doc/tute/hello.c
Examining data/wily-0.13.41/include/msg.h
Examining data/wily-0.13.41/include/frame.h
Examining data/wily-0.13.41/include/libc.h
Examining data/wily-0.13.41/include/u.h
Examining data/wily-0.13.41/include/libg.h
Examining data/wily-0.13.41/libXg/Gwin.h
Examining data/wily-0.13.41/libXg/GwinP.h
Examining data/wily-0.13.41/libXg/arc.c
Examining data/wily-0.13.41/libXg/arith.c
Examining data/wily-0.13.41/libXg/balloc.c
Examining data/wily-0.13.41/libXg/bitblt.c
Examining data/wily-0.13.41/libXg/bitbltclip.c
Examining data/wily-0.13.41/libXg/border.c
Examining data/wily-0.13.41/libXg/bscreenrect.c
Examining data/wily-0.13.41/libXg/circle.c
Examining data/wily-0.13.41/libXg/clipline.c
Examining data/wily-0.13.41/libXg/clipr.c
Examining data/wily-0.13.41/libXg/copymasked.c
Examining data/wily-0.13.41/libXg/cursorset.c
Examining data/wily-0.13.41/libXg/cursorswitch.c
Examining data/wily-0.13.41/libXg/disc.c
Examining data/wily-0.13.41/libXg/ellipse.c
Examining data/wily-0.13.41/libXg/gcs.c
Examining data/wily-0.13.41/libXg/getrect.c
Examining data/wily-0.13.41/libXg/gwin.c
Examining data/wily-0.13.41/libXg/latin1.c
Examining data/wily-0.13.41/libXg/ldconvert.c
Examining data/wily-0.13.41/libXg/point.c
Examining data/wily-0.13.41/libXg/menuhit.c
Examining data/wily-0.13.41/libXg/mkfont.c
Examining data/wily-0.13.41/libXg/polysegment.c
Examining data/wily-0.13.41/libXg/rdbitmap.c
Examining data/wily-0.13.41/libXg/rdbitmapfile.c
Examining data/wily-0.13.41/libXg/rdfontfile.c
Examining data/wily-0.13.41/libXg/rectclip.c
Examining data/wily-0.13.41/libXg/segment.c
Examining data/wily-0.13.41/libXg/string.c
Examining data/wily-0.13.41/libXg/test.c
Examining data/wily-0.13.41/libXg/strwidth.c
Examining data/wily-0.13.41/libXg/texture.c
Examining data/wily-0.13.41/libXg/wrbitmap.c
Examining data/wily-0.13.41/libXg/wrbitmapfile.c
Examining data/wily-0.13.41/libXg/xtbinit.c
Examining data/wily-0.13.41/libXg/rune.c
Examining data/wily-0.13.41/libXg/font.c
Examining data/wily-0.13.41/libXg/libgint.h
Examining data/wily-0.13.41/libframe/frdelete.c
Examining data/wily-0.13.41/libframe/frinsert.c
Examining data/wily-0.13.41/libframe/frselect.c
Examining data/wily-0.13.41/libframe/frbox.c
Examining data/wily-0.13.41/libframe/frdraw.c
Examining data/wily-0.13.41/libframe/frinit.c
Examining data/wily-0.13.41/libframe/frptofchar.c
Examining data/wily-0.13.41/libframe/frstr.c
Examining data/wily-0.13.41/libframe/frutil.c
Examining data/wily-0.13.41/libframe/misc.c
Examining data/wily-0.13.41/acconfig.h
Examining data/wily-0.13.41/libmsg/msg.c
Examining data/wily-0.13.41/libmsg/rpc.c
Examining data/wily-0.13.41/libmsg/util.c
Examining data/wily-0.13.41/libmsg/connect.c

FINAL RESULTS:

data/wily-0.13.41/include/libc.h:7:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define	sprint				sprintf
data/wily-0.13.41/include/libc.h:14:21:  [4] (shell) execv:
  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	exec(a,b)			execv(a,b)
data/wily-0.13.41/include/u.h:40:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define Asprintf sprintf
data/wily-0.13.41/libXg/gwin.c:473: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(gw->gwin.selection, s);
data/wily-0.13.41/libXg/gwin.c:539: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(gw->gwin.selection, s);
data/wily-0.13.41/libXg/mkfont.c:27: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(font->name, cp);
data/wily-0.13.41/libXg/rdfontfile.c:62: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(fnt->name, name);
data/wily-0.13.41/libXg/rdfontfile.c:111:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(c->name, t);
data/wily-0.13.41/libframe/frbox.c:81:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy((char*)p, (char*)f->box[bn].a.ptr);
data/wily-0.13.41/libframe/frbox.c:120:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char*)b->a.ptr, (char*)runeindex(b->a.ptr, n));
data/wily-0.13.41/libframe/frbox.c:140:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char*)runeindex(b[0].a.ptr, b[0].nrune), (char*)b[1].a.ptr);
data/wily-0.13.41/libframe/misc.c:20:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, z, args);
data/wily-0.13.41/libframe/misc.c:37:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, fmt, args);
data/wily-0.13.41/libframe/misc.c:72: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(user, p->pw_name);
data/wily-0.13.41/libmsg/connect.c:176:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(buf, name);
data/wily-0.13.41/libmsg/connect.c:191:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s/wily%s%s", dir, pw->pw_name, disp);
data/wily-0.13.41/libmsg/connect.c:201:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s=%s", key, val);
data/wily-0.13.41/libmsg/msg.c:76: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+22, m->s?m->s:"");
data/wily-0.13.41/libmsg/rpc.c:189:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(buf, m.s);
data/wily-0.13.41/libmsg/rpc.c:297:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(h->err, m->s);
data/wily-0.13.41/libmsg/util.c:118: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, args);
data/wily-0.13.41/tools/old/edit/change.c:76:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tmpfilename, newtmpfile);
data/wily-0.13.41/tools/old/edit/sam.c:234:2:  [4] (buffer) scanf:
  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.
	scanf("%s%s%s%d%lu\n",origfile,origaddr,tmpfilename, &modified,&base);
data/wily-0.13.41/tools/old/edit/x.c:18:3:  [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.
		printf(fmt,q0,q1);
data/wily-0.13.41/tools/old/edit/x.c:30:4:  [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.
			printf(fmt,p0,q0);
data/wily-0.13.41/tools/old/edit/x.c:34:3:  [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.
		printf(fmt,p0,p1);
data/wily-0.13.41/tools/old/edit/x.c:43:3:  [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.
		printf(fmt,p0,p1);
data/wily-0.13.41/tools/old/edit/x.c:52:3:  [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.
		printf(fmt,p0,p1);
data/wily-0.13.41/tools/old/reader/mail.c:61:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(mboxname, argv[1]);
data/wily-0.13.41/tools/old/reader/mail.c:63:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(mboxname,"/var/mail/%s", getenv("USER"));
data/wily-0.13.41/tools/old/reader/mail.c:160:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(msgs[n],"%c%d %.*s%s %.*s%s", dc, n+1, lfrom, from->s0,
data/wily-0.13.41/tools/old/reader/mail.c:347:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: %.*sSubject: %s%.*s\n",
data/wily-0.13.41/tools/old/reader/mail.c:422:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: \nSubject: \n\n", me);
data/wily-0.13.41/tools/old/reader/mail.c:435:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd,"%s < %s", MTU, filename);
data/wily-0.13.41/tools/old/reader/mail.c:438:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(cmd);
data/wily-0.13.41/tools/old/reader/mbox.c:271:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(lockname,"%s.lock",mbox->name);
data/wily-0.13.41/tools/old/reader/mbox.c:272:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(newname,"%s.new",mbox->name);
data/wily-0.13.41/tools/old/reader/reader.c:242:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tag,"%s", tagstr);		/* XXX at the moment, we don't include the title */
data/wily-0.13.41/tools/old/reader/reader.c:270: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(w->body, text);
data/wily-0.13.41/tools/old/reader/reader.c:441:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0 + p1, w->body + p0);
data/wily-0.13.41/tools/old/reader/reader.c:443:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0, w->body + p1);
data/wily-0.13.41/tools/old/reader/utils.c:11: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(s,str);
data/wily-0.13.41/tools/old/sh/wcmd.c:29:2:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execvp(argv[0],argv);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:80:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(mboxname, argv[1]);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:89:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(mboxname,"%s/%s", SPOOLDIR, u);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:98:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s,"%s/mbox",h);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:201:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(msgs[n],"%c%d %.*s%s %.*s%s", dc, n+1, lfrom, from->s0,
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:221:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(title," %s/%d", mbox->name, n+1);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:433:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: %.*sSubject: %s%.*s\n",
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:509:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: \nSubject: \n\n", me);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:523:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd,"%s < %s", MTU, filename);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:525:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(cmd);
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:321:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(lockname,"%s.lock",mbox->name);
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:322:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(newname,"%s.new",mbox->name);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:253:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tag,"%s", tagstr);		/* XXX at the moment, we don't include the title */
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:282: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(w->body, text);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:548:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0 + p1, w->body + p0);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:550:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0, w->body + p1);
data/wily-0.13.41/tools/old/wilytoys/reader/solaris.c:71:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int readable = !access(filename, R_OK);
data/wily-0.13.41/tools/old/wilytoys/reader/solaris.c:72:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int exists = !access(filename, F_OK);
data/wily-0.13.41/tools/old/wilytoys/reader/utils.c:11: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(s,str);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:93:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(mboxname, argv[1]);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:102:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(mboxname,"%s/%s", SPOOLDIR, u);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:115:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s,"%s/mbox",h);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:262:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(msgs[n],"%c%d %.*s%s %.*s%s", dc, n+1, lfrom, fromstr,
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:289:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(title," %s/%d", mbox->name, n+1);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:548:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: %.*sSubject: %s%.*s%s\n",
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:659:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s\nTo: \nSubject: \n%s\n", me, version);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:683:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd,"%s < %s", MTU, filename);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:687:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(cmd);
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:384:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(lockname,"%s.lock",mbox->name);
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:385:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf(newname,"%s.new",mbox->name);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:234:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(grouplistitems[n],"%s %d articles", g->name, g->nunread);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:705:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(title,"%s/%d", g->name, artnum);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:32:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newsrcname,"%s/%s", h, NEWSRC);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:33:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newsrctmp,"%s/%s.tmp", h, NEWSRC);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:34:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newsrcold,"%s/%s.old", h, NEWSRC);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:35:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(lockname,"%s/%s", h, LOCKFILE);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:202:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(fp, fmt, g->name, g->issub? SUBSEP : NOSUBSEP);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:315:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(nntpText + nntpTextLen, s);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:334: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(cmdbuf,cmd);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:338:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(cmdbuf+l, s);
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:145:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body,"From: %s%s%s%s%s\nSubject: %s%s\n%s\n",
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:224:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd,"%s < %s", MTU, filename);
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:228:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(cmd);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:668:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0 + p1, w->body + p0);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:670:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newbuf + p0, w->body + p1);
data/wily-0.13.41/tools/old/wilytoys/reader2/solaris.c:81:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int readable = !access(filename, R_OK);
data/wily-0.13.41/tools/old/wilytoys/reader2/solaris.c:82:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int exists = !access(filename, F_OK);
data/wily-0.13.41/tools/old/wilytoys/reader2/utils.c:13: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(s,str);
data/wily-0.13.41/tools/old/wilytoys/toys/wcat.c:32: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(filename, file);
data/wily-0.13.41/tools/old/wilytoys/toys/wcat.c:36:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(filename,"%s/%s", cwd, file);
data/wily-0.13.41/tools/old/wilytoys/wcat.c:32: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(filename, file);
data/wily-0.13.41/tools/old/wilytoys/wcat.c:36:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(filename,"%s/%s", cwd, file);
data/wily-0.13.41/tools/quanstro/wcat.c:37: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(filename, file);
data/wily-0.13.41/tools/quanstro/wcat.c:46:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "+%s", title);
data/wily-0.13.41/tools/quanstro/wcat.c:49:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename,"%s/%s", cwd, file);
data/wily-0.13.41/tools/quanstro/wcat.c:71:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(winname, "+%s", title);
data/wily-0.13.41/tools/tcl/wily.c:470:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(interp->result, "WMexec\t%ld\t%s", (long)m.w, m.s) ;
data/wily-0.13.41/tools/tcl/wily.c:473:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(interp->result, "WMgoto\t%ld\t%ld\t%ld\t%s", (long)m.w, m.r.p0, m.r.p1, m.s) ;
data/wily-0.13.41/tools/tcl/wily.c:479:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(interp->result, "WMreplace\t%ld\t%ld\t%ld\t%s", (long)m.w, m.r.p0, m.r.p1, m.s) ;
data/wily-0.13.41/tools/win/wgoto.c:99: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/wily-0.13.41/tools/win/win.c:138: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/wily-0.13.41/tools/win/win.c:165: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(shell, path);
data/wily-0.13.41/tools/win/win.c:198: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(s, v[0]);
data/wily-0.13.41/tools/win/win.c:201:3:  [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(s, v[i]);
data/wily-0.13.41/tools/win/win.c:227:2:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execl(arg0, arg0, arg1, arg2, 0);
data/wily-0.13.41/tools/win/win.c:429:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tagname, "+%s", shorttagname);
data/wily-0.13.41/tools/win/win.c:515: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(cmd, m->s);
data/wily-0.13.41/tools/win/wreplace.c:126: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/wily-0.13.41/wily/dir.c:66:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s/", name);
data/wily-0.13.41/wily/env.c:46:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(dest,orig);
data/wily-0.13.41/wily/env.c:60:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(dest, "$%s", ab->env);
data/wily-0.13.41/wily/env.c:81:5:  [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(dest, lastslash);
data/wily-0.13.41/wily/env.c:98: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(old->env, env);
data/wily-0.13.41/wily/env.c:107: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(new->env, env);
data/wily-0.13.41/wily/event.c:229: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(s,l);
data/wily-0.13.41/wily/exec.c:65:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s %s", cmd, arg);
data/wily-0.13.41/wily/exec.c:245: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(dir,path);
data/wily-0.13.41/wily/exec.c:254:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "chdir(%s)", dir);
data/wily-0.13.41/wily/exec.c:261:2:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execl(shell, shell, "-c", cmd, 0);
data/wily-0.13.41/wily/exec.c:284:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "WILYLABEL=%s", label);
data/wily-0.13.41/wily/exec.c:286:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "WILYPATH=%s", path);
data/wily-0.13.41/wily/exec.c:288:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "w=%s", path);
data/wily-0.13.41/wily/file.c:107: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(d->cachedlabel, d->label);
data/wily-0.13.41/wily/file.c:138: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(d->cachedlabel, d->label);
data/wily-0.13.41/wily/file.c:170: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(d->cachedlabel, d->label);
data/wily-0.13.41/wily/file.c:203:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s %s | %s %s ", d->label, 
data/wily-0.13.41/wily/include.c:39:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(pbuf, "/usr/include/%s", buf+1);
data/wily-0.13.41/wily/include.c:85:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmp, "%.*s/%s", plen, p, file);
data/wily-0.13.41/wily/label.c:21: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(dest, DATALABEL(d));
data/wily-0.13.41/wily/label.c:34: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(d->label, s);
data/wily-0.13.41/wily/label.c:80:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(d->cachedlabel, d->label);
data/wily-0.13.41/wily/msg.c:141:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s %s", cmd, arg);
data/wily-0.13.41/wily/msg.c:171: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(d->label, label);
data/wily-0.13.41/wily/msg.c:209:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(ptr, "%s\t%d\n", path, d->id);
data/wily-0.13.41/wily/path.c:22: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(key,orig+1);
data/wily-0.13.41/wily/path.c:30:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(dest, "%s%s", val, slash? slash: "");
data/wily-0.13.41/wily/path.c:32:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(dest, orig);
data/wily-0.13.41/wily/path.c:40:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(path,wilydir);
data/wily-0.13.41/wily/path.c:46:12:  [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).
	case '/':	strcpy(path, label); break;
data/wily-0.13.41/wily/path.c:47:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	default:	sprintf(path, "%s%s", wilydir, label); break;
data/wily-0.13.41/wily/tag.c:78:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s ", s);
data/wily-0.13.41/wily/tag.c:105:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s ", s);
data/wily-0.13.41/wily/util.c:22:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(dest,add);
data/wily-0.13.41/wily/util.c:25: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(dest, context);
data/wily-0.13.41/wily/util.c:32: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(s+1,add);
data/wily-0.13.41/wily/util.c:98:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(dir, "%s/.wilybak", home);
data/wily-0.13.41/wily/util.c:100:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(dir, home);
data/wily-0.13.41/wily/util.c:104:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(dir, W_OK) &&  (mkdir(dir, 0700)) )
data/wily-0.13.41/wily/util.c:122:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(back, "%s/%d", dir, max);
data/wily-0.13.41/wily/util.c:126:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(guide,"%s/guide", dir);
data/wily-0.13.41/wily/util.c:127:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(guide, W_OK) < 0)
data/wily-0.13.41/wily/util.c:151: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(errwin, context? context : wilydir);
data/wily-0.13.41/wily/util.c:232: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(s, item[current]);
data/wily-0.13.41/wily/util.c:282:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(msg, "diag: %s: ", err);
data/wily-0.13.41/wily/util.c:286:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(s, fmt, args);
data/wily-0.13.41/wily/util.c:337: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, args);
data/wily-0.13.41/wily/util.c:349: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, args);
data/wily-0.13.41/wily/vsearch.c:169: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(s,a);		/* BUG - fails horribly if 'a' is large */
data/wily-0.13.41/wily/wily.c:49:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(p, "%s/%s", getenv("HOME"), ".wilytools");
data/wily-0.13.41/wily/wily.c:56:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(t, wilytools);
data/wily-0.13.41/wily/wily.c:57:3:  [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(t, s);
data/wily-0.13.41/libmsg/connect.c:109:2:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	tmpnam(addr.sun_path);
data/wily-0.13.41/libmsg/connect.c:175: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.
	if ((name = getenv(WILYFIFO))){
data/wily-0.13.41/libmsg/connect.c:184: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.
	if(!(disp = getenv("DISPLAY"))) {
data/wily-0.13.41/libmsg/connect.c:188: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.
	if(!(dir = getenv("TMPDIR"))) {
data/wily-0.13.41/tools/old/edit/change.c:43:3:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
		tmpnam(newtmpfile);
data/wily-0.13.41/tools/old/edit/e.c:35:3:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	 tmpnam(tmpfilename);
data/wily-0.13.41/tools/old/edit/e.c:127:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc,	argv, "d")) != EOF){
data/wily-0.13.41/tools/old/edit/q.c:109:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc,	argv, "d")) != EOF){
data/wily-0.13.41/tools/old/reader/mail.c:63:36:  [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.
		sprintf(mboxname,"/var/mail/%s", getenv("USER"));
data/wily-0.13.41/tools/old/reader/mail.c:337: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/reader/mail.c:372:19:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	char *filename = tmpnam((char *)0);
data/wily-0.13.41/tools/old/reader/mail.c:417: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/sh/rpc.c:19: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.
	fdenv = getenv("WILYFD");
data/wily-0.13.41/tools/old/wilytoys/bold.c:38:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "ib")) != EOF) {
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:83: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.
		char *u = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:91: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.
	savefile = getenv(SAVEFILE_ENV);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:95: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.
		if ((h = getenv("HOME")) == 0 || !*h)
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:423: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:459:19:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	char *filename = tmpnam((char *)0);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:504: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:96: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.
		char *u = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:108: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.
	savefile = getenv(SAVEFILE_ENV);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:112: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.
		if ((h = getenv("HOME")) == 0 || !*h)
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:530: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:585:19:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	char *filename = tmpnam((char *)0);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:650: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.
	char *me = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:26: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.
	char *h = getenv("HOME");
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:127:15:  [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 *host = getenv("NNTPSERVER");
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:121: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.
	char *me = getenv(FROMENV);
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:137:8:  [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.
		me = getenv("USER");
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:182:19:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	char *filename = tmpnam((char *)0);
data/wily-0.13.41/tools/old/wilytoys/toys/bold.c:38:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "ib")) != EOF) {
data/wily-0.13.41/tools/win/wgoto.c:48:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "v")) != -1) {
data/wily-0.13.41/tools/win/win.c:94:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "vt:")) != -1) {
data/wily-0.13.41/tools/win/win.c:155:9:  [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.
	path = getenv("SHELL");
data/wily-0.13.41/tools/win/wreplace.c:52:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "vcb")) != -1) {
data/wily-0.13.41/wily/exec.c:35: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.
	historyfile = getenv("HISTORY");
data/wily-0.13.41/wily/exec.c:37: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.
		historyfile = getenv("history");
data/wily-0.13.41/wily/exec.c:39: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.
	shell =  getenv("SHELL");
data/wily-0.13.41/wily/include.c:37:15:  [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.
	s = pathfind(getenv("INCLUDES"),  buf+1);
data/wily-0.13.41/wily/path.c:44:32:  [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.
	case '$':	expand(path, label, getenv); break;
data/wily-0.13.41/wily/text2.c:139:15:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	char	*file = tmpnam(0);
data/wily-0.13.41/wily/util.c:94: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.
	if ( !(home=getenv("WILYBAK")) ) {
data/wily-0.13.41/wily/util.c:95:15:  [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 ( !(home=getenv("HOME")) ) {
data/wily-0.13.41/wily/wily.c:45: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.
	if ((s = getenv("WILYTOOLS")))
data/wily-0.13.41/wily/wily.c:49: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.
		sprintf(p, "%s/%s", getenv("HOME"), ".wilytools");
data/wily-0.13.41/wily/wily.c:53:9:  [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 ((s=getenv("WCOLTAG")))
data/wily-0.13.41/wily/wily.c:55:9:  [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 ((s=getenv("WMAINTAG"))) {
data/wily-0.13.41/wily/wily.c:60:9:  [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 ((s=getenv("WFILETAG")))
data/wily-0.13.41/wily/wily.c:62:9:  [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 ((s=getenv("WDIRTAG")))
data/wily-0.13.41/wily/wily.c:86:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "c:a:e:")) != EOF) {
data/wily-0.13.41/include/libg.h:60:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	clr[2*16];
data/wily-0.13.41/include/libg.h:61:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	set[2*16];
data/wily-0.13.41/include/libg.h:131:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	data[EMAXMSG];	/* message from an arbitrary file descriptor */
data/wily-0.13.41/libXg/gwin.c:172:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static unsigned char compose[5];
data/wily-0.13.41/libXg/gwin.c:407:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(s, (char *)val, n);
data/wily-0.13.41/libXg/latin1.c:6:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	c[2];
data/wily-0.13.41/libXg/rdbitmap.c:56:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((char *)data, tdata, l);
data/wily-0.13.41/libXg/rdbitmapfile.c:11: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 hdr[5*12+1];
data/wily-0.13.41/libXg/rdbitmapfile.c:22:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	ld = atoi(hdr+0*12);
data/wily-0.13.41/libXg/rdbitmapfile.c:23: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).
	r.min.x = atoi(hdr+1*12);
data/wily-0.13.41/libXg/rdbitmapfile.c:24: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).
	r.min.y = atoi(hdr+2*12);
data/wily-0.13.41/libXg/rdbitmapfile.c:25: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).
	r.max.x = atoi(hdr+3*12);
data/wily-0.13.41/libXg/rdbitmapfile.c:26: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).
	r.max.y = atoi(hdr+4*12);
data/wily-0.13.41/libXg/rdfontfile.c:27: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(name, O_RDONLY);
data/wily-0.13.41/libXg/rune.c:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[10];
data/wily-0.13.41/libXg/test.c:45: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 *p, buf[200];
data/wily-0.13.41/libXg/wrbitmap.c:40:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*)tdata, (void*)data, l);
data/wily-0.13.41/libXg/wrbitmapfile.c:11: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 hdr[5*12+1];
data/wily-0.13.41/libXg/xtbinit.c:59:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	buf[2];
data/wily-0.13.41/libXg/xtbinit.c:279:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*)eb->buf, (void*)&lastmouse, sizeof lastmouse);
data/wily-0.13.41/libXg/xtbinit.c:314: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((void*)eb->buf, (void*)&m, sizeof m);
data/wily-0.13.41/libXg/xtbinit.c:738: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((void*)e->data, (void*)eb->buf, e->n);
data/wily-0.13.41/libXg/xtbinit.c:777: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((void*)&m, (void*)eb->buf, sizeof(Mouse));
data/wily-0.13.41/libframe/frinsert.c:17: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 *s, tmp[TMPSIZE+3];	/* +3 for rune overflow */
data/wily-0.13.41/libframe/misc.c:17: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[2048];			/* pick reasonable blocksize */
data/wily-0.13.41/libframe/misc.c:32: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[2048];			/* pick reasonable blocksize */
data/wily-0.13.41/libframe/misc.c:95:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		return memcpy(a1, a2, n);
data/wily-0.13.41/libframe/misc.c:105:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		return memcpy(a1, a2, n);
data/wily-0.13.41/libmsg/connect.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	name[MAXPATHLEN];
data/wily-0.13.41/libmsg/connect.c:42: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(name, O_RDONLY|O_NONBLOCK);
data/wily-0.13.41/libmsg/connect.c:49:6:  [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 (open(name, O_WRONLY) < 0) {
data/wily-0.13.41/libmsg/connect.c:75:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	name[MAXPATHLEN];
data/wily-0.13.41/libmsg/connect.c:79:9:  [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).
	return open(name, O_WRONLY);
data/wily-0.13.41/libmsg/connect.c:154: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(addr.sun_path, addrname, n);
data/wily-0.13.41/libmsg/rpc.c:41: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	err[MAXERRMSG];
data/wily-0.13.41/tools/old/edit/change.c:12: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 newtmpfile[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/change.c:44:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((tmpfp = fopen(newtmpfile,"w")) == 0) {
data/wily-0.13.41/tools/old/edit/e.c:17: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 tmpfilename[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/e.c:40:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(tmpfilename,"w")) == 0) {
data/wily-0.13.41/tools/old/edit/e.c:84: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	envbuf[300];
data/wily-0.13.41/tools/old/edit/e.c:102: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[BUFSIZ];
data/wily-0.13.41/tools/old/edit/e.c:121: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[BUFSIZ];
data/wily-0.13.41/tools/old/edit/q.c:35: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).
	if (!fp && (fp = fopen(tmpfilename,"r")) == 0) {
data/wily-0.13.41/tools/old/edit/q.c:82: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	envbuf[300];
data/wily-0.13.41/tools/old/edit/q.c:103: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[BUFSIZ];
data/wily-0.13.41/tools/old/edit/range.c:31: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[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/range.h:24: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.
extern char origfile[FILENAME_MAX+1],  origaddr[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/range.h:25: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.
extern char tmpfilename[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/regexp.c:241: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[100];
data/wily-0.13.41/tools/old/edit/sam.c:20: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 origfile[FILENAME_MAX+1],  origaddr[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/sam.c:21: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 tmpfilename[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/edit/sam.c:56:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename,"r")) == 0) {
data/wily-0.13.41/tools/old/edit/sam.c:113: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(r,f->getcbuf+p0, n*sizeof(Rune));
data/wily-0.13.41/tools/old/edit/sam.c:197: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(s0->s, s1->s, n);
data/wily-0.13.41/tools/old/edit/sam.c:232: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 ranges[FILENAME_MAX];
data/wily-0.13.41/tools/old/reader/mail.c:38: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 mboxname[FILENAME_MAX];
data/wily-0.13.41/tools/old/reader/mail.c:170: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 title[300];
data/wily-0.13.41/tools/old/reader/mail.c:182: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(title," Mail/%d/%.*s ",n+1, from->s1 - from->s0, from->s0);
data/wily-0.13.41/tools/old/reader/mail.c:189:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(text, body->s0, len);
data/wily-0.13.41/tools/old/reader/mail.c:333: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/reader/mail.c:416: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/reader/mail.c:430: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 cmd[100];		/* XXX another guess */
data/wily-0.13.41/tools/old/reader/mail.c:465:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(savefile,"a")) == 0) {
data/wily-0.13.41/tools/old/reader/mail.c:520: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).
		if ((msgnum = atoi(arg)) == 0) {
data/wily-0.13.41/tools/old/reader/mbox.c:260: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 lockname[FILENAME_MAX+1], newname[FILENAME_MAX+1];
data/wily-0.13.41/tools/old/reader/mbox.c:285: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).
	if ((fd = open(newname,O_RDWR|O_CREAT|O_TRUNC)) < 0 ||
data/wily-0.13.41/tools/old/reader/mbox.c:299: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[COPYSIZE];
data/wily-0.13.41/tools/old/reader/mbox.c:300: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 ((fd2 = open(mbox->name,O_RDONLY)) < 0 ||
data/wily-0.13.41/tools/old/reader/reader.c:238: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 tag[300];			/* XXX guess */
data/wily-0.13.41/tools/old/reader/reader.c:469: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 addr[80];			/* XXX - overkill */
data/wily-0.13.41/tools/old/reader/reader.c:474: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(addr,"#%lu,#%lu", i->p0, i->p1);
data/wily-0.13.41/tools/old/reader/reader.c:663:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename, "w"))) {
data/wily-0.13.41/tools/old/reader/solaris.c:22:11:  [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).
	int fd = open(mbox->name,mode);
data/wily-0.13.41/tools/old/reader/solaris.c:54: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(mbox->name,mode);
data/wily-0.13.41/tools/old/sh/rpc.c:24:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	fd = atoi(fdenv);
data/wily-0.13.41/tools/old/sh/wcmd.c:12: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[1024];
data/wily-0.13.41/tools/old/sh/wcmd.c:21: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,"WILYFD=%d", fd);
data/wily-0.13.41/tools/old/wilytoys/bold.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[4], *s = str;
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:33: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 mboxname[MAXPATHLEN];
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[MAXPATHLEN];
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:211: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 title[300];			/* XXX standard silly guess */
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:242:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(text, body->s0, len);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:254:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(p, h->name.s0, l);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:260:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(p, body->s0, len);
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:419: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:503: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:518: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 cmd[100];		/* XXX another guess */
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:553:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(savefile,"a")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader/mail.c:617: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).
		if ((msgnum = atoi(arg)) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:310: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 lockname[MAXPATHLEN+1], newname[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:335: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).
	if ((fd = open(newname,O_RDWR|O_CREAT|O_TRUNC)) < 0 ||
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:349: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[COPYSIZE];
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:350: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 ((fd2 = open(mbox->name,O_RDONLY)) < 0 ||
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:249: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 tag[300];			/* XXX guess */
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:585: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 addr[80];			/* XXX - overkill */
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:602: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(addr,"#%lu,#%lu", p0, p1);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:788:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename, "w"))) {
data/wily-0.13.41/tools/old/wilytoys/reader/solaris.c:22: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(mbox->name,mode);
data/wily-0.13.41/tools/old/wilytoys/reader2/addr.c:38: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 copy[MAXFROMLINE+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:32: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 mboxname[MAXPATHLEN];
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[MAXPATHLEN];
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:272: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 title[300];			/* XXX standard silly guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:312:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(text, body->s0, len);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:324:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(p, h->name.s0, l);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:330:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(p, body->s0, len);
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:526: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:649: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:671: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 cmd[100];		/* XXX another guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:730:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(savefile,"a")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:803: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).
		if ((msgnum = atoi(arg)) < 1) {
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:367: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 lockname[MAXPATHLEN+1], newname[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:404: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).
	if ((fd = open(newname,O_RDWR|O_CREAT|O_TRUNC,st.st_mode)) < 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:422: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[COPYSIZE];
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:424: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 ((fd2 = open(mbox->name,O_RDONLY)) < 0 ||
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:182:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(g->items[i],"%c%-5d %.*s %.*s", a->read? 'R' : ' ',
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:692: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 title[200];			/* XXX standard guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:16: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 newsrcname[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:17: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 newsrctmp[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:18: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 newsrcold[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:19: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 lockname[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:55:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(newsrcname,"r")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:126: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 str[MAXPATHLEN+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:167: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 num[80];			/* XXX wild guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:172:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	r->n0 = r->n1 = atoi(num);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:176:10:  [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).
		r->n1= atoi(num);
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:195:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(newsrctmp,"w")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:76: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 nntpBuf[BUFSIZ];
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:79: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 nntpRespLine[NNTPMAXRESP+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:80: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 *nntpRespWords[NNTPMAXPARAMS];
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:173: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 *)&saddr.sin_addr, haddr, h_len);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:296: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).
	nntpStatus = atoi(nntpRespWords[0]);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:328: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 cmdbuf[512];
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:397: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).
	g->first = atoi(first);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:398: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).
	g->last = atoi(last);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:432:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		currartnum = g->first = atoi(nntpRespWords[2]);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:433: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).
		g->last = atoi(nntpRespWords[3]);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:492: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 range[80];		/* XXX - more guesses */
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:494: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(range,"%d-%d", g->first, g->last);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:519: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).
		*n = atoi(num);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:558: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 arg[80];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:565: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(arg,"%d", a->num);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:608:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename,"r")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:648: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 text[NNTPMAXRESP+1];
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:670:3:  [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(text,"..\r\n");
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:29: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).
	else if (arg && *arg && (n = atoi(arg)) && (n = artnumToItem(g,n)) != -1)
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:120: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 body[300];		/* XXX */
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:212: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 cmd[100];		/* XXX another guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:270:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(savefile,"a")) == 0) {
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:324: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).
		if ((msgnum = atoi(arg)) < 1) {
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:133: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 title[30];			/* XXX - usual guess */
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:135: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(title,"+rdwin%d-%d", pid, num++);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:720: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 addr[80];			/* XXX - overkill */
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:738: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(addr,"#%lu,#%lu", p0, p1);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:962:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename, "w"))) {
data/wily-0.13.41/tools/old/wilytoys/reader2/solaris.c:21: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(mbox->name,mode);
data/wily-0.13.41/tools/old/wilytoys/toys/bold.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[4], *s = str;
data/wily-0.13.41/tools/old/wilytoys/toys/wcat.c:19: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 cwd[BUFSIZ+1], filename[BUFSIZ];
data/wily-0.13.41/tools/old/wilytoys/toys/wcat.c:40:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(filename,"+stdin-%d",getpid());
data/wily-0.13.41/tools/old/wilytoys/wcat.c:19: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 cwd[BUFSIZ+1], filename[BUFSIZ];
data/wily-0.13.41/tools/old/wilytoys/wcat.c:40:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(filename,"+stdin-%d",getpid());
data/wily-0.13.41/tools/quanstro/wcat.c:31: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 filename[PATH_MAX+1];
data/wily-0.13.41/tools/quanstro/wcat.c:32: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 cwd[PATH_MAX+1];
data/wily-0.13.41/tools/quanstro/wcat.c:60: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 block[BLOCK];
data/wily-0.13.41/tools/quanstro/wcat.c:61: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 winname[50];
data/wily-0.13.41/tools/quanstro/wcat.c:69:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(winname,"+stdin-%d",getpid());
data/wily-0.13.41/tools/quanstro/wread.c:33: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[UTFmax * BLOCK];
data/wily-0.13.41/tools/quanstro/wreplace.c:30:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char block[BLOCK];
data/wily-0.13.41/tools/quanstro/wreplace.c:114:8:  [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).
			f = open(*v, 0, 0666);
data/wily-0.13.41/tools/shell/Wexec.c:28:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(idstr);
data/wily-0.13.41/tools/shell/Wgoto.c:30:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(idstr);
data/wily-0.13.41/tools/tcl/wily.c:221: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(interp->result, "%ld", (long)id) ;
data/wily-0.13.41/tools/tcl/wily.c:410: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(interp->result, "%ld %ld %ld", (long)id, (long)r.p0, (long)r.p1) ;
data/wily-0.13.41/tools/tcl/wily.c:434: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(interp->result, "%ld", (long)r.p0) ;
data/wily-0.13.41/tools/tcl/wily.c:476:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(interp->result, "WMdestory\t%ld", (long)m.w) ;
data/wily-0.13.41/tools/win/win.c:442: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[BUFSIZ + 1];
data/wily-0.13.41/tools/win/win.c:603: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[100];
data/wily-0.13.41/tools/win/win.c:605: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, ":#%lu", outputpoint);
data/wily-0.13.41/tools/win/win.c:687: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).
		master = open("/dev/ptmx", O_RDWR);
data/wily-0.13.41/tools/win/win.c:724:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(name, "/dev/pty%c%c", *c1, *c2);
data/wily-0.13.41/tools/win/win.c:725: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).
				master = open(name, O_RDWR);
data/wily-0.13.41/tools/win/win.c:735:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(name, "/dev/tty%c%c", *c1, *c2);
data/wily-0.13.41/tools/win/win.c:750:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	slave = open(slavename, O_RDWR);
data/wily-0.13.41/tools/win/wreplace.c:158: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(filename, address, len);
data/wily-0.13.41/wily/data.c:77:11:  [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(path,O_RDWR|O_CREAT|O_TRUNC, 0666))<0){
data/wily-0.13.41/wily/exec.c:274: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(historyfile, "a");
data/wily-0.13.41/wily/exec.c:317:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	} else if ((fdin = open("/dev/null", O_RDONLY, 0)) < 0) {
data/wily-0.13.41/wily/file.c:163:11:  [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(path, O_RDONLY)) == -1) {
data/wily-0.13.41/wily/include.c:86: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(tmp, 0)) < 0) {
data/wily-0.13.41/wily/msg.c:50: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(m->buf + m->n, s, n);
data/wily-0.13.41/wily/regexp.c:250: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[100];
data/wily-0.13.41/wily/sam.c:70: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(s0->s, s1->s, n);
data/wily-0.13.41/wily/sam.c:181: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(str.s, re.r0, RSLEN(re)*sizeof(Rune));
data/wily-0.13.41/wily/search.c:163:19:  [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).
		r->p0 = r->p1 = atol(addr + 1);
data/wily-0.13.41/wily/search.c:176:30:  [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).
		return text_findline(t, r, atol(addr));
data/wily-0.13.41/wily/tagmatch.c:85: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(filename, O_RDONLY);
data/wily-0.13.41/wily/text.c:59: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[BUFFERSIZE];
data/wily-0.13.41/wily/text.c:89:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buf, buf + desired - offset, offset);
data/wily-0.13.41/wily/text.c:106: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[BUFFERSIZE+UTFmax];
data/wily-0.13.41/wily/text.c:166:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, t->text +b.p0, bsize*sizeof(Rune));
data/wily-0.13.41/wily/text.c:168:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, t->text + a.p0, RLEN(a)*sizeof(Rune));
data/wily-0.13.41/wily/text.c:212:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(t->text + t->gap.p0, s.r0, rslen*sizeof(Rune));
data/wily-0.13.41/wily/text2.c:118:11:  [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(fname,O_RDWR|O_CREAT|O_TRUNC, 0666))<0){
data/wily-0.13.41/wily/text2.c:143: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).
	if ((fd = open(file, O_WRONLY|O_CREAT, 0600)) < 0) {
data/wily-0.13.41/wily/text2.c:150:15:  [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 ((input = open(file, O_RDONLY)) < 0) {
data/wily-0.13.41/wily/textpage.c:23: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[RUNES_PER_PAGE];
data/wily-0.13.41/wily/textpage.c:38:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buf, buf + nconverted, leftover);
data/wily-0.13.41/wily/textpage.c:202: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(r, before.r0, len*sizeof(Rune));
data/wily-0.13.41/wily/textpage.c:206: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(r, after.r0, len*sizeof(Rune));
data/wily-0.13.41/wily/undo.c:219:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf + rlen, u->s.r0, slen*sizeof(Rune));
data/wily-0.13.41/wily/util.c:116: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).
		if ( (n=atoi(direntp->d_name)) > max)
data/wily-0.13.41/wily/util.c:129: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(guide, "a+");
data/wily-0.13.41/wily/util.c:156: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(s, "+Errors");
data/wily-0.13.41/wily/view.c:18:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, " :%d,.", text_linenumber(v->t, v->sel.p0));
data/wily-0.13.41/wily/view.c:21:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, " :#%lu,.", v->sel.p0);
data/wily-0.13.41/wily/wily.c:88:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		case 'c':	ncolumns = atoi(optarg); break;
data/wily-0.13.41/wily/wily.c:89:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		case 'a':	tabsize = atoi(optarg); break;
data/wily-0.13.41/wily/wily.h:22: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.
typedef char	Path[MAXPATH];
data/wily-0.13.41/wily/win.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	buf[80];
data/wily-0.13.41/include/frame.h:73: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).
#define	NBYTE(b)	strlen((char*)(b)->a.ptr)
data/wily-0.13.41/libXg/gwin.c:428: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).
		*anslen = strlen(*ans);
data/wily-0.13.41/libXg/gwin.c:435: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).
		src.size = strlen(src.addr)+1;
data/wily-0.13.41/libXg/gwin.c:472: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).
	gw->gwin.selection = XtMalloc(strlen(s)+1);
data/wily-0.13.41/libXg/gwin.c:538: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).
	gw->gwin.selection = XtMalloc(strlen(s)+1);
data/wily-0.13.41/libXg/mkfont.c:22: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).
	font->name = (char *)malloc(strlen(cp)+1);
data/wily-0.13.41/libXg/rdbitmapfile.c:20:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(read(fd, hdr, 5*12)!=5*12)
data/wily-0.13.41/libXg/rdbitmapfile.c:54:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(read(fd, data, n) != n){
data/wily-0.13.41/libXg/rdfontfile.c:40:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	i = read(fd, buf, sbuf.st_size);
data/wily-0.13.41/libXg/rdfontfile.c:54: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).
	fnt->name = (char *)malloc(strlen(name)+1);
data/wily-0.13.41/libXg/rdfontfile.c:105: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).
		c->name = (char *)malloc(strlen(t)+1);
data/wily-0.13.41/libXg/xtbinit.c:235: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).
	src.size = strlen((char *)src.addr)+1;
data/wily-0.13.41/libXg/xtbinit.c:335:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read(*pfd, (char *)eb->buf, es->size);
data/wily-0.13.41/libXg/xtbinit.c:916: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).
		return strlen(*t);
data/wily-0.13.41/libframe/misc.c:21: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).
	write(fd, buf, strlen(buf));
data/wily-0.13.41/libframe/misc.c:38: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).
	write(fd, buf, strlen(buf));
data/wily-0.13.41/libframe/misc.c:56:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, strerror(errno), ERRLEN);
data/wily-0.13.41/libframe/misc.c:70: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).
			user = malloc(strlen(p->pw_name)+1);
data/wily-0.13.41/libmsg/connect.c:111: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(addr.sun_path);
data/wily-0.13.41/libmsg/connect.c:200: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).
	buf = salloc(strlen(key) + strlen(val) + 2);
data/wily-0.13.41/libmsg/connect.c:200: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).
	buf = salloc(strlen(key) + strlen(val) + 2);
data/wily-0.13.41/libmsg/msg.c:55: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).
	return HEADERSIZE + 1 + (m->s? strlen(m->s) : 0);
data/wily-0.13.41/libmsg/rpc.c:19:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int	read,write;
data/wily-0.13.41/libmsg/rpc.c:338:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((nread = read(h->fd, h->buf + h->n, h->alloced - h->n)) < 1)
data/wily-0.13.41/libmsg/rpc.c:412:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (q->write +1) % Qmax == q->read;
data/wily-0.13.41/libmsg/rpc.c:418:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return q->write == q->read;
data/wily-0.13.41/libmsg/rpc.c:428:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	m = q->msg[q->read];
data/wily-0.13.41/tools/old/edit/c.c:19:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(utfarg);
data/wily-0.13.41/tools/old/edit/e.c:39: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 = s + strlen(s);
data/wily-0.13.41/tools/old/edit/e.c:107:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fromwily,buf,BUFSIZ);
data/wily-0.13.41/tools/old/edit/sam.c:127: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).
	int l = strlen(re);
data/wily-0.13.41/tools/old/edit/sam.c:136: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).
	str.s[utftotext(str.s, re, re+strlen(re))] = 0;
data/wily-0.13.41/tools/old/edit/x.c:64: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 (argc < 2 || *(re = argv[1]) != '/'  || (len = strlen(re)) < 2) {
data/wily-0.13.41/tools/old/reader/mbox.c:162: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).
	a.s1 = s + strlen(s);
data/wily-0.13.41/tools/old/reader/mbox.c:305:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((l = read(fd2,buf,COPYSIZE)) > 0)
data/wily-0.13.41/tools/old/reader/mbox.h:36:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;	/* if has been read */
data/wily-0.13.41/tools/old/reader/reader.c:178: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).
	ulong len, seplen = strlen(sep);
data/wily-0.13.41/tools/old/reader/reader.c:184: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(items[n]) + seplen;
data/wily-0.13.41/tools/old/reader/reader.c:191: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(*items);
data/wily-0.13.41/tools/old/reader/reader.c:245: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).
	w->taglen = strlen(tag);
data/wily-0.13.41/tools/old/reader/reader.c:264: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).
		int l = strlen(text);
data/wily-0.13.41/tools/old/reader/reader.c:394: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).
	int l = strlen(str);
data/wily-0.13.41/tools/old/reader/reader.c:438:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(newbuf, w->body, p0);
data/wily-0.13.41/tools/old/reader/reader.c:440:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(newbuf + p0, str, p1);
data/wily-0.13.41/tools/old/reader/reader.c:688: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).
	size_t nlen, plen = strlen(prefix);
data/wily-0.13.41/tools/old/reader/reader.c:716:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf,prefix,plen);
data/wily-0.13.41/tools/old/reader/utils.c:10: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).
	char *s = salloc(strlen(str)+1);
data/wily-0.13.41/tools/old/wilytoys/bold.c:46:14:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getchar()) != EOF) {
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:199: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).
	a.s1 = s + strlen(s);
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.c:355:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((l = read(fd2,buf,COPYSIZE)) > 0)
data/wily-0.13.41/tools/old/wilytoys/reader/mbox.h:36:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;	/* if has been read */
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:189: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).
	ulong len, seplen = strlen(sep);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:195: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(items[n]) + seplen;
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:202: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(*items);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:256: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).
	w->taglen = strlen(tag);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:276: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).
		int l = strlen(text);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:401: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 = (int)strlen(text);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:414: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(sep);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:428: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).
	int len, oldlen, newlen = strlen(text);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:443: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).
	newlen += strlen(sep);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:501: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).
	int l = strlen(str);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:545:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(newbuf, w->body, p0);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:547:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(newbuf + p0, str, p1);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:846: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).
	size_t nlen, plen = strlen(prefix);
data/wily-0.13.41/tools/old/wilytoys/reader/reader.c:874:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf,prefix,plen);
data/wily-0.13.41/tools/old/wilytoys/reader/utils.c:10: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).
	char *s = salloc(strlen(str)+1);
data/wily-0.13.41/tools/old/wilytoys/reader2/addr.c:42:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(copy, addr, len);
data/wily-0.13.41/tools/old/wilytoys/reader2/addr.c:69:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s = str + strlen(str) - 1;
data/wily-0.13.41/tools/old/wilytoys/reader2/mail.c:224:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((*len = strlen(str)) > max) {
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:225: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).
	a.s1 = s + strlen(s);
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:378: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).
	assert(strlen(mbox->name)+5 < MAXPATHLEN);
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.c:429:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((l = read(fd2,buf,COPYSIZE)) > 0)
data/wily-0.13.41/tools/old/wilytoys/reader2/mbox.h:36:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;	/* if has been read */
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:17:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static void markread(nArticle *a, int read);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:25:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static void markartsread(nGroup *g, int first, int last, int read);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:139:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (r = g->read; r; r = r->next)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:173:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (a->read)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:176: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).
		parseaddr(a->from, strlen(a->from), &email, &name);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:182:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		sprintf(g->items[i],"%c%-5d %.*s %.*s", a->read? 'R' : ' ',
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:233: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).
		grouplistitems[n] = salloc(strlen(g->name) + 30);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:264: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).
	l = strlen(str);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:510:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
markread(nArticle *a, int read)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:519:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (a->read == read)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:521:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	a->read = read;
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:522:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if  (read)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:528:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	g->items[i][0] = read? 'R' : ' ';
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:779:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
markartsread(nGroup *g, int first, int last, int read)
data/wily-0.13.41/tools/old/wilytoys/reader2/news.c:791:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			markread(g->artptrs[i], read);
data/wily-0.13.41/tools/old/wilytoys/reader2/news.h:54:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nRange *read;		/* list of articles that we've read, from the .newsrc */
data/wily-0.13.41/tools/old/wilytoys/reader2/news.h:69:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;			/* true if we've read it */
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:101:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	switch ((c = fgetc(fp))) {
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:128:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = fgetc(fp)) != SUBSEP && c != NOSUBSEP) {
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:149:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (isspace((c = fgetc(fp))) && c!='\n') ;
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:170:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (l = 0; isdigit((c = fgetc(fp))); num[l++] = c) ;
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:174:28:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for (l = 0; isdigit((c = fgetc(fp))); num[l++] = c) ;
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:179:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((c = fgetc(fp)) != EOF && c != '\n');
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:201:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		char *fmt = g->read? "%s%c " : "%s%c";
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:203:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for (r = g->read; r; r= r->next, s = ",")
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:234:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (p = &g->read; *p && (*p)->n0 < i; p = &((*p)->next)) ;
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:260:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (p = &g->read; *p && (*p)->n0 < i; p = &((*p)->next)) {
data/wily-0.13.41/tools/old/wilytoys/reader2/newsrc.c:297:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for (r = g->read; r; r = r->next)
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:225:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(nntpfd, nntpBuf, BUFSIZ);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:279:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(nntpRespLine,s,l);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:335: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).
	l = strlen(cmd);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:339: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).
		l += strlen(s);
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:583:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (r = g->read; r ; r = r->next)
data/wily-0.13.41/tools/old/wilytoys/reader2/nntp.c:653:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = fgetc(fp)) != EOF) {
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:339: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).
	rdInclude(w, s, strlen(s));
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:348: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).
	size_t len = strlen(ng);
data/wily-0.13.41/tools/old/wilytoys/reader2/post.c:362:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buff, s, len);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:173: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).
	w->taglen = strlen(tools);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:244: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).
	ulong len, seplen = strlen(sep);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:254: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(*items);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:321: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).
	w->bodylen = strlen(art);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:503: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 = (int)strlen(text);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:518: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(sep);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:537: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).
	newlen = strlen(text);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:556: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).
	newlen += strlen(sep);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:621: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).
	l = strlen(str);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:665:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(newbuf, w->body, p0);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:667:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(newbuf + p0, str, p1);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:1015: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).
	size_t nlen, plen = strlen(prefix);
data/wily-0.13.41/tools/old/wilytoys/reader2/reader.c:1052:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf,prefix,plen);
data/wily-0.13.41/tools/old/wilytoys/reader2/utils.c:12: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).
	s = salloc(strlen(str)+1);
data/wily-0.13.41/tools/old/wilytoys/toys/bold.c:46:14:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getchar()) != EOF) {
data/wily-0.13.41/tools/quanstro/wcat.c:81:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (len = 0; (r = read(fd, block, BLOCK))>0; len += r){
data/wily-0.13.41/tools/quanstro/wread.c:44: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).
		delta=strlen(&buf[BLOCK-1]);
data/wily-0.13.41/tools/quanstro/wread.c:53: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).
	delta=strlen(&buf[len-p]);
data/wily-0.13.41/tools/quanstro/wreplace.c:43:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (len = 0; (r = read(fd, block, BLOCK))>0; len += r){
data/wily-0.13.41/tools/win/win.c:159: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).
	shell = malloc(strlen(path) + 1);
data/wily-0.13.41/tools/win/win.c:185: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(v[0]);
data/wily-0.13.41/tools/win/win.c:188: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(v[i]);
data/wily-0.13.41/tools/win/win.c:200:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(s, " ");
data/wily-0.13.41/tools/win/win.c:423: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).
	tagname = malloc(strlen(shorttagname) + 2);
data/wily-0.13.41/tools/win/win.c:446:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nread = read(master, buf, BUFSIZ);
data/wily-0.13.41/tools/win/win.c:505: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).
	nbytes = strlen(m->s);
data/wily-0.13.41/tools/win/win.c:517:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(cmd, "\n");
data/wily-0.13.41/tools/win/win.c:564: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/wily-0.13.41/tools/win/wreplace.c:148: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(address);
data/wily-0.13.41/tools/win/wreplace.c:192:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fd, buf + buflen, bufsize - buflen - 1);
data/wily-0.13.41/wily/builtins.c:89: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 (arg && strlen(arg)) {
data/wily-0.13.41/wily/env.c:34: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(ptr)&& !stat(ptr, &buf))
data/wily-0.13.41/wily/env.c:97: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(env)<strlen(old->env))
data/wily-0.13.41/wily/env.c:97: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(strlen(env)<strlen(old->env))
data/wily-0.13.41/wily/exec.c:64:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		buf = salloc( strlen(cmd) + strlen(arg) + 2);
data/wily-0.13.41/wily/exec.c:64: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).
		buf = salloc( strlen(cmd) + strlen(arg) + 2);
data/wily-0.13.41/wily/exec.c:158: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(*cmd))
data/wily-0.13.41/wily/file.c:226:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(d->label, "");
data/wily-0.13.41/wily/file.c:227:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(d->cachedlabel, "");
data/wily-0.13.41/wily/include.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).
	flen = strlen(file);
data/wily-0.13.41/wily/mouse.c:77:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(s, *ptr, strlen(*ptr)))
data/wily-0.13.41/wily/msg.c:140: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 = salloc( strlen(cmd) + strlen(arg) + 2);
data/wily-0.13.41/wily/msg.c:140: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).
		s = salloc( strlen(cmd) + strlen(arg) + 2);
data/wily-0.13.41/wily/msg.c:198: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).
		size += strlen(path) + 15;
data/wily-0.13.41/wily/msg.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).
		ptr += strlen(ptr);
data/wily-0.13.41/wily/path.c:108: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).
	pw = strlen(s) ? getpwnam(s) : getpwuid(getuid());
data/wily-0.13.41/wily/place.c:51: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).
	int	elen = strlen(errors);
data/wily-0.13.41/wily/place.c:52:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int	len = strlen(label);
data/wily-0.13.41/wily/sam.c:161: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).
	int l = (1+strlen(re))*sizeof(Rune);
data/wily-0.13.41/wily/sam.c:167: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).
	str.s[utftotext(str.s, re, re+strlen(re))] = 0;
data/wily-0.13.41/wily/search.c:212: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).
	nrunes = RSLEN(s)*2 +strlen(startword) + strlen(endword);
data/wily-0.13.41/wily/search.c:212: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).
	nrunes = RSLEN(s)*2 +strlen(startword) + strlen(endword);
data/wily-0.13.41/wily/search.c:215: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).
	s2.r1 += utftotext(s2.r1, startword, startword + strlen(startword));
data/wily-0.13.41/wily/search.c:222: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).
	s2.r1 += utftotext(s2.r1, endword, endword + strlen(endword));
data/wily-0.13.41/wily/tagmatch.c:93:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fd, buf, size);
data/wily-0.13.41/wily/text.c:77:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fd, buf + offset, desired);
data/wily-0.13.41/wily/textpage.c:31:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fd, buf + leftover, desired);
data/wily-0.13.41/wily/util.c:29: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 = dest + strlen(dest) -1;
data/wily-0.13.41/wily/util.c:74:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s.r1 = s.r0 + utftotext(s.r0, utf, utf+strlen(utf));
data/wily-0.13.41/wily/util.c:155: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 = errwin +strlen(errwin);
data/wily-0.13.41/wily/util.c:215: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).
	s = buf = (char*)salloc(nitems*(strlen(item[widest])+4));
data/wily-0.13.41/wily/util.c:233: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).
			s += strlen(item[current]);
data/wily-0.13.41/wily/util.c:283: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).
		s += strlen(s);
data/wily-0.13.41/wily/util.c:288:2:  [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(msg, "\n");
data/wily-0.13.41/wily/util.c:289: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).
	assert(strlen(msg)<1024);
data/wily-0.13.41/wily/util.c:290: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).
	noutput(context, msg, strlen(msg));
data/wily-0.13.41/wily/util.c:390: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).
	n  = utftotext(rbuf, cbuf, cbuf+strlen(cbuf));
data/wily-0.13.41/wily/util.c:405: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).
	n = strlen(s);
data/wily-0.13.41/wily/vsearch.c:176:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(strlen(s)) {
data/wily-0.13.41/wily/vsearch.c:194: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).
	assert(!strlen(s));

ANALYSIS SUMMARY:

Hits = 612
Lines analyzed = 33100 in approximately 0.91 seconds (36386 lines/second)
Physical Source Lines of Code (SLOC) = 25512
Hits@level = [0] 244 [1] 180 [2] 218 [3]  51 [4] 163 [5]   0
Hits@level+ = [0+] 856 [1+] 612 [2+] 432 [3+] 214 [4+] 163 [5+]   0
Hits/KSLOC@level+ = [0+] 33.5528 [1+] 23.9887 [2+] 16.9332 [3+] 8.38821 [4+] 6.38915 [5+]   0
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.