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/blt-2.5.3+dfsg/acconfig.h
Examining data/blt-2.5.3+dfsg/win/X11/Xfuncproto.h
Examining data/blt-2.5.3+dfsg/win/X11/cursorfont.h
Examining data/blt-2.5.3+dfsg/win/X11/keysym.h
Examining data/blt-2.5.3+dfsg/win/X11/keysymdef.h
Examining data/blt-2.5.3+dfsg/win/X11/X.h
Examining data/blt-2.5.3+dfsg/win/X11/Xatom.h
Examining data/blt-2.5.3+dfsg/win/X11/Xutil.h
Examining data/blt-2.5.3+dfsg/win/X11/Xlib.h
Examining data/blt-2.5.3+dfsg/generic/bltVecInt.h
Examining data/blt-2.5.3+dfsg/generic/bltStubInit.c
Examining data/blt-2.5.3+dfsg/generic/bltHash.c
Examining data/blt-2.5.3+dfsg/generic/bltChain.h
Examining data/blt-2.5.3+dfsg/generic/bltList.c
Examining data/blt-2.5.3+dfsg/generic/bltWinConfig.h
Examining data/blt-2.5.3+dfsg/generic/bltGrElem.h
Examining data/blt-2.5.3+dfsg/generic/bltGrLegd.h
Examining data/blt-2.5.3+dfsg/generic/bltTile.h
Examining data/blt-2.5.3+dfsg/generic/bltChain.c
Examining data/blt-2.5.3+dfsg/generic/bltSwitch.h
Examining data/blt-2.5.3+dfsg/generic/bltList.h
Examining data/blt-2.5.3+dfsg/generic/bltWatch.c
Examining data/blt-2.5.3+dfsg/generic/bltWait.h
Examining data/blt-2.5.3+dfsg/generic/tkConsole.c
Examining data/blt-2.5.3+dfsg/generic/bltPs.h
Examining data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c
Examining data/blt-2.5.3+dfsg/generic/bltCutbuffer.c
Examining data/blt-2.5.3+dfsg/generic/bltObjConfig.h
Examining data/blt-2.5.3+dfsg/generic/bltSwitch.c
Examining data/blt-2.5.3+dfsg/generic/bltMath.h
Examining data/blt-2.5.3+dfsg/generic/bltTable.h
Examining data/blt-2.5.3+dfsg/generic/bltTree.h
Examining data/blt-2.5.3+dfsg/generic/bltWinPipe.c
Examining data/blt-2.5.3+dfsg/generic/bltVecCmd.c
Examining data/blt-2.5.3+dfsg/generic/bltImage.h
Examining data/blt-2.5.3+dfsg/generic/bltPool.c
Examining data/blt-2.5.3+dfsg/generic/tkMenubutton.c
Examining data/blt-2.5.3+dfsg/generic/bltPool.h
Examining data/blt-2.5.3+dfsg/generic/bltWin.h
Examining data/blt-2.5.3+dfsg/generic/bltDebug.c
Examining data/blt-2.5.3+dfsg/generic/bltInt.h
Examining data/blt-2.5.3+dfsg/generic/bltText.h
Examining data/blt-2.5.3+dfsg/generic/bltParse.c
Examining data/blt-2.5.3+dfsg/generic/bltStubLib.c
Examining data/blt-2.5.3+dfsg/generic/bltTuple.c
Examining data/blt-2.5.3+dfsg/generic/bltWinUtil.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeView.h
Examining data/blt-2.5.3+dfsg/generic/bltBind.h
Examining data/blt-2.5.3+dfsg/generic/bltTupleCmd.c
Examining data/blt-2.5.3+dfsg/generic/bltGrAxis.h
Examining data/blt-2.5.3+dfsg/generic/bltVector.h
Examining data/blt-2.5.3+dfsg/generic/bltWinImage.c
Examining data/blt-2.5.3+dfsg/generic/tkScrollbar.c
Examining data/blt-2.5.3+dfsg/generic/bltSpline.c
Examining data/blt-2.5.3+dfsg/generic/bltTuple.h
Examining data/blt-2.5.3+dfsg/generic/bltWinDde.c
Examining data/blt-2.5.3+dfsg/generic/blt.h
Examining data/blt-2.5.3+dfsg/generic/bltBind.c
Examining data/blt-2.5.3+dfsg/generic/bltUnixMain.c
Examining data/blt-2.5.3+dfsg/generic/missing.h
Examining data/blt-2.5.3+dfsg/generic/bltWinMain.c
Examining data/blt-2.5.3+dfsg/generic/bltInterp.h
Examining data/blt-2.5.3+dfsg/generic/bltGraph.h
Examining data/blt-2.5.3+dfsg/generic/bltWinPrnt.c
Examining data/blt-2.5.3+dfsg/generic/bltNsUtil.h
Examining data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c
Examining data/blt-2.5.3+dfsg/generic/bltAlloc.c
Examining data/blt-2.5.3+dfsg/generic/bltWinDraw.c
Examining data/blt-2.5.3+dfsg/generic/bltVecMath.c
Examining data/blt-2.5.3+dfsg/generic/bltOldConfig.h
Examining data/blt-2.5.3+dfsg/generic/bltTkInt.h
Examining data/blt-2.5.3+dfsg/generic/bltWindow.c
Examining data/blt-2.5.3+dfsg/generic/bltPs.c
Examining data/blt-2.5.3+dfsg/generic/bltText.c
Examining data/blt-2.5.3+dfsg/generic/bltDecls.h
Examining data/blt-2.5.3+dfsg/generic/bltNsUtil.c
Examining data/blt-2.5.3+dfsg/generic/bltGrElem.c
Examining data/blt-2.5.3+dfsg/generic/bltGrGrid.c
Examining data/blt-2.5.3+dfsg/generic/bltGrHairs.c
Examining data/blt-2.5.3+dfsg/generic/bltGrLegd.c
Examining data/blt-2.5.3+dfsg/generic/bltGrMarker.c
Examining data/blt-2.5.3+dfsg/generic/bltGrPen.c
Examining data/blt-2.5.3+dfsg/generic/bltGrPs.c
Examining data/blt-2.5.3+dfsg/generic/bltGraph.c
Examining data/blt-2.5.3+dfsg/generic/bltBitmap.c
Examining data/blt-2.5.3+dfsg/generic/bltBusy.c
Examining data/blt-2.5.3+dfsg/generic/bltCanvEps.c
Examining data/blt-2.5.3+dfsg/generic/bltOldConfig.c
Examining data/blt-2.5.3+dfsg/generic/bltDragdrop.c
Examining data/blt-2.5.3+dfsg/generic/tkFrame.c
Examining data/blt-2.5.3+dfsg/generic/bltArrayObj.c
Examining data/blt-2.5.3+dfsg/generic/bltVector.c
Examining data/blt-2.5.3+dfsg/generic/bltGrLine.c
Examining data/blt-2.5.3+dfsg/generic/bltBeep.c
Examining data/blt-2.5.3+dfsg/generic/bltHtext.c
Examining data/blt-2.5.3+dfsg/generic/bltImage.c
Examining data/blt-2.5.3+dfsg/generic/bltTabnotebook.c
Examining data/blt-2.5.3+dfsg/generic/bltColor.c
Examining data/blt-2.5.3+dfsg/generic/bltTabset.c
Examining data/blt-2.5.3+dfsg/generic/bltTile.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c
Examining data/blt-2.5.3+dfsg/generic/bltUnixDnd.c
Examining data/blt-2.5.3+dfsg/generic/tkButton.c
Examining data/blt-2.5.3+dfsg/generic/bltScrollbar.c
Examining data/blt-2.5.3+dfsg/generic/bltTed.c
Examining data/blt-2.5.3+dfsg/generic/bltBgexec.c
Examining data/blt-2.5.3+dfsg/generic/bltTree.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeCmd.c
Examining data/blt-2.5.3+dfsg/generic/bltUnixPipe.c
Examining data/blt-2.5.3+dfsg/generic/bltUtil.c
Examining data/blt-2.5.3+dfsg/generic/bltInit.c
Examining data/blt-2.5.3+dfsg/generic/bltGrAxis.c
Examining data/blt-2.5.3+dfsg/generic/bltGrBar.c
Examining data/blt-2.5.3+dfsg/generic/bltGrMisc.c
Examining data/blt-2.5.3+dfsg/generic/bltConfig.c
Examining data/blt-2.5.3+dfsg/generic/bltContainer.c
Examining data/blt-2.5.3+dfsg/generic/bltHierbox.c
Examining data/blt-2.5.3+dfsg/generic/bltUnixImage.c
Examining data/blt-2.5.3+dfsg/generic/bltTable.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeView.c
Examining data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c
Examining data/blt-2.5.3+dfsg/generic/bltWinop.c
Examining data/blt-2.5.3+dfsg/generic/bltObjConfig.c

FINAL RESULTS:

data/blt-2.5.3+dfsg/generic/bltAlloc.c:107:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(ptr, string);
data/blt-2.5.3+dfsg/generic/bltBitmap.c:855:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(string, "%s%02x", separator, bits[i]);
data/blt-2.5.3+dfsg/generic/bltBusy.c:504:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(name, fmt, Tk_Name(tkRef));
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:65:22:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PurifyPrintf printf
data/blt-2.5.3+dfsg/generic/bltConfig.c:895:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(string, "%s %d", Tk_NameOfColor(shadowPtr->color),
data/blt-2.5.3+dfsg/generic/bltConfig.c:934:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(string, "%s %s %d", Tk_NameOfColor(gradientPtr->color), Tk_NameOfColor(gradientPtr->color2), gradientPtr->width);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:944:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(labelPtr->string, string);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3117:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(errMsg, "impossible limits (min %g >= max %g) for axis \"%s\"",
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3126:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(errMsg, "bad logscale limits (min=%g,max=%g) for axis \"%s\"",
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4370:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(minString, minFormat, axisPtr->axisRange.min);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4374:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(maxString, maxFormat, axisPtr->axisRange.max);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4441:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, maxFmt, axisPtr->axisRange.max);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4462:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, minFmt, axisPtr->axisRange.min);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1590:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x); 
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1592:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, y); 
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1594:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1596:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1864:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x); 
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1866:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, y); 
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1868:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1870:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4410:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x); 
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4412:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, y); 
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4414:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4416:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4919:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x); 
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4921:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, y); 
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4923:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string, fmt, x);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4925:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:691:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(date, ctime(&ticks));
data/blt-2.5.3+dfsg/generic/bltHash.c:275:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(hPtr->key.string, key);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2187:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(p, path);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5200:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(info, "\n    (while loading bindings for %s)", argv[0]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6188:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(string, entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6189:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(string, argv[5]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6191:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(string, argv[5]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6192:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(string, entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6202:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(p, argv[5]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6204:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(p, right);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6293:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(p, entryPtr->labelText + last);
data/blt-2.5.3+dfsg/generic/bltInt.h:984:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PurifyPrintf  printf
data/blt-2.5.3+dfsg/generic/bltList.c:170:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(nodePtr->key.string, key);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:238:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(string, nsPtr->fullName);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:240:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(string, NS_DELETE_CMD);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:265:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(string, nsPtr->fullName);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:267:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(string, NS_DELETE_CMD);
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2075:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(msg, "\n    (%s \"%.50s\" in widget \"%.50s\")",
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2104:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg,
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:210:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(msg, "\n    (%s \"%.50s\" in widget \"%.50s\")",
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:234:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg,
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:410:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    strcpy(new, value);
data/blt-2.5.3+dfsg/generic/bltParse.c:236:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(parsePtr->next, iPtr->result);
data/blt-2.5.3+dfsg/generic/bltParse.c:505:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(dest, value);
data/blt-2.5.3+dfsg/generic/bltPs.c:110:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(tokenPtr->scratchArr, fmt, argList);
data/blt-2.5.3+dfsg/generic/bltPs.c:666:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(string, "%s-", family);
data/blt-2.5.3+dfsg/generic/bltTable.c:1614:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(string, padFmt, rcPtr->pad.side1, rcPtr->pad.side2);
data/blt-2.5.3+dfsg/generic/bltTable.c:1624:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(string, sizeFmt, NameOfLimits(&(rcPtr->reqSize)));
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:5727:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(info, "\n    (while loading bindings for %s)", argv[0]);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2487:14:  [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(tabPtr->textDisp, tabPtr->text);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2492:18:  [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(tabPtr->textDisp, setPtr->ellipsis);
data/blt-2.5.3+dfsg/generic/bltTabset.c:6868:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(info, "\n    (while loading bindings for %s)", argv[0]);
data/blt-2.5.3+dfsg/generic/bltTed.c:533:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(namePtr, "ted_%s", Tk_Name(master));
data/blt-2.5.3+dfsg/generic/bltText.c:279:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(p+size-len-1, string);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:7535:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tracePtr->command, command);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:6669:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "set className %s\n\
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:179:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(p, path);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:613:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(newText, oldText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:614:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(newText, insertText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:616:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(newText, insertText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:617:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(newText, oldText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:624:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(p, insertText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:626:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(p, oldText + insertPos);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:680:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(p, oldText + lastPos);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:1069:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(editClass, "%sEditor", Tk_Class(tvPtr->tkwin));
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:461:2:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execvp(newArgv[0], newArgv);                    /* INTL: Native. */
data/blt-2.5.3+dfsg/generic/bltUtil.c:593:5:  [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, format, argList);
data/blt-2.5.3+dfsg/generic/bltVecMath.c:2194:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(zBuf, string);
data/blt-2.5.3+dfsg/generic/bltVecMath.c:2197:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(zStatic, string);
data/blt-2.5.3+dfsg/generic/bltVector.c:268:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(zBuf, string);
data/blt-2.5.3+dfsg/generic/bltVector.c:271:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(zStatic, string);
data/blt-2.5.3+dfsg/generic/bltWinDde.c:236:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(riPtr->name, name);
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:235:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy((char *)lf.lfFaceName, Tcl_DStringValue(&dString));
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:505:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(gcPtr->dashValues, dashesPtr->values);
data/blt-2.5.3+dfsg/generic/bltWinMain.c:236:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buf, format, argList);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1141:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cmd, program);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1145:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(cmd, *p);	/* Append the DOS extension to the
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1192:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(fullPath, program);
data/blt-2.5.3+dfsg/generic/tkButton.c:1893:14:  [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(butPtr->selVarName, Tk_Name(butPtr->tkwin));
data/blt-2.5.3+dfsg/generic/tkButton.c:1899:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(butPtr->selVarName, Tk_Name(butPtr->tkwin));
data/blt-2.5.3+dfsg/generic/tkButton.c:2105:18:  [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(butPtr->textPtr, value);
data/blt-2.5.3+dfsg/generic/tkButton.c:2139:14:  [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(butPtr->textPtr, value);
data/blt-2.5.3+dfsg/generic/tkButton.c:3492:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(butPtr->textPtr, value);
data/blt-2.5.3+dfsg/generic/tkButton.c:3563:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(butPtr->textPtr, value);
data/blt-2.5.3+dfsg/generic/tkFrame.c:732:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(oldMenuName, framePtr->menuName);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:700:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(mbPtr->text, value);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:1192:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(mbPtr->text, value);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:719: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.
	who = getenv("LOGNAME");
data/blt-2.5.3+dfsg/generic/bltMath.h:190:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double drand48 _ANSI_ARGS_((void));
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2078:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		    if (getenv("TCL_BADOPTS") == NULL) {
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:213:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		    if (getenv("TCL_BADOPTS") == NULL) {
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1315:22:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	vPtr->valueArr[i] = drand48();
data/blt-2.5.3+dfsg/generic/bltVecMath.c:222:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double drand48 _ANSI_ARGS_((void));
data/blt-2.5.3+dfsg/generic/bltVecMath.c:2076:63:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    {"random", (GenericMathProc *) ComponentFunc, (ClientData)drand48},
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:1681:22:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	vPtr->valueArr[i] = drand48();
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:564:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&pipeCriticalSection);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:610:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&pipeCriticalSection);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:800:3:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
	(GetTempFileName(name, "TCL", 0, name))) {
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:804:12:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
    return GetTempFileName(".", "TCL", 0, name);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1557:14:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    result = CreateProcess(
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1557:14:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    result = CreateProcess(
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:2265:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&pipeCriticalSection);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:2297:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&pipeCriticalSection);
data/blt-2.5.3+dfsg/generic/bltWinUtil.c:30:1:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
drand48(void)
data/blt-2.5.3+dfsg/generic/bltWinUtil.c:38:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/blt-2.5.3+dfsg/generic/bltWinop.c:1500:12:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return drand48();
data/blt-2.5.3+dfsg/generic/bltWinop.c:1502:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return (double)random()/RAND_MAX;
data/blt-2.5.3+dfsg/generic/bltBgexec.c:307: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.
    unsigned char staticSpace[DEF_BUFFER_SIZE];	/* Static space */
data/blt-2.5.3+dfsg/generic/bltBgexec.c:991:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char leftover[100];
data/blt-2.5.3+dfsg/generic/bltBgexec.c:1632:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltBgexec.c:1709: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(string, "%u", lastPid);
data/blt-2.5.3+dfsg/generic/bltBgexec.c:1735: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(string, "child completed with unknown status 0x%x",
data/blt-2.5.3+dfsg/generic/bltBgexec.c:2090:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltBgexec.c:2096:6:  [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(string, "%u", (unsigned int)bgPtr->procArr[i].pid);
data/blt-2.5.3+dfsg/generic/bltBgexec.c:2098:6:  [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(string, "%d", bgPtr->procArr[i]);
data/blt-2.5.3+dfsg/generic/bltBitmap.c:147: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 hexTable[256];	/* conversion value */
data/blt-2.5.3+dfsg/generic/bltBitmap.c:846:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltBitmap.c:937:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    textPtr = Blt_GetTextLayout((char *)argv[3], &ts);
data/blt-2.5.3+dfsg/generic/bltBitmap.c:1035:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    for (p = (char *)argv[3]; isspace(UCHAR(*p)); p++) {
data/blt-2.5.3+dfsg/generic/bltBusy.c:1004: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 *)busyPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltBusy.c:1047:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)busyPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:48:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define open _open
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_EPS_LINE_LENGTH + 1];
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hexTable[256];		/* Table for converting ASCII hex digits to
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:739:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(epsPtr->fileName, "rb");
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:1492:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[64];
data/blt-2.5.3+dfsg/generic/bltCanvEps.c:1494:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "wrong # coordinates: expected 2, got %d", argc);
data/blt-2.5.3+dfsg/generic/bltConfig.c:775:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltConfig.c:777: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(string, "%d %d", padPtr->side1, padPtr->side2);
data/blt-2.5.3+dfsg/generic/bltConfig.c:893:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltConfig.c:932:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltContainer.c:325:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char string[200];
data/blt-2.5.3+dfsg/generic/bltContainer.c:337: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(string, "0x%x", (unsigned int)window);
data/blt-2.5.3+dfsg/generic/bltContainer.c:830:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[200], *cp;
data/blt-2.5.3+dfsg/generic/bltContainer.c:1615: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 *)cntrPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltContainer.c:1650:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)cntrPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltCutbuffer.c:108:6:  [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(newPtr, string, nBytes);
data/blt-2.5.3+dfsg/generic/bltDebug.c:110:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char traceStack[200];
data/blt-2.5.3+dfsg/generic/bltDebug.c:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prompt[200];
data/blt-2.5.3+dfsg/generic/bltDebug.c:159: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(prompt, "%-2d-> ", level);
data/blt-2.5.3+dfsg/generic/bltDebug.c:205: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(prompt, "  <- ");
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:600:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[MAX_PROP_SIZE + 1];
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:969:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[200];
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:974: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(buffer, "%d", tokenPtr->active);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:1090:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:1095: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(string, "dd-token%d", ++nextTokenId);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2028:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char verbatim[3];
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2339:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (GetSource(interp, (char *)argv[2], &srcPtr) != TCL_OK) {
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2432:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    srcPtr = CreateSource(interp, (char *)argv[2], &isNew);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2454: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.
		    (char *)srcPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:638:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:742:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:908:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TICK_LABEL_SIZE + 1];
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:913: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(string, "1E%d", ROUND(value));
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:915: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(string, "%.*g", NUMDIGITS, value);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errMsg[200];
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3349: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.
    static char *axisNames[4] = { "x", "y", "x2", "y2" } ;
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3430: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 *)axisPtr, argv[0], Blt_GraphType(graphPtr));
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:3465:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)axisPtr, argv[0], flags);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char minString[200], maxString[200];
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:4422:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltGrAxis.h:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[1];
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE * 2 + 2];
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1849:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE * 2 + 2];
data/blt-2.5.3+dfsg/generic/bltGrElem.c:411:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltGrElem.c:531:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltGrElem.c:760:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[TCL_DOUBLE_SPACE];
data/blt-2.5.3+dfsg/generic/bltGrElem.c:1609:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)elemPtr, argv[4], 0) != TCL_OK) {
data/blt-2.5.3+dfsg/generic/bltGrElem.c:1764:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltGrElem.c:1772: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(string, "%d", search.index);
data/blt-2.5.3+dfsg/generic/bltGrElem.c:1855: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.
		elemPtr->specsPtr, (char *)elemPtr, options[0], flags);
data/blt-2.5.3+dfsg/generic/bltGrGrid.c:333: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 *)gridPtr, argv[3], Blt_GraphType(graphPtr));
data/blt-2.5.3+dfsg/generic/bltGrGrid.c:369:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)gridPtr, argv[3], flags);
data/blt-2.5.3+dfsg/generic/bltGrHairs.c:358:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)chPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltGrHairs.c:391:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)chPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltGrLegd.c:456:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char string[200];
data/blt-2.5.3+dfsg/generic/bltGrLegd.c:459:6:  [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(string, "@%d,%d", (int)legendPtr->anchorPos.x, 
data/blt-2.5.3+dfsg/generic/bltGrLegd.c:1407:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)legendPtr, argv[3], flags);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE * 2 + 2];
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4904:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE * 2 + 2];
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:1156:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:1802:6:  [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(&bmPtr->outline, polygon, sizeof(Point2D) * 4);
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:4253:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	markerPtr->classPtr->configSpecs, (char *)markerPtr, argv[4], 0) 
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:4310: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.
		markerPtr->classPtr->configSpecs, (char *)markerPtr, 
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:4368:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:4403: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(string, "marker%d", graphPtr->nextMarkerId++);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:174:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:176: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(string, "@%d,%d", pointPtr->x, pointPtr->y);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1148: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(string, " %f %f", firstFract, lastFract);
data/blt-2.5.3+dfsg/generic/bltGrPen.c:454: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 *)penPtr, argv[4], configFlags);
data/blt-2.5.3+dfsg/generic/bltGrPen.c:511:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    penPtr->configSpecs, (char *)penPtr, options[0], flags);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:382:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (Tk_ConfigureValue(interp, graphPtr->tkwin, configSpecs, (char *)psPtr,
data/blt-2.5.3+dfsg/generic/bltGrPs.c:419:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)psPtr, argv[3], flags);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:642:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char date[200];		/* Hold the date string from ctime() */
data/blt-2.5.3+dfsg/generic/bltGrPs.c:1124:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    fileName = (char *)argv[3];	/* First argument is the file name. */
data/blt-2.5.3+dfsg/generic/bltGrPs.c:1133: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).
	    f = fopen(fileName, "wb");
data/blt-2.5.3+dfsg/generic/bltGrPs.c:1135: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).
	    f = fopen(fileName, "w");
data/blt-2.5.3+dfsg/generic/bltGraph.c:1095:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)graphPtr, argv[2], flags);
data/blt-2.5.3+dfsg/generic/bltGraph.c:1115: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 *)graphPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltGraph.c:1150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltGraph.c:1164: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(string, "%d %d %d %d", graphPtr->left, graphPtr->top,
data/blt-2.5.3+dfsg/generic/bltGraph.c:1170: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(string, "%d %d %d %d", Blt_LegendX(graphPtr->legend), 
data/blt-2.5.3+dfsg/generic/bltHash.c:1302: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(result, "%ld entries in table, %ld buckets\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1305: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(result, "%d entries in table, %d buckets\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1311: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(p, "number of buckets with %ld entries: %ld\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1314: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(p, "number of buckets with %d entries: %d\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1320: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(p, "number of buckets with %d or more entries: %ld\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1323: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(p, "number of buckets with %d or more entries: %d\n",
data/blt-2.5.3+dfsg/generic/bltHash.c:1327: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(p, "average search distance for entry: %.2f\n", average);
data/blt-2.5.3+dfsg/generic/bltHash.c:1330: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(p, "maximum search distance for entry: %ld", max);
data/blt-2.5.3+dfsg/generic/bltHash.c:1332: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(p, "maximum search distance for entry: %d", max);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2405: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.
    static char string[200];
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2411: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(string, "%d", serial);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2643:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5198:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char info[200];
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5370: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(string, "%d %d %d %d", left, top, right - left, bottom - top);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5466: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 *)hboxPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5507:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)hboxPtr, argv[0], 0);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5578: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 *)hboxPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5680:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)hboxPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltHtext.c:804:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltHtext.c:806: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(string, "%d", pixels);
data/blt-2.5.3+dfsg/generic/bltHtext.c:888:6:  [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(newPtr, *arrayPtr, size);
data/blt-2.5.3+dfsg/generic/bltHtext.c:1283:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char string[200];
data/blt-2.5.3+dfsg/generic/bltHtext.c:1285:6:  [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(string, "can't determine line number from index \"%d\"",
data/blt-2.5.3+dfsg/generic/bltHtext.c:1966:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(fileName, "r");
data/blt-2.5.3+dfsg/generic/bltHtext.c:2261:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[80];
data/blt-2.5.3+dfsg/generic/bltHtext.c:2268:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buf, "%d", lineNum);
data/blt-2.5.3+dfsg/generic/bltHtext.c:2271:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[80];
data/blt-2.5.3+dfsg/generic/bltHtext.c:2273:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buf, "%d", htPtr->nChars - 1);
data/blt-2.5.3+dfsg/generic/bltHtext.c:3553:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltHtext.c:3555: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(string, "can't determine line number from index \"%d\"",
data/blt-2.5.3+dfsg/generic/bltHtext.c:3844:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char string[200];
data/blt-2.5.3+dfsg/generic/bltHtext.c:3846:6:  [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(string, "can't determine line number from index \"%d\"",
data/blt-2.5.3+dfsg/generic/bltHtext.c:4380:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltHtext.c:4388: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(string, "%d.%d", line, cpos);
data/blt-2.5.3+dfsg/generic/bltImage.c:101: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.
    unsigned char lut[256];
data/blt-2.5.3+dfsg/generic/bltImage.c:981:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( dst, src, width*height*4 );
data/blt-2.5.3+dfsg/generic/bltImage.c:1020:9:  [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( src, dst, width*height*4 );
data/blt-2.5.3+dfsg/generic/bltImage.c:1861:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(destPtr, srcPtr, width * height * sizeof(Pix32));
data/blt-2.5.3+dfsg/generic/bltImage.h:60: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.
    unsigned char channel[4];
data/blt-2.5.3+dfsg/generic/bltInit.c:51: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 libPath[1024] =
data/blt-2.5.3+dfsg/generic/bltInt.h:383:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen(f,m)	Blt_OpenUtfFile((f),(m));
data/blt-2.5.3+dfsg/generic/bltInt.h:512: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.
    unsigned char values[12];
data/blt-2.5.3+dfsg/generic/bltInterp.h:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *patterns[NUM_REGEXPS];/* Strings corresponding to compiled
data/blt-2.5.3+dfsg/generic/bltInterp.h:350:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char resultSpace[TCL_RESULT_SIZE + 1];
data/blt-2.5.3+dfsg/generic/bltList.c:176:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(nodePtr->key.words, key, keySize);
data/blt-2.5.3+dfsg/generic/bltList.h:44:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[4];		/* String for key.  The actual size
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:239:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(string, "::");
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:266:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(string, "::");
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:1509:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[200];
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:1511:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "bad config table: unknown type %d", 
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:1792:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char *conftypes[BLT_CONFIG_END+10] = {
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2029:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char msg[100];
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2031:6:  [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(msg, "\n    (processing \"%.40s\" option)",
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2073:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char msg[200];
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2101:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char msg[200];
data/blt-2.5.3+dfsg/generic/bltObjConfig.c:2679:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *) cachedSpecs, (void *) staticSpecs, entrySpace);
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:162:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char msg[100];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:164:6:  [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(msg, "\n    (processing \"%.40s\" option)",
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:208:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char msg[200];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:232:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char msg[200];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:586:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64 + TCL_INTEGER_SPACE];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:588:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "bad config table: unknown type %d",
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:730:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    CONST char *argv[7];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:732:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[200];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:758:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char *conftypes[TK_CONFIG_END+10] = {
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:778: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.
	    ckfree((char *)argv[4]);
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:780:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (*freeProc)((char *)argv[4]);
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:836:6:  [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", *((int *) ptr));
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:908:6:  [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", *((int *) ptr));
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:972:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[200];
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:1165:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *) cachedSpecs, (void *) staticSpecs, entrySpace);
data/blt-2.5.3+dfsg/generic/bltParse.c:408:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((VOID *) buffer, (VOID *) parsePtr->buffer,
data/blt-2.5.3+dfsg/generic/bltParse.c:528:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[30];
data/blt-2.5.3+dfsg/generic/bltParse.c:531:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buf, "missing %c", termChar);
data/blt-2.5.3+dfsg/generic/bltPs.c:326:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[10];
data/blt-2.5.3+dfsg/generic/bltPs.c:406:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[10];
data/blt-2.5.3+dfsg/generic/bltPs.c:471:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[10];
data/blt-2.5.3+dfsg/generic/bltPs.c:621: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.
    static char string[200];	/* What size? */
data/blt-2.5.3+dfsg/generic/bltPs.c:1326: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(dst, "\\%03o", c);
data/blt-2.5.3+dfsg/generic/bltPs.h:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char scratchArr[PSTOKEN_BUFSIZ+1];
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:497:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:551:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)scrollPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:559:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)scrollPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:591: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(Tcl_GetStringResult(interp), "%g", fraction);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:624: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(string, "%g", fraction);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:633:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char first[TCL_DOUBLE_SPACE], last[TCL_DOUBLE_SPACE];
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:639:6:  [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(string, "%d %d %d %d", scrollPtr->totalUnits,
data/blt-2.5.3+dfsg/generic/bltSpline.c:1419:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(origPts + 1, points, sizeof(Point2D) * nPoints);
data/blt-2.5.3+dfsg/generic/bltSwitch.c:117:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *typenames[BLT_SWITCH_END+10] = {
data/blt-2.5.3+dfsg/generic/bltSwitch.c:356: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 msg[100];
data/blt-2.5.3+dfsg/generic/bltSwitch.c:358: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(msg, "\n    (processing \"%.40s\" option)", 
data/blt-2.5.3+dfsg/generic/bltSwitch.c:466: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 msg[100];
data/blt-2.5.3+dfsg/generic/bltSwitch.c:468: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(msg, "\n    (processing \"%.40s\" option)", 
data/blt-2.5.3+dfsg/generic/bltSwitch.c:677:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *) cachedSpecs, (void *) staticSpecs, entrySpace);
data/blt-2.5.3+dfsg/generic/bltTable.c:530: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.
    static char string[STRING_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltTable.c:764:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltTable.c:766: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(string, "%g", control);
data/blt-2.5.3+dfsg/generic/bltTable.c:1199:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)entryPtr, argv[0], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:1244:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:1246: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(string, "    %d,%d  ", entryPtr->row.rcPtr->index,
data/blt-2.5.3+dfsg/generic/bltTable.c:1273: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(string, "{%d %d}", entryPtr->padLeft, entryPtr->padRight);
data/blt-2.5.3+dfsg/generic/bltTable.c:1279: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(string, "{%d %d}", entryPtr->padTop, entryPtr->padBottom);
data/blt-2.5.3+dfsg/generic/bltTable.c:1540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:1547: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(string, "%c%d", pattern[0], rcPtr->index);
data/blt-2.5.3+dfsg/generic/bltTable.c:1554:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    infoPtr->configSpecs, (char *)rcPtr, argv[0], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:1598:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:1650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:1667: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(string, "%c%d", infoPtr->type[0], rcPtr->index);
data/blt-2.5.3+dfsg/generic/bltTable.c:1862:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)tablePtr, argv[0], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:1879:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:1883: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(string, " -padx {%d %d}", tablePtr->padLeft, tablePtr->padRight);
data/blt-2.5.3+dfsg/generic/bltTable.c:1888: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(string, " -pady {%d %d}", tablePtr->padTop, tablePtr->padBottom);
data/blt-2.5.3+dfsg/generic/bltTable.c:3680:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)tablePtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:3691:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)entryPtr, argv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:3694:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)tablePtr, argv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:3701: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 *)GetRowColumn(infoPtr, n), argv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTable.c:3821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:3845:6:  [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(string, "%c%d", argv[i][0], rcPtr->index);
data/blt-2.5.3+dfsg/generic/bltTable.c:4019:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTable.c:4038: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(string, "%c%d", argv[3][0], rcPtr->index);
data/blt-2.5.3+dfsg/generic/bltTable.c:4055:6:  [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(string, "%c%d %d %d %d %d\n", argv[3][0], rcPtr->index,
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:2107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:2112: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(string, "tab%d", nbPtr->nextId++);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:2932: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 *)nbPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:2969:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)nbPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:3237:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:3631: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 *)tabPtr, argv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:3690:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)tabPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:5725:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char info[200];
data/blt-2.5.3+dfsg/generic/bltTabset.c:3379: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 *)setPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTabset.c:3415:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)setPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTabset.c:3668:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	if (GetTabByIndName(setPtr, (char *)argv[2], &beforePtr) 
data/blt-2.5.3+dfsg/generic/bltTabset.c:3764:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltTabset.c:3919:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char coords[200];
data/blt-2.5.3+dfsg/generic/bltTabset.c:3945: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:3956: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:3969: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:3979: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:3989: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:3999: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.
                sprintf(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4031:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char coords[200];
data/blt-2.5.3+dfsg/generic/bltTabset.c:4060:12:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4067:13:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4074:13:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4081:13:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4088:13:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4095:14:  [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(coords, "%d %d %d %d",
data/blt-2.5.3+dfsg/generic/bltTabset.c:4385: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 *)tabPtr, argv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTabset.c:4448:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)tabPtr, argv[i+nOpts], 0);
data/blt-2.5.3+dfsg/generic/bltTabset.c:6866:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char info[200];
data/blt-2.5.3+dfsg/generic/bltTed.c:566:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTed.c:584: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(string, "bltTed%d", tedPtr->nextWindowId);
data/blt-2.5.3+dfsg/generic/bltTed.c:1549:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)tedPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTed.c:1589:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)tedPtr, argv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTree.c:2357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTree.c:2372:6:  [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(string, "tree%d", dataPtr->nextId++);
data/blt-2.5.3+dfsg/generic/bltTree.c:2636:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *staticSpace[64];
data/blt-2.5.3+dfsg/generic/bltTree.c:2668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *staticSpace[64];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:167:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char command[1];		/* Command prefix for the trace or notify
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:1548:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *staticSpace[64];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:2317:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:2866:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[5];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:4470:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:4472: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(string, "%d", Blt_TreeNodeId(child));
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:4736:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char label[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:4773: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.
                sprintf(label, "%.100s%d", prefix, i);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:4775: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.
                sprintf(label, "%d", i);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:5344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char idString[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:5381: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(idString, "notify%d", cmdPtr->notifyCounter++);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:7501:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char idString[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:7545: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(idString, "trace%d", cmdPtr->traceCounter++);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:7635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[5];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8761:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8774: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).
                rid = atoi(argv[i])+sqlPtr->rinc;
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8826:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(string, "%d", Blt_TreeNodeId(node));
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8894:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8959:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(string, "%d", Blt_TreeNodeId(node));
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:9709:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:9728: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(string, "tree%d", n);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:1368:17:  [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 isopen, open, result = TCL_OK;
data/blt-2.5.3+dfsg/generic/bltTreeView.c:1374:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (open != isopen) {
data/blt-2.5.3+dfsg/generic/bltTreeView.c:1402:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int open;
data/blt-2.5.3+dfsg/generic/bltTreeView.c:1405:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return Tcl_NewIntObj(open);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:2369:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *staticSpace[64];
data/blt-2.5.3+dfsg/generic/bltTreeView.c:4038:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *string, buf[100];
data/blt-2.5.3+dfsg/generic/bltTreeView.c:4042:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "::blt::_tree%d", treeIdx++);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:6668:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd[200];
data/blt-2.5.3+dfsg/generic/bltTreeView.c:6673:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char info[200];
data/blt-2.5.3+dfsg/generic/bltTreeView.c:6675:6:  [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(info, "\n    (while loading bindings for %.50s)", 
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:1284:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2250:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	bltTreeViewButtonSpecs, (char *)tvPtr, objv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2288:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		bltTreeViewButtonSpecs, (char *)tvPtr, objv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2365: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 *)tvPtr, objv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2503:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		bltTreeViewSpecs, (char *)tvPtr, objv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2824:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		bltTreeViewEntrySpecs, (char *)entryPtr, objv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:2892:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			bltTreeViewEntrySpecs, (char *)entryPtr, 
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4033:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		  bltTreeViewEntrySpecs, (char *)entryPtr, objv[i], 0) 
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4039:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    node = Blt_ListGetNode(options, (char *)objv[i]);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4041:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		node = Blt_ListCreateNode(options, (char *)objv[i]);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4790:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		  bltTreeViewEntrySpecs, (char *)entryPtr, objv[i], 0) 
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4796:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    node = Blt_ListGetNode(options, (char *)objv[i]);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:4798:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		node = Blt_ListCreateNode(options, (char *)objv[i]);
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:1477: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 *)columnPtr, objv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:1544:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)columnPtr, objv[start], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:1992:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[3];
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:3098: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 *)tvPtr, objv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:3140:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)tvPtr, objv[3], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:1057:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char editClass[20];
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:1352: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.
	textboxConfigSpecs, (char *)tbPtr, objv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:1389:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		textboxConfigSpecs, (char *)tbPtr, objv[2], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[10];
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:4031:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	stylePtr->classPtr->specsPtr, (char *)stylePtr, objv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:4139:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		stylePtr->classPtr->specsPtr, (char *)stylePtr, objv[4], 0);
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:4317:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(stylePtr, newStylePtr, sizeof(all));
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:4318:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newStylePtr, &all, sizeof(all));
data/blt-2.5.3+dfsg/generic/bltTuple.c:1224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTuple.c:1239:6:  [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(string, "tuple%d", dataPtr->nextId++);
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:598:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:616: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(string, "tuple%d", n);
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:975:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[5];
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:1453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char idString[200];
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:1488: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(idString, "notify%d", cmdPtr->notifyCounter++);
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:2291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char idString[200];
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:2328: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(idString, "trace%d", cmdPtr->traceCounter++);
data/blt-2.5.3+dfsg/generic/bltTupleCmd.c:2425:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[5];
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:3514:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:3534: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(string, "0x%x", eventFlags);
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:3747:67:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    return Tk_ConfigureValue(interp, dndPtr->tkwin, configSpecs, (char *)dndPtr,
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:3771:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (GetDnd(clientData, interp, (char *)argv[2], &dndPtr) != TCL_OK) {
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:3780:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)dndPtr, argv[3], flags);
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:4472:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (GetDnd(clientData, interp, (char *)argv[3], &dndPtr) != TCL_OK) {
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:4540:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (GetDnd(clientData, interp, (char *)argv[3], &dndPtr) != TCL_OK) {
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:4555:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)tokenPtr, argv[3], flags);
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:4801:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *nameArr[XDND_MAX_TYPES + 1];
data/blt-2.5.3+dfsg/generic/bltUnixImage.c:464: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.
    unsigned char lut[256];
data/blt-2.5.3+dfsg/generic/bltUnixImage.c:1201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[JMSG_LENGTH_MAX];
data/blt-2.5.3+dfsg/generic/bltUnixImage.c:1238:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(fileName, "rb");
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:71: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).
    fd = open(fname, mode, 0666);
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fileName[L_tmpnam];
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:114:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    mkstemp(fileName);
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errSpace[200];
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:450:6:  [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(errSpace, "%dforked process can't set up input/output: ",
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:462: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(errSpace, "%dcan't execute \"%.150s\": ", errno, argv[0]);
data/blt-2.5.3+dfsg/generic/bltUtil.c:614: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 stringRep[200];
data/blt-2.5.3+dfsg/generic/bltUtil.c:620: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(stringRep, "%d", value);
data/blt-2.5.3+dfsg/generic/bltUtil.c:628: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(stringRep, "%u", value);
data/blt-2.5.3+dfsg/generic/bltUtil.c:643:8:  [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).
#undef fopen
data/blt-2.5.3+dfsg/generic/bltUtil.c:652:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(fileName, mode);
data/blt-2.5.3+dfsg/generic/bltUtil.c:1355:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[200];
data/blt-2.5.3+dfsg/generic/bltUtil.c:1379:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(argv[1], "rb");
data/blt-2.5.3+dfsg/generic/bltUtil.c:1391:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%x", crc);
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valueString[TCL_DOUBLE_SPACE + 1]; 
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:110:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)(destPtr->valueArr + oldSize),
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:409:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1610:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)mergeArr, (char *)vPtr->valueArr, nBytes);
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1632:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((char *)mergeArr, (char *)v2Ptr->valueArr, nBytes);
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1871:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[TCL_DOUBLE_SPACE + 1];
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1873: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.
    static char message[MAX_ERR_MSG + 1];
data/blt-2.5.3+dfsg/generic/bltVecMath.c:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char staticSpace[STATIC_STRING_SPACE];
data/blt-2.5.3+dfsg/generic/bltVecMath.c:854:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[20];
data/blt-2.5.3+dfsg/generic/bltVecMath.c:856:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%d", errno);
data/blt-2.5.3+dfsg/generic/bltVecMath.c:2171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zStatic[201], *s[3];
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:130:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)(destPtr->valueArr + oldSize),
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:183:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)(destPtr->valueArr + oldSize),
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:2038:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)mergeArr, (char *)vPtr->valueArr, nBytes);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:2061:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((char *)mergeArr, (char *)v2Ptr->valueArr, nBytes);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:2344:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(vPtr->valueArr, n, bytes);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:2426:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)mergeArr, (char *)vPtr->valueArr, nBytes);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:2939:9:  [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(v3Ptr->valueArr, v, sizeof(double)*newSize);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:3092: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.
    static char message[MAX_ERR_MSG + 1];
data/blt-2.5.3+dfsg/generic/bltVector.c:262:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zStatic[201];
data/blt-2.5.3+dfsg/generic/bltVector.c:979: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(newArr, vPtr->valueArr, used * sizeof(double));
data/blt-2.5.3+dfsg/generic/bltVector.c:1065:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *)newArr, (char *)valueArr, 
data/blt-2.5.3+dfsg/generic/bltVector.c:1264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltVector.c:1267:6:  [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(string, "vector%d", dataPtr->nextId++);
data/blt-2.5.3+dfsg/generic/bltVector.c:1386:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(destPtr->valueArr, srcPtr->valueArr + srcPtr->first, nBytes);
data/blt-2.5.3+dfsg/generic/bltWatch.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltWatch.c:173: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(string, "%d", watchPtr->level);
data/blt-2.5.3+dfsg/generic/bltWatch.c:235:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltWatch.c:269: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(string, "%d", watchPtr->level);
data/blt-2.5.3+dfsg/generic/bltWatch.c:276:6:  [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(string, "%d", code);
data/blt-2.5.3+dfsg/generic/bltWatch.c:731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltWatch.c:750: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(string, "%d", watchPtr->maxLevel);
data/blt-2.5.3+dfsg/generic/bltWinDde.c:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[1];		/* Interpreter's name. Malloc-ed as
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dashValues[12];
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:349:6:  [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 (bits, (unsigned char *)bmiPtr + size, imageSize);
data/blt-2.5.3+dfsg/generic/bltWinImage.c:197: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.
    unsigned char lut[256];
data/blt-2.5.3+dfsg/generic/bltWinImage.c:1157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[JMSG_LENGTH_MAX];
data/blt-2.5.3+dfsg/generic/bltWinImage.c:1194:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(fileName, "rb");
data/blt-2.5.3+dfsg/generic/bltWinMain.c:172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[MAX_PATH +1];
data/blt-2.5.3+dfsg/generic/bltWinMain.c:232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fileName[MAX_PATH + 1];
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[MAX_PATH + 5];
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char progPath[MAX_PATH];
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1366:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmdPrefix[MAX_PATH];
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:2378:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer, pipePtr->buffer + pipePtr->start, size);
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:2438:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pipePtr->buffer, buffer, size);
data/blt-2.5.3+dfsg/generic/bltWinPrnt.c:1316:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/bltWinPrnt.c:1330: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(string, "Print Job #%d", nextJob++);
data/blt-2.5.3+dfsg/generic/bltWinUtil.c:60: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.
    static char buffer[1024];
data/blt-2.5.3+dfsg/generic/bltWinop.c:187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[20];
data/blt-2.5.3+dfsg/generic/bltWinop.c:218:6:  [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(string, "#%02x%02x%02x", (colorPtr->red >> 8),
data/blt-2.5.3+dfsg/generic/bltWinop.c:221:6:  [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(string, "%ld", colorPtr->pixel);
data/blt-2.5.3+dfsg/generic/bltWinop.c:418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[50];
data/blt-2.5.3+dfsg/generic/bltWinop.c:425:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "0x%x", (int)window);    
data/blt-2.5.3+dfsg/generic/bltWinop.c:447:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[200];
data/blt-2.5.3+dfsg/generic/bltWinop.c:449: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(string, "@%d,%d", rootX, rootY);
data/blt-2.5.3+dfsg/generic/bltWinop.c:920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/blt-2.5.3+dfsg/generic/bltWinop.c:975: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.
                sprintf(buf, "#%02x%02x%02x", srcPtr->Red, srcPtr->Green, srcPtr->Blue);
data/blt-2.5.3+dfsg/generic/bltWinop.c:977: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.
                sprintf(buf, "#%02x%02x%02x:%02x", srcPtr->Red, srcPtr->Green, srcPtr->Blue, srcPtr->Alpha);
data/blt-2.5.3+dfsg/generic/bltWinop.c:998:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "%d", cnt);
data/blt-2.5.3+dfsg/generic/bltWinop.c:1021:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/blt-2.5.3+dfsg/generic/bltWinop.c:1062:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "%d", srcPtr->Alpha);
data/blt-2.5.3+dfsg/generic/bltWinop.c:1557:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char cbuf[100];
data/blt-2.5.3+dfsg/generic/bltWinop.c:1563:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(cbuf, "#%02x%02x%02x", C.red, C.green, C.blue);
data/blt-2.5.3+dfsg/generic/bltWinop.c:1594:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char cbuf[100];
data/blt-2.5.3+dfsg/generic/bltWinop.c:1601:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(cbuf, "#%02x%02x%02x", C.red, C.green, C.blue);
data/blt-2.5.3+dfsg/generic/tkButton.c:1416:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)butPtr, argv[2], configFlags[butPtr->type]);
data/blt-2.5.3+dfsg/generic/tkButton.c:1421:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)butPtr, (char *)NULL, configFlags[butPtr->type]);
data/blt-2.5.3+dfsg/generic/tkButton.c:1421:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)butPtr, (char *)NULL, configFlags[butPtr->type]);
data/blt-2.5.3+dfsg/generic/tkButton.c:1424:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)butPtr, argv[2],
data/blt-2.5.3+dfsg/generic/tkFrame.c:575:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)framePtr, argv[2], framePtr->mask);
data/blt-2.5.3+dfsg/generic/tkFrame.c:583:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)framePtr, argv[2], framePtr->mask);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:450:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)mbPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:458:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)mbPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:476:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[200];
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:530:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    (char *)scrollPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:538:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		(char *)scrollPtr, argv[2], 0);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:570:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(interp->result, "%g", fraction);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:603: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(string, "%g", fraction);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:612:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char first[TCL_DOUBLE_SPACE], last[TCL_DOUBLE_SPACE];
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:618:6:  [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(string, "%d %d %d %d", scrollPtr->totalUnits,
data/blt-2.5.3+dfsg/win/X11/Xlib.h:420:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char auto_repeats[32];
data/blt-2.5.3+dfsg/win/X11/Xlib.h:551:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char trans_chars[XMaxTransChars];
data/blt-2.5.3+dfsg/win/X11/Xlib.h:641:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key_vector[32];
data/blt-2.5.3+dfsg/win/X11/Xlib.h:888: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 b[20];
data/blt-2.5.3+dfsg/generic/bltAlloc.c:104: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).
    size = strlen(string) + 1;
data/blt-2.5.3+dfsg/generic/bltArrayObj.c:206:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    objPtr->length = strlen(Tcl_DStringValue(&dString));
data/blt-2.5.3+dfsg/generic/bltBgexec.c:83:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define read(fd, buf, size)	Blt_AsyncRead((fd),(buf),(size))
data/blt-2.5.3+dfsg/generic/bltBgexec.c:840:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nBytes = read(sinkPtr->fd, array, bytesLeft - 1);
data/blt-2.5.3+dfsg/generic/bltBitmap.c:631:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len = strlen(name);
data/blt-2.5.3+dfsg/generic/bltBusy.c:481:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(Tk_Name(tkRef));
data/blt-2.5.3+dfsg/generic/bltConfig.c:383:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltContainer.c:841:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(buf, string, (cp-string));
data/blt-2.5.3+dfsg/generic/bltCutbuffer.c:170:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    XStoreBuffer(Tk_Display(tkwin), argv[2], strlen(argv[2]) + 1, buffer);
data/blt-2.5.3+dfsg/generic/bltDebug.c:269:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:586: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).
    propInfo.prefixSize = strlen(atom);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:760: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).
	8, PropModeReplace, (unsigned char *)data, strlen(data) + 1);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2446: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).
	length = strlen(argv[3]);
data/blt-2.5.3+dfsg/generic/bltDragdrop.c:2649:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:936:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(string, Tcl_GetStringResult(interp), TICK_LABEL_SIZE);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:942: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).
    labelPtr = Blt_Malloc(sizeof(TickLabel) + strlen(string));
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:2281:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[0]);
data/blt-2.5.3+dfsg/generic/bltGrAxis.c:2293: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:548:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1595:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	    strcat(string, ",");
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1596:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1869:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	    strcat(string, ",");
data/blt-2.5.3+dfsg/generic/bltGrBar.c:1870:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrLegd.c:364:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:1111:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:1313:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4415:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	    strcat(string, ",");
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4416:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4924:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	    strcat(string, ",");
data/blt-2.5.3+dfsg/generic/bltGrLine.c:4925:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(string + strlen(string), fmt, y);
data/blt-2.5.3+dfsg/generic/bltGrMarker.c:4395: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).
	length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:196:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(fgStr);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:208:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(bgStr);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1000:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[0]);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1010: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1069:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1080: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).
	length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrMisc.c:1257: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).
       (CONST char *)dashesPtr->values, strlen((char *)dashesPtr->values));
data/blt-2.5.3+dfsg/generic/bltGrPen.c:85:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrPen.c:304: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).
	length = strlen(options[i]);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:184:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:296:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltGrPs.c:692: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).
    nl = date + strlen(date) - 1;
data/blt-2.5.3+dfsg/generic/bltGrPs.c:996:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    epsHeader.psLength = strlen(psBuffer) + 1;
data/blt-2.5.3+dfsg/generic/bltGraph.c:1153:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHash.c:265:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = sizeof(Blt_HashEntry) + strlen(key) - sizeof(Blt_HashKey) + 1;
data/blt-2.5.3+dfsg/generic/bltHash.c:1308: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).
    p = result + strlen(result);
data/blt-2.5.3+dfsg/generic/bltHash.c:1317:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	p += strlen(p);
data/blt-2.5.3+dfsg/generic/bltHash.c:1326: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).
    p += strlen(p);
data/blt-2.5.3+dfsg/generic/bltHash.c:1328: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).
    p += strlen(p);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:54: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).
#define Tcl_NumUtfChars(s,n)	(((n) == -1) ? strlen((s)) : (n))
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2178: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).
    skipLen = strlen(hboxPtr->separator);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2180: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).
    pathLen = strlen(path);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:2284: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).
    skip = strlen(hboxPtr->separator);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:3800:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, Tcl_DStringValue(&dString) + offset, maxBytes);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5250: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).
	    hboxPtr->labelEdit.insertPos = strlen(treePtr->entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:5597: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6036:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*indexPtr = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6070: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).
	    *indexPtr = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6170:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	editPtr->insertPos = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6176: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).
    extra = strlen(argv[5]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6183: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).
    oldSize = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6200:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p, left, insertPos);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6275:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	editPtr->insertPos = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6288: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).
    oldSize = strlen(entryPtr->labelText);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6291:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(p, entryPtr->labelText, first);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6467:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[3]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6621: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).
	length = strlen(option);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:6925: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).
	length = strlen(option);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:7587: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:7635:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:7711:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHierbox.c:8223: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).
	length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/bltHtext.c:576:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltHtext.c:1097:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltHtext.c:2226:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nBytes = strlen(htPtr->text);
data/blt-2.5.3+dfsg/generic/bltHtext.c:3490:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, htPtr->charArr + htPtr->selFirst + offset, size);
data/blt-2.5.3+dfsg/generic/bltHtext.c:3730:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltHtext.c:4179:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltList.c:157: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).
	keySize = strlen(key) + 1;
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:135: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).
    p = (char *)(qualName + strlen(qualName));
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:237: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).
    string = Blt_Malloc(sizeof(nsPtr->fullName) + strlen(NS_DELETE_CMD) + 4);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:264: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).
    string = Blt_Malloc(sizeof(nsPtr->fullName) + strlen(NS_DELETE_CMD) + 4);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:312:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = cmdName + strlen(cmdName);
data/blt-2.5.3+dfsg/generic/bltNsUtil.c:369:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = cmdName + strlen(cmdName);
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:286:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argvName);
data/blt-2.5.3+dfsg/generic/bltOldConfig.c:409: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).
		    new = (char *) ckalloc((unsigned) (strlen(value) + 1));
data/blt-2.5.3+dfsg/generic/bltParse.c:231:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(iPtr->result);
data/blt-2.5.3+dfsg/generic/bltParse.c:284:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *lastChar = string + strlen(string);
data/blt-2.5.3+dfsg/generic/bltParse.c:464:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *lastChar = string + strlen(string);
data/blt-2.5.3+dfsg/generic/bltParse.c:499: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).
	    length = strlen(value);
data/blt-2.5.3+dfsg/generic/bltPs.c:644: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).
    familyLen = strlen(family);
data/blt-2.5.3+dfsg/generic/bltPs.c:667: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).
    dest = start = string + strlen(string);
data/blt-2.5.3+dfsg/generic/bltPs.c:1218:46:  [1] (buffer) strlen:
  Does not handle 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 (strncasecmp(psFontMap[i].alias, family, strlen(psFontMap[i].alias))
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:509:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:531: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:925:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(scrollPtr->orientUid);
data/blt-2.5.3+dfsg/generic/bltScrollbar.c:937: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).
	scrollPtr->commandSize = strlen(scrollPtr->command);
data/blt-2.5.3+dfsg/generic/bltSwitch.c:79:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(name);
data/blt-2.5.3+dfsg/generic/bltTable.c:557:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(string, Tcl_DStringValue(&buffer), STRING_SPACE);
data/blt-2.5.3+dfsg/generic/bltTable.c:613:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTable.c:713:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTable.c:3683:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[3]);
data/blt-2.5.3+dfsg/generic/bltTable.c:3757: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).
	length = strlen(items[i]);
data/blt-2.5.3+dfsg/generic/bltTable.c:4508: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).
	    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltTable.c:4718: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).
	    length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:1285:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:1369:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTabnotebook.c:4024:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltTabset.c:1375:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTabset.c:1459:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2389: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).
    nLen = strlen(name);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2483: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).
        tLen = strlen(tabPtr->text);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2484: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).
        eLen = (setPtr->ellipsis?strlen(setPtr->ellipsis):0);
data/blt-2.5.3+dfsg/generic/bltTabset.c:2489:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
             strncpy(tabPtr->textDisp, tabPtr->text, setPtr->truncLen);
data/blt-2.5.3+dfsg/generic/bltTabset.c:4960:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltTed.c:532:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	namePtr = Blt_Malloc(strlen(Tk_Name(master)) + 5);
data/blt-2.5.3+dfsg/generic/bltTed.c:874: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((char *)tedPtr->dashes.values));
data/blt-2.5.3+dfsg/generic/bltText.c:271: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(string);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:1065:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		endp = p + strlen(p) - 1;
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:2305: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 one = (command[0] == '%' && strlen(command)==2);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:2645:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         strlen(dataPtr->retKey)>=2) {
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:5056: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(Tcl_GetString(objv[2]))) {
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8246: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).
            kl = strlen(aName);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8270:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    kl = strlen(skey);
data/blt-2.5.3+dfsg/generic/bltTreeCmd.c:8339:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    kl = strlen(key);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:2843:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                valuePtr->string =  strstr(Tcl_GetString(valueObjPtr) + strlen(Tcl_GetString(objv[0]))+1, Tcl_GetString(objv[1]));
data/blt-2.5.3+dfsg/generic/bltTreeView.c:3332:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define NotNullObj(p) ((p != NULL && strlen(Tcl_GetString(p))) ? p : NULL)
data/blt-2.5.3+dfsg/generic/bltTreeView.c:3825:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, Tcl_DStringValue(&dString) + offset, maxBytes);
data/blt-2.5.3+dfsg/generic/bltTreeView.c:5042:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && strlen(Tcl_GetString(tvPtr->imageCmd))) {
data/blt-2.5.3+dfsg/generic/bltTreeView.c:6507:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        && strlen(Tcl_GetString(columnPtr->fillCmd))) {
data/blt-2.5.3+dfsg/generic/bltTreeView.h:60: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).
#define Tcl_NumUtfChars(s,n)	(((n) == -1) ? strlen((s)) : (n))
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:169: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).
    pathLen = strlen(path);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:171: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).
    skipLen = strlen(tvPtr->pathSep);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:1009:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		endp = p + strlen(p) - 1;
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:1271: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 one = (command[0] == '%' && strlen(command)==2);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:3677:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(name);
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:3925: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).
                if (strlen(Tcl_GetString(objv[i]))==0) {
data/blt-2.5.3+dfsg/generic/bltTreeViewCmd.c:5376: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).
        nLen = strlen(subPath);
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:468: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).
    if (objPtr != NULL && strlen(Tcl_GetString(objPtr))) {
data/blt-2.5.3+dfsg/generic/bltTreeViewColumn.c:1981: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 one = (command[0] == '%' && strlen(command)==2);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:609: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).
    oldSize = strlen(oldText);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:622:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p, oldText, insertPos);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:670: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).
    oldSize = strlen(oldText) + 1;
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:675:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p, oldText, firstPos);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:837: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).
	textPos = strlen(tbPtr->string);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:842: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).
	if (textPos < (int)strlen(tbPtr->string)) {
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:881: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).
	    textPos = strlen(tbPtr->string);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:982: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).
    size = strlen(tbPtr->string + offset);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:986:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, tbPtr->string + offset, maxBytes);
data/blt-2.5.3+dfsg/generic/bltTreeViewEdit.c:1106: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).
    tbPtr->insertPos = strlen(tbPtr->string);
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:644:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (tbPtr->formatCmd != NULL && strlen(Tcl_GetString(tbPtr->formatCmd))) {
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:652:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (bbPtr->formatCmd != NULL && strlen(Tcl_GetString(bbPtr->formatCmd))) {
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:816:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define NotNullObj(p) ((p != NULL && strlen(Tcl_GetString(p))) ? p : NULL)
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:1117:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (columnPtr->colorPats != NULL && strlen(Tcl_GetString(columnPtr->colorPats))) {
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:1130: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).
    if (columnPtr->colorRegex != NULL && strlen(Tcl_GetString(columnPtr->colorRegex))) {
data/blt-2.5.3+dfsg/generic/bltTreeViewStyle.c:3561: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(styleName)==0) {
data/blt-2.5.3+dfsg/generic/bltUnixDnd.c:909: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).
	8, PropModeReplace, (unsigned char *)data, strlen(data) + 1);
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:112:46:  [1] (buffer) strlen:
  Does not handle 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 length = (contents == NULL) ? 0 : strlen(contents);
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:452: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).
	    write(fd, errSpace, (size_t) strlen(errSpace));
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:463:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	write(fd, errSpace, (size_t) strlen(errSpace));
data/blt-2.5.3+dfsg/generic/bltUnixPipe.c:492:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(fd, errSpace, (size_t) (sizeof(errSpace) - 1));
data/blt-2.5.3+dfsg/generic/bltUtil.c:37: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).
#define GETPATHOP(str) (strlen(str)<10?str:"$path")
data/blt-2.5.3+dfsg/generic/bltUtil.c:939:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltUtil.c:996:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltUtil.c:1098: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).
	length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltUtil.c:1225: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).
	length = strlen(string);
data/blt-2.5.3+dfsg/generic/bltUtil.c:1385:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while((c = getc(f)) != EOF) {
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:682:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1582: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:1915:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         if (!strlen(Tcl_GetString(objPtr))) {
data/blt-2.5.3+dfsg/generic/bltVecCmd.c:2001:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(message, Tcl_GetStringResult(interp), MAX_ERR_MSG);
data/blt-2.5.3+dfsg/generic/bltVecMath.c:2191: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).
    sz = strlen(string);
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:3130:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strlen(Tcl_GetString(objPtr))) {
data/blt-2.5.3+dfsg/generic/bltVecObjCmd.c:3214:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(message, Tcl_GetStringResult(interp), MAX_ERR_MSG);
data/blt-2.5.3+dfsg/generic/bltVector.c:265: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).
    sz = strlen(string);
data/blt-2.5.3+dfsg/generic/bltVector.c:1511: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).
	    length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/bltWinDde.c:232: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).
    riPtr = Blt_Malloc(sizeof(RegisteredInterp) + strlen(name));
data/blt-2.5.3+dfsg/generic/bltWinDde.c:512: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).
			length = strlen(value);
data/blt-2.5.3+dfsg/generic/bltWinDde.c:1225: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).
		    Tcl_SetObjLength(resultPtr, strlen(string));
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:240:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *)lf.lfFaceName, faPtr->family, LF_FACESIZE - 1);
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:503:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    gcPtr->nDashValues = strlen(dashesPtr->values);
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:750: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).
	    nValues = strlen(gcPtr->dashValues);
data/blt-2.5.3+dfsg/generic/bltWinDraw.c:1618:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    gc->dashes = (unsigned char)strlen(dashList);
data/blt-2.5.3+dfsg/generic/bltWinMain.c:89: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).
	(unsigned)(size * sizeof(char *) + strlen(cmdLine) + 1));
data/blt-2.5.3+dfsg/generic/bltWinPipe.c:1140:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(program);
data/blt-2.5.3+dfsg/generic/bltWinUtil.c:71:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(buffer);
data/blt-2.5.3+dfsg/generic/bltWinop.c:657:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (*color == '#' && strlen(color) == 7 && 3 ==
data/blt-2.5.3+dfsg/generic/tkButton.c:1288:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/tkButton.c:1406:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkButton.c:1892:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             butPtr->selVarName = Blt_Malloc(strlen(Tk_Name(butPtr->tkwin)) + 1);
data/blt-2.5.3+dfsg/generic/tkButton.c:1898:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    butPtr->selVarName = Blt_Malloc(strlen(Tk_Name(butPtr->tkwin)) + 1);
data/blt-2.5.3+dfsg/generic/tkButton.c:2104: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).
                 butPtr->textPtr = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkButton.c:2138:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             butPtr->textPtr = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkButton.c:3491: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).
    butPtr->textPtr = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkButton.c:3562: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).
    butPtr->textPtr = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkConsole.c:413:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkConsole.c:485:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkConsole.c:630:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    Tcl_DStringAppend(&command, cmd, strlen(cmd));
data/blt-2.5.3+dfsg/generic/tkFrame.c:349: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).
	length = strlen(arg);
data/blt-2.5.3+dfsg/generic/tkFrame.c:354:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((c == 'c') && (strncmp(arg, "-class", strlen(arg)) == 0)
data/blt-2.5.3+dfsg/generic/tkFrame.c:358:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    && (strncmp(arg, "-colormap", strlen(arg)) == 0)) {
data/blt-2.5.3+dfsg/generic/tkFrame.c:361: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).
	    && (strncmp(arg, "-screen", strlen(arg)) == 0)) {
data/blt-2.5.3+dfsg/generic/tkFrame.c:364:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    && (strncmp(arg, "-use", strlen(arg)) == 0)) {
data/blt-2.5.3+dfsg/generic/tkFrame.c:367: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).
	    && (strncmp(arg, "-visual", strlen(arg)) == 0)) {
data/blt-2.5.3+dfsg/generic/tkFrame.c:564:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkFrame.c:591: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).
		length = strlen(argv[i]);
data/blt-2.5.3+dfsg/generic/tkFrame.c:731: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).
	oldMenuName = Blt_Malloc(strlen(framePtr->menuName) + 1);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:440:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:699:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    mbPtr->text = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:1105: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).
	mbPtr->numChars = strlen(mbPtr->text);
data/blt-2.5.3+dfsg/generic/tkMenubutton.c:1191: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).
    mbPtr->text = Blt_Malloc(strlen(value) + 1);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:488:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(argv[1]);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:510: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).
	length = strlen(argv[2]);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:904:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(scrollPtr->orientUid);
data/blt-2.5.3+dfsg/generic/tkScrollbar.c:916: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).
	scrollPtr->commandSize = strlen(scrollPtr->command);

ANALYSIS SUMMARY:

Hits = 765
Lines analyzed = 196595 in approximately 4.98 seconds (39493 lines/second)
Physical Source Lines of Code (SLOC) = 134125
Hits@level = [0]  79 [1] 216 [2] 433 [3]  20 [4]  96 [5]   0
Hits@level+ = [0+] 844 [1+] 765 [2+] 549 [3+] 116 [4+]  96 [5+]   0
Hits/KSLOC@level+ = [0+] 6.29264 [1+] 5.70363 [2+] 4.0932 [3+] 0.864865 [4+] 0.71575 [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.