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/zoem-11-166/util/alloc.c
Examining data/zoem-11-166/util/array.c
Examining data/zoem-11-166/util/rand.c
Examining data/zoem-11-166/util/equate.c
Examining data/zoem-11-166/util/opt.c
Examining data/zoem-11-166/util/io.c
Examining data/zoem-11-166/util/err.c
Examining data/zoem-11-166/util/hash.c
Examining data/zoem-11-166/util/heap.c
Examining data/zoem-11-166/util/let.c
Examining data/zoem-11-166/util/list.c
Examining data/zoem-11-166/util/gralloc.c
Examining data/zoem-11-166/util/tok.c
Examining data/zoem-11-166/util/ting.c
Examining data/zoem-11-166/util/ding.c
Examining data/zoem-11-166/util/tr.c
Examining data/zoem-11-166/util/types.c
Examining data/zoem-11-166/util/alloc.h
Examining data/zoem-11-166/util/array.h
Examining data/zoem-11-166/util/rand.h
Examining data/zoem-11-166/util/equate.h
Examining data/zoem-11-166/util/hash.h
Examining data/zoem-11-166/util/heap.h
Examining data/zoem-11-166/util/let.h
Examining data/zoem-11-166/util/io.h
Examining data/zoem-11-166/util/opt.h
Examining data/zoem-11-166/util/err.h
Examining data/zoem-11-166/util/tok.h
Examining data/zoem-11-166/util/ting.h
Examining data/zoem-11-166/util/ding.h
Examining data/zoem-11-166/util/list.h
Examining data/zoem-11-166/util/gralloc.h
Examining data/zoem-11-166/util/compile.h
Examining data/zoem-11-166/util/getpagesize.h
Examining data/zoem-11-166/util/types.h
Examining data/zoem-11-166/util/inttypes.h
Examining data/zoem-11-166/util/minmax.h
Examining data/zoem-11-166/util/tr.h
Examining data/zoem-11-166/src/ops-grape.c
Examining data/zoem-11-166/src/ops-xtag.c
Examining data/zoem-11-166/src/op-inspect.c
Examining data/zoem-11-166/src/op-format.c
Examining data/zoem-11-166/src/ops-env.c
Examining data/zoem-11-166/src/ops-constant.c
Examining data/zoem-11-166/src/curly.c
Examining data/zoem-11-166/src/digest.c
Examining data/zoem-11-166/src/entry.c
Examining data/zoem-11-166/src/iface.c
Examining data/zoem-11-166/src/source.c
Examining data/zoem-11-166/src/sink.c
Examining data/zoem-11-166/src/filter.c
Examining data/zoem-11-166/src/key.c
Examining data/zoem-11-166/src/dict.c
Examining data/zoem-11-166/src/ops.c
Examining data/zoem-11-166/src/parse.c
Examining data/zoem-11-166/src/read.c
Examining data/zoem-11-166/src/segment.c
Examining data/zoem-11-166/src/util.c
Examining data/zoem-11-166/src/zoem.c
Examining data/zoem-11-166/src/version.c
Examining data/zoem-11-166/src/curly.h
Examining data/zoem-11-166/src/digest.h
Examining data/zoem-11-166/src/entry.h
Examining data/zoem-11-166/src/parse.h
Examining data/zoem-11-166/src/segment.h
Examining data/zoem-11-166/src/key.h
Examining data/zoem-11-166/src/dict.h
Examining data/zoem-11-166/src/source.h
Examining data/zoem-11-166/src/sink.h
Examining data/zoem-11-166/src/read.h
Examining data/zoem-11-166/src/util.h
Examining data/zoem-11-166/src/filter.h
Examining data/zoem-11-166/src/iface.h
Examining data/zoem-11-166/src/zlimits.h
Examining data/zoem-11-166/src/ops.h
Examining data/zoem-11-166/src/ops-xtag.h
Examining data/zoem-11-166/src/ops-grape.h
Examining data/zoem-11-166/src/ops-env.h
Examining data/zoem-11-166/src/ops-constant.h
Examining data/zoem-11-166/src/op-inspect.h
Examining data/zoem-11-166/src/op-format.h
Examining data/zoem-11-166/src/version.h

FINAL RESULTS:

data/zoem-11-166/src/ops.c:522:22:  [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.
(  const mcxTing*    access
data/zoem-11-166/src/ops.c:1525:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1525:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1542:32:  [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.
         {  val   =  yamKeyGet(access)
data/zoem-11-166/src/ops.c:1546:37:  [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.
         {  val   =  yamKeyGetLocal(access)
data/zoem-11-166/src/ops.c:1550:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
         {  if (yamOpsDataAccess(access))
data/zoem-11-166/src/ops.c:1560:42:  [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.
         ;  xpnfnc xpf       =  yamOpGet(access, &cps)
data/zoem-11-166/src/ops.c:1582:20:  [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.
   ;  mcxTingFree(&access)
data/zoem-11-166/src/ops.c:1630:22:  [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.
(  const mcxTing*    access
data/zoem-11-166/src/ops.c:1636:54:  [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.
      {  yamSeg* tmpseg = yamStackPushTmp((mcxTing*) access)   /* dirty */
data/zoem-11-166/src/ops.c:1658:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1658:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1660:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamOpsDataAccess(access))
data/zoem-11-166/src/ops.c:1672:20:  [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.
   ;  mcxTingFree(&access)
data/zoem-11-166/src/ops.c:1686:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1686:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1688:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamOpsDataAccess(access))
data/zoem-11-166/src/ops.c:1700:20:  [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.
   ;  mcxTingFree(&access)
data/zoem-11-166/src/ops.c:1717:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1717:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      {  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:1719:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamOpsDataAccess(access))
data/zoem-11-166/src/ops.c:1731:20:  [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.
   ;  mcxTingFree(&access)
data/zoem-11-166/src/ops.c:2714:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:2714:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamDigest(access, access, seg))
data/zoem-11-166/src/ops.c:2716:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ;  if (yamOpsDataAccess(access))
data/zoem-11-166/src/ops.c:2782:20:  [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.
   ;  mcxTingFree(&access)
data/zoem-11-166/src/read.c:447:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
         :  execvp(cmd, argv)    /* do the actual stuff */
data/zoem-11-166/src/util.c:95:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   ;  vfprintf(fp, fmt, *args)
data/zoem-11-166/src/zoem.c:554:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
         :  fprintf(stdout, zoemVersion, zoemDateTag)
data/zoem-11-166/util/err.c:44:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   ;  vfprintf(fp, fmt, *args)
data/zoem-11-166/util/err.c:152:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   ;  vfprintf(stderr, fmt, args)
data/zoem-11-166/util/err.c:170:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   ;  vfprintf(fp, fmt, *args)
data/zoem-11-166/util/err.h:218:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 3, 4)))
data/zoem-11-166/util/err.h:233:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/err.h:244:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/err.h:256:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 3, 4)))
data/zoem-11-166/util/err.h:267:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/err.h:277:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/err.h:288:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 3, 4)))
data/zoem-11-166/util/err.h:299:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 3, 4)))
data/zoem-11-166/util/opt.c:787:16:  [4] (shell) execlp:
  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.
            ;  execlp("man", "man", minime->str, NULL)
data/zoem-11-166/util/ting.c:138:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   ;  npf = vsnprintf(buf, PRINT_BUF_SIZE, fmt, args2)
data/zoem-11-166/util/ting.c:141:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   ;  npf = vsnprintf(buf, PRINT_BUF_SIZE, fmt, *args)
data/zoem-11-166/util/ting.c:165:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
         ;  npf = vsnprintf(txtbuf->str, m+1, fmt, args2)
data/zoem-11-166/util/ting.c:168:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
         ;  npf = vsnprintf(txtbuf->str, m+1, fmt, *args)
data/zoem-11-166/util/ting.h:316:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/ting.h:327:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 2, 3)))
data/zoem-11-166/util/ting.h:342:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 4, 5)))
data/zoem-11-166/src/ops.c:586:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   {  const char* envp = getenv(arg1_g->str)
data/zoem-11-166/src/ops.c:1570:22:  [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.
         {  yn    =  getenv(access->str) ? yes : no
data/zoem-11-166/src/ops.c:2270:49:  [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.
      ;  case F_DRAND   : g = (((unsigned long) random()) * 1.0 / (1.0 * RAND_MAX)) * f 
data/zoem-11-166/src/ops.c:2272:48:  [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.
      ;  case F_IRAND   : j = ((unsigned long) random()) % (unsigned) i, integral = TRUE
data/zoem-11-166/src/ops.c:3114:7:  [3] (random) srandom:
  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.
   ;  srandom(mcxSeed(2308947))
data/zoem-11-166/src/read.c:588:43:  [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 (!xf && useSearchPath && (envp = getenv("ZOEMSEARCHPATH")))
data/zoem-11-166/util/alloc.c:71:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      {  const char* tin = getenv("TINGEA_MEM_SIGNAL")
data/zoem-11-166/util/array.c:461:29:  [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.
      {  unsigned long r = (random() >> 3) % n             /* Fisher-Yates shuffle */
data/zoem-11-166/util/err.c:97:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      mcxLogLevelSetByString(getenv("TINGEA_LOG_TAG"))
data/zoem-11-166/util/io.c:208:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      (  getenv("TINGEA_PLUS_APPEND")
data/zoem-11-166/util/rand.c:47:25:  [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.
   {  double a = 1.0 - (random() * 1.0) / (RAND_MAX + 1.0)
data/zoem-11-166/util/rand.c:48:25:  [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.
   ;  double b = 1.0 - (random() * 1.0) / (RAND_MAX + 1.0)
data/zoem-11-166/util/rand.c:81:40:  [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.
   ;  double r = 2 * radius * (((1.0 * random()) / RAND_MAX) - 0.5)
data/zoem-11-166/util/rand.c:84:28:  [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.
      ;  double p = (1.0 * random()) / RAND_MAX
data/zoem-11-166/util/rand.c:87:36:  [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.
      ;  r = 2 * radius * (((1.0 * random()) / RAND_MAX) - 0.5)
data/zoem-11-166/util/rand.c:229:14:  [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.
      {  U = random()
data/zoem-11-166/util/rand.c:232:14:  [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.
      ;  j = random() & 0x00FFFFFF  /* 24 bit for the x-value */
data/zoem-11-166/util/rand.h:17:29:  [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.
#define mcxUniform0 ((1.0 * random()) / ((double) RAND_MAX + 1.0))
data/zoem-11-166/util/rand.h:18:36:  [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.
#define mcxUniform1 (1.0 - ((1.0 * random()) / ((double) RAND_MAX + 1.0)))
data/zoem-11-166/src/op-format.c:180:22:  [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).
            *width = atoi(arg1_g->str)
data/zoem-11-166/src/op-format.c:185:26:  [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).
               *repeat = atoi(arg1_g->str)
data/zoem-11-166/src/op-format.c:235:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      l = atoi(tmp->str)
data/zoem-11-166/src/op-format.c:404:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
               ll_align_offset = atoi(parstr(ATNUM))
data/zoem-11-166/src/ops-env.c:26:13:  [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).
;  mcxTing* open
data/zoem-11-166/src/ops-env.c:68:26:  [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).
      ;  mcxTingWrite(e->open, openstr)
data/zoem-11-166/src/ops-env.c:221:24:  [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).
   ;  mcxTingFree(&(e->open))
data/zoem-11-166/src/ops.c:842:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   ;  x = atoi(data->str)
data/zoem-11-166/src/ops.c:908:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            mcxTingRoman(data, atoi(data->str), FALSE)
data/zoem-11-166/src/ops.c:919:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         {  int num = atoi(val) % 26
data/zoem-11-166/src/ops.c:927:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         ;  n = atoi(num->str)
data/zoem-11-166/src/ops.c:1134:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         || !atol(condition_->str)
data/zoem-11-166/src/ops.c:1158:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ;  guard =  atol(condition_->str) ? TRUE : FALSE
data/zoem-11-166/src/ops.c:1335:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ;  k = atoi(txtnum->str)
data/zoem-11-166/src/ops.c:1607:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      b =   bool->len ? atoi(bool->str) :  0
data/zoem-11-166/src/ops.c:1883:32:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         {  if (clause->len && atol(clause->str))
data/zoem-11-166/src/ops.c:1972:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      {  int   c           =  atoi(arg1_g->str)
data/zoem-11-166/src/ops.c:2263:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   ;  i  =  atoi(ftxt->str)
data/zoem-11-166/src/ops.c:2325:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   ;  i1  =  atoi(f1txt->str)
data/zoem-11-166/src/ops.c:2335:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ;  i2  =  atoi(f2txt->str)
data/zoem-11-166/src/ops.c:2431:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         i = atoi(op->str)
data/zoem-11-166/src/ops.c:2613:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      val = atoi(t->str)
data/zoem-11-166/src/ops.c:2880:36:  [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).
         ;  mcxbool condition_ok = atoi(condition->str)
data/zoem-11-166/src/ops.c:2907:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
               ,  thestart ? atoi(thestart->str) : 0
data/zoem-11-166/src/ops.c:2908:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
               ,  thewidth ? atoi(thewidth->str) : 0
data/zoem-11-166/src/ops.c:2975:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      {  *ival = atol(txt->str)
data/zoem-11-166/src/read.c:320:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   {  char     cbuf[BUFLEN]
data/zoem-11-166/src/read.c:401:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   ;  char  rb[RB_SIZE]
data/zoem-11-166/src/source.c:387:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   ;  int       parmode    =  ump ? atoi(ump->str) : MCX_READLINE_DOT
data/zoem-11-166/src/zoem.c:398:28:  [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).
         :  buckets_zoem = atoi(opt->val)
data/zoem-11-166/src/zoem.c:403:28:  [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).
         :  buckets_user = atoi(opt->val)
data/zoem-11-166/src/zoem.c:408: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).
         :  {  int t = atoi(opt->val)
data/zoem-11-166/src/zoem.c:420:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         :  n_dollar_scopes = atoi(opt->val)
data/zoem-11-166/src/zoem.c:425:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         :  n_user_scopes = atoi(opt->val)
data/zoem-11-166/src/zoem.c:430:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         :  stack_depth = atoi(opt->val)
data/zoem-11-166/src/zoem.c:435:29:  [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).
         :  segment_depth = atoi(opt->val)
data/zoem-11-166/src/zoem.c:447:20:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         :  amic = atol(opt->val)
data/zoem-11-166/src/zoem.c:452:20:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         :  amcs = atol(opt->val)
data/zoem-11-166/src/zoem.c:560: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).
         :  {  int k = atoi(opt->val)
data/zoem-11-166/util/alloc.c:73:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         {  unsigned tintin = atoi(tin)
data/zoem-11-166/util/array.c:111: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
data/zoem-11-166/util/array.c:145: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.
         memcpy(((char*)base) + k * size, ((char*)base) + l * size, size)
data/zoem-11-166/util/array.c:463:13:  [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(mem_cell, data + (n-1) * mem_size, mem_size)
data/zoem-11-166/util/array.c:464:13:  [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(data + (n-1) * mem_size, data + r * mem_size, mem_size)
data/zoem-11-166/util/array.c:465:13:  [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(data + r * mem_size, mem_cell, mem_size)
data/zoem-11-166/util/ding.c:35: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.
         memcpy(rts, str, n)
data/zoem-11-166/util/heap.c:116:13:  [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(heapRoot + i*elsz, heapRoot + elsz*((i-1)/2), elsz)
data/zoem-11-166/util/heap.c:119: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.
         memcpy(heapRoot + i*elsz, elemch, elsz)
data/zoem-11-166/util/heap.c:134:16:  [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(heapRoot+root*elsz, heapRoot+d*elsz, elsz)
data/zoem-11-166/util/heap.c:140: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.
         memcpy(heapRoot+root*elsz, elemch, elsz)
data/zoem-11-166/util/io.c:297:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   ;  else if ((xf->fp = fopen(fname, xf->mode)) == NULL)
data/zoem-11-166/util/io.c:527:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   {  char  cbuf[MCX_IORL_BSZ]
data/zoem-11-166/util/io.h:388:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
,  const unsigned char abcd[4]
data/zoem-11-166/util/io.h:393:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
,  const unsigned char abcd[4]
data/zoem-11-166/util/opt.c:139: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.
         {  char argcpy[501]
data/zoem-11-166/util/opt.c:391: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.
         lftToken = (char *) rltSigns[i]
data/zoem-11-166/util/opt.c:431: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.
         rgtToken = (char *) rltSigns[i]
data/zoem-11-166/util/ting.c:127:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   {  char buf[PRINT_BUF_SIZE], *src
data/zoem-11-166/util/ting.c:316:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   {  char num[500]
data/zoem-11-166/util/ting.c:347:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   {  char num[128]
data/zoem-11-166/util/ting.c:564: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(ting->str, str, sz)
data/zoem-11-166/util/ting.c:600: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(ting->str, str, sz)
data/zoem-11-166/util/ting.c:626: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(str, ting->str+offset, (dim) length)
data/zoem-11-166/src/entry.c:160:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (  strlen(p)
data/zoem-11-166/src/entry.c:161: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).
            != checkusrsig(p, strlen(p), NULL, &namelen, &keybits)
data/zoem-11-166/src/key.c:100: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).
   ;  if (yamKeyInsert(keytxt, val, strlen(val), 0, NULL) != keytxt)
data/zoem-11-166/src/key.c:111: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).
   ;  if (yamKeyInsert(keytxt, val, strlen(val), 0, NULL) != keytxt)
data/zoem-11-166/src/ops.c:565:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ,  strlen(cmdhook->composite) ? cmdhook->composite : "   (nothing)"
data/zoem-11-166/src/read.c:460:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (0 && (k = read(fileno(stdin), rb, RB_SIZE)))
data/zoem-11-166/src/read.c:505:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ;  while ((k = read(fy[0], rb, RB_SIZE)))
data/zoem-11-166/util/ding.c:25: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).
   {  return mcxStrNDup(str, strlen(str))
data/zoem-11-166/util/ding.c:49: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).
   ;  z += (len >= 0) ? (dim) len : strlen(p)
data/zoem-11-166/util/ding.c:88:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   {  const char* z =  offset >= 0 ? p+offset : p + strlen(p)
data/zoem-11-166/util/ding.c:100: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).
   {  const char* z  =  offset >= 0 ? p+offset : p + strlen(p)
data/zoem-11-166/util/ding.c:396:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   {  dim ls = strlen(s)
data/zoem-11-166/util/ding.c:397:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ;  dim lt = strlen(t)
data/zoem-11-166/util/hash.c:1083:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   {  dim l =  strlen(s)
data/zoem-11-166/util/io.c:427:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = fgetc(xf->fp)
data/zoem-11-166/util/io.c:589:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (k-- > 0 && (r = read(fileno(xf->fp),  dst->str+dst->len, psz)) > 0)
data/zoem-11-166/util/io.c:595:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      && (r = read(fileno(xf->fp),  dst->str+dst->len, rem)) > 0
data/zoem-11-166/util/io.c:938:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ;  n_trailing = strlen(s)     /* truncintok */
data/zoem-11-166/util/io.c:967:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ;  int patlen = strlen(pattern)     /* truncintok */
data/zoem-11-166/util/opt.c:141:16:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            {  strncpy(argcpy, arg, (eq-arg))
data/zoem-11-166/util/opt.c:569: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).
      {  int thislen = strlen(opt->tag)            /* truncintok */
data/zoem-11-166/util/opt.c:571: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).
         thislen += 1 + strlen(opt->descr_arg)     /* truncintok */
data/zoem-11-166/util/opt.c:640:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   {  dim srclen  =  strlen(src)
data/zoem-11-166/util/ting.c:385: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).
   {  dim length = string ? strlen(string) : 0
data/zoem-11-166/util/ting.c:393:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      {  strncpy(ting->str, string, length)
data/zoem-11-166/util/ting.c:639:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ;  ting->len = strlen(str)
data/zoem-11-166/util/ting.c:675:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         ,  str? strlen(str) : 0          /*    string length     */
data/zoem-11-166/util/ting.c:690: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).
   {  dim len = strlen(str)
data/zoem-11-166/util/ting.c:745:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         ,  str ? strlen(str) : 0         /*    string length     */
data/zoem-11-166/util/tok.c:63:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(offset)
data/zoem-11-166/util/tok.c:137:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(offset)
data/zoem-11-166/util/tr.c:189:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ;  dim len  =  strlen(src)
data/zoem-11-166/util/tr.c:521: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).
   ;  const char* z  =  spec + strlen(spec)

ANALYSIS SUMMARY:

Hits = 163
Lines analyzed = 25527 in approximately 0.54 seconds (47533 lines/second)
Physical Source Lines of Code (SLOC) = 18291
Hits@level = [0] 139 [1]  33 [2]  63 [3]  19 [4]  48 [5]   0
Hits@level+ = [0+] 302 [1+] 163 [2+] 130 [3+]  67 [4+]  48 [5+]   0
Hits/KSLOC@level+ = [0+] 16.5109 [1+] 8.91149 [2+] 7.10732 [3+] 3.663 [4+] 2.62424 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.