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/euslisp-9.27+dfsg/contrib/contact/clib/amax1.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/arith.h
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/cone.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/cone_inter.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/cone_post.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/cone_pre.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/convexconeref.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/edge.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/face.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/face_init.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/fugo_calc.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/hash5.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/main.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/mat_copy.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/mat_mult.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/mat_mult2.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/matrix.h
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/max0.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/min0.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/rank.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/same.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/same2.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/saxpy.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/sdot.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/snrm2.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/snrm2r.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/srot.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/srotg.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/sscal.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/ssvdc.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/sswap.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib/update_edge.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib3/arith.h
Examining data/euslisp-9.27+dfsg/contrib/contact/clib3/projection.c
Examining data/euslisp-9.27+dfsg/contrib/contact/clib3/projection_inter.c
Examining data/euslisp-9.27+dfsg/contrib/cygwin-check/dlltest.c
Examining data/euslisp-9.27+dfsg/contrib/cygwin-check/getnetbyname.c
Examining data/euslisp-9.27+dfsg/contrib/cygwin-check/lockf.c
Examining data/euslisp-9.27+dfsg/contrib/cygwin-check/priority.c
Examining data/euslisp-9.27+dfsg/contrib/cygwin-check/tzname.c
Examining data/euslisp-9.27+dfsg/contrib/eus64-check/test_foreign.c
Examining data/euslisp-9.27+dfsg/contrib/neuron/nnsub.h
Examining data/euslisp-9.27+dfsg/contrib/talk/akaho/freq.c
Examining data/euslisp-9.27+dfsg/contrib/talk/akaho/nn.c
Examining data/euslisp-9.27+dfsg/contrib/vxworks/vxw_proto.h
Examining data/euslisp-9.27+dfsg/contrib/vxworks/vxwcom.c
Examining data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c
Examining data/euslisp-9.27+dfsg/contrib/xview/euslocal.h
Examining data/euslisp-9.27+dfsg/contrib/xview/makexviewconst.c
Examining data/euslisp-9.27+dfsg/contrib/xview/transargv.c
Examining data/euslisp-9.27+dfsg/contrib/xview/xview.c
Examining data/euslisp-9.27+dfsg/contrib/xview/xviewfuncs.c
Examining data/euslisp-9.27+dfsg/doc/help.cltl/newstr.c
Examining data/euslisp-9.27+dfsg/doc/help.cltl/newstr.h
Examining data/euslisp-9.27+dfsg/lib/clib/bessel.c
Examining data/euslisp-9.27+dfsg/lib/clib/charconv.c
Examining data/euslisp-9.27+dfsg/lib/clib/euslocal.h
Examining data/euslisp-9.27+dfsg/lib/clib/floatdouble.c
Examining data/euslisp-9.27+dfsg/lib/clib/getpw_r.c
Examining data/euslisp-9.27+dfsg/lib/clib/linpackref.c
Examining data/euslisp-9.27+dfsg/lib/clib/linux_lowio.c
Examining data/euslisp-9.27+dfsg/lib/clib/ndbm.c
Examining data/euslisp-9.27+dfsg/lib/clib/posix.c
Examining data/euslisp-9.27+dfsg/lib/clib/rfft.c
Examining data/euslisp-9.27+dfsg/lib/clib/sigmoid.c
Examining data/euslisp-9.27+dfsg/lib/clib/ssvdc.c
Examining data/euslisp-9.27+dfsg/lib/clib/sync.c
Examining data/euslisp-9.27+dfsg/lib/clib/vxw_proto.h
Examining data/euslisp-9.27+dfsg/lib/clib/vxwcom.c
Examining data/euslisp-9.27+dfsg/lib/clib/vxwserv.c
Examining data/euslisp-9.27+dfsg/lib/demo/cfunc.c
Examining data/euslisp-9.27+dfsg/lisp/c/arith.c
Examining data/euslisp-9.27+dfsg/lisp/c/arith.old.c
Examining data/euslisp-9.27+dfsg/lisp/c/big.c
Examining data/euslisp-9.27+dfsg/lisp/c/big2.c
Examining data/euslisp-9.27+dfsg/lisp/c/calleus.c
Examining data/euslisp-9.27+dfsg/lisp/c/charstring.c
Examining data/euslisp-9.27+dfsg/lisp/c/charstring.old.c
Examining data/euslisp-9.27+dfsg/lisp/c/collector.c
Examining data/euslisp-9.27+dfsg/lisp/c/collector.h
Examining data/euslisp-9.27+dfsg/lisp/c/compsub.c
Examining data/euslisp-9.27+dfsg/lisp/c/eus.h
Examining data/euslisp-9.27+dfsg/lisp/c/eus.old.h
Examining data/euslisp-9.27+dfsg/lisp/c/eus_proto.h
Examining data/euslisp-9.27+dfsg/lisp/c/eus_thr.h
Examining data/euslisp-9.27+dfsg/lisp/c/eusioctl.c
Examining data/euslisp-9.27+dfsg/lisp/c/eusstart.dmy.c
Examining data/euslisp-9.27+dfsg/lisp/c/eusstream.c
Examining data/euslisp-9.27+dfsg/lisp/c/eval.c
Examining data/euslisp-9.27+dfsg/lisp/c/external_markbits.c
Examining data/euslisp-9.27+dfsg/lisp/c/external_markbits.h
Examining data/euslisp-9.27+dfsg/lisp/c/fcall.c
Examining data/euslisp-9.27+dfsg/lisp/c/fstringdouble.c
Examining data/euslisp-9.27+dfsg/lisp/c/helpsub.c
Examining data/euslisp-9.27+dfsg/lisp/c/intern.c
Examining data/euslisp-9.27+dfsg/lisp/c/leo.c
Examining data/euslisp-9.27+dfsg/lisp/c/lispio.c
Examining data/euslisp-9.27+dfsg/lisp/c/lists.c
Examining data/euslisp-9.27+dfsg/lisp/c/makes.c
Examining data/euslisp-9.27+dfsg/lisp/c/makes.new.c
Examining data/euslisp-9.27+dfsg/lisp/c/matrix.c
Examining data/euslisp-9.27+dfsg/lisp/c/memory.c
Examining data/euslisp-9.27+dfsg/lisp/c/memory.mutex.c
Examining data/euslisp-9.27+dfsg/lisp/c/memory.safe.c
Examining data/euslisp-9.27+dfsg/lisp/c/mthread.c
Examining data/euslisp-9.27+dfsg/lisp/c/mthread_alpha.c
Examining data/euslisp-9.27+dfsg/lisp/c/mthread_posix.c
Examining data/euslisp-9.27+dfsg/lisp/c/mthread_sunos4.c
Examining data/euslisp-9.27+dfsg/lisp/c/paragc.c
Examining data/euslisp-9.27+dfsg/lisp/c/predicates.c
Examining data/euslisp-9.27+dfsg/lisp/c/printer.c
Examining data/euslisp-9.27+dfsg/lisp/c/pthreads.c
Examining data/euslisp-9.27+dfsg/lisp/c/reader.c
Examining data/euslisp-9.27+dfsg/lisp/c/reader.new.c
Examining data/euslisp-9.27+dfsg/lisp/c/rgc_mem.c
Examining data/euslisp-9.27+dfsg/lisp/c/rgc_utils.c
Examining data/euslisp-9.27+dfsg/lisp/c/rgc_utils.h
Examining data/euslisp-9.27+dfsg/lisp/c/sequence.c
Examining data/euslisp-9.27+dfsg/lisp/c/specials.c
Examining data/euslisp-9.27+dfsg/lisp/c/sysfunc.c
Examining data/euslisp-9.27+dfsg/lisp/c/unixcall.c
Examining data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c
Examining data/euslisp-9.27+dfsg/lisp/c/vectorarray.c
Examining data/euslisp-9.27+dfsg/lisp/c/xccmem.h
Examining data/euslisp-9.27+dfsg/lisp/c/eus.c
Examining data/euslisp-9.27+dfsg/lisp/c/loadelf.c
Examining data/euslisp-9.27+dfsg/lisp/geo/intersection.c
Examining data/euslisp-9.27+dfsg/lisp/image/RGBHLS.c
Examining data/euslisp-9.27+dfsg/lisp/image/convolve.c
Examining data/euslisp-9.27+dfsg/lisp/image/image_correlation.c
Examining data/euslisp-9.27+dfsg/lisp/image/jpeg/jmemdst.c
Examining data/euslisp-9.27+dfsg/lisp/image/jpeg/jmemsrc.c
Examining data/euslisp-9.27+dfsg/lisp/image/jpeg/jpegmemcd.c
Examining data/euslisp-9.27+dfsg/lisp/image/pix.h
Examining data/euslisp-9.27+dfsg/lisp/image/pixword.c
Examining data/euslisp-9.27+dfsg/lisp/opengl/src/eglfunc.c
Examining data/euslisp-9.27+dfsg/lisp/opengl/src/oglforeign.c.c
Examining data/euslisp-9.27+dfsg/lisp/opengl/src/util.c
Examining data/euslisp-9.27+dfsg/lisp/opengl/src/util.h
Examining data/euslisp-9.27+dfsg/lisp/opengl/src/values.c
Examining data/euslisp-9.27+dfsg/lisp/tool/elf/elf.c
Examining data/euslisp-9.27+dfsg/lisp/tool/elf/initest.c
Examining data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c
Examining data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c
Examining data/euslisp-9.27+dfsg/lisp/tool/elf/sfttest.c
Examining data/euslisp-9.27+dfsg/lisp/tool/eustags.c
Examining data/euslisp-9.27+dfsg/lisp/tool/exsym.c
Examining data/euslisp-9.27+dfsg/lisp/tool/gccls.c
Examining data/euslisp-9.27+dfsg/lisp/tool/hdr.c
Examining data/euslisp-9.27+dfsg/lisp/tool/sockstd.c
Examining data/euslisp-9.27+dfsg/lisp/tool/stripsh.c
Examining data/euslisp-9.27+dfsg/lisp/tool/structsize.c
Examining data/euslisp-9.27+dfsg/lisp/tool/syscon.c
Examining data/euslisp-9.27+dfsg/lisp/tool/thread/thrtest.c
Examining data/euslisp-9.27+dfsg/lisp/tool/thread/thrtest2.c
Examining data/euslisp-9.27+dfsg/lisp/xwindow/xforeign.c.c

FINAL RESULTS:

data/euslisp-9.27+dfsg/contrib/talk/akaho/nn.c:16:9:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  while(gets(s) != NULL) {
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1191:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  stat=chmod((char *)path,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1205:8:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  stat=chown(path,owner,newowner);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1117:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  stat=chmod((char *)path,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1131:8:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  stat=chown(path,owner,newowner);
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:24: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 (result->pw_name, ret->pw_name);
data/euslisp-9.27+dfsg/lib/clib/getpw_r.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 (result->pw_passwd, ret->pw_passwd);
data/euslisp-9.27+dfsg/lib/clib/getpw_r.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 (result->pw_gecos, ret->pw_gecos);
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:48: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 (result->pw_dir, ret->pw_dir);
data/euslisp-9.27+dfsg/lib/clib/getpw_r.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 (result->pw_shell, ret->pw_shell);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1150:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(fname,"%s/lib/eus.init.l", eusdir);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1175:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  if (eusrt==NULL)  sprintf(fname,"%s/lib/eusrt.l", eusdir);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1176:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  else strcpy(fname, eusrt);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:171:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(namebuf,"___%s",ccar(initnames)->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:223:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(namebuf,"___%s",ccar(initnames)->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/rgc_utils.c:17:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buf, fmt, args);
data/euslisp-9.27+dfsg/lisp/c/specials.c:1160:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf((char *)buf,"%s%d",genhead->c.str.chars,genindex++);
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:446:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf,"%32s%7d cells %7d words %6ldKB\n", 
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:450:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf,"%32s%7d cells %7d words %6ldKB\n","holes",holecount,
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:645:8:  [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.
  stat=execvp(exeargv[0],(char **)exeargv);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1076:8:  [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.
  stat=access(path->c.str.chars,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1316:18:  [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.
  if (n==0) stat=system("csh");
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1317:36:  [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.
  else if (isstring(argv[0])) stat=system((char *)argv[0]->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1356: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(b, (char *)a->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:586:8:  [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.
  stat=execvp(exeargv[0],(char **)exeargv);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1004:8:  [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.
  stat=access(path->c.str.chars,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1242:18:  [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.
  if (n==0) stat=system("csh");
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1243:36:  [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.
  else if (isstring(argv[0])) stat=system((char *)argv[0]->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1282: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(b, (char *)a->c.str.chars);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:56:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outfname,"%s.p",fname);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:72:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outfname,"%s.r",fname);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:231:1:  [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 (buf)
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:426:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(cmd,
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:429:4:  [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/euslisp-9.27+dfsg/lisp/tool/eustags.c:445:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(cmd, "sort %s -o %s", outfile, outfile);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:446:7:  [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/euslisp-9.27+dfsg/lisp/tool/eustags.c:616:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (tem, strlen (linestart) < 50 ? "%s$" : "%.50s", linestart);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1231: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(nambuf, dbp);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1290: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(nambuf, dbp);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1360: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(nambuf, dbp);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1698:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, s1, s2);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1711: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 (result, s1);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1712: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 (result + len1, s2);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1713: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 (result + len1 + len2, s3);
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:38:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tempfn, "/tmp/%s.c.%d", lispfn, getpid());
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:39:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cfn, "%s.c", lispfn);
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:40:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(hfn, "/tmp/%s.h.%d", lispfn, getpid());
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:88:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(catcom, "cat %s %s >%s ", hfn, tempfn, cfn);
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:89:3:  [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(catcom);
data/euslisp-9.27+dfsg/lisp/c/arith.c:1406:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      srand((unsigned int)tm);
data/euslisp-9.27+dfsg/lisp/c/arith.c:1429:10:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  double erand48();
data/euslisp-9.27+dfsg/lisp/c/arith.c:1431:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  long random();
data/euslisp-9.27+dfsg/lisp/c/arith.c:1444:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=random();
data/euslisp-9.27+dfsg/lisp/c/arith.c:1447:11:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=erand48((unsigned short *)state->c.ivec.iv);
data/euslisp-9.27+dfsg/lisp/c/arith.c:1451:11:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=erand48((unsigned short *)(state->c.ivec.iv));
data/euslisp-9.27+dfsg/lisp/c/arith.old.c:1359:10:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  double erand48();
data/euslisp-9.27+dfsg/lisp/c/arith.old.c:1361:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  long random();
data/euslisp-9.27+dfsg/lisp/c/arith.old.c:1374:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=random();
data/euslisp-9.27+dfsg/lisp/c/arith.old.c:1377:11:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=erand48((unsigned short *)state->c.ivec.iv);
data/euslisp-9.27+dfsg/lisp/c/arith.old.c:1379:11:  [3] (random) erand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  randval=erand48(state->c.ivec.iv);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1146:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  eusdir=(char *)getenv("EUSDIR");
data/euslisp-9.27+dfsg/lisp/c/eus.c:1174: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.
  eusrt=(char *)getenv("EUSRT");
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:145:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("TZ")==NULL) {
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1331:3:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
  getwd(buf);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1341:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1257:3:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
  getwd(buf);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1267:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1496:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  env = (char *) getenv (evarname);
data/euslisp-9.27+dfsg/lisp/tool/exsym.c:62:13:  [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,"o:dtbuaAE")) != EOF)
data/euslisp-9.27+dfsg/contrib/cygwin-check/tzname.c:4: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 *tzname[2];
data/euslisp-9.27+dfsg/contrib/talk/akaho/freq.c:4: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 a[26];
data/euslisp-9.27+dfsg/contrib/talk/akaho/nn.c:9: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[BUFSIZ];
data/euslisp-9.27+dfsg/contrib/talk/akaho/nn.c:15:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if(ac == 3) minmax = atoi(av[2]);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:82: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 symstr[256];
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char taskname[16];
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:218: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(taskname,"VxWs_%d",task_id++);
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[CMS_NAMESIZE];
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1169:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char red[256],green[256],blue[256];
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1956: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.
  ptr = (char *) cknumtoint(argv[0]);
data/euslisp-9.27+dfsg/contrib/xview/xviewfuncs.c:27: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.
  ptr = (char *) cknumtoint(argv[0]);
data/euslisp-9.27+dfsg/lib/clib/charconv.c:66: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 *srcstrp, *deststrp, *deststrpv, deststr[1024];
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:83: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 symstr[256];
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:212:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char taskname[16];
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:219: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(taskname,"VxWs_%d",task_id++);
data/euslisp-9.27+dfsg/lisp/c/calleus.c:200:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	vpush(makestring((char *)cargv[i],strlen((char *)cargv[i]))); i++;} 
data/euslisp-9.27+dfsg/lisp/c/calleus.c:200:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	vpush(makestring((char *)cargv[i],strlen((char *)cargv[i]))); i++;} 
data/euslisp-9.27+dfsg/lisp/c/calleus.c:204:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        vpush(makestring((char *)cargv[i++],c));} }
data/euslisp-9.27+dfsg/lisp/c/collector.c:658: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 idx[MAXTHREAD];
data/euslisp-9.27+dfsg/lisp/c/eus.c:191: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 *errmsg[100]={
data/euslisp-9.27+dfsg/lisp/c/eus.c:955:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[32];
data/euslisp-9.27+dfsg/lisp/c/eus.c:956: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(tmp, "WORD-SIZE=%d", sizeof(void*)*8);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1141: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 fname[1024];
data/euslisp-9.27+dfsg/lisp/c/eus.c:1188: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 *mainargv[32];
data/euslisp-9.27+dfsg/lisp/c/eusstream.c:37: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).
  fd=open(fname, dir, acsmode);
data/euslisp-9.27+dfsg/lisp/c/eusstream.c:196: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(extstr->c.str.chars, bstr->c.str.chars, cnt);
data/euslisp-9.27+dfsg/lisp/c/eusstream.c:235:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&strbuf[bcount], &mes[i], count);
data/euslisp-9.27+dfsg/lisp/c/helpsub.c:23: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 buf[CHAR_SIZE];
data/euslisp-9.27+dfsg/lisp/c/helpsub.c: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.
static char us[4]={0x1b, 0x5b, 0x34, 0x6d},  /* underline start */
data/euslisp-9.27+dfsg/lisp/c/helpsub.c:76: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 str[CHAR_SIZE], cmd[10];
data/euslisp-9.27+dfsg/lisp/c/lispio.c:125:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[16];
data/euslisp-9.27+dfsg/lisp/c/lispio.c:129:24:  [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.
  else if (isint(s)) { sprintf(buf,"%ld",intval(s)); prsize[thr_self()]+=strlen(buf);}
data/euslisp-9.27+dfsg/lisp/c/lispio.c:194: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 token[1024];
data/euslisp-9.27+dfsg/lisp/c/lispio.c:238: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(newcb, cb, buflength);
data/euslisp-9.27+dfsg/lisp/c/lispio.c:325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char b[2];} buf;
data/euslisp-9.27+dfsg/lisp/c/lispio.c:449:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/euslisp-9.27+dfsg/lisp/c/lispio.c:525: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,"%*.*f",param[0],param[1],fval);
data/euslisp-9.27+dfsg/lisp/c/lispio.c:530: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,"%*.*e",param[0],param[1],fval);
data/euslisp-9.27+dfsg/lisp/c/lispio.c:538:8:  [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,"%*.*e",param[0],param[1],fval); l=strlen(buf);}
data/euslisp-9.27+dfsg/lisp/c/lispio.c:540:8:  [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,"%*.*f",param[0],param[1],fval);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:47:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  in=openfile(ctx,(char *)argv[0]->c.str.chars,O_RDONLY,0,256);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:161: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 namebuf[256];
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:206: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 namebuf[256];
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:259:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    k=strlen((char *)strings[i]);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:289: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.
    s=(char *)strings[i];
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:315:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  entry_string=(char *)get_string(argv[0]);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:336:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  entry_string=(char *)get_string(argv[0]);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:383: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.
  binfn= (char *)get_string(argv[0]);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:386:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    else entry=(char *)get_string(argv[1]);}
data/euslisp-9.27+dfsg/lisp/c/makes.c:154: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 *)p->c.str.chars, (void *)s, l);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:150: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 *)p->c.str.chars, (void *)s, l);
data/euslisp-9.27+dfsg/lisp/c/printer.c:30: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 ixbuf[16];
data/euslisp-9.27+dfsg/lisp/c/printer.c:155: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 work[65];	/*enough for 64 binary digits + sign*/
data/euslisp-9.27+dfsg/lisp/c/printer.c:188: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 work[20];
data/euslisp-9.27+dfsg/lisp/c/printer.c:197:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(work,"%1.6e",num); len=strlen(work);}
data/euslisp-9.27+dfsg/lisp/c/printer.c:207:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(work,"%1.*f",i,num);
data/euslisp-9.27+dfsg/lisp/c/printer.c:215: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 work[20];
data/euslisp-9.27+dfsg/lisp/c/printer.c:216: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(work,"#x%x",val);
data/euslisp-9.27+dfsg/lisp/c/printer.c:461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[16];
data/euslisp-9.27+dfsg/lisp/c/printer.c:466: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%c",rank,(etype==ELM_FLOAT)?'f':
data/euslisp-9.27+dfsg/lisp/c/printer.c:575:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(ixbuf,"#%d=",shareix);
data/euslisp-9.27+dfsg/lisp/c/printer.c:579:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(ixbuf,"#%ld#",intval(x->c.obj.iv[0]));
data/euslisp-9.27+dfsg/lisp/c/reader.c:493: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 ch, buf[WORD_SIZE];
data/euslisp-9.27+dfsg/lisp/c/reader.c:524:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[WORD_SIZE/2], ch;
data/euslisp-9.27+dfsg/lisp/c/reader.c:669: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(newtoken,token,tleng);
data/euslisp-9.27+dfsg/lisp/c/reader.c:978: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 token[MAXTOKENLENGTH];
data/euslisp-9.27+dfsg/lisp/c/reader.new.c:481: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 ch, buf[WORD_SIZE];
data/euslisp-9.27+dfsg/lisp/c/reader.new.c:508:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[WORD_SIZE/2], ch;
data/euslisp-9.27+dfsg/lisp/c/reader.new.c:653: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(newtoken,token,tleng);
data/euslisp-9.27+dfsg/lisp/c/reader.new.c:958: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 token[MAXTOKENLENGTH];
data/euslisp-9.27+dfsg/lisp/c/rgc_utils.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[128];
data/euslisp-9.27+dfsg/lisp/c/rgc_utils.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUF_SIZE];
data/euslisp-9.27+dfsg/lisp/c/rgc_utils.c:39: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).
  if ((fp = fopen("/proc/cpuinfo", "r")) == NULL) {
data/euslisp-9.27+dfsg/lisp/c/sequence.c:157: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->c.str.chars[i], &a->c.str.chars[s], count);
data/euslisp-9.27+dfsg/lisp/c/sequence.c:163: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(&r->c.str.chars[i], &p[s], count);
data/euslisp-9.27+dfsg/lisp/c/sequence.c:167: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->c.vec.v[i], &a->c.vec.v[s], count*sizeof(pointer));
data/euslisp-9.27+dfsg/lisp/c/sequence.c:204: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->c.str.chars, &p[s] ,k);
data/euslisp-9.27+dfsg/lisp/c/sequence.c:208: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->c.str.chars, &p[s], k);
data/euslisp-9.27+dfsg/lisp/c/sequence.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(r->c.vec.v, &a->c.vec.v[s], k*sizeof(pointer));
data/euslisp-9.27+dfsg/lisp/c/sequence.c:907: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.
    else memcpy((void *)p2, (void *)p, (size_t)count);
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:337: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 cbuf[100];
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:361: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(cbuf,"buddy   size  free   total   total-size  wanted   wanted-size\n");
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:365: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(cbuf,"%4d %7ld %5d  %6d  %8ld  %8ld %10ld\n",
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:370: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(cbuf, "\ncontext  big_alloc   small_alloc\n");
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:374:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(cbuf,"%4d %12d %12d\n",
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:399:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:460:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:466: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(buf, "%3d %10ld * %6d = %10ld\n",
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:180: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 at[ASCTIME_STRLEN];
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:631:18:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  return(makeint(vfork()));} 
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1006:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  stat=mknod((char *)Getstring(argv[0])->c.str.chars,ckintval(argv[1]),0);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1017:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  stat=mkdir((char *)Getstring(argv[0])->c.str.chars,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1097:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  if (stat((char *)Getstring(argv[0])->c.str.chars, &s)<0) return(makeint(-errno));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1317:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  else if (isstring(argv[0])) stat=system((char *)argv[0]->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1326:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[256];
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1341: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.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1341:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1572:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[2000], *bufp=buf, *addrp=NULL;
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1599: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 name[128];
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1773:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[32]; int stat;
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1786:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  hp=gethostbyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1811:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  np=getnetbyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1823:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  pp=getprotobyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1839:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  sp=getservbyname((char *)Getstring(argv[0])->c.str.chars,(char *)p);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:87: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 *tzname[2];
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:572:18:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  return(makeint(vfork()));} 
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:934:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  stat=mknod((char *)Getstring(argv[0])->c.str.chars,ckintval(argv[1]),0);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:945:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  stat=mkdir((char *)Getstring(argv[0])->c.str.chars,mode);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1025:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  if (stat((char *)Getstring(argv[0])->c.str.chars, &s)<0) return(makeint(-errno));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1243:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  else if (isstring(argv[0])) stat=system((char *)argv[0]->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1252:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[256];
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1267: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.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1267:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  envval=(char *)getenv((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1472:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[2000], *bufp=buf, *addrp=NULL;
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1499: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 name[128];
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1673:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[32]; int stat;
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1686:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  hp=gethostbyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1710:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  np=getnetbyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1721:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  pp=getprotobyname((char *)Getstring(argv[0])->c.str.chars);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1737:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  sp=getservbyname((char *)Getstring(argv[0])->c.str.chars,(char *)p);
data/euslisp-9.27+dfsg/lisp/c/xccmem.h:24:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define XCC_ASSERT(cond,msg) ({char msg[(cond)?1:(-1)]; 0;})
data/euslisp-9.27+dfsg/lisp/image/convolve.c:138:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char seq[100], up[100], down[100];
data/euslisp-9.27+dfsg/lisp/image/image_correlation.c:152:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ unsigned char *pat1, *pat2, pat2x[1024*4];
data/euslisp-9.27+dfsg/lisp/image/image_correlation.c:166: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(&pat2x[0], pat2, total_len);
data/euslisp-9.27+dfsg/lisp/image/image_correlation.c:167: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(&pat2x[total_len], pat2, total_len);
data/euslisp-9.27+dfsg/lisp/opengl/src/oglforeign.c.c:25: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 lname[100];
data/euslisp-9.27+dfsg/lisp/tool/elf/elf.c:21: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).
  elfd=open(fname, 0);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[8192];
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:44: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 outfname[128];
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:57: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).
  elfd=open(fname, 0);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:58: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).
  outfd=open(outfname, O_RDWR | O_CREAT, 0777);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:96:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&scntab[i], scnhdr, sizeof(Elf32_Shdr));
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buf[8192];
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:61: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 outfname[128];
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:73: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).
  elfd=open(fname, 0);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:74: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).
  outfd=open(outfname, O_RDWR | O_CREAT, 0777);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:113:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&scntab[i], scnhdr, sizeof(Elf32_Shdr));
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:248: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 cmd[100];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:370:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      outf = fopen (outfile, aflag ? "a" : "w");
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:433:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outf = fopen(outfile, aflag ? "a" : "w");
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:503: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 ((inf=fopen(file,"r")) == NULL)
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:580: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 tem[51];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:811: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 tok[BUFSIZ];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1221: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 nambuf[BUFSIZ];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1283: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 nambuf[BUFSIZ];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1350: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 nambuf[BUFSIZ];
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1543: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 nambuf[BUFSIZ];
data/euslisp-9.27+dfsg/lisp/tool/exsym.c:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[16];} sym;
data/euslisp-9.27+dfsg/lisp/tool/exsym.c:83: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).
    infd=open(argv[optind],O_RDONLY);
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:26: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 buf[MAX_LINE_SIZE];
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:32: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 *lispfn, cfn[128], hfn[128], tempfn[128], catcom[256], entryname[128];
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:41:6:  [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).
  in=fopen(lispfn, "r");
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:42: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).
  out=fopen(tempfn, "w");
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:85: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).
  out=fopen(hfn, "w");
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:17: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).
  fd=open(argv[1],O_RDONLY);
data/euslisp-9.27+dfsg/lisp/tool/sockstd.c:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[65536];
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8192];
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:25: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).
  infd=open(argv[1], O_RDONLY);
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:26: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).
  outfd=open(argv[2], O_WRONLY | O_CREAT,0755);
data/euslisp-9.27+dfsg/lisp/xwindow/xforeign.c.c:417: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 lname[100];
data/euslisp-9.27+dfsg/contrib/talk/akaho/freq.c:11:15:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getchar()) != EOF) {
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:33:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_LONG:  ival=(getc(s)<<24)+(getc(s)<<16);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:33:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_LONG:  ival=(getc(s)<<24)+(getc(s)<<16);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:34:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_SHORT: ival+=(getc(s)<<8);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:35:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_CHAR:  return(ival+getc(s));}
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:51:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  len=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:54:36:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:54:52:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:54:66:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:55:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    else return(((len & 0x7f)<<8) + getc(s)); }
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:67:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (i=0; i<length; i++) getc(s);	/*skip vector elements*/
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:69:42:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i=0; i<length; i++) vmem[index++]=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:87:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i=0; i<len; i++) symstr[i+1]=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:122:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    type=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:132:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    type=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:136:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_CHAR:  cargv[i++]=getc(s); break;
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:137:35:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_SHORT: cargv[i++]=(getc(s)<<8) + getc(s); break;
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:137:49:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_SHORT: cargv[i++]=(getc(s)<<8) + getc(s); break;
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:149:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      type=getc(s); /*next arg type*/
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:153:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result_type=getc(s);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:216:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &priority,1);
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:217:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &option, 1); 
data/euslisp-9.27+dfsg/contrib/vxworks/vxwserv.c:277:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read(snew, &special, 1);	/*ignore first byte*/
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1161: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).
  return(makestring(buf,strlen(buf)));
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1945: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(buffer->data + sizeof(Seln_attribute));
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1958: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).
  return(makestring(ptr,strlen(ptr)));
data/euslisp-9.27+dfsg/contrib/xview/xview.c:1989:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(name_list->names[i]));
data/euslisp-9.27+dfsg/contrib/xview/xviewfuncs.c:16:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(name_list->names[i]));
data/euslisp-9.27+dfsg/contrib/xview/xviewfuncs.c:29: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).
  return(makestring(ptr,strlen(ptr)));
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:20: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 (ret->pw_name) + 1;
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:28: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 (ret->pw_passwd) + 1;
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:36: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 (ret->pw_gecos) + 1;
data/euslisp-9.27+dfsg/lib/clib/getpw_r.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).
  len = strlen (ret->pw_dir) + 1;
data/euslisp-9.27+dfsg/lib/clib/getpw_r.c:52: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 (ret->pw_shell) + 1;
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:34:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_LONG:  ival=(getc(s)<<24)+(getc(s)<<16);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:34:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_LONG:  ival=(getc(s)<<24)+(getc(s)<<16);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:35:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_SHORT: ival+=(getc(s)<<8);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:36:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  A_CHAR:  return(ival+getc(s));}
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:52:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  len=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:55:36:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:55:52:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:55:66:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return(((len & 0x3f)<<24) + (getc(s)<<16) + (getc(s)<<8) + getc(s));
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:56:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    else return(((len & 0x7f)<<8) + getc(s)); }
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:68:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (i=0; i<length; i++) getc(s);	/*skip vector elements*/
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:70:42:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i=0; i<length; i++) vmem[index++]=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:88:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (i=0; i<len; i++) symstr[i+1]=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:123:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    type=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:133:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    type=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:137:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_CHAR:  cargv[i++]=getc(s); break;
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:138:35:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_SHORT: cargv[i++]=(getc(s)<<8) + getc(s); break;
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:138:49:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        case A_SHORT: cargv[i++]=(getc(s)<<8) + getc(s); break;
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:150:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      type=getc(s); /*next arg type*/
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:154:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result_type=getc(s);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:217:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &priority,1);
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:218:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &option, 1); 
data/euslisp-9.27+dfsg/lib/clib/vxwserv.c:278:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read(snew, &special, 1);	/*ignore first byte*/
data/euslisp-9.27+dfsg/lisp/c/calleus.c:133: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).
	vpush(makestring((char *)c,strlen((char *)c)));
data/euslisp-9.27+dfsg/lisp/c/calleus.c:200:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	vpush(makestring((char *)cargv[i],strlen((char *)cargv[i]))); i++;} 
data/euslisp-9.27+dfsg/lisp/c/eus.c:367: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).
    vpush(makestring(errstr,strlen(errstr)));
data/euslisp-9.27+dfsg/lisp/c/eus.c:376: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).
	vpush(makestring((char*)msg,strlen((char*)msg))); argc=4; break;
data/euslisp-9.27+dfsg/lisp/c/eus.c:431:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  classsym=intern(ctx,(char *)name,strlen(name),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/eus.c:448:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    varvector->c.vec.v[i+svcount]=intern(ctx,(char *)vname,strlen((char *)vname),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/eus.c:838: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).
  p=makestring(VERSION,strlen(VERSION));
data/euslisp-9.27+dfsg/lisp/c/eus.c:840: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).
  p=makestring(compilehost,strlen(compilehost));
data/euslisp-9.27+dfsg/lisp/c/eus.c:842: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).
  p=makestring(makedate,strlen(makedate));
data/euslisp-9.27+dfsg/lisp/c/eus.c:844: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).
  p=makestring(gitrevision,strlen(gitrevision));
data/euslisp-9.27+dfsg/lisp/c/eus.c:957: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).
    p=cons(ctx,intern(ctx,tmp,strlen(tmp),keywordpkg),p);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1126:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (i=0; i<argc; i++) vpush(makestring(argv[i],strlen(argv[i])));
data/euslisp-9.27+dfsg/lisp/c/eus.c:1180:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  argv=makestring(fname, strlen(fname));
data/euslisp-9.27+dfsg/lisp/c/eus.c:1249: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).
  defvar(ctx,"*PROGRAM-NAME*",makestring(progname,strlen(progname)),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/eus.c:1250:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  defvar(ctx,"*DEB-HOST-MULTIARCH*",makestring("@@DEB_HOST_MULTIARCH@@",strlen("@@DEB_HOST_MULTIARCH@@")),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/eus_proto.h:483:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
extern pointer equal(pointer /*x*/, pointer /*y*/);
data/euslisp-9.27+dfsg/lisp/c/eusstream.c:39:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  fnamep=makestring(fname,strlen(fname));
data/euslisp-9.27+dfsg/lisp/c/eusstream.c:99:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      GC_REGION(c=read(intval(s->c.fstream.fd), strbuf,
data/euslisp-9.27+dfsg/lisp/c/eval.c:505: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/eval.c:510: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/eval.c:599: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/eval.c:604: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/eval.c:972: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).
	else j=strlen((char *)c);
data/euslisp-9.27+dfsg/lisp/c/eval.c:977: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).
	else j=strlen((char *)c);
data/euslisp-9.27+dfsg/lisp/c/eval.c:1135: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/eval.c:1140: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).
	else j=strlen((char *)i);
data/euslisp-9.27+dfsg/lisp/c/helpsub.c:43:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    GC_REGION(r=read(fd, &buf[0], BUFSIZE););
data/euslisp-9.27+dfsg/lisp/c/helpsub.c:152:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  j=strlen(str);
data/euslisp-9.27+dfsg/lisp/c/leo.c:478:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  extern pointer equal();
data/euslisp-9.27+dfsg/lisp/c/leo.c:493:6:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (equal(vvec->c.vec.v[index]->c.sym.pname, varid)==T) break;
data/euslisp-9.27+dfsg/lisp/c/lispio.c:129:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (isint(s)) { sprintf(buf,"%ld",intval(s)); prsize[thr_self()]+=strlen(buf);}
data/euslisp-9.27+dfsg/lisp/c/lispio.c:526: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).
	  writestr(dest,(byte *)buf,strlen(buf)); break;
data/euslisp-9.27+dfsg/lisp/c/lispio.c:531: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).
	  writestr(dest,(byte *)buf,strlen(buf)); break;
data/euslisp-9.27+dfsg/lisp/c/lispio.c:538:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      sprintf(buf,"%*.*e",param[0],param[1],fval); l=strlen(buf);}
data/euslisp-9.27+dfsg/lisp/c/lispio.c:541: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).
	      l=strlen(buf);
data/euslisp-9.27+dfsg/lisp/c/lists.c:11:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
extern pointer equal();
data/euslisp-9.27+dfsg/lisp/c/lists.c:235:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal(y,z)==T) return(x);
data/euslisp-9.27+dfsg/lisp/c/lists.c:288:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    result=equal(ccar(list),item);
data/euslisp-9.27+dfsg/lisp/c/lists.c:308:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      target=equal(item,target);
data/euslisp-9.27+dfsg/lisp/c/lists.c:344:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      compare=equal(item,ccar(temp));
data/euslisp-9.27+dfsg/lisp/c/lists.c:367:39:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      else if (test==QEQUAL) compare=(equal(item,temp)==T);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:134:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(module_initializers[i].module_name));
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:259: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).
    k=strlen((char *)strings[i]);
data/euslisp-9.27+dfsg/lisp/c/loadelf.c:284:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (i=0; i<size; i++) { total_length += strlen(strings[i]); }
data/euslisp-9.27+dfsg/lisp/c/makes.c:453: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).
  classsym=intern(ctx,name,strlen(name),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:623: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:626:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pdoc = makestring(doc,strlen(doc));
data/euslisp-9.27+dfsg/lisp/c/makes.c:642: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:653: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:689: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:699: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:711: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:723: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.c:737: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).
  sym=intern(ctx,name,strlen(name),keywordpkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:443: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).
  classsym=intern(ctx,name,strlen(name),lisppkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:607: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:620: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:631: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:667: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:677: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:689: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:701: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).
  sym=intern(ctx,name,strlen(name),pkg);
data/euslisp-9.27+dfsg/lisp/c/makes.new.c:715: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).
  sym=intern(ctx,name,strlen(name),keywordpkg);
data/euslisp-9.27+dfsg/lisp/c/mthread_posix.c:80:28:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    while(thr_create_lock) usleep(1000);
data/euslisp-9.27+dfsg/lisp/c/predicates.c:162:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
pointer equal(x,y)
data/euslisp-9.27+dfsg/lisp/c/predicates.c:177:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (equal(x->c.obj.iv[i],y->c.obj.iv[i])!=T) return(NIL);
data/euslisp-9.27+dfsg/lisp/c/predicates.c:195:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return(equal(argv[0],argv[1]));}
data/euslisp-9.27+dfsg/lisp/c/printer.c:47: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).
  writestr(f,(byte *)colon,strlen(colon));}
data/euslisp-9.27+dfsg/lisp/c/printer.c:197:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sprintf(work,"%1.6e",num); len=strlen(work);}
data/euslisp-9.27+dfsg/lisp/c/printer.c:208: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(work);
data/euslisp-9.27+dfsg/lisp/c/printer.c:217:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  writestr(f,(byte *)work,strlen(work));}
data/euslisp-9.27+dfsg/lisp/c/printer.c:468:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  writestr(f,(byte *)buf,strlen(buf));
data/euslisp-9.27+dfsg/lisp/c/printer.c:576: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).
        writestr(f,(byte *)ixbuf,strlen(ixbuf));
data/euslisp-9.27+dfsg/lisp/c/printer.c:580: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).
        writestr(f,(byte *)ixbuf,strlen(ixbuf));
data/euslisp-9.27+dfsg/lisp/c/specials.c:1161:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return(makesymbol(ctx,(char *)buf,strlen(buf),NIL));}
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:362: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).
  writestr(outs,(byte *)cbuf,strlen(cbuf));
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:368: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).
    writestr(outs,(byte *)cbuf,strlen(cbuf)); }
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:371: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).
  writestr(outs,(byte *)cbuf,strlen(cbuf));
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:376: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).
      writestr(outs,(byte *)cbuf,strlen(cbuf)); }
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:449: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).
      writestr(strm,(byte *)buf,strlen(buf)); } }
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:452: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).
  writestr(strm,(byte *)buf,strlen(buf));
data/euslisp-9.27+dfsg/lisp/c/sysfunc.c:468: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).
    writestr(strm,(byte *)buf,strlen(buf));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:151: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).
  tz0=makestring(tzname[0],strlen(tzname[0]));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:153: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).
  tz1=makestring(tzname[1],strlen(tzname[1]));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:201: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).
  return(makestring(atp,strlen(atp)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:558: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).
  vpush(makestring(u.sysname,strlen(u.sysname)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:559: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).
  vpush(makestring(u.nodename,strlen(u.nodename)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:560: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).
  vpush(makestring(u.release,strlen(u.release)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:561: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).
  vpush(makestring(u.version,strlen(u.version)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:562: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).
  vpush(makestring(u.machine,strlen(u.machine)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:741:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  GC_REGION(size=read(fd, &bufp[offset],size););
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1134:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     if(flag) a=cons(ctx,makestring(str,strlen(str)),a);
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1135:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     else { a=cons(ctx,makestring(str,strlen(str)),NIL); flag++;}
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1333: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).
  return(makestring(buf,strlen(buf)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1342:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (envval) return(makestring(envval,strlen(envval)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1367: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).
    vpush(makestring(b, strlen(b)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1427: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 (errno==errno_save) return(makestring(errstr, strlen(errstr)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1487:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (sa->sa_family==AF_UNIX) l=strlen(sa->sa_data)+2;
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1502:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (sa->sa_family==AF_UNIX) l=strlen(sa->sa_data)+2;
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1775:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (stat==0) return(makestring(buf,strlen(buf)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1802:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else return(makestring(host->h_name, strlen(host->h_name)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.c:1841: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).
  s=makestring(sp->s_proto,strlen(sp->s_proto));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:138: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).
  tz0=makestring(tzname[0],strlen(tzname[0]));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:140: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).
  tz1=makestring(tzname[1],strlen(tzname[1]));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:182: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).
  return(makestring(at,strlen(at)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:535: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).
  vpush(makestring(u.sysname,strlen(u.sysname)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:536: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).
  vpush(makestring(u.nodename,strlen(u.nodename)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:537: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).
  vpush(makestring(u.release,strlen(u.release)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:538: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).
  vpush(makestring(u.version,strlen(u.version)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:539: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).
  vpush(makestring(u.machine,strlen(u.machine)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:674:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  size=read(fd, &bufp[offset],size);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1062:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     if(flag) a=cons(ctx,makestring(str,strlen(str)),a);
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1063:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     else { a=cons(ctx,makestring(str,strlen(str)),NIL); flag++;}
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1259: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).
  return(makestring(buf,strlen(buf)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1268:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (envval) return(makestring(envval,strlen(envval)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1293: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).
    vpush(makestring(b, strlen(b)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1310:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(ckintval(argv[0]));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1332:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return(makestring(errstr, strlen(errstr))); }
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1387:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (sa->sa_family==AF_UNIX) l=strlen(sa->sa_data)+2;
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1402:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (sa->sa_family==AF_UNIX) l=strlen(sa->sa_data)+2;
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1675:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (stat==0) return(makestring(buf,strlen(buf)));
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1702:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else return(makestring(host->h_name, strlen(host->h_name)));}
data/euslisp-9.27+dfsg/lisp/c/unixcall.old.c:1739: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).
  s=makestring(sp->s_proto,strlen(sp->s_proto));
data/euslisp-9.27+dfsg/lisp/opengl/src/eglfunc.c:20:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return(makestring(str, strlen(str)));
data/euslisp-9.27+dfsg/lisp/opengl/src/oglforeign.c.c:26:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(xentry);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmflags.c:29:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s=read(infd, buf, s);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:26:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s=read(infd, buf, s);
data/euslisp-9.27+dfsg/lisp/tool/elf/rmphdr.c:45:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss=read(infd, symbuf, s);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:236:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      strlen(buf), DSC$K_DTYPE_T, DSC$K_CLASS_S, buf
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:616:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sprintf (tem, strlen (linestart) < 50 ? "%s$" : "%.50s", linestart);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:759: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).
  total += strlen (node->pat) + 3;
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:928:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			  strncpy (tok, token + (lb1.buffer - buf),
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:935:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			  strncpy (tok, token, tp-token+1);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1462:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (f)) != EOF)
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1514: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).
	p = env + strlen (env);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1518: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).
	  tab[i].len = strlen (tab[i].name);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1550:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (nambuf, name, p - name);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1553:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pfnote (nambuf, TRUE, lb.buffer, strlen (lb.buffer), lineno, linecharno);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1599:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int c = getc (stream);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1623: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).
  return savenstr (cp, strlen (cp));
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1634:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (dp, cp, len);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1708:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1708: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).
  int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
data/euslisp-9.27+dfsg/lisp/tool/eustags.c:1708:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
data/euslisp-9.27+dfsg/lisp/tool/exsym.c:38:10:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch=getchar();
data/euslisp-9.27+dfsg/lisp/tool/exsym.c:90:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(0,&header,sizeof(header))<1) fatal("cannot read");
data/euslisp-9.27+dfsg/lisp/tool/gccls.c:67: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).
    k=strlen(s);
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:20:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &hdr, sizeof(hdr));
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:26:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd, &ahdr, sizeof(ahdr));
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:33:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fd, &shdr, sizeof(shdr));
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:41:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(fd,&symhdr,sizeof(symhdr));
data/euslisp-9.27+dfsg/lisp/tool/hdr.c:59:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fd, &fdr, sizeof(fdr));
data/euslisp-9.27+dfsg/lisp/tool/sockstd.c:129:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    size=read(0,buf,65536);
data/euslisp-9.27+dfsg/lisp/tool/sockstd.c:133:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    size=read(snew,buf,65536);
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:27:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(infd, buf, 0x20);
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:29:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(infd, &count, 4);
data/euslisp-9.27+dfsg/lisp/tool/stripsh.c:34:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    size=read(infd,buf,min(8192,count));
data/euslisp-9.27+dfsg/lisp/xwindow/xforeign.c.c:418:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(xentry);

ANALYSIS SUMMARY:

Hits = 443
Lines analyzed = 50073 in approximately 1.91 seconds (26255 lines/second)
Physical Source Lines of Code (SLOC) = 41470
Hits@level = [0] 1050 [1] 214 [2] 160 [3]  20 [4]  44 [5]   5
Hits@level+ = [0+] 1493 [1+] 443 [2+] 229 [3+]  69 [4+]  49 [5+]   5
Hits/KSLOC@level+ = [0+] 36.0019 [1+] 10.6824 [2+] 5.52206 [3+] 1.66385 [4+] 1.18158 [5+] 0.120569
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.