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/boolector-1.5.118.6b56be4.121013/btorbtor.c
Examining data/boolector-1.5.118.6b56be4.121013/btorconst.c
Examining data/boolector-1.5.118.6b56be4.121013/boolectormain.c
Examining data/boolector-1.5.118.6b56be4.121013/btormain.h
Examining data/boolector-1.5.118.6b56be4.121013/btorutil.h
Examining data/boolector-1.5.118.6b56be4.121013/btoraigvec.h
Examining data/boolector-1.5.118.6b56be4.121013/btorsmt2.c
Examining data/boolector-1.5.118.6b56be4.121013/btorlogic.h
Examining data/boolector-1.5.118.6b56be4.121013/btormem.h
Examining data/boolector-1.5.118.6b56be4.121013/btorutil.c
Examining data/boolector-1.5.118.6b56be4.121013/btorrewrite.c
Examining data/boolector-1.5.118.6b56be4.121013/synthebtor.c
Examining data/boolector-1.5.118.6b56be4.121013/btorexit.h
Examining data/boolector-1.5.118.6b56be4.121013/btoraigvec.c
Examining data/boolector-1.5.118.6b56be4.121013/btoraig.h
Examining data/boolector-1.5.118.6b56be4.121013/examples/bv/bv1.c
Examining data/boolector-1.5.118.6b56be4.121013/examples/bv/bv2.c
Examining data/boolector-1.5.118.6b56be4.121013/examples/array/array2.c
Examining data/boolector-1.5.118.6b56be4.121013/examples/array/array3.c
Examining data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c
Examining data/boolector-1.5.118.6b56be4.121013/btormain.c
Examining data/boolector-1.5.118.6b56be4.121013/btorexp.h
Examining data/boolector-1.5.118.6b56be4.121013/boolector.h
Examining data/boolector-1.5.118.6b56be4.121013/btormem.c
Examining data/boolector-1.5.118.6b56be4.121013/btorconst.h
Examining data/boolector-1.5.118.6b56be4.121013/btorhash.h
Examining data/boolector-1.5.118.6b56be4.121013/btorsmt.h
Examining data/boolector-1.5.118.6b56be4.121013/btorsmt.c
Examining data/boolector-1.5.118.6b56be4.121013/btorstack.h
Examining data/boolector-1.5.118.6b56be4.121013/btorsmt2.h
Examining data/boolector-1.5.118.6b56be4.121013/btorconfig.h
Examining data/boolector-1.5.118.6b56be4.121013/btoraig.c
Examining data/boolector-1.5.118.6b56be4.121013/btorbtor.h
Examining data/boolector-1.5.118.6b56be4.121013/btorsat.h
Examining data/boolector-1.5.118.6b56be4.121013/btorparse.h
Examining data/boolector-1.5.118.6b56be4.121013/deltabtor.c
Examining data/boolector-1.5.118.6b56be4.121013/btorrewrite.h
Examining data/boolector-1.5.118.6b56be4.121013/boolector.c
Examining data/boolector-1.5.118.6b56be4.121013/btorqueue.h
Examining data/boolector-1.5.118.6b56be4.121013/btorminisat.h
Examining data/boolector-1.5.118.6b56be4.121013/btorhash.c
Examining data/boolector-1.5.118.6b56be4.121013/btorminisat.cc
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/lglbnr.c
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.h
Examining data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c
Examining data/boolector-1.5.118.6b56be4.121013/btorsat.c
Examining data/boolector-1.5.118.6b56be4.121013/btorexp.c

FINAL RESULTS:

data/boolector-1.5.118.6b56be4.121013/btoraig.c:86:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, msg, ap);
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:93:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:428: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 (extended_divisor + delta, divisor);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1450: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, a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1451:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat (result, b);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:388:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4380:9:  [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.
  res = system (cmd);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:5208:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			  sprintf (indexed_name, "%s[%d]", name, i);
data/boolector-1.5.118.6b56be4.121013/btormain.c:197:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, msg, list);
data/boolector-1.5.118.6b56be4.121013/btormain.c:295:7:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vprintf (msg, list);
data/boolector-1.5.118.6b56be4.121013/btormain.c:715:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (cmd, "gunzip -c %s", name);
data/boolector-1.5.118.6b56be4.121013/btormain.c:716:25:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	      if ((temp_file = popen (cmd, "r")))
data/boolector-1.5.118.6b56be4.121013/btormain.c:723:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (cmd, "bzcat %s", name);
data/boolector-1.5.118.6b56be4.121013/btormain.c:724:25:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	      if ((temp_file = popen (cmd, "r")))
data/boolector-1.5.118.6b56be4.121013/btormain.c:731:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf (cmd, "7z x -so %s 2>/dev/null", name);
data/boolector-1.5.118.6b56be4.121013/btormain.c:732:25:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	      if ((temp_file = popen (cmd, "r")))
data/boolector-1.5.118.6b56be4.121013/btormem.c:47:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (FMT, ##ARGS); \
data/boolector-1.5.118.6b56be4.121013/btormem.c:131:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (res, str);
data/boolector-1.5.118.6b56be4.121013/btormem.c:204:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (tmp, "%s:%d: ", name, lineno);
data/boolector-1.5.118.6b56be4.121013/btormem.c:206:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf (tmp + strlen (tmp), fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:56:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:196:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (prefix, "[%s] ", smgr->name);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:513: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 (str, optstr);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:676:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (name, "[lgl%s%d] ", str, blgl->nforked);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:417:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:638:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt, ap);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:86:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:99:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:153:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:874:13:  [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.
  int tmp = system (cmd), res = WEXITSTATUS (tmp);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:971:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (cmd, "%s %s", run_name, tmp);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:974:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (cmd + strlen (cmd), " %s", argv[i]);
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:53:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (msgfile, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:98:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (errfile, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:139:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:150:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:161:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:206:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf (fmt, total);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:458:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:123:5:  [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 (lgl->out, \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:154: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 (lgl->out, FMT, ##ARGS); \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:195: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, FMT, ##ARGS); \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:206: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, \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:222: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, \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1154:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->out, msg, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1164:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->out, msg, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1211:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->out, msg, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1226:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->out, msg, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1303:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return strcpy (res, str);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1480:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->apitrace, msg, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1493:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (cmd, "gzip -c > %s", name);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1494:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    file = popen (cmd, "w");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2106:5:  [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 (lgl->out, fmt, o->lng);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:18088:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (lgl->out, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:277: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 (obuf->line + obuf->pos, str);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:289:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (tmp, "gzip -c > %s", name);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:290:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    res = popen (tmp, "w");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:542:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "gunzip -c %s", iname);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:543:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      in = popen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:548:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "lzcat %s", iname);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:549:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      in = popen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:554:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "bzcat %s", iname);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:555:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      in = popen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:560:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tmp, "7z x -so %s 2>/dev/null", iname);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:561:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      in = popen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:94:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:104:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:114:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:450:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE * p = popen ("grep MemTotal /proc/meminfo", "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:477:7:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  p = popen ("grep '^core id' /proc/cpuinfo 2>/dev/null|sort|uniq|wc -l", "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:489:7:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  p = popen (
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:523:14:  [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.
    intel = !system ("grep vendor /proc/cpuinfo 2>/dev/null|grep -q Intel");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:526:12:  [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.
    amd = !system ("grep vendor /proc/cpuinfo 2>/dev/null|grep -q AMD");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:750:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmd, "gunzip -c %s", name);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:751:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      file = popen (cmd, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:757:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmd, "bzcat %s", name);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:758:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      file = popen (cmd, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:764:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cmd, "7z x -so %s 2>/dev/null", name);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:765:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      file = popen (cmd, "r");
data/boolector-1.5.118.6b56be4.121013/synthebtor.c:32:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stdout, fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btoraig.c:1076:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  assert (getenv ("BTORLEAK") ||
data/boolector-1.5.118.6b56be4.121013/btoraig.c:1077:4:  [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 ("BTORLEAKAIG") ||
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4862:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  assert (getenv ("BTORLEAK") ||
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4863:4:  [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 ("BTORLEAKEXP") ||
data/boolector-1.5.118.6b56be4.121013/btormem.c:150:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  assert (getenv ("BTORLEAK") ||
data/boolector-1.5.118.6b56be4.121013/btormem.c:151:4:  [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 ("BTORLEAKMEM") ||
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:84:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!getenv ("LGLNABORT")) raise (sig); else exit (1);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:748:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!getenv ("LGLNABORT")) raise (sig); else exit (1);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1619:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  valstr = getenv (uname);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1736: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.
  apitracename = getenv ("LGLAPITRACE");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:18685:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  assert (getenv ("LGLEAK") || !lgl->stats->bytes.current);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:63:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!getenv ("LGLNABORT")) raise (sig); else exit (1);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:225:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!getenv ("LGLNABORT")) raise (sig); else exit (1);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:588: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.
  const char * str = getenv ("NBCORE");
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:348:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[20];
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:366: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 (buffer, "%d", parser->idx);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:23:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *digit2const_table[10] = {
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1515: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 (b + 1, c, len);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4143: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 idbuffer[20];
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4274: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 (idbuffer, "%d", e->id);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4370: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], *path;
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4373: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 (cmd, "btorvis ");
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4375: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 (path, "/tmp/btorvisexp.%d.btor", btor->vis_idx++);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4376:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  file = fopen (path, "w");
data/boolector-1.5.118.6b56be4.121013/btorexp.c:5092: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 (symbol, "vindex%d", btor->vread_index_id);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:6881:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (name, "bvlambda_%d_", btor->bv_lambda_id);
data/boolector-1.5.118.6b56be4.121013/btormain.c:435: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).
  *resptr = atoi (p);
data/boolector-1.5.118.6b56be4.121013/btormain.c:583: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).
	      btor_static_set_alarm = atoi (app->argv[++app->argpos]);
data/boolector-1.5.118.6b56be4.121013/btormain.c:665:24:  [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).
		  app->output_file = fopen (app->argv[++app->argpos], "w");
data/boolector-1.5.118.6b56be4.121013/btormain.c:738:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	      if ((temp_file = fopen (name, "r")))
data/boolector-1.5.118.6b56be4.121013/btorrewrite.c:362: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 tmpString[2] = { '\0', '\0'};
data/boolector-1.5.118.6b56be4.121013/btorsat.c:578: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).
		      lglsetopt (lgl, opt, atoi (val));
data/boolector-1.5.118.6b56be4.121013/btorsat.c:639: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[80];
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:204: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 types[256];
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1352: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).
      datalen = atoi (p);	/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1364: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).
      addrlen = atoi (p);	/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1371: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).
      datalen = atoi (p);	/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1503:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		      len = atoi (end + 1);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1897: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).
  upper = atoi (p);		/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1899: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).
  lower = atoi (p);		/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1944: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).
  count = atoi (p);		/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1994:9:  [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).
  pad = atoi (p);		/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:2030: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).
  shift = atoi (p);		/* TODO Overflow? */
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:2670: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 formula[40];
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:2679: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 (formula, "%d - %d", parser->formulas.checked, maxformula);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:2684: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 (formula, "%d", parser->formulas.checked);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:244: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 cc[256];
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:909: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).
  while (open > 0) {
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:912:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (open > 0)
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1313:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1647:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1700:23:  [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).
	     open++, assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1728:16:  [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).
	      assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1760:16:  [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).
	      assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1794:16:  [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).
	      assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1854:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  } while (open);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:736:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE * file = fopen (tmp, "w");
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:843: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 (exps + maxwidth + 1, 
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:888:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE * to = fopen (output_name, "w"), * from = fopen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:888:50:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE * to = fopen (output_name, "w"), * from = fopen (tmp, "r");
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:955:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(input = fopen (input_name, "r")))
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:963: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 (tmp, "/tmp/deltabtor%u", (unsigned) getpid ());
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:976: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 (cmd + strlen (cmd), " >/dev/null 2>/dev/null");
data/boolector-1.5.118.6b56be4.121013/examples/bv/bv2.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 *assignments[10];
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:320: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 prefix[80];
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:322: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 (prefix, "[lglib%d] ", tid);
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:468: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 prefix[80];
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:492:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    else if (isnumstr (argv[i])) maxk = atoi (argv[i]);
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:575:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (prefix, "[lglfork%d] ", nforked++);
data/boolector-1.5.118.6b56be4.121013/lingeling/blimc.c:592: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 (prefix, "[lglbrutefork%d] ", nbforked++);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:198: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 fmt[10];
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:205: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 (fmt, "c %%0%dd", i);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:268: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[100];
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:277:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (name, "c F%d ", w->forked.count++);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:313: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 (name, "c B%d ", w->forked.bcount++);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:806:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if ((nworkers = atoi (argv[i])) <= 0)
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:815:38:  [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 (statsfilename && !(statsfile = fopen (statsfilename, "w")))
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:817:36:  [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 (histfilename && !(histfile = fopen (histfilename, "w")))
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:826:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(inputfile = fopen (inputname, "r"))) 
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:408: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 (lgl->FIELD, orig->FIELD, (SIZE) * sizeof *(lgl->FIELD)); \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:417: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 (lgl->NAME.start, orig->NAME.start, BYTES); \
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:862:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct FltStr { int current; char str[MAXFLTSTR][100]; } FltStr;
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:956:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char lglfloorldtab[256] =
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1104: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 (lgl->fltstr->str[lgl->fltstr->current], "%.6fd%+03.0f", d, e);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1498:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen (name, "w");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1608: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 uname[40], * p;
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1622:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  newval = atoi (valstr);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2006: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 (lgl, orig, ((char*)&orig->mem) - (char*) orig);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2010: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 (lgl->stats, orig->stats, sizeof *orig->stats);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2014: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 (lgl->opts, orig->opts, sizeof *orig->opts);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2047: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 (lgl->wchs, orig->wchs, sizeof *orig->wchs);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2097: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 fmt[20];
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2102: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 (fmt, "--%%-%ds", len);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2205: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 optbuf[40], valbuf[40];
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2234: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).
    val = atoi (valbuf);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:6029:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int open, resolved, tag, lit, uip, r0, r1, other, * p;
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:6106: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).
    assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:6182:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!--open) { uip = -lit; break; }
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:6372: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 (wchs, lgl->wchs->stk.start, nwchs * sizeof *wchs);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:8407:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int open, lit, r0, r1, tag, red, other, res, * p, * rsn;
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:8429: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).
    assert (open > 0);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:8433:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!--open) { res = lit; break; }
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:15502: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 type[20];
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:15503:17:  [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.
  if (glue < 0) sprintf (type, "irredundant");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:15504: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.
  else sprintf (type, "redundant glue %d", glue);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:100: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 isoptchartab[256];
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:257:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct OBuf { char line[81]; int pos; } OBuf;
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:271: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 str[20];
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:273: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 (str, " %d", i);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:294:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    res = fopen (name, "w");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:416:46:  [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 (p == argv[i] || *p || (timelimit = atoi (argv[i])) < 0) {
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:434:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      target = atoi (argv[i]);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:453:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      target = atoi (argv[i]);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:499:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  val = atoi (match + 1);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:565: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).
      in = fopen (iname, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:576: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).
    pfile = fopen (pname, "r");
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:592:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atoi (str);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:695:54:  [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 (!isposnum (arg = argv[++i]) || (nworkers = atoi (arg)) <= 0)
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:769: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).
      file = fopen (name, "r");
data/boolector-1.5.118.6b56be4.121013/synthebtor.c:99:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  if (!(file = fopen (argv[i], "w")))
data/boolector-1.5.118.6b56be4.121013/synthebtor.c:105:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      else if (!(file = fopen (argv[i], "r")))
data/boolector-1.5.118.6b56be4.121013/btoraigvec.c:50:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (bits);
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:160:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc (parser->file);
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:628: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).
  clen = (int) strlen (tmp);
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:647: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).
  assert (len == (int) strlen (tmp));
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:705: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).
  clen = (int) strlen (tmp);
data/boolector-1.5.118.6b56be4.121013/btorbtor.c:722: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).
  assert (len == (int) strlen (tmp));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:149: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).
  assert (strlen (Ain) == strlen (Din));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:149: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).
  assert (strlen (Ain) == strlen (Din));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:151: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).
  size = (int) strlen (Ain);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:238: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).
  alen = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:239: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).
  blen = (int) strlen (b);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:302: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).
  alen = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:303: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).
  blen = (int) strlen (b);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:358: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).
  l = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:359: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).
  k = (int) strlen (b);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:382: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).
  assert (strlen (p) == strlen (q));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:382: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).
  assert (strlen (p) == strlen (q));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:421: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).
  plen = (int) strlen (p);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:422: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).
  qlen = (int) strlen (q);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:601: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).
  return btor_decimal_to_const_n (mem, str, (int) strlen (str));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:745:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return btor_hex_to_const_n (mem, str, (int) strlen (str));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:757: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).
  assert ((int) strlen (c) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:760: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).
  BTOR_NEWN (mm, res, (int) strlen (c) + 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:777: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).
  assert ((int) strlen (str) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:792: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).
  assert ((int) strlen (str) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:795:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (str);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:810: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).
  assert ((int) strlen (str) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:826: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).
  assert ((int) strlen (str) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:853: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).
      assert ((int) strlen (str) == 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:924: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).
  assert (upper < (int) strlen (a));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:929:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:943: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).
  assert ((int) strlen (res) == delta);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:953: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).
  assert (upper < (int) strlen (a));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:967: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:971:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:982: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:995: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:998:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1012: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1027: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1027: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1028: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1032:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1047: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1047: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1048: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1064: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1064: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1065: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1069:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1099: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1099: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1100: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1116: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1116: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1117: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1122:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1142: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1142: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1143: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1158: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1161:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1178: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1178: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1179: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1199: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).
  assert (n < (int) strlen (a));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1201:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1222: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1222: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1223: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1227:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1251: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1251: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1252: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1268: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).
  assert (n < (int) strlen (a));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1270:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (a);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1290: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1290: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1291: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1308: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1308: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1309: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1326: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).
  assert ((int) strlen (a) > 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1327:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (btor_is_power_of_2_util ((int) strlen (a)));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1328: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1328: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1332:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (b);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1357: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).
  assert ((int) strlen (a) > 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1358:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (btor_is_power_of_2_util ((int) strlen (a)));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1359: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1359: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1375: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).
  assert ((int) strlen (a) > 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1376:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (btor_is_power_of_2_util ((int) strlen (a)));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1377: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1377: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1381:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (b);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1405: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).
  assert ((int) strlen (a) > 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1406:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert (btor_is_power_of_2_util ((int) strlen (a)));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1407: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1407: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).
  assert (btor_log_2_util ((int) strlen (a)) == (int) strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1422: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1422: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).
  assert (strlen (a) == strlen (b));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1423: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1444: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1445: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).
  assert ((int) strlen (b) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1449: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).
  BTOR_NEWN (mm, result, (int) strlen (a) + (int) strlen (b) + 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1449: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).
  BTOR_NEWN (mm, result, (int) strlen (a) + (int) strlen (b) + 1);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1461: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1462: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).
  assert ((int) strlen (b) > 0);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1480: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).
  rlen = (int) strlen (c) + len;
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1500:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen (c);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1544: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).
  assert (strlen (res) == strlen (c));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1544: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).
  assert (strlen (res) == strlen (c));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1568: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).
  clen = (int) strlen (c);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1625: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).
      assert ((int) strlen (rem) <= 4);
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1653: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).
  assert (len == (int) strlen (res));
data/boolector-1.5.118.6b56be4.121013/btorconst.c:1680: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).
  assert ((int) strlen (a) > 0);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:2045: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).
  assert ((int) strlen (bits) == len);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:2254: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).
  assert ((int) strlen (bits) == len);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:2482:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int) strlen (bits);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4374: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).
  path = cmd + strlen (cmd);
data/boolector-1.5.118.6b56be4.121013/btorexp.c:4379:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (cmd, "&");
data/boolector-1.5.118.6b56be4.121013/btorexp.c:5199: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).
		  len = (int) strlen (name) + 40;
data/boolector-1.5.118.6b56be4.121013/btormain.c:303:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int l = strlen (str), k = strlen (suffix), d = l - k;
data/boolector-1.5.118.6b56be4.121013/btormain.c:303: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).
  int l = strlen (str), k = strlen (suffix), d = l - k;
data/boolector-1.5.118.6b56be4.121013/btormain.c:311:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int l = strlen (str), k = strlen (suffix), d = l - k;
data/boolector-1.5.118.6b56be4.121013/btormain.c:311: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).
  int l = strlen (str), k = strlen (suffix), d = l - k;
data/boolector-1.5.118.6b56be4.121013/btormain.c:512: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).
	     && strlen (app->argv[app->argpos]) == strlen ("-rlw") + 1)
data/boolector-1.5.118.6b56be4.121013/btormain.c:512:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     && strlen (app->argv[app->argpos]) == strlen ("-rlw") + 1)
data/boolector-1.5.118.6b56be4.121013/btormain.c:515:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		&& strlen (app->argv[app->argpos]) ==
data/boolector-1.5.118.6b56be4.121013/btormain.c:516:3:  [1] (buffer) strlen:
  Does not handle 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 ("--rewrite-level") + 1))
data/boolector-1.5.118.6b56be4.121013/btormain.c:519: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).
	    (int) app->argv[app->argpos][(int) strlen (app->argv[app->argpos]) -
data/boolector-1.5.118.6b56be4.121013/btormain.c:714: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).
	      char * cmd = malloc (strlen (name) + 40);
data/boolector-1.5.118.6b56be4.121013/btormain.c:722: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).
	      char * cmd = malloc (strlen (name) + 40);
data/boolector-1.5.118.6b56be4.121013/btormain.c:730: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).
	      char * cmd = malloc (strlen (name) + 40);
data/boolector-1.5.118.6b56be4.121013/btormain.c:1062:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  ch = getc (app.input_file);
data/boolector-1.5.118.6b56be4.121013/btormain.c:1070:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      ch = getc (app.input_file);
data/boolector-1.5.118.6b56be4.121013/btormem.c:129: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).
      res = btor_malloc (mm, strlen (str) + 1);
data/boolector-1.5.118.6b56be4.121013/btormem.c:143: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).
    btor_free (mm, str, strlen (str) + 1);
data/boolector-1.5.118.6b56be4.121013/btormem.c:160: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).
  size_t bytes = strlen (name) + 20;	/* care for ':: \0' and lineno */
data/boolector-1.5.118.6b56be4.121013/btormem.c:182: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).
	      bytes += strlen (va_arg (ap, const char *));
data/boolector-1.5.118.6b56be4.121013/btormem.c:205: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).
  assert (strlen (tmp) + 1 < bytes);
data/boolector-1.5.118.6b56be4.121013/btormem.c:206: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).
  vsprintf (tmp + strlen (tmp), fmt, ap);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:195:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  prefix = btor_malloc (smgr->mm, strlen (smgr->name) + 4);
data/boolector-1.5.118.6b56be4.121013/btorsat.c:201: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).
  btor_free (smgr->mm, prefix, strlen (smgr->name) + 4);
data/boolector-1.5.118.6b56be4.121013/btorsat.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).
  len = strlen (optstr);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:871:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = getc (parser->file);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1509: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).
			  tlen = (int) strlen (tmp);
data/boolector-1.5.118.6b56be4.121013/btorsmt.c:1555: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).
		  tlen = (int) strlen (tmp);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:308:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  else res = getc (parser->file);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1771: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).
	      len = (int) strlen (constr);
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1841:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen (constr), width = strlen (parser->token.start+2)*4;
data/boolector-1.5.118.6b56be4.121013/btorsmt2.c:1841: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).
	int len = strlen (constr), width = strlen (parser->token.start+2)*4;
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:117:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    res = getc (input);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:122:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((res = getc (input)) != '\n' && res != EOF)
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:127:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((res = getc (input)) == ' ' || res == '\t')
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:892:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = getc (from)) != EOF) fputc (ch, to);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:965: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 (tmp);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:968: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).
    len += 1 + strlen (argv[i]);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:970: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).
  cmd = malloc (strlen (run_name) + len + 100);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:974: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).
    sprintf (cmd + strlen (cmd), " %s", argv[i]);
data/boolector-1.5.118.6b56be4.121013/deltabtor.c:976: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).
  sprintf (cmd + strlen (cmd), " >/dev/null 2>/dev/null");
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:34:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  BtorNode *array, *read, *max, *temp, *ugt, *formula, *index;
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:52:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ugt = boolector_ugt (btor, read, max);
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:54:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      temp = boolector_cond (btor, ugt, read, max);
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:57:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      boolector_release (btor, read);
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:67:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  formula = boolector_ugt (btor, read, max);
data/boolector-1.5.118.6b56be4.121013/examples/array/array1.c:81:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  boolector_release (btor, read);
data/boolector-1.5.118.6b56be4.121013/lingeling/ilingeling.c:466:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  res = getc (inputfile);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglbnr.c:13: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).
  int len = 78 - strlen (prefix);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1302: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).
  NEW (res, strlen (str) + 1);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1307: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).
  DEL (str, strlen (str) + 1);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1489: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 (name);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:1610: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).
  assert (strlen (lname) + 3 + 1 < sizeof (uname));
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2091: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).
    if ((len = strlen (o->lng)) > res)
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2209:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (lglws (ch = getc (file)))
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2214:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getc (file)) != EOF && !lglws (ch)) {
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2222:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (lglws (ch = getc (file)))
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:2227:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getc (file)) != EOF && !lglws (ch)) {
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:17498:5:  [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 (1000);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglib.c:17511:7:  [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 (1000);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:95:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int res = getc (in);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:274: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 (str);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:283:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen (name);
data/boolector-1.5.118.6b56be4.121013/lingeling/lglmain.c:538: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 (iname);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:238:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc (file);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:240:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getc (file)) != '\n')
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:253:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc (file);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:255:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getc (file)) != '\n')
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:267:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc (file);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:273:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while (isdigit (ch = getc (file)))
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:748:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (name) >= 3 && !strcmp (name + strlen(name) - 3, ".gz")) {
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:748:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (name) >= 3 && !strcmp (name + strlen(name) - 3, ".gz")) {
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:749: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).
      cmd = malloc (strlen (name) + 30);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:754: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).
    } else if (strlen (name) >= 4 &&
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:755: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).
               !strcmp (name + strlen(name) - 4, ".bz2")) {
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:756: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).
      cmd = malloc (strlen (name) + 30);
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:761: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).
    } else if (strlen (name) >= 3 && 
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:762: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).
               !strcmp (name + strlen (name) - 3, ".7z")) {
data/boolector-1.5.118.6b56be4.121013/lingeling/plingeling.c:763: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).
      cmd = malloc (strlen (name) + 40);

ANALYSIS SUMMARY:

Hits = 401
Lines analyzed = 56437 in approximately 1.40 seconds (40362 lines/second)
Physical Source Lines of Code (SLOC) = 47846
Hits@level = [0] 329 [1] 200 [2] 107 [3]  14 [4]  80 [5]   0
Hits@level+ = [0+] 730 [1+] 401 [2+] 201 [3+]  94 [4+]  80 [5+]   0
Hits/KSLOC@level+ = [0+] 15.2573 [1+] 8.38106 [2+] 4.20098 [3+] 1.96464 [4+] 1.67203 [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.