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/perl-tk-804.035/ppport.h
Examining data/perl-tk-804.035/config/perlrx.c
Examining data/perl-tk-804.035/config/tod.c
Examining data/perl-tk-804.035/config/Ksprintf.c
Examining data/perl-tk-804.035/config/svtrv.c
Examining data/perl-tk-804.035/config/signedchar.c
Examining data/perl-tk-804.035/config/copstashset.c
Examining data/perl-tk-804.035/config/regexp511.c
Examining data/perl-tk-804.035/config/pmop.c
Examining data/perl-tk-804.035/config/unsigned.c
Examining data/perl-tk-804.035/config/pregcomp2.c
Examining data/perl-tk-804.035/config/xft.c
Examining data/perl-tk-804.035/tkGlue.h
Examining data/perl-tk-804.035/pTk/strcasecmp.c
Examining data/perl-tk-804.035/pTk/tixImgXpm_f.h
Examining data/perl-tk-804.035/pTk/config/Hstrtoul.c
Examining data/perl-tk-804.035/pTk/config/Hstrcasecmp.c
Examining data/perl-tk-804.035/pTk/config/Hstrdup.c
Examining data/perl-tk-804.035/pTk/config/Xdummy.c
Examining data/perl-tk-804.035/pTk/tkCanvases.h
Examining data/perl-tk-804.035/pTk/tkPlatDecls_f.c
Examining data/perl-tk-804.035/pTk/Lang.h
Examining data/perl-tk-804.035/pTk/tkOption.h
Examining data/perl-tk-804.035/pTk/tkProperty.c
Examining data/perl-tk-804.035/pTk/ptkCanvGroup.c
Examining data/perl-tk-804.035/pTk/tk_f.h
Examining data/perl-tk-804.035/pTk/tkOption_f.h
Examining data/perl-tk-804.035/pTk/ptkCanvGrid.c
Examining data/perl-tk-804.035/pTk/imgInt_f.h
Examining data/perl-tk-804.035/pTk/tkIntDecls_f.c
Examining data/perl-tk-804.035/pTk/Lang_f.c
Examining data/perl-tk-804.035/pTk/tkEvent_f.c
Examining data/perl-tk-804.035/pTk/compat/stdlib.h
Examining data/perl-tk-804.035/pTk/compat/limits.h
Examining data/perl-tk-804.035/pTk/compat/unistd.h
Examining data/perl-tk-804.035/pTk/tkInt_f.c
Examining data/perl-tk-804.035/pTk/tkEvent.h
Examining data/perl-tk-804.035/pTk/tkOption_f.c
Examining data/perl-tk-804.035/pTk/Xlib.h
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWin32Dll.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPort.h
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinDde.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTest.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinLoad.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinChan.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.h
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInt.h
Examining data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinMtherr.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinNotify.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/cat.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinError.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c
Examining data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinKey.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinRegion.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinColor.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinInt.h
Examining data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinInit.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinSend.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinButton.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinDraw.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinEmbed.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c
Examining data/perl-tk-804.035/pTk/mTk/win/winMain.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinDefault.h
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinPixmap.c
Examining data/perl-tk-804.035/pTk/mTk/win/stubs.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinX.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinConfig.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinPort.h
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinScrlbr.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWin.h
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinWindow.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinPointer.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinClipboard.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinImage.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWin32Dll.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWin3d.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinCursor.c
Examining data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinWm.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWCmpt.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinXpm.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinInt.h
Examining data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinDraw.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tkConsole80.c
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinPort.h
Examining data/perl-tk-804.035/pTk/mTk/tixWin/tixWinMain.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixEvent.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadDl.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadDyld.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixSock.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkga.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkge.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkgc.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkgd.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkgf.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/dltest/pkgb.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.h
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTime.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadDld.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPort.h
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadNext.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtNotify.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtTest.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadOSF.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixNotfy.c
Examining data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadShl.c
Examining data/perl-tk-804.035/pTk/mTk/additions/tkAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgInt.h
Examining data/perl-tk-804.035/pTk/mTk/additions/port.h
Examining data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgWindow.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgPmap.h
Examining data/perl-tk-804.035/pTk/mTk/additions/imgTIFFpixar.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgTIFFzip.c
Examining data/perl-tk-804.035/pTk/mTk/additions/exWinHandle.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgWinPmap.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgTIFFjpeg.c
Examining data/perl-tk-804.035/pTk/mTk/additions/img.h
Examining data/perl-tk-804.035/pTk/mTk/additions/imgInit.c
Examining data/perl-tk-804.035/pTk/mTk/additions/ClientWin.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgPS.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgObj.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgUnixPmap.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c
Examining data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/xdraw.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/xutil.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/ximage.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/xgc.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/keysymdef.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/keysym.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/Xatom.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/cursorfont.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/X.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/Xlib.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/Xfuncproto.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/X11/Xutil.h
Examining data/perl-tk-804.035/pTk/mTk/xlib/xcolors.c
Examining data/perl-tk-804.035/pTk/mTk/xlib/xbytes.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixBitmaps.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInputO.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrSel.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiText.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGeometry.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiImg.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiWin.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixPort.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLInd.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixSmpLs.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrSort.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixWidget.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixScroll.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLHdr.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrRC.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixList.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiITxt.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCompat.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrData.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInt.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/stbDiStyle.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tix.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrData.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixItcl.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLCol.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/stbDItem.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixItcl.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixError.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDef.h
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c
Examining data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrFmt.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixXpm.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/itcl3.2/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/itcl3.0/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tk8.1/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tk8.3/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/samAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixSam.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixInt.h
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tk8.2/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixWm.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixPort.h
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tk8.0/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/itcl3.1/tixAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/tixUnix/tixUnixDraw.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkButton.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMacWinMenu.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkEvent.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImage.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMain.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tk.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextMark.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImgUtil.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPanedWindow.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPack.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkButton.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkAtom.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkSquare.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkStyle.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkIntXlibDecls.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkUndo.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMenu.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkOption.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPort.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkBitmap.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkColor.h
Examining data/perl-tk-804.035/pTk/mTk/generic/default.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFrame.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkBind.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkGrid.c
Examining data/perl-tk-804.035/pTk/mTk/generic/ks_names.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkIntDecls.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTest.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPlatDecls.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkGeometry.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFont.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkError.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextWind.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMenuDraw.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkGet.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPointer.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMessage.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkStubLib.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkInitScript.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCursor.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tk3d.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkStubImg.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkScale.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c
Examining data/perl-tk-804.035/pTk/mTk/generic/moredefs.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFocus.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkStubInit.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkIntPlatDecls.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkScale.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkUnixMenubu.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tk3d.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkObj.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkInt.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkUndo.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkGC.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTrig.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkSelect.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkTextIndex.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkText.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkDecls.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkColor.c
Examining data/perl-tk-804.035/pTk/mTk/generic/xbytes.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkVisual.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkMenu.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvPoly.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkFont.h
Examining data/perl-tk-804.035/pTk/mTk/generic/tkGrab.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkConsole.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c
Examining data/perl-tk-804.035/pTk/mTk/generic/tkText.h
Examining data/perl-tk-804.035/pTk/mTk/unix/tkAppInit.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixColor.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixDialog.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixXId.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixEmbed.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixFocus.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixInt.h
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnix3d.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixKey.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixXft.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixDraw.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixEvent.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixDefault.h
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixConfig.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixCursor.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixMenu.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixScrlbr.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixInit.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixPort.h
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c
Examining data/perl-tk-804.035/pTk/mTk/unix/tkUnixButton.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regerrs.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_nfa.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_locale.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_cvec.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclAlloc.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInitScript.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOCmd.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIntDecls.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclMath.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclClock.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLink.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regcustom.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclAsync.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInt.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPosixStr.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOSock.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIndexObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclGet.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNotify.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInterp.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regex.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPipe.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPlatDecls.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResolve.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_color.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFCmd.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestProcBodyObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompExpr.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTimer.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_lex.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoadNone.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUniData.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPort.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStubInit.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclListObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStubLib.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadJoin.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThread.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDecls.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIntPlatDecls.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/rege_dfa.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclMain.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regfree.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPanic.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHistory.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPreserve.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regfronts.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/regguts.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tcl.h
Examining data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdIL.c
Examining data/perl-tk-804.035/pTk/Xlib_f.h
Examining data/perl-tk-804.035/pTk/tkXrm.h
Examining data/perl-tk-804.035/pTk/tkIntPlatDecls_f.c
Examining data/perl-tk-804.035/pTk/strGlue.c
Examining data/perl-tk-804.035/pTk/imgInt_f.c
Examining data/perl-tk-804.035/pTk/XrmOption.c
Examining data/perl-tk-804.035/pTk/tkIntXlibDecls_f.c
Examining data/perl-tk-804.035/pTk/Lang_f.h
Examining data/perl-tk-804.035/pTk/tkDecls_f.h
Examining data/perl-tk-804.035/pTk/tk_f.c
Examining data/perl-tk-804.035/pTk/tkIntDecls_f.h
Examining data/perl-tk-804.035/pTk/tkPlatDecls_f.h
Examining data/perl-tk-804.035/pTk/tix_f.c
Examining data/perl-tk-804.035/pTk/tkImgPhoto.h
Examining data/perl-tk-804.035/pTk/tkIntXlibDecls_f.h
Examining data/perl-tk-804.035/pTk/tixInt_f.c
Examining data/perl-tk-804.035/pTk/tkInt_f.h
Examining data/perl-tk-804.035/pTk/Xlib_f.c
Examining data/perl-tk-804.035/pTk/tkVMacro.h
Examining data/perl-tk-804.035/pTk/tkEvent_f.h
Examining data/perl-tk-804.035/pTk/stbDashCustom.c
Examining data/perl-tk-804.035/pTk/strdup.c
Examining data/perl-tk-804.035/pTk/tkImgPhoto_f.c
Examining data/perl-tk-804.035/pTk/tixInt_f.h
Examining data/perl-tk-804.035/pTk/strtoul.c
Examining data/perl-tk-804.035/pTk/tclDecls_f.c
Examining data/perl-tk-804.035/pTk/tkDecls_f.c
Examining data/perl-tk-804.035/pTk/tkImgPhoto_f.h
Examining data/perl-tk-804.035/pTk/tclDecls_f.h
Examining data/perl-tk-804.035/pTk/tix_f.h
Examining data/perl-tk-804.035/pTk/tixImgXpm_f.c
Examining data/perl-tk-804.035/pTk/tkIntPlatDecls_f.h
Examining data/perl-tk-804.035/pTk/tixVars.c
Examining data/perl-tk-804.035/pTk/tcl.h
Examining data/perl-tk-804.035/tixGlue.c
Examining data/perl-tk-804.035/encGlue.c
Examining data/perl-tk-804.035/evtGlue.c
Examining data/perl-tk-804.035/chnGlue.c
Examining data/perl-tk-804.035/tkGlue_f.h
Examining data/perl-tk-804.035/Event/tclAsync.c
Examining data/perl-tk-804.035/Event/tclNotify.c
Examining data/perl-tk-804.035/Event/tclEvent.c
Examining data/perl-tk-804.035/Event/tclPlatEvent.c
Examining data/perl-tk-804.035/Event/tclPlatNotfy.c
Examining data/perl-tk-804.035/Event/eventWin32Dll.c
Examining data/perl-tk-804.035/Event/tclTimer.c
Examining data/perl-tk-804.035/Event/tclPlatTime.c
Examining data/perl-tk-804.035/Event/pTkCallback.c
Examining data/perl-tk-804.035/objGlue.c
Examining data/perl-tk-804.035/tkWin32Dll.c
Examining data/perl-tk-804.035/PNG/config/has_png.c
Examining data/perl-tk-804.035/PNG/imgPNG.c
Examining data/perl-tk-804.035/PNG/libpng/pngwio.c
Examining data/perl-tk-804.035/PNG/libpng/pngrtran.c
Examining data/perl-tk-804.035/PNG/libpng/pngtest.c
Examining data/perl-tk-804.035/PNG/libpng/projects/cbuilder5/libpng.cpp
Examining data/perl-tk-804.035/PNG/libpng/pngrutil.c
Examining data/perl-tk-804.035/PNG/libpng/pngerror.c
Examining data/perl-tk-804.035/PNG/libpng/pngget.c
Examining data/perl-tk-804.035/PNG/libpng/pngconf.h
Examining data/perl-tk-804.035/PNG/libpng/pngwutil.c
Examining data/perl-tk-804.035/PNG/libpng/pngread.c
Examining data/perl-tk-804.035/PNG/libpng/pngrio.c
Examining data/perl-tk-804.035/PNG/libpng/pnggccrd.c
Examining data/perl-tk-804.035/PNG/libpng/pngpread.c
Examining data/perl-tk-804.035/PNG/libpng/png.h
Examining data/perl-tk-804.035/PNG/libpng/example.c
Examining data/perl-tk-804.035/PNG/libpng/pngwrite.c
Examining data/perl-tk-804.035/PNG/libpng/png.c
Examining data/perl-tk-804.035/PNG/libpng/pngset.c
Examining data/perl-tk-804.035/PNG/libpng/pngmem.c
Examining data/perl-tk-804.035/PNG/libpng/pngwtran.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng2.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/writepng.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/writepng.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng2.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/visupng/resource.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/visupng/PngFile.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/visupng/PngFile.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/visupng/cexcept.h
Examining data/perl-tk-804.035/PNG/libpng/contrib/pngminus/png2pnm.c
Examining data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c
Examining data/perl-tk-804.035/PNG/libpng/pngtrans.c
Examining data/perl-tk-804.035/PNG/libpng/pngvcrd.c
Examining data/perl-tk-804.035/PNG/zlib/compress.c
Examining data/perl-tk-804.035/PNG/zlib/crc32.h
Examining data/perl-tk-804.035/PNG/zlib/zlib.h
Examining data/perl-tk-804.035/PNG/zlib/crc32.c
Examining data/perl-tk-804.035/PNG/zlib/adler32.c
Examining data/perl-tk-804.035/PNG/zlib/minigzip.c
Examining data/perl-tk-804.035/PNG/zlib/examples/zran.c
Examining data/perl-tk-804.035/PNG/zlib/examples/gzjoin.c
Examining data/perl-tk-804.035/PNG/zlib/examples/gun.c
Examining data/perl-tk-804.035/PNG/zlib/examples/fitblk.c
Examining data/perl-tk-804.035/PNG/zlib/examples/zpipe.c
Examining data/perl-tk-804.035/PNG/zlib/examples/gzlog.h
Examining data/perl-tk-804.035/PNG/zlib/examples/gzlog.c
Examining data/perl-tk-804.035/PNG/zlib/examples/gzappend.c
Examining data/perl-tk-804.035/PNG/zlib/zconf.in.h
Examining data/perl-tk-804.035/PNG/zlib/zutil.c
Examining data/perl-tk-804.035/PNG/zlib/inffixed.h
Examining data/perl-tk-804.035/PNG/zlib/deflate.c
Examining data/perl-tk-804.035/PNG/zlib/deflate.h
Examining data/perl-tk-804.035/PNG/zlib/inflate.c
Examining data/perl-tk-804.035/PNG/zlib/inflate.h
Examining data/perl-tk-804.035/PNG/zlib/inffast.h
Examining data/perl-tk-804.035/PNG/zlib/gzio.c
Examining data/perl-tk-804.035/PNG/zlib/zconf.h
Examining data/perl-tk-804.035/PNG/zlib/zutil.h
Examining data/perl-tk-804.035/PNG/zlib/example.c
Examining data/perl-tk-804.035/PNG/zlib/inftrees.c
Examining data/perl-tk-804.035/PNG/zlib/infback.c
Examining data/perl-tk-804.035/PNG/zlib/inffast.c
Examining data/perl-tk-804.035/PNG/zlib/inftrees.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/testzlib/testzlib.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/ioapi.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/iowin32.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/unzip.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/iowin32.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/crypt.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/unzip.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/ioapi.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/masmx64/inffas8664.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream/test.cpp
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/inflate86/inffas86.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream_test.cpp
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/puff/puff.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/puff/puff.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/masmx86/gvmat32c.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/infback9.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/inflate9.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/inffix9.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/infback9.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/inftree9.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/infback9/inftree9.h
Examining data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc
Examining data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.h
Examining data/perl-tk-804.035/PNG/zlib/trees.h
Examining data/perl-tk-804.035/PNG/zlib/uncompr.c
Examining data/perl-tk-804.035/PNG/zlib/trees.c
Examining data/perl-tk-804.035/tkGlue_f.c
Examining data/perl-tk-804.035/JPEG/config/has_jpeg.c
Examining data/perl-tk-804.035/JPEG/imgJPEG.c
Examining data/perl-tk-804.035/JPEG/jpeg/djpeg.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdct.h
Examining data/perl-tk-804.035/JPEG/jpeg/jdinput.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdswitch.c
Examining data/perl-tk-804.035/JPEG/jpeg/cdjpeg.h
Examining data/perl-tk-804.035/JPEG/jpeg/jchuff.h
Examining data/perl-tk-804.035/JPEG/jpeg/jcapistd.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemmgr.c
Examining data/perl-tk-804.035/JPEG/jpeg/ckconfig.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemmac.c
Examining data/perl-tk-804.035/JPEG/jpeg/wrgif.c
Examining data/perl-tk-804.035/JPEG/jpeg/jccoefct.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdmarker.c
Examining data/perl-tk-804.035/JPEG/jpeg/jfdctint.c
Examining data/perl-tk-804.035/JPEG/jpeg/jidctred.c
Examining data/perl-tk-804.035/JPEG/jpeg/cderror.h
Examining data/perl-tk-804.035/JPEG/jpeg/jdpostct.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdppm.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdsample.c
Examining data/perl-tk-804.035/JPEG/jpeg/cjpeg.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdhuff.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c
Examining data/perl-tk-804.035/JPEG/jpeg/transupp.h
Examining data/perl-tk-804.035/JPEG/jpeg/jcapimin.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdatadst.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcsample.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdtarga.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdmaster.c
Examining data/perl-tk-804.035/JPEG/jpeg/jidctflt.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemdos.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcmainct.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemansi.c
Examining data/perl-tk-804.035/JPEG/jpeg/jpeglib.h
Examining data/perl-tk-804.035/JPEG/jpeg/jpegtran.c
Examining data/perl-tk-804.035/JPEG/jpeg/jversion.h
Examining data/perl-tk-804.035/JPEG/jpeg/jcmarker.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdcolor.c
Examining data/perl-tk-804.035/JPEG/jpeg/wrbmp.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdcoefct.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdphuff.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemname.c
Examining data/perl-tk-804.035/JPEG/jpeg/jquant2.c
Examining data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c
Examining data/perl-tk-804.035/JPEG/jpeg/jerror.c
Examining data/perl-tk-804.035/JPEG/jpeg/jccolor.c
Examining data/perl-tk-804.035/JPEG/jpeg/example.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcprepct.c
Examining data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdbmp.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdapistd.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdhuff.h
Examining data/perl-tk-804.035/JPEG/jpeg/rdgif.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdatasrc.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcdctmgr.c
Examining data/perl-tk-804.035/JPEG/jpeg/jctrans.c
Examining data/perl-tk-804.035/JPEG/jpeg/jfdctfst.c
Examining data/perl-tk-804.035/JPEG/jpeg/jchuff.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdtrans.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdapimin.c
Examining data/perl-tk-804.035/JPEG/jpeg/jidctfst.c
Examining data/perl-tk-804.035/JPEG/jpeg/jfdctflt.c
Examining data/perl-tk-804.035/JPEG/jpeg/jddctmgr.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmorecfg.h
Examining data/perl-tk-804.035/JPEG/jpeg/jidctint.c
Examining data/perl-tk-804.035/JPEG/jpeg/wrppm.c
Examining data/perl-tk-804.035/JPEG/jpeg/jpegint.h
Examining data/perl-tk-804.035/JPEG/jpeg/wrrle.c
Examining data/perl-tk-804.035/JPEG/jpeg/cdjpeg.c
Examining data/perl-tk-804.035/JPEG/jpeg/jutils.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdjpgcom.c
Examining data/perl-tk-804.035/JPEG/jpeg/jerror.h
Examining data/perl-tk-804.035/JPEG/jpeg/jdmainct.c
Examining data/perl-tk-804.035/JPEG/jpeg/jquant1.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemsys.h
Examining data/perl-tk-804.035/JPEG/jpeg/transupp.c
Examining data/perl-tk-804.035/JPEG/jpeg/wrtarga.c
Examining data/perl-tk-804.035/JPEG/jpeg/rdrle.c
Examining data/perl-tk-804.035/JPEG/jpeg/jinclude.h
Examining data/perl-tk-804.035/JPEG/jpeg/jcmaster.c
Examining data/perl-tk-804.035/JPEG/jpeg/jmemnobs.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcphuff.c
Examining data/perl-tk-804.035/JPEG/jpeg/jdmerge.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcinit.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcparam.c
Examining data/perl-tk-804.035/JPEG/jpeg/jcomapi.c
Examining data/perl-tk-804.035/tkGlue.c

FINAL RESULTS:

data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:32:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#    define chmod(path,mode)    _chmod(path,mode)
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:277:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      chmod(item->fname,item->mode);
data/perl-tk-804.035/PNG/zlib/examples/gun.c:518:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    (void)chmod(to, was.st_mode & 07777);
data/perl-tk-804.035/PNG/zlib/examples/gun.c:521:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    (void)chown(to, was.st_uid, was.st_gid);
data/perl-tk-804.035/pTk/compat/unistd.h:42:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
extern int chown _ANSI_ARGS_((CONST char *path, uid_t owner, gid_t group));
data/perl-tk-804.035/pTk/compat/unistd.h:76:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
extern int readlink _ANSI_ARGS_((CONST char *path, char *buf, int bufsize));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3998:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (chmod(translated, (unsigned) mode) != 0) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:377:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	    length = readlink(src, link, sizeof(link)); /* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:739:2:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	chmod(path, (mode_t) newPerm);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:768:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        chmod(path, oldPerm);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1075:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    if (chmod(dst, newMode)) {				/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1077:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (chmod(dst, newMode)) {			/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1291:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    result = chown(native, (uid_t) -1, (gid_t) gid);	/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1353:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    result = chown(native, (uid_t) uid, (gid_t) -1);   /* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1425:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    result = chmod(native, newMode);		/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:662:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    length = readlink(native, link, sizeof(link));	/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:758:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	length = readlink(Tcl_FSGetNativePath(pathPtr), link, sizeof(link));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1458:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    length = readlink(native, link, sizeof(link));     /* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1915:6:  [5] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120). Risk is high,
  it appears that the size is given as bytes, but the function requires size
  as characters.
	    MultiByteToWideChar(CP_ACP, 0, path, -1, wpath, sizeof(wpath));
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:403:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(buf, more);
data/perl-tk-804.035/JPEG/jpeg/jerror.c:193:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buffer, msgtext, err->msg_parm.s);
data/perl-tk-804.035/JPEG/jpeg/jerror.c:195:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buffer, msgtext,
data/perl-tk-804.035/JPEG/jpeg/jmemmac.c:240:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(info->temp_name, TEMP_FILE_NAME, next_file_num);
data/perl-tk-804.035/JPEG/jpeg/jmemmac.c:241: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 ( (Ptr)fName+1, info->temp_name );
data/perl-tk-804.035/JPEG/jpeg/jmemname.c:102:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num);
data/perl-tk-804.035/JPEG/jpeg/jmemname.c:129:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num);
data/perl-tk-804.035/JPEG/jpeg/jmemname.c:130:3:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
  mktemp(fname);		/* make sure file name is unique */
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:456: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(comment_arg, argv[argn]+1);
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:466:4:  [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(comment_arg, argv[argn]);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng.h:43:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x)  {fprintf x ; fflush(stderr); fflush(stdout);}
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/readpng2.h:43:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x)  {fprintf x ; fflush(stderr); fflush(stdout);}
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:253:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  can't open PNG file [%s]\n", filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:259:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:264:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:269:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  insufficient memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:272:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:319:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  ...%s", appname, filename+(alen+flen+6-1023));
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:321:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  %s", appname, filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:332:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:360:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  unable to decode PNG image\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:241:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  can't open PNG file [%s]\n", filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:247:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:252:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:257:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  insufficient memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:260:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:269:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME ":  can't open X display [%s]\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:306:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  ...%s", appname, filename+(alen+flen+6-1023));
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:308:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  %s", appname, filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:324:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:352:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  unable to decode PNG image\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:610:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  unable to allocate image memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:618:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  XCreateImage() failed\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:395:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  can't open PNG file [%s]\n", filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:400:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:407:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:412:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  insufficient memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:415:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:480:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  ...%s", appname, filename+(alen+flen+6-1023));
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:482:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  %s", appname, filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:532:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  libpng error while decoding PNG image\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:769:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:391:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  can't open PNG file [%s]\n", filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:396:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:403:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:408:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  insufficient memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:411:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:420:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME ":  can't open X display [%s]\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:476:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  ...%s", appname, filename+(alen+flen+6-1023));
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:478:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(titlebar, "%s:  %s", appname, filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:528:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  libpng error while decoding PNG image\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:783:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  unable to allocate image memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:791:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  XCreateImage() failed\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:874:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:230:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:265:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:275:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:280:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:288:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  input filename is too long [%d chars]\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:292:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  can't open input file [%s]\n", inname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:301:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:320:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:331:21:  [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(outname, inname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:340:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  output file exists [%s]\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:345:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, PROGNAME ":  can't open output file [%s]\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:608:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, PROGNAME ":  unable to allocate memory for text\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:619:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:623:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME ":  insufficient memory\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:626:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:630:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:673:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME ":  insufficient memory for image data\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:682:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME ":  expected %lu bytes, got %lu bytes\n",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:687:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:700:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME ":  insufficient memory for row data\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:709:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:716:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, PROGNAME
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:729:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stderr, PROGNAME ":  error on final libpng call\n");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/writepng.h:43:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x)  {fprintf x ; fflush(stderr); fflush(stdout);}
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:106:13:  [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 (szCmdFileName, szCmdLine);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:184:13:  [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 (szImgPathName, szCmdFileName);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:533: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 (szImgPathName, pstrPathName);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:534: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 (szImgFileName, strrchr (pstrPathName, '\\') + 1);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:536: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 (szImgFindName, szImgPathName);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:567: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 (*ppFileList + ii, szImgPathName);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:568: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 (strrchr(*ppFileList + ii, '\\') + 1, finddata.cFileName);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:590:17:  [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 (szTmp, *ppFileList + jj);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:591:17:  [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 (*ppFileList + jj, *ppFileList + ii);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:592:17:  [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 (*ppFileList + ii, szTmp);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:627:13:  [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 (pstrPrevName, pFileList + (*pFileIndex * MAX_PATH));
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:639:13:  [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 (pstrNextName, pFileList + (*pFileIndex * MAX_PATH));
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:681:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (szTmp, "VisualPng - %s", strrchr(pstrPathName, '\\') + 1);
data/perl-tk-804.035/PNG/libpng/png.c:664:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(near_time_buf, "%d %s %d %02d:%02d:%02d +0000",
data/perl-tk-804.035/PNG/libpng/png.c:672:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(png_ptr->time_buffer, "%d %s %d %02d:%02d:%02d +0000",
data/perl-tk-804.035/PNG/libpng/png.h:2431:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
data/perl-tk-804.035/PNG/libpng/png.h:2437:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
data/perl-tk-804.035/PNG/libpng/png.h:2443:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
data/perl-tk-804.035/PNG/libpng/pngconf.h:1411:23:  [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).
#  define png_strcpy  strcpy
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5113:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 1: sprintf(filnm, "sub-%s",
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5121:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 2: sprintf(filnm, "up-%s",
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5129:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 3: sprintf(filnm, "avg-%s",
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5137:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 4: sprintf(filnm, "Paeth-%s",
data/perl-tk-804.035/PNG/libpng/pngrutil.c:282:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(umsg,"Buffer error in compressed datastream in %s chunk",
data/perl-tk-804.035/PNG/libpng/pngrutil.c:285:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(umsg,"Data error in compressed datastream in %s chunk",
data/perl-tk-804.035/PNG/libpng/pngrutil.c:288:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(umsg,"Incomplete compressed datastream in %s chunk",
data/perl-tk-804.035/PNG/libpng/pngtest.c:35:21:  [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.
     __error__ (f|w)printf functions are not supported on old WindowsCE.;
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3699:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 1: sprintf(filnm, "sub-%s",
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3702:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 2: sprintf(filnm, "up-%s",
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3705:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 3: sprintf(filnm, "avg-%s",
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3708:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      case 4: sprintf(filnm, "Paeth-%s",
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1586:7:  [4] (format) swprintf:
  Potential format string problem (CWE-134). Make format string constant.
      swprintf(wc_buf, TEXT("%12.12e"), width);
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1590:7:  [4] (format) swprintf:
  Potential format string problem (CWE-134). Make format string constant.
      swprintf(wc_buf, TEXT("%12.12e"), height);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:115:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buffer,newdir);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:31:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#    define access(path,mode)   _access(path,mode)
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:137:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buffer,arcname);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:142:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
       strcpy(buffer+origlen,TGZsuffix[i]);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:143:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
       if (access(buffer,F_OK) == 0)
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:158:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,(TGZsuffix[i+1]) ? "%s%s, " : "or %s%s\n",
data/perl-tk-804.035/PNG/zlib/examples/zran.c:70:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
struct access {
data/perl-tk-804.035/PNG/zlib/examples/zran.c:77:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local void free_index(struct access *index)
data/perl-tk-804.035/PNG/zlib/examples/zran.c:87:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local struct access *addpoint(struct access *index, int bits,
data/perl-tk-804.035/PNG/zlib/examples/zran.c:87:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local struct access *addpoint(struct access *index, int bits,
data/perl-tk-804.035/PNG/zlib/examples/zran.c:94:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        index = malloc(sizeof(struct access));
data/perl-tk-804.035/PNG/zlib/examples/zran.c:139:52:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local int build_index(FILE *in, off_t span, struct access **built)
data/perl-tk-804.035/PNG/zlib/examples/zran.c:144:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    struct access *index;       /* access points being generated */
data/perl-tk-804.035/PNG/zlib/examples/zran.c:244:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local int extract(FILE *in, struct access *index, off_t offset,
data/perl-tk-804.035/PNG/zlib/examples/zran.c:354:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    struct access *index;
data/perl-tk-804.035/PNG/zlib/gzio.c:131: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(s->path, path); /* do this early for debugging */
data/perl-tk-804.035/PNG/zlib/gzio.c:613:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    (void)vsprintf(buf, format, va);
data/perl-tk-804.035/PNG/zlib/gzio.c:618:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = vsprintf(buf, format, va);
data/perl-tk-804.035/PNG/zlib/gzio.c:623:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)vsnprintf(buf, sizeof(buf), format, va);
data/perl-tk-804.035/PNG/zlib/gzio.c:627:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buf, sizeof(buf), format, va);
data/perl-tk-804.035/PNG/zlib/gzio.c:650:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/perl-tk-804.035/PNG/zlib/gzio.c:655:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = sprintf(buf, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/perl-tk-804.035/PNG/zlib/gzio.c:660:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf, sizeof(buf), format, a1, a2, a3, a4, a5, a6, a7, a8,
data/perl-tk-804.035/PNG/zlib/gzio.c:664:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = snprintf(buf, sizeof(buf), format, a1, a2, a3, a4, a5, a6, a7, a8,
data/perl-tk-804.035/PNG/zlib/gzio.c:1008: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(s->msg, s->path);
data/perl-tk-804.035/PNG/zlib/gzio.c:1010: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(s->msg, m);
data/perl-tk-804.035/PNG/zlib/minigzip.c:201: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(outfile, file);
data/perl-tk-804.035/PNG/zlib/minigzip.c:202: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(outfile, GZ_SUFFIX);
data/perl-tk-804.035/PNG/zlib/minigzip.c:232: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(buf, file);
data/perl-tk-804.035/PNG/zlib/minigzip.c:241:9:  [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(infile, GZ_SUFFIX);
data/perl-tk-804.035/PNG/zlib/zutil.h:199:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/perl-tk-804.035/PNG/zlib/zutil.h:200:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#      define vsnprintf _vsnprintf
data/perl-tk-804.035/PNG/zlib/zutil.h:246:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/perl-tk-804.035/PNG/zlib/zutil.h:247:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/perl-tk-804.035/PNG/zlib/zutil.h:248:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/perl-tk-804.035/PNG/zlib/zutil.h:249:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/perl-tk-804.035/PNG/zlib/zutil.h:250:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/perl-tk-804.035/config/Ksprintf.c:11:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
extern char *sprintf _ANSI_ARGS_((char *,const char *, ...));
data/perl-tk-804.035/config/Ksprintf.c:13:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
extern int sprintf _ANSI_ARGS_((char *,const char *, ...));
data/perl-tk-804.035/pTk/XrmOption.c:707:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(fileName, "%s/.Xdefaults", home);
data/perl-tk-804.035/pTk/compat/unistd.h:40:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
extern int access _ANSI_ARGS_((CONST char *path, int mode));
data/perl-tk-804.035/pTk/compat/unistd.h:46:12:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int execl _ANSI_ARGS_((CONST char *path, ...));
data/perl-tk-804.035/pTk/compat/unistd.h:47:12:  [4] (shell) execle:
  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.
extern int execle _ANSI_ARGS_((CONST char *path, ...));
data/perl-tk-804.035/pTk/compat/unistd.h:48:12:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int execlp _ANSI_ARGS_((CONST char *file, ...));
data/perl-tk-804.035/pTk/compat/unistd.h:49:12:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int execv _ANSI_ARGS_((CONST char *path, char **argv));
data/perl-tk-804.035/pTk/compat/unistd.h:51:12:  [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.
extern int execvp _ANSI_ARGS_((CONST char *file, char **argv));
data/perl-tk-804.035/pTk/compat/unistd.h:72:14:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
extern char *crypt _ANSI_ARGS_((CONST char *, CONST char *));
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:735: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:741: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:747: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:753: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:760: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:413:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cp, "%s: ", module);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:417:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(cp, fmt, ap);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:422:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(errorMessage, buf);
data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c:172: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(buf,libName);
data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c:202: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(buf+1,*q);
data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c:670:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buffer, header, fileName, blockPtr->width, fileName,
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:354: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:360: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:366: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:372: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:379: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:951:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "/* XPM */\nstatic char * %s[] = {\n", fileName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:997:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 	sprintf(buffer, "\"%s s None c None\",\n", temp.component);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:1016:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "\"%s c #%02x%02x%02x\",\n",
data/perl-tk-804.035/pTk/mTk/generic/tk3d.c:680:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "bad relief type \"%.50s\": must be %s",
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1080:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(new, "%s\n%s", old, Tcl_GetString(command));
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3082:15:  [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,modPtr->name);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:950:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:930: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(new + byteIndex, string);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:931: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(new + byteIndex + byteCount, text + byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1012: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(new + byteIndex, text + byteIndex + byteCount);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1508:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "] %d %g %g %s %s DrawText\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:805: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( pt, value );
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:857:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "\n%%%% %s item (%s, %d x %d)\n%.15g %.15g translate\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:871:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buffer, "%s postscript -prolog 0\n", Tk_PathName(tkwin));
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:401: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(cbPtr->buffer, buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:388: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(copy, p);
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1680:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(buf, "%s %d", string, visInfoPtr[i].depth);
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1685:7:  [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(buf, visualIdString);
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:748: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/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1650:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(sbPtr->formatBuf, sbPtr->valueFormat, dvalue);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2250: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(new + byteIndex, value);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2251: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(new + byteIndex + byteCount, string + byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2352: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(new + byteIndex, string + byteIndex + byteCount);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2531: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(tmp, value);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2558: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(tmp, value);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4576:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(sbPtr->formatBuf, sbPtr->valueFormat, dvalue);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:271:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(globPtr->pattern+1, globi);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:289: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(globPtr->pattern, globi);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:293:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(globPtr->pattern, globi);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:367: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(filterPtr->name, name);
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1751:52:  [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 DEBUGMSG(printf_args) if (MIGIF_VERBOSE) { printf printf_args; }
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:531: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(copyPtr->name, formatPtr->name);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:555: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(copyPtr->name, formatPtr->name);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:2422:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, ((mono) ? "%d": "%d/%d/%d"), nRed, nGreen, nBlue);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:5867: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(&(ptr->name[0]), name);
data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.c:648:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy(mbPtr->text, value);
data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.c:922: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/perl-tk-804.035/pTk/mTk/generic/tkMessage.c:505:23:  [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).
	    msgPtr->string = strcpy(ckalloc(strlen(value) + 1), value);
data/perl-tk-804.035/pTk/mTk/generic/tkMessage.c:897: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(msgPtr->string, value);
data/perl-tk-804.035/pTk/mTk/generic/tkObj.c:530: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(objPtr->bytes, buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:218: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:239:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(msg,
data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:433: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, Tcl_GetString(value));
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:441:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(buf, scalePtr->format, value);
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:952:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(valueString, scalePtr->format, scalePtr->fromValue);
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:955:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(valueString, scalePtr->format, scalePtr->toValue);
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:1323:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(string, scalePtr->format, scalePtr->value);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1292: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(lostPtr->command, Tcl_GetString(script));
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1634: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(buffer, cmdInfoPtr->buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1661:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(command, "%s %d %d", cmdInfoPtr->command, charOffset, maxBytes);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1815: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(buffer, name);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1829: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(buffer, name);
data/perl-tk-804.035/pTk/mTk/generic/tkStyle.c:813: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(specPtr->name, templatePtr->name);
data/perl-tk-804.035/pTk/mTk/generic/tkStyle.c:829: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(dstOptions->name, srcOptions->name);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:378: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 *) ckalloc(strlen(argv[3]) + 1), argv[3]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:383:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy((char *) ckalloc(strlen(argv[4]) + 1), argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1670: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(timPtr->imageName, name);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1672: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(timPtr->varName, varName);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1768:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s get", timPtr->imageName);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1813:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s display %d %d %d %d %d %d",
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1858:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s free", instPtr->masterPtr->imageName);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1892:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s delete", timPtr->imageName);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2499: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(new, string);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:451: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(textPtr->selTagPtr->reliefString, DEF_TEXT_SELECT_RELIEF);
data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:396: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(eiPtr->body.ei.name,name);
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:273:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(valueString, scalePtr->format, value);
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:358:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(valueString, scalePtr->format, scalePtr->fromValue);
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:490:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(valueString, scalePtr->format, value);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:816: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(pathName+1, name);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:818: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(pathName, parentPtr->pathName);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:820: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(pathName+length1+1, name);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:92:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(convbuf, unk, errcode);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:101:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(errbuf, msg);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regguts.h:134:53:  [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	FDEBUG(arglist)	{ if (v->eflags&REG_FTRACE) printf arglist; }
data/perl-tk-804.035/pTk/mTk/tclGeneric/regguts.h:136:53:  [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	MDEBUG(arglist)	{ if (v->eflags&REG_MTRACE) printf arglist; }
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3324:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "\n    while executing\n\"%.*s%s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3327:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "\n    invoked from within\n\"%.*s%s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:826:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%-25s %10d\n%-25s %10d\n%-25s %10d\n%-25s %10d\n%-25s %10d\n%-25s %10d\n",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:853: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(onExitMemDumpFileName,fileName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:868: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(curTagPtr->string, argv[2]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.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(tclMemDumpFileName, argv[1]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclClock.c:309:19:  [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).
	    savedTZEnv = strcpy(ckalloc(strlen(varValue) + 1), varValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2169:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(newPtr, TCL_LL_MODIFIER);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2335:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(dst, newFormat, doubleValue); /* INTL: user locale. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2338:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(dst, newFormat, wideValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2342:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		    sprintf(dst, newFormat, (short) intValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2344:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		    sprintf(dst, newFormat, intValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2395:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(dst, newFormat, ptrValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1002: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(iPtr->errorInfo, arg);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1006: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(iPtr->errorCode, arg);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:3048: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(tvarPtr->command, command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:3276:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tcmdPtr->command, command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:3509:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tcmdPtr->command, command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:3712:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tvarPtr->command, command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:4646:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tcmdPtr->startCmd, command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1738:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "\n    while compiling\n\"%.*s%s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:1528:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf( _POP_, *TclDate_ps,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:368: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(tclDefaultEncodingDir, path);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:746:26:  [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).
    encodingPtr->name		= strcpy(name, typePtr->encodingName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1153: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(tclExecutableName, Tcl_DStringValue(&nameString));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1678: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(dataPtr->init, init);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1680: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(dataPtr->final, final);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:249: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, name);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:251: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+nameLength+1, value);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:259: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, p2);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:419: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, Tcl_DStringValue(&envString));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:726: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 (name, str);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:175: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(errPtr->errorInfo, varValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:181: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(errPtr->errorCode, varValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:237:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf a; \
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:241:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf a; \
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:248:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf a; \
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:1127: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(tmp, chanName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOCmd.c:1427: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(copyScript, script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c:365: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(pkgPtr->fileName, fullFileName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c:368: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(pkgPtr->packageName, Tcl_DStringValue(&pkgName));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c:496: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(pkgPtr->packageName, pkgName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:513: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(nsPtr->name, simpleName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:565: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(nsPtr->fullName, name);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:729:13:  [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(errorInfoStr, str);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:737:13:  [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(errorCodeStr, str);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:1007: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(patternCpy, pattern);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1618: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(objPtr->bytes, buffer);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1914: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(objPtr->bytes, buffer);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPanic.c:102:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) fprintf(stderr, format, arg1, arg2, arg3, arg4, arg5, arg6,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1483:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "unexpected operator %s", lexemeStrings[lexeme]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c:108: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(pkgPtr->version, version);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c:609:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(availPtr->version, argv3);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c:620: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(availPtr->script, argv4);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c:742: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(iPtr->packageUnknown, argv2);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:486:13:  [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(localPtr->name, fieldValues[0]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1240:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 		sprintf(buf, "\n    (compiling %s \"%.*s%s\", line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1332:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msg, "\n    (procedure \"%.*s%s\" line %d)", nameLen, procName,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:962: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(tsdPtr->patterns[0], string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResolve.c:111: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(resPtr->name, name);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:77: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(statePtr->result, iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:143: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(iPtr->result, statePtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:254: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(iPtr->result, string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:522:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  	strcpy(iPtr->appendResult + iPtr->appendUsed, string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:707:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(new, iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:714: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(iPtr->appendResult, iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:783: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(asyncPtr->command, argv[2]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1451: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(dPtr->deleteCmd, argv[3]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2598:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(stringVar, argv[5]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2643:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(stringVar, argv[5]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3581: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(buf, argv[2]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestProcBodyObj.c:149:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "namespace eval %s { namespace export %s }",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestProcBodyObj.c:155:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s::%s", namespace, cmdTablePtr->cmdName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:378: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(errorProcString, proc);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:496: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(threadEvalScript, ctrlPtr->script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:738: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(threadEventPtr->script, script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:884: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(resultPtr->result, result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:887: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(resultPtr->errorCode, errorCode);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:891: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(resultPtr->errorInfo, errorInfo);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:1021: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(resultPtr->result, msg);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:292:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1692: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(interp->result, dsPtr->string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1752: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(dsPtr->string, iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1765: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(dsPtr->string, iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1861:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(dst, precisionFormat, value);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2358: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(objPtr->bytes, buffer);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:121:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:125: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(mp->name, path);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:135:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, path);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:145: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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:152:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:162:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:176: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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:222:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, p);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:226:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, p);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:230:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, p);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:234:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, p);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:237:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(atoi(++p)));	/* INTL: "C", UTF safe. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:240:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, s);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:260: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(errbuf, symbol);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:291:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:341:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:352:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:361: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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:368:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:392:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:429:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:463:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:493:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(ep->name, symname);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:519:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:528:4:  [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(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:535:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(errbuf, strerror(errno));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:308: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 (SymbolTableFile, relocatedFileName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadDld.c:111:36:  [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).
    *loadHandle = (Tcl_LoadHandle) strcpy(
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadNext.c:125:24:  [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).
	sym[0]='_'; sym[1]=0; strcat(sym,symbol);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1719:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	    accessOk = access(nativePath, F_OK);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:121:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ((access(name, X_OK) == 0)			/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:149: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(tclNativeExecutableName, Tcl_DStringValue(&nameString));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:171: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(tclNativeExecutableName, Tcl_DStringValue(&buffer));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:173: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(tclNativeExecutableName + Tcl_DStringLength(&buffer) + 1,
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:378:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			(access(nativeEntry, R_OK) != 0)) ||
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:380:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			(access(nativeEntry, W_OK) != 0)) ||
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:382:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			(access(nativeEntry, X_OK) != 0))
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:513:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return access(path, mode);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:721:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(src, F_OK) != -1) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:726:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(target, F_OK) == -1) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:267:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(installLib, "lib/tcl%s", TCL_VERSION);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:268:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(developLib, "tcl%s/library", TCL_PATCH_LEVEL);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:202: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(fileName, P_tmpdir);				/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:254: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(fileName, P_tmpdir);		/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:457: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/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:562: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(tclDefaultEncodingDir, argv[1]);
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:127: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(cmdline, option);
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:222: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(cmdline, option);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWin32Dll.c:95:48:  [4] (buffer) lstrcpyA:
  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).
    (TCHAR (WINAPI *)(WCHAR *, CONST TCHAR *)) lstrcpyA,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWin32Dll.c:144:48:  [4] (buffer) lstrcpyW:
  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).
    (TCHAR (WINAPI *)(WCHAR *, CONST TCHAR *)) lstrcpyW,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinDde.c:297: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/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:707: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(tclNativeExecutableName, Tcl_DStringValue(&ds));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:199:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(installLib, "lib/tcl%s", TCL_VERSION);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:200:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(developLib, "tcl%s/library", TCL_PATCH_LEVEL);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:454: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(end + 1, lib);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinLoad.c:89:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%d %s", lastError, (char *)lpMsgBuf);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1438: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(fullName, Tcl_WinTCharToUtf((TCHAR *) nativeFullPath, -1, &ds));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1529: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(fullName, Tcl_WinTCharToUtf((TCHAR *) nativeFullPath, -1, &ds));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPort.h:487:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			CONST TCHAR *name, DWORD access));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:378: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(buffer, keyName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:914: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(buffer, keyName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1376:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
TclWinSerialReopen(handle, name, access)
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1379:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    DWORD access;
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1393:51:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    handle = (*tclWinProcs->createFileProc)(name, access,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:2563:2:  [4] (buffer) lstrcpynA:
  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).
	lstrcpynA(hostname, Tcl_WinTCharToUtf((TCHAR *) wbuf, -1, &ds),
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:915:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(buff, "w:%s", argv[2]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCompat.c:35:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(new_string, s);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrRC.c:73:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(errorMsg, "%s %s ?option value ...?", argv[-2], argv[-1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrRC.c:104:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(errorMsg, "%s %s ?option value ...?", argv[-2], argv[-1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2886:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(pathName, "%s%c%s", parentName, sep, name);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:764: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:770: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:776: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:782: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:789: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(useName, colorName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:353: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(buff, context);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:355: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(buff+conLen+1, method);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:188: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(buff, classRec);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:189: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(buff+conLen, flag);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:251:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(method, "config%s", spec->argvName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:338:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(initCmd, format,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixWidget.c:79:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(rootCmd, "%s:root", widRec);
data/perl-tk-804.035/pTk/mTk/tixWin/tixWinMain.c:316:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buf, format, argList);
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:236: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(symbol, s);
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:491:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(&cmdline[pos], argv[i]);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2535: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(subFont.name,nameList[nameIdx]);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2729:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%.200s-%d-*-*-*-*-*%s", nameList[bestIdx[1]],
data/perl-tk-804.035/pTk/mTk/unix/tkUnixMenu.c:1308: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(helpMenuName, Tk_PathName(masterMenuPtr->tkwin));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:345:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy((char *)buffer, incrPtr->converts[i].buffer);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1650: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(result+curSize, atomName);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:493: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(newProp, id);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:494: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(newProp+idLength, name);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:869: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, actualName);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1130:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(pending.result, msg);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1656: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(pcPtr->result, resultString);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1662:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pcPtr->errorInfo, errorInfo);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1667:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pcPtr->errorCode, errorCode);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1761:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(pcPtr->result, "no application named \"%s\"",
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:1613: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(wmPtr->clientMachine, argv3);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:2186: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(wmPtr->leaderName, argv3);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:2414: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(wmPtr->iconName, argv3);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:3064: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(protPtr->command, cmd);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:3454: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(wmPtr->title, argv3);
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:127: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(cmdline, option);
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:222: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(cmdline, option);
data/perl-tk-804.035/pTk/mTk/win/tkWinCursor.c:24:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    int system;			/* 1 if cursor is a system cursor, else 0. */
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1488: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, defaultFilter);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1523: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(p, filterPtr->name);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1542:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(p, sep);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1544:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(p, globPtr->pattern);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1806:6:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	    lstrcpy(path, cdCBData.utfRetDir);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:2248:6:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	    lstrcpy(cdPtr->path, ofnPtr->lpstrInitialDir);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:2336:6:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	    lstrcpy(cdPtr->path, tmp);
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:2018:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *) lf.lfFaceName, Tcl_DStringValue(&ds));
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:500: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(itemText, Tcl_DStringValue(&itemString));
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:2809: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(wmPtr->clientMachine, argv3);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3385: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(wmPtr->leaderName, argv3);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3672: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(wmPtr->iconName, argv3);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:4158: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(protPtr->command, cmd);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:4558: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(wmPtr->title, argv3);
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:163:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "Windows %d.%d %d %s", os.dwMajorVersion,
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:492: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(display->display_name, display_name);
data/perl-tk-804.035/pTk/mTk/win/winMain.c:237:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buf, format, argList);
data/perl-tk-804.035/pTk/mTk/xlib/xcolors.c:896:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if (sscanf(spec+1, fmt, &red, &green, &blue) != 3) {
data/perl-tk-804.035/pTk/strdup.c:8:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(p,s);
data/perl-tk-804.035/pTk/tkProperty.c:133:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy((char *)(*prop), s);
data/perl-tk-804.035/ppport.h:9574:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    retval = vsnprintf(buffer, len, format, ap);
data/perl-tk-804.035/ppport.h:9576:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/perl-tk-804.035/ppport.h:9611:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buffer, pat, args);
data/perl-tk-804.035/tkGlue.c:276:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf(buf, "(%ld%s", (long) SvREFCNT(hv), SvTEMP(hv) ? "t)" : ")");
data/perl-tk-804.035/tkGlue.c:306:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(buf, "(%ld%s", (long) SvREFCNT(sv), SvTEMP(sv) ? "t)" : ")");
data/perl-tk-804.035/tkGlue.c:478:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buffer,"Tk::%s_Type",type);
data/perl-tk-804.035/tkGlue.c:4994:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
     strcat(result, Tk_EventInfo('x', obj->tkwin, &obj->event, obj->keySym, NULL, NULL, NULL, sizeof(scratch) - 1, scratch));
data/perl-tk-804.035/tkGlue.c:4996:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
     strcat(result, Tk_EventInfo('y', obj->tkwin, &obj->event, obj->keySym, NULL, NULL, NULL, sizeof(scratch) - 1, scratch));
data/perl-tk-804.035/tkGlue.c:5152:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     sprintf(buf, "Tk::%s::%s", package, method);
data/perl-tk-804.035/tkGlue.c:5567:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buf, "%s::VERSION", BASEEXT);
data/perl-tk-804.035/tkGlue.c:5571:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buf, "%s::Widget::%s", BASEEXT, "BindClientMessage");
data/perl-tk-804.035/tkGlue.c:5574:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buf, "%s::Widget::%s", BASEEXT, "PassEvent");
data/perl-tk-804.035/tkGlue.c:5577:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buf, "%s::Widget::%s", BASEEXT, "SelectionGet");
data/perl-tk-804.035/tkGlue.c:5587:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(buf, "%s::Widget::%s", BASEEXT, "ManageGeometry");
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:50:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv JPP((const char * name));
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:139:31:  [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 ((env = (const char *) getenv("TMP")) == NULL)
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:140:33:  [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 ((env = (const char *) getenv("TEMP")) == NULL)
data/perl-tk-804.035/JPEG/jpeg/jmemmgr.c:35:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv JPP((const char * name));
data/perl-tk-804.035/JPEG/jpeg/jmemmgr.c:1106:19:  [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 ((memenv = getenv("JPEGMEM")) != NULL) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:188:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((p = getenv("SCREEN_GAMMA")) != NULL)
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:196:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((p = getenv("SCREEN_GAMMA")) != NULL)
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:302:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((p = getenv("SCREEN_GAMMA")) != NULL)
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:309:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((p = getenv("SCREEN_GAMMA")) != NULL)
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:201:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((p = getenv("SCREEN_GAMMA")) != NULL) {
data/perl-tk-804.035/PNG/libpng/example.c:240:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   else if ((gamma_str = getenv("SCREEN_GAMMA")) != NULL)
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:402:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:413:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:423:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:457:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:468:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:478:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/crypt.h:113:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand((unsigned)(time(NULL) ^ ZCR_SEED2));
data/perl-tk-804.035/pTk/XrmOption.c:697:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
       char *home = getenv("HOME");
data/perl-tk-804.035/pTk/compat/stdlib.h:33:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *		getenv _ANSI_ARGS_((CONST char *name));
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1491:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
 verbose = !!getenv("GIF_VERBOSE");
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1795:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    ocienv = getenv("GIF_OUT_CLEAR_INIT");
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:714:2:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	tmpnam(tempFileName);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:784:2:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	tmpnam(tempFileName);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:937:2:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	tmpnam(tempFileName);
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1756:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    verbose = !!getenv("MIGIF_VERBOSE");
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:2097: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.
	ocienv = getenv("MIGIF_OUT_CLEAR_INIT");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:182:5:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    tmpnam (relocatedFileName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:168:12:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    return realpath(path, resolved);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:171:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
#define Realpath realpath
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:76:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    p = getenv("PATH");					/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:615:9:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
    if (getwd(buffer) == NULL) {			/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:287: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.
    str = getenv("TCL_LIBRARY");			/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:558:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    char *langEnv = getenv("LC_ALL");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:562:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		langEnv = getenv("LC_CTYPE");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:565:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		langEnv = getenv("LANG");
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:131:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:131:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:226:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:226:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c:128:9:  [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.
    if (CreateProcess(NULL, cmdLine, NULL, NULL, TRUE, 0, NULL, NULL, &si, 
data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c:128:9:  [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.
    if (CreateProcess(NULL, cmdLine, NULL, NULL, TRUE, 0, NULL, NULL, &si, 
data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c:188:9:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
    if (GetTempFileName(name, "tcl", 0, name) == 0) {
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinNotify.c:123:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&tsdPtr->crit);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinNotify.c:235:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(&tsdPtr->crit);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinNotify.c:395:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(&tsdPtr->crit);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:798:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&infoPtr->csWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:827:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&infoPtr->csWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1014:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&infoPtr->csWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1474:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&infoPtr->csWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:2072:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&infoPtr->csWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:28:22:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#define MASTER_LOCK  EnterCriticalSection(&masterLock)
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:142:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&joinLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:219:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&joinLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:282:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&joinLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:283:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&initLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:284:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&masterLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:286:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&initLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:343:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&joinLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:344:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&initLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:345:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&masterLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:347:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&masterLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:399:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&allocLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:448:6:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	    InitializeCriticalSection(csPtr);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:455:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(csPtr);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:796:6:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	    InitializeCriticalSection(&winCondPtr->condLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:819:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&winCondPtr->condLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:847:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(&winCondPtr->condLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:881:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(csPtr);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:918:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(&winCondPtr->condLock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinThrd.c:1023:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&lockPtr->wlock);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:331:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
		InitializeCriticalSection( &timeInfo.cs );
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:382:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection( &timeInfo.cs );
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:488:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    zone = getenv("TZ");
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:867:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection( &timeInfo.cs );
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c:221:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	tixOption.tixlibrary = (char*)getenv("TIX_LIBRARY");
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:323:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    libDir = getenv(envName);
data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c:80:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	screenName = getenv("DISPLAY");
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:131:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:131:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:226:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:226:10:  [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.
    ok = CreateProcess(
data/perl-tk-804.035/JPEG/imgJPEG.c:362: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 *) cinfo)[sizeof(struct jpeg_compress_struct)] = 53;
data/perl-tk-804.035/JPEG/imgJPEG.c:365: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.
    if (((char *) cinfo)[sizeof(struct jpeg_compress_struct)] != 53) {
data/perl-tk-804.035/JPEG/imgJPEG.c:746: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[256];
data/perl-tk-804.035/JPEG/imgJPEG.c:1072:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    block.pixelPtr = (unsigned char *) buffer[0] + srcX * block.pixelSize;
data/perl-tk-804.035/JPEG/imgJPEG.c:1622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[JMSG_LENGTH_MAX];
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:358: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).
		out = fopen(argv[2], "w");
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:364:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	in = fopen(argv[1], "r");
data/perl-tk-804.035/JPEG/jpeg/cjpeg.c:539:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/cjpeg.c:550:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/ckconfig.c:297:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((outfile = fopen("jconfig.h", "w")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/djpeg.c:274:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((mapfile = fopen(argv[argn], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/djpeg.c:504:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/djpeg.c:515:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/example.c:114:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((outfile = fopen(filename, "wb")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/example.c:306:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((infile = fopen(filename, "rb")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/jchuff.c:185: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 huffsize[257];
data/perl-tk-804.035/JPEG/jpeg/jchuff.h:29: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 ehufsi[256];		/* length of code for each symbol */
data/perl-tk-804.035/JPEG/jpeg/jcmarker.c:228: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 dc_in_use[NUM_ARITH_TBLS];
data/perl-tk-804.035/JPEG/jpeg/jcmarker.c:229: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 ac_in_use[NUM_ARITH_TBLS];
data/perl-tk-804.035/JPEG/jpeg/jdhuff.c:156: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 huffsize[257];
data/perl-tk-804.035/JPEG/jpeg/jerror.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[JMSG_LENGTH_MAX];
data/perl-tk-804.035/JPEG/jpeg/jinclude.h:62:32:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define MEMCOPY(dest,src,size)	bcopy((const void *)(src), (void *)(dest), (size_t)(size))
data/perl-tk-804.035/JPEG/jpeg/jinclude.h:68:32:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define MEMCOPY(dest,src,size)	memcpy((void *)(dest), (const void *)(src), (size_t)(size))
data/perl-tk-804.035/JPEG/jpeg/jmemansi.c:144:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if ((info->temp_file = tmpfile()) == NULL)
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:151: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(ptr, "JPG%03d.TMP", next_file_num);
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:153:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((tfile = fopen(fname, READ_BINARY)) == NULL)
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:339: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 endbuffer[2];
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:360: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 FAR *) buffer_address)[byte_count - 1L] = endbuffer[0];
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:372: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 endbuffer[2];
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:393: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.
    endbuffer[0] = ((char FAR *) buffer_address)[byte_count - 1L];
data/perl-tk-804.035/JPEG/jpeg/jmemdos.c:468: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 bytes[18];		/* Misaligned fields in here! */
data/perl-tk-804.035/JPEG/jpeg/jmemname.c:103:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((tfile = fopen(fname, READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/jmemname.c:251:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL)
data/perl-tk-804.035/JPEG/jpeg/jmemsys.h:156: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 temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
data/perl-tk-804.035/JPEG/jpeg/jmemsys.h:162: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 temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
data/perl-tk-804.035/JPEG/jpeg/jmemsys.h:166: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 temp_name[TEMP_NAME_LENGTH]; /* name of temp file */
data/perl-tk-804.035/JPEG/jpeg/jpeglib.h:663: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 s[JMSG_STR_PARM_MAX];
data/perl-tk-804.035/JPEG/jpeg/jpegtran.c:409:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/jpegtran.c:420:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/rdjpgcom.c:471:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((infile = fopen(argv[argn], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/rdswitch.c:90:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fp = fopen(filename, "r")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/rdswitch.c:182:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fp = fopen(filename, "r")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/wrbmp.c:160: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 bmpfileheader[14];
data/perl-tk-804.035/JPEG/jpeg/wrbmp.c:161:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bmpinfoheader[40];
data/perl-tk-804.035/JPEG/jpeg/wrbmp.c:233: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 bmpfileheader[14];
data/perl-tk-804.035/JPEG/jpeg/wrbmp.c:234: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 bmpcoreheader[12];
data/perl-tk-804.035/JPEG/jpeg/wrgif.c:65: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 packetbuf[256];		/* workspace for accumulating packet */
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:442:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((comment_file = fopen(argv[argn], "r")) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:485:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((infile = fopen(argv[argn], READ_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:512:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((outfile = fopen(argv[argn+1], WRITE_BINARY)) == NULL) {
data/perl-tk-804.035/JPEG/jpeg/wrrle.c:178: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 cmapcomment[80];
data/perl-tk-804.035/JPEG/jpeg/wrrle.c:202: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(cmapcomment, "color_map_length=%d", cinfo->actual_number_of_colors);
data/perl-tk-804.035/JPEG/jpeg/wrtarga.c:57: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 targaheader[18];
data/perl-tk-804.035/PNG/imgPNG.c:316: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 buf[8];
data/perl-tk-804.035/PNG/imgPNG.c:539: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.
    block.pixelPtr=(unsigned char *) (png_data[srcY]+srcX*block.pixelSize);
data/perl-tk-804.035/PNG/imgPNG.c:747:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(dst, src, newPixelSize);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:88: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 titlebar[1024], *window_name = titlebar;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:117: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 *args[1024];                 /* arbitrary limit, but should suffice */
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:159:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen("/etc/config/system.glGammaVal", "r");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:252:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    } else if (!(infile = fopen(filename, "rb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:91: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 titlebar[1024], *window_name = titlebar;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:134: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 tmpline[80];
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:167:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen("/etc/config/system.glGammaVal", "r");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:240:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    } else if (!(infile = fopen(filename, "rb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:122: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 titlebar[1024], *window_name = titlebar;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:221: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 *args[1024];                 /* arbitrary limit, but should suffice */
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:273:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen("/etc/config/system.glGammaVal", "r");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:360: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).
                pat = atoi(*argv) - 1;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:394:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    } else if (!(infile = fopen(filename, "rb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:129: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 titlebar[1024], *window_name = titlebar;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:240: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 tmpline[80];
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:280:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen("/etc/config/system.glGammaVal", "r");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:347: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).
                pat = atoi(*argv) - 1;
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:359:40:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                usleep_duration = (ulg)atol(*argv);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:390:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    } else if (!(infile = fopen(filename, "rb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:123:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *tmpfile;      /* or we could just use keybd, since no overlap */
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:124: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 tmpline[80];
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:127: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 *p, pnmchar, pnmline[256];
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:172:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    tmpfile = fopen("/etc/config/system.glGammaVal", "r");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:173:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if (tmpfile) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:176:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        fgets(tmpline, 80, tmpfile);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:177:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        fclose(tmpfile);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:291:37:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    } else if (!(wpng_info.infile = fopen(inname, "rb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:332:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(outname+len, ".png");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:336:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(outname+len, ".png");
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:339:42:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                if ((wpng_info.outfile = fopen(outname, "rb")) != NULL) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:344:50:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                } else if (!(wpng_info.outfile = fopen(outname, "wb"))) {
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/png2pnm.c:84:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if ((fp_al = fopen (argv[argi], "wb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/png2pnm.c:106:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp_rd = fopen (argv[argi], "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/png2pnm.c:115:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp_wr = fopen (argv[argi], "wb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:82:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if ((fp_al = fopen (argv[argi], "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:105:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp_rd = fopen (argv[argi], "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:114:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp_wr = fopen (argv[argi], "wb")) == NULL)
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          type_token[16];
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:196: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          width_token[16];
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:197: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          height_token[16];
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:198:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          maxval_token[16];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/PngFile.c:117:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(pfFile = fopen(pstrFileName, "rb")))
data/perl-tk-804.035/PNG/libpng/contrib/visupng/PngFile.c:300:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(pfFile = fopen(pstrFileName, "wb")))
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:70: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 szCmdFileName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:163:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szImgPathName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:164:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szTitleName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:511:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szImgPathName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:512:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szImgFileName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:513:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szImgFindName [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:518:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR              szTmp [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:538: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 (szImgFindName, "*.png");
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:658:12:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 TCHAR szTmp [MAX_PATH];
data/perl-tk-804.035/PNG/libpng/example.c:60:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[PNG_BYTES_TO_CHECK];
data/perl-tk-804.035/PNG/libpng/example.c:63:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((*fp = fopen(file_name, "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/example.c:92:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fp = fopen(file_name, "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/example.c:567: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).
   fp = fopen(file_name, "wb");
data/perl-tk-804.035/PNG/libpng/png.c:23: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.
const char png_libpng_ver[18] = PNG_LIBPNG_VER_STRING;
data/perl-tk-804.035/PNG/libpng/png.c:640: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 PNG_CONST char short_months[12][4] =
data/perl-tk-804.035/PNG/libpng/png.c:652:7:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      wchar_t time_buf[29];
data/perl-tk-804.035/PNG/libpng/png.c:663: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 near_time_buf[29];
data/perl-tk-804.035/PNG/libpng/pngconf.h:1415:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define png_memcpy  memcpy
data/perl-tk-804.035/PNG/libpng/pngerror.c:36: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[16];
data/perl-tk-804.035/PNG/libpng/pngerror.c:116:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PNG_CONST char png_digit[16] = {
data/perl-tk-804.035/PNG/libpng/pngerror.c:157: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[18+64];
data/perl-tk-804.035/PNG/libpng/pngerror.c:167: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[18+64];
data/perl-tk-804.035/PNG/libpng/pngerror.c:187: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 error_number[16];
data/perl-tk-804.035/PNG/libpng/pngerror.c:243: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 warning_number[16];
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5088: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 filnm[10];
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5111:15:  [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.
      case 0: sprintf(filnm, "none");
data/perl-tk-804.035/PNG/libpng/pnggccrd.c:5145:16:  [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.
      default: sprintf(filnm, "unknw");
data/perl-tk-804.035/PNG/libpng/pngread.c:117: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 msg[80];
data/perl-tk-804.035/PNG/libpng/pngread.c:120:11:  [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, "Application was compiled with png.h from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngread.c:124: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(msg, "Application  is  running with png.c from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngread.c:195: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[80];
data/perl-tk-804.035/PNG/libpng/pngread.c:199: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(msg, "Application was compiled with png.h from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngread.c:203:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(msg, "Application  is  running with png.c from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngrtran.c:1223: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[50];
data/perl-tk-804.035/PNG/libpng/pngrtran.c:1225:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(msg, "NULL row buffer for row %ld, pass %d", png_ptr->row_number,
data/perl-tk-804.035/PNG/libpng/pngrutil.c:28:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   len = MultiByteToWideChar(CP_ACP, 0, nptr, -1, NULL, 0);
data/perl-tk-804.035/PNG/libpng/pngrutil.c:32:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, nptr, -1, str, len);
data/perl-tk-804.035/PNG/libpng/pngrutil.c:279:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char umsg[52];
data/perl-tk-804.035/PNG/libpng/pngrutil.c:319: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 umsg[50];
data/perl-tk-804.035/PNG/libpng/pngrutil.c:321:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(umsg, "Unknown zTXt compression type %d", comp_type);
data/perl-tk-804.035/PNG/libpng/pngtest.c:98: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 tIME_string[30] = "no tIME chunk present in file";
data/perl-tk-804.035/PNG/libpng/pngtest.c:624:4:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   TCHAR path[MAX_PATH];
data/perl-tk-804.035/PNG/libpng/pngtest.c:626: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 inbuf[256], outbuf[256];
data/perl-tk-804.035/PNG/libpng/pngtest.c:631:4:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   MultiByteToWideChar(CP_ACP, 0, inname, -1, path, MAX_PATH);
data/perl-tk-804.035/PNG/libpng/pngtest.c:634:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fpin = fopen(inname, "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/pngtest.c:642:4:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   MultiByteToWideChar(CP_ACP, 0, outname, -1, path, MAX_PATH);
data/perl-tk-804.035/PNG/libpng/pngtest.c:645:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fpout = fopen(outname, "wb")) == NULL)
data/perl-tk-804.035/PNG/libpng/pngtest.c:1216:4:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   MultiByteToWideChar(CP_ACP, 0, inname, -1, path, MAX_PATH);
data/perl-tk-804.035/PNG/libpng/pngtest.c:1219:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fpin = fopen(inname, "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/pngtest.c:1227:4:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   MultiByteToWideChar(CP_ACP, 0, outname, -1, path, MAX_PATH);
data/perl-tk-804.035/PNG/libpng/pngtest.c:1230:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fpout = fopen(outname, "rb")) == NULL)
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3681: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 filnm[10];
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3696:15:  [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.
      case 0: sprintf(filnm, "none");
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3712:15:  [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.
      case 1: sprintf(filnm, "sub");
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3714:15:  [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.
      case 2: sprintf(filnm, "up");
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3716:15:  [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.
      case 3: sprintf(filnm, "avg");
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3718:15:  [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.
      case 4: sprintf(filnm, "Paeth");
data/perl-tk-804.035/PNG/libpng/pngvcrd.c:3721:16:  [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.
      default: sprintf(filnm, "unknw");
data/perl-tk-804.035/PNG/libpng/pngwrite.c:515: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 msg[80];
data/perl-tk-804.035/PNG/libpng/pngwrite.c:518:11:  [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, "Application was compiled with png.h from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngwrite.c:522: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(msg, "Application  is  running with png.c from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngwrite.c:583: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[80];
data/perl-tk-804.035/PNG/libpng/pngwrite.c:587: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(msg, "Application was compiled with png.h from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngwrite.c:591:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(msg, "Application  is  running with png.c from libpng-%.20s",
data/perl-tk-804.035/PNG/libpng/pngwutil.c:179: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[50];
data/perl-tk-804.035/PNG/libpng/pngwutil.c:180:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(msg, "Unknown compression type %d", compression);
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1209:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char msg[40];
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1211:10:  [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, "invalid keyword character 0x%02X", *kp);
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1345:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[1];
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1575:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[64];
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1584:7:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      wchar_t wc_buf[32];
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1597:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(buf + 1, "%12.12e", width);
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1599:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(buf + total_len, "%12.12e", height);
data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.c:52: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 out[MAXWIN];  /* output buffer and sliding window */
data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.c:306:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char extra[16] = {     /* extra bits for length codes */
data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.c:416: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 hold[CHUNK];
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:18:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzfilebuf *gzfilebuf::open( const char *name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[10];
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:66:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[10];
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:270:27:  [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).
void gzfilestream_common::open( const char *name, int io_mode ) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:272:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( !buffer.open( name, io_mode ) )
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:300:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilestream_common::open( name, io_mode );
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.cpp:320:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilestream_common::open( name, io_mode );
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.h:15:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilebuf *open( const char *name, int io_mode );
data/perl-tk-804.035/PNG/zlib/contrib/iostream/zfstream.h:55:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void open( const char *name, int io_mode );
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:55:40:  [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).
        izstream(FILE* fp) : m_fp(0) { open(fp); }
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:56:48:  [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).
        izstream(const char* name) : m_fp(0) { open(name); }
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:65:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(const char* name) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:70:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(FILE* fp) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:162:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            open(fp, level);
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:166:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            open(name, level);
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:177:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(const char* name, int level = Z_DEFAULT_COMPRESSION) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:178: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 mode[4] = "wb\0";
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:186:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:188: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 mode[4] = "wb\0";
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream_test.cpp:7: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 h[256] = "Hello";
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream_test.cpp:19: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).
    out.open("temp.gz"); // try ascii output; zcat temp.gz to see the results
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc:15: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[80];
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc:17:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outf.open("test1.txt.gz");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc:26:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inf.open("test1.txt.gz");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc:33:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outf.open("test2.txt.gz");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/test.cc:42:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inf.open("test2.txt.gz");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:51:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzfilebuf::open(const char *name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:62: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 char_mode[6] = "\0\0\0\0\0";
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:90: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 char_mode[6] = "\0\0\0\0\0";
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:384: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).
  this->open(name, mode);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:398:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzifstream::open(const char* name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:401:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!sb.open(name, mode | std::ios_base::in))
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:439: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).
  this->open(name, mode);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:453:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzofstream::open(const char* name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:456:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!sb.open(name, mode | std::ios_base::out))
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.h:66:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.h:285:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.h:374:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/perl-tk-804.035/PNG/zlib/contrib/minizip/crypt.h: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 header[RAND_HEAD_LEN-2]; /* random header */
data/perl-tk-804.035/PNG/zlib/contrib/minizip/ioapi.c:85:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fopen(filename, mode_fopen);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:182: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 filename_inzip[256];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:247: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_inzip[256];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:309:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            ftestexist = fopen(write_filename,"rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:315: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.
                    char answer[128];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:340:18:  [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).
            fout=fopen(write_filename,"wb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:350:22:  [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).
                fout=fopen(write_filename,"wb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.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 filename_try[MAXFILENAME+16] = "";
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:550:13:  [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(filename_try,".zip");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:74: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[MAXFILENAME+1];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:122:18:  [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).
    ftestexist = fopen(filename,"rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:152:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE * fin = fopen(filenameinzip,"rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:194: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_try[MAXFILENAME+16];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:265:13:  [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(filename_try,".zip");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:280: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.
                    char answer[128];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:363:27:  [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).
                    fin = fopen(filenameinzip,"rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:38:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpZip = fopen(file, "rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:39:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpOut = fopen(fileOut, "wb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:40:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpOutCD = fopen(fileOutTmp, "wb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:44: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 header[30];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:45: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[256];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:46: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 extra[1024];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:139: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.
          char header[46];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:214: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 header[22];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:247:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fpOutCD = fopen(fileOutTmp, "rb");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:250: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 buffer[8192];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/unzip.c:861: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 szCurrentFileName[UNZ_MAXFILENAMEINZIP+1];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/unzip.c:1061: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 source[12];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:103:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char data[SIZEDATA_INDATABLOCK];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:272: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 buf[4];
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:880: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.
        unsigned char bufHead[RAND_HEAD_LEN];
data/perl-tk-804.035/PNG/zlib/contrib/puff/puff.c:804: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).
    in = fopen(name, "r");
data/perl-tk-804.035/PNG/zlib/contrib/testzlib/testzlib.c:124:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    stream=fopen(filename, "rb");
data/perl-tk-804.035/PNG/zlib/contrib/testzlib/testzlib.c:175:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        BlockSizeCompress=atol(argv[2]);
data/perl-tk-804.035/PNG/zlib/contrib/testzlib/testzlib.c:178:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        BlockSizeUncompress=atol(argv[3]);
data/perl-tk-804.035/PNG/zlib/contrib/testzlib/testzlib.c:181:23:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        cprLevel=(int)atol(argv[4]);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:70:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[100];               /*   0 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:71: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 mode[8];                 /* 100 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:72: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 uid[8];                  /* 108 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:73: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 gid[8];                  /* 116 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:74: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 size[12];                /* 124 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:75: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 mtime[12];               /* 136 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:76: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 chksum[8];               /* 148 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:78: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 linkname[100];           /* 157 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:79: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 magic[6];                /* 257 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char version[2];              /* 263 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uname[32];               /* 265 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gname[32];               /* 297 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char devmajor[8];             /* 329 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:84: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 devminor[8];             /* 337 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char prefix[155];             /* 345 */
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               buffer[BLOCKSIZE];
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:134:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buffer[1024];
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:194:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char result[32];
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:197: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(result,"%4d/%02d/%02d %02d:%02d:%02d",
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:394:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   fname[BLOCKSIZE];
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:482:33:  [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).
                      outfile = fopen(fname,"wb");
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:490:37:  [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).
                          outfile = fopen(fname,"wb");
data/perl-tk-804.035/PNG/zlib/crc32.c:161:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        out = fopen("crc32.h", "w");
data/perl-tk-804.035/PNG/zlib/example.c:69:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/example.c:120:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/example.c:214:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/example.c:310:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/example.c:389:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/example.c:470:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/perl-tk-804.035/PNG/zlib/examples/fitblk.c:76: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 raw[RAWLEN];
data/perl-tk-804.035/PNG/zlib/examples/fitblk.c:99: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 raw[RAWLEN];
data/perl-tk-804.035/PNG/zlib/examples/gun.c:157:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char inbuf[SIZE];              /* input buffer */
data/perl-tk-804.035/PNG/zlib/examples/gun.c:158:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char outbuf[SIZE];             /* output buffer */
data/perl-tk-804.035/PNG/zlib/examples/gun.c:160:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char suffix[65536];            /* one-character LZW suffix */
data/perl-tk-804.035/PNG/zlib/examples/gun.c:161:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char match[65280 + 2];         /* buffer for reversed match or gzip
data/perl-tk-804.035/PNG/zlib/examples/gun.c:550:18:  [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).
        infile = open(inname, O_RDONLY, 0);
data/perl-tk-804.035/PNG/zlib/examples/gun.c:563:19:  [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).
        outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666);
data/perl-tk-804.035/PNG/zlib/examples/gun.c:680:17:  [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(outname, *argv, len);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:138: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(list, list + 1, len - 1);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:268:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    gz.fd = open(name, O_RDWR, 0);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:395:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(name, O_RDONLY, 0);
data/perl-tk-804.035/PNG/zlib/examples/gzjoin.c:107:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    in->fd = open(name, O_RDONLY, 0);
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:135: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 temp[20];
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:147:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    log->fd = open(path, O_RDWR | O_CREAT, 0600);
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:229: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 temp[5];
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:273: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 temp[16];
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:367: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 temp[8];
data/perl-tk-804.035/PNG/zlib/examples/zpipe.c:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char in[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zpipe.c:32: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 out[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zpipe.c:87: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 in[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zpipe.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 out[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:66: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 window[WINSIZE];  /* preceding 32K of uncompressed data */
data/perl-tk-804.035/PNG/zlib/examples/zran.c:122: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(next->window, window + WINSIZE - left, left);
data/perl-tk-804.035/PNG/zlib/examples/zran.c:124: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(next->window + left, window, WINSIZE - left);
data/perl-tk-804.035/PNG/zlib/examples/zran.c:146: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 input[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:147: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 window[WINSIZE];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:250: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 input[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:251: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 discard[WINSIZE];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:355: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 buf[CHUNK];
data/perl-tk-804.035/PNG/zlib/examples/zran.c:362: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).
    in = fopen(argv[1], "rb");
data/perl-tk-804.035/PNG/zlib/gzio.c:103: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 fmode[80]; /* copy of mode, without the compression level */
data/perl-tk-804.035/PNG/zlib/gzio.c:223: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[46];      /* allow for up to 128-bit integers */
data/perl-tk-804.035/PNG/zlib/gzio.c:226:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(name, "<fd:%d>", fd); /* for debugging */
data/perl-tk-804.035/PNG/zlib/gzio.c:605: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[Z_PRINTF_BUFSIZE];
data/perl-tk-804.035/PNG/zlib/gzio.c:644: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[Z_PRINTF_BUFSIZE];
data/perl-tk-804.035/PNG/zlib/gzio.c:1009: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(s->msg, ": ");
data/perl-tk-804.035/PNG/zlib/inflate.c:572: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 hbuf[4];      /* buffer for gzip header crc calculation */
data/perl-tk-804.035/PNG/zlib/inflate.c:1267: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 buf[4];       /* to restore bit buffer to byte string */
data/perl-tk-804.035/PNG/zlib/minigzip.c:102: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.
    local char buf[BUFLEN];
data/perl-tk-804.035/PNG/zlib/minigzip.c:170: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.
    local char buf[BUFLEN];
data/perl-tk-804.035/PNG/zlib/minigzip.c:197: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.
    local char outfile[MAX_NAME_LEN];
data/perl-tk-804.035/PNG/zlib/minigzip.c:204: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).
    in = fopen(file, "rb");
data/perl-tk-804.035/PNG/zlib/minigzip.c:226: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.
    local char buf[MAX_NAME_LEN];
data/perl-tk-804.035/PNG/zlib/minigzip.c:248:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(outfile, "wb");
data/perl-tk-804.035/PNG/zlib/minigzip.c:275: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 outmode[20];
data/perl-tk-804.035/PNG/zlib/minigzip.c:277:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(outmode, "wb6 ");
data/perl-tk-804.035/PNG/zlib/trees.c:332:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *header = fopen("trees.h", "w");
data/perl-tk-804.035/PNG/zlib/zutil.c:14: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.
const char * const z_errmsg[10] = {
data/perl-tk-804.035/PNG/zlib/zutil.h:53: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.
extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/perl-tk-804.035/PNG/zlib/zutil.h:111: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).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/perl-tk-804.035/PNG/zlib/zutil.h:173:30:  [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 F_OPEN(name, mode) fopen((name), (mode))
data/perl-tk-804.035/PNG/zlib/zutil.h:230:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/perl-tk-804.035/config/Ksprintf.c:18: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[16];
data/perl-tk-804.035/config/Ksprintf.c:19: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",0);
data/perl-tk-804.035/encGlue.c:791:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(d,td,dbytes);
data/perl-tk-804.035/pTk/compat/stdlib.h:27:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
extern int		atoi _ANSI_ARGS_((CONST char *string));
data/perl-tk-804.035/pTk/compat/stdlib.h:28:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
extern long		atol _ANSI_ARGS_((CONST char *string));
data/perl-tk-804.035/pTk/compat/unistd.h:83:12:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
extern int vfork _ANSI_ARGS_((void));
data/perl-tk-804.035/pTk/mTk/additions/exWinHandle.c:71: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 sockbuf[256];
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:99: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 buf[28];
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:136: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.
	    unsigned char colbuf[4], *ptr;
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:222: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[10];
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:266:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(expline, colorMap+(3*line[x]),3);
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:285:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(expline, colorMap+(3*c),3);
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:300:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(expline, colorMap+(3*c),3);
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:309: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", numBits);
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:390: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 buf[4];
data/perl-tk-804.035/pTk/mTk/additions/imgBMP.c:405: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 buf[4];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:119:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			    unsigned char buffer[MAXCOLORMAPSIZE][4]));
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:123: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 *imagePtr, MFile *handle, int len, int rows,
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:124:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			    unsigned char cmap[MAXCOLORMAPSIZE][4],
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:259: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 buf[100];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:265: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 colorMap[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:606: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 buf[7];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:634: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.
     unsigned char buffer[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:637: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 rgb[3];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:662: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 buf[256];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:757: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.
     unsigned char   cmap[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:770: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  append[(1 << MAX_LWZ_BITS)];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:771: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  stack[(1 << MAX_LWZ_BITS)*2];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:986: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 buf[280];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1107:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1117:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char mapa[MAXCOLORMAPSIZE][3]));
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1119:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char mapa[MAXCOLORMAPSIZE][3]));
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1317: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 mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1332: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 mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1477:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char oblock[MAXCOLORMAPSIZE];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1508: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 bufs[8][64];
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:1797:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
     { out_clear_init = atoi(ocienv);
data/perl-tk-804.035/pTk/mTk/additions/imgInit.c:236: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(dst, handle->data, count);
data/perl-tk-804.035/pTk/mTk/additions/imgInit.c:379: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 base64_table[64] = {
data/perl-tk-804.035/pTk/mTk/additions/imgInit.c:543: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[1024];
data/perl-tk-804.035/pTk/mTk/additions/imgInit.c:600: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[1024];
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:421: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 *) cinfo)[sizeof(struct jpeg_compress_struct)] = 53;
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:424: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.
    if (((char *) cinfo)[sizeof(struct jpeg_compress_struct)] != 53) {
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:803: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[256];
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:1200:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    block.pixelPtr = (unsigned char *) buffer[0] + srcX * block.pixelSize;
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:1257:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(fullName, "wb")) == NULL) {
data/perl-tk-804.035/pTk/mTk/additions/imgJPEG.c:1748:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[JMSG_LENGTH_MAX];
data/perl-tk-804.035/pTk/mTk/additions/imgObj.c:68: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 bytes[4];	/* The array of bytes.  The actual size of
data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c:294: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 buf[8];
data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c:517: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.
    block.pixelPtr=(unsigned char *) (png_data[srcY]+srcX*block.pixelSize);
data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c:550:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(outfile=fopen(fullname,"wb"))) {
data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c:727:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(dst, src, newPixelSize);
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:180: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 buf[41];
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:271: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 *argv[10];
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:274: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 buffer[1025], *line = NULL, *line3 = NULL;
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:275: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 zoom[64], papersize[64];
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:287: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(zoom, "-r%dx%d", zoomx, zoomy);
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:312: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(papersize, "-g%dx%d", srcX+width, fileHeight);
data/perl-tk-804.035/pTk/mTk/additions/imgPS.c:576: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 buf[41];
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:134: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 *argvbuf[10];
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:937: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 *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:945: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.
		    configSpecs, (char *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:957: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 buff[30];
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:968: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(buff, "%d", count);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:94:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    tdata_t (* memcpy) _ANSI_ARGS_((tdata_t, tdata_t, tsize_t));
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:225:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return tiff.memcpy(a,b,c);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:409: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[2048];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:516: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 *) data, handle->data + handle->state, (size_t) size);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:535: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(handle->data + handle->state, (char *) data, (size_t) size);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:633: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 buf[4096];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:687: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 tempFileName[256];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:690: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[1024];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:766: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 tempFileName[256];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:768: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[1024];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:914: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 tempFileName[256];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:956: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[1024];
data/perl-tk-804.035/pTk/mTk/additions/imgTIFFjpeg.c:202: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[JMSG_LENGTH_MAX];
data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c:163: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[256];
data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c:191:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(buf+length,".sl");
data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c:34: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 word[MAX_WORD_LENGTH+2];
data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c:619: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[256];
data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c:693:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf(buffer,"%c 0x%02x",sep,value);
data/perl-tk-804.035/pTk/mTk/additions/imgXBM.c:701:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf(buffer,"%c 0x%02x",sep, value);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:270: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_BUFFER];
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:387: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(&color1, p+1, byteSize);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:443: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(buffer, "%d", h);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:456: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 *) &color1, p, byteSize);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:478:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(pixelPtr, &col, block.pub.pixelSize);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:485:11:  [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 *) &color1, p, byteSize);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:628: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_BUFFER];
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:900: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 component[3];
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:904: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 component[5];
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:906: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[256], *p;
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:989: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(buffer, "\"%d %d %d %d\",\n", blockPtr->width, blockPtr->height,
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:995:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(temp.component, "    ");
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:1034: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(buffer, temp.component, chars_per_pixel);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:1037: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(buffer, "    ", chars_per_pixel);
data/perl-tk-804.035/pTk/mTk/generic/tk.h:1252: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 array[sizeof(char *)];
data/perl-tk-804.035/pTk/mTk/generic/tk3d.c:678: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[200];
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:296: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/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:298: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 argument type %d in Tk_ArgvInfo",
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:405:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(tmp, "%d", *((int *) infoPtr->dst));
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:411:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(tmp, "%g", *((double *) infoPtr->dst));
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:552:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *eventTypeName[TK_LASTEVENT] = {
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1615: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 *) ringPtr, (VOID *) eventPtr, sizeof(XEvent));
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1751:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy((VOID *) new, (VOID *) pendingPtr, oldSize);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:2403: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 numStorage[NUM_SIZE+1];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:2743: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(numStorage, "%d", number);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3032: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(string = numStorage, "0x%x", number);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3051: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(string = numStorage, "0x%x", number);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3070:13:  [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,"Meta-");
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3075:13:  [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,"Alt-");
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3097:11:  [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 = numStorage, "%d", number);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3170: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 screen[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3175: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(screen, ".%d", screenIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4596: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 *) psPtr->pats, (VOID *) patPtr, sequenceSize);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4641: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 field[FIELD_SIZE];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4660: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[2];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4671: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];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4673: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 ASCII character 0x%x", (unsigned char) *p);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4913: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 c, buffer[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:5010: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(buffer, "%d", patPtr->detail.button);
data/perl-tk-804.035/pTk/mTk/generic/tkBitmap.c:820: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkBitmap.c:835: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, "_tk%d", dispPtr->bitmapAutoNumber);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:405: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/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:407: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, "wrong # coordinates: expected 4, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:424: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:426: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, "wrong # coordinates: expected 0 or 4, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1880: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[400];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1937: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, "matrix currentmatrix\n%.15g %.15g translate %.15g %.15g scale\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1942: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, "0 0 1 %.15g %.15g arc closepath\nsetmatrix\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1945: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,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1972: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, "matrix currentmatrix\n%.15g %.15g translate %.15g %.15g scale\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:1976: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, "0 0 1 %.15g %.15g", ang1, ang2);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:274: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/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:276: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, "wrong # coordinates: expected 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:289: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:291: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, "wrong # coordinates: expected 0 or 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:918: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[100 + TCL_DOUBLE_SPACE * 2 + TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:982: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, "%.15g %.15g translate\n", x, y+height);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvBmap.c:989: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, "0 -%.15g translate\n%d %d true matrix {\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:262: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];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:264: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, "wrong # coordinates: expected 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:276: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[64];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:278: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, "wrong # coordinates: expected 0 or 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:718: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[256];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvImg.c:761: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, "%.15g %.15g", x, y);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:427: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:428: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, "wrong # coordinates: expected an even number, got %d",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:433: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:434:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "wrong # coordinates: expected at least 4, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:2242: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:2280: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, "%.15g %.15g translate %.15g %.15g",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPoly.c:384: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPoly.c:385: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, "wrong # coordinates: expected an even number, got %d",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPoly.c:1856: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[128];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPoly.c:1861: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, "%.15g %.15g translate %.15g %.15g",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:171: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[STRING_LENGTH+1];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:444: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",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:452: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",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:492: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, "/CL %d def\n", psInfo.colorLevel);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:512: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, "%.1f %.1f translate\n", psInfo.pageX, psInfo.pageY);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:517: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, "%.4g %.4g scale\n", psInfo.scale, psInfo.scale);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:519: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 translate\n", deltaX - psInfo.x, deltaY);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:521: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 %.15g moveto %d %.15g lineto %d %.15g lineto %d %.15g",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:565: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:567: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    (generating Postscript for item %d)",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:666: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/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:710: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, "%.3f %.3f %.3f setrgbcolor AdjustColor\n",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:748: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 pointString[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:798: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(pointString, "%d", points);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:850: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[100];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:885: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(string, "%02x", value);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:897: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", value);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:943: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_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:963: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 ", width, height);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1029: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/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1034: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(buffer, "%.15g %.15g moveto\n", coordPtr[0],
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1039: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, "%.15g %.15g lineto\n", coordPtr[0],
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1217: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[256];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1303: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,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1318: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(buffer, "%d %d 1 matrix {\n<", width, rows);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1322: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(buffer, "%d %d 8 matrix {\n<", width, rows);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.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(buffer, "%d %d 8 matrix {\n<",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1348:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			    sprintf(buffer, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1360:11:  [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, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1375:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buffer, "%02X", (int) floor(0.5 + 255.0 *
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1394:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buffer, "%02X%02X%02X",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1410: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.
	    case 0: sprintf(buffer, ">\n} image\n"); break;
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1411: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.
	    case 1: sprintf(buffer, ">\n} image\n"); break;
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1412: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.
	    case 2: sprintf(buffer, ">\n} false 3 colorimage\n"); break;
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1415: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, "0 %d translate\n", rows);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1455: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[256], cspace[40], decode[40];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1615: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,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1628:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( cspace, "/DeviceGray");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1629:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( decode, "[1 0]");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1633:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( cspace, "/DeviceGray");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1634:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( decode, "[0 1]");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1638:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( cspace, "/DeviceRGB");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1639:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( decode, "[0 1 0 1 0 1]");
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1648: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(buffer,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1657: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(buffer,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1726:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buffer, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1738:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1770:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buffer, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1782:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X", data);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1799:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X", alpha | 0x01);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1823:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X", (int) floor(0.5 +
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1844:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X", alpha | 0x01);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:1864:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%02X%02X%02X",
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.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 buf[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.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(buf, "wrong # coordinates: expected 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:370: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:372: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, "wrong # coordinates: expected 0 or 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:929: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(new, text, (size_t) byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1011: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(new, text, (size_t) byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1402: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, selStart + offset, (size_t) byteCount);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1441: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[500];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1483: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(buffer, "%.15g %.15g [\n", textPtr->x,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1300: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[41];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1301: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 pattern[11];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1347: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, "%.15g setlinewidth\n", width);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1360: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(str, "[%d", *ptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1363: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(str+strlen(str), " %d", *ptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1369: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(str, "] %d setdash\n", outline->offset);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1375: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(str, "[%d", *lptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1377:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(str+strlen(str), " %d", *lptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1380: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(str, "] %d setdash\n", outline->offset);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:275: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/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:277: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, "wrong # coordinates: expected 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:289: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:291: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, "wrong # coordinates: expected 0 or 2, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:848: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[256];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvWind.c:887: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,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:850: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:877: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:908: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 *) canvasPtr, Tcl_GetString(objv[2]), 0);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:917: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 *) canvasPtr, Tcl_GetString(objv[2]), 0);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:963: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:1342: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:1459: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.
		    itemPtr->typePtr->configSpecs, (char *) itemPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:1486: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.
			itemPtr->typePtr->configSpecs, (char *) itemPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:1826: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:1828:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%d", canvasPtr->textInfo.selItemPtr->id);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:4195: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 *) newTagPtr, (VOID *) itemPtr->tagPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1233: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[16 + TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1235: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, "%dx%d+%d+%d", Tk_Width(tkwin), Tk_Height(tkwin),
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1245: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1322: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1324: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", Tk_ScreenNumber(tkwin));
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1396: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1398: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, "0x%x",
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1647: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1648: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 visualIdString[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1678:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy(buf, "unknown");
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:1683:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(visualIdString, " 0x%x",
data/perl-tk-804.035/pTk/mTk/generic/tkColor.c:37: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 rgbString[20];            /* */
data/perl-tk-804.035/pTk/mTk/generic/tkColor.c:378: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(tsdPtr->rgbString, "#%04x%04x%04x", colorPtr->red,
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:572: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[200];
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:576:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(msg, "\n    (database entry for \"%.50s\")",
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:580:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(msg, "\n    (system default for \"%.50s\")",
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:584:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(msg, "\n    (default value for \"%.50s\")",
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:588:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(msg + strlen(msg) - 1, " in widget \"%.50s\")",
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:1011: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[40+TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:1012: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, "bad config table: unknown type %d",
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:1448: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/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:1450: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/perl-tk-804.035/pTk/mTk/generic/tkCursor.c:435: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(dispPtr->cursorString, "cursor id 0x%x",
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:228: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 digitFormat[10];       /* Sprintf conversion specifier computed from
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:911: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[TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1239: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[TCL_DOUBLE_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1498: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 fbuf[4], *fmt = sbPtr->reqFormat;
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2117: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2249: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(new, string, (size_t) byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2351: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(new, string, (size_t) byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2355: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(todelete, string + byteIndex, (size_t) byteCount);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3008: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, selStart + offset, (size_t) byteCount);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3167: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 args[TCL_DOUBLE_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3631: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 numStorage[2*TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3700:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(numStorage, "%d", number);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3704:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(numStorage, "%d", index);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:3936: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[TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4337: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[TCL_DOUBLE_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4340: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, "%g %g", first, last);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4690: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(sbPtr->digitFormat, "%%.%df", afterDecimal);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4692: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(sbPtr->digitFormat, "%%.%de", numDigits-1);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:276:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy(globPtr->pattern, "*.*");
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:285:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy(globPtr->pattern, "*.");
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:313: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(&mfPtr->type, Tcl_GetStringFromObj(ostypeList[i],NULL), sizeof(OSType));
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:613: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:632:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buf, "font%d", i);
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:2807: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[MAXUSE+30];
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:2813: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 uindex[5]="\0\0\0\0";
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:2814: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 one_char[5];
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:2863:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf + used, "\\%03o", c);
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:2871:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(uindex,"%04X",ch); /* endianness? */
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:3347: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 *field[XLFD_NUMFIELDS + 2];
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:3401:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(field[XLFD_ADD_STYLE]) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:3465:20:  [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).
	    faPtr->size = atoi(field[XLFD_POINT_SIZE] + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:3490:20:  [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).
	    faPtr->size = atoi(field[XLFD_PIXEL_SIZE] + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkGrab.c:506: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkGrab.c:508: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, "grab failed for unknown reason (code %d)",
data/perl-tk-804.035/pTk/mTk/generic/tkGrid.c:621: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[64 + TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkGrid.c:1859:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy((VOID *) new, (VOID *) old, oldSize);
data/perl-tk-804.035/pTk/mTk/generic/tkGrid.c:2265: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((VOID *) new, (VOID *) old, oldSize );
data/perl-tk-804.035/pTk/mTk/generic/tkGrid.c:2998: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(result,"{}");
data/perl-tk-804.035/pTk/mTk/generic/tkImage.c:179: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[16 + TCL_INTEGER_SPACE], *name;
data/perl-tk-804.035/pTk/mTk/generic/tkImage.c:239:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(idString, "image%d", dispPtr->imageId);
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:147: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 word[MAX_WORD_LENGTH+1];
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:776: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 *) masterPtr, Tcl_GetString(objv[2]), 0);
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:784: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.
		    configSpecs, (char *) masterPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.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 buffer[200];
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:1175: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(buffer, "0 0 moveto %d %d true [%d 0 0 %d 0 %d] {<\n",
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:1181: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(buffer, " %02x", bit_reverse[0xff & data[i*nBytePerRow + j]]);
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:1218: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/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:1240: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 %d moveto\n", x, y);
data/perl-tk-804.035/pTk/mTk/generic/tkImgBmap.c:1244: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 %d scale\n", width, height);
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:159:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			    unsigned char buffer[MAXCOLORMAPSIZE][4]));
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:163: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 *imagePtr, Tcl_Channel chan,
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:165:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			    unsigned char cmap[MAXCOLORMAPSIZE][4],
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:253: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 buf[100];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:256: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 colorMap[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:536: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 *data, header[10];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:566: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 *) header, (VOID *) data, 10);
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:660: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 buf[7];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:688: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 buffer[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:691: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 rgb[3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:716: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 buf[256];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:807: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 cmap[MAXCOLORMAPSIZE][4];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:820: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  append[(1 << MAX_LWZ_BITS)];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:821: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  stack[(1 << MAX_LWZ_BITS)*2];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1060: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 buf[280];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1330: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 *)dst, (VOID *) handle->data, (size_t) (hunk * count));
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1388:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1395:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char mapa[MAXCOLORMAPSIZE][3]));
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1399:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char mapa[MAXCOLORMAPSIZE][3]));
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1401:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char mapa[MAXCOLORMAPSIZE][3]));
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1575: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 mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1591: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 mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1606: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 mapa[MAXCOLORMAPSIZE][3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1738:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char oblock[256];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:1766: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 bufs[8][64];
data/perl-tk-804.035/pTk/mTk/generic/tkImgGIF.c:2099: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).
	    out_clear_init = atoi(ocienv);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c:165: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c:167: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", maxIntensity);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c:278: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 header[16 + TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c:296: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(header, "P6\n%d %d\n255\n", blockPtr->width, blockPtr->height);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPPM.c:369: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[BUFFER_SIZE];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:121: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 colorQuant[3][256];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:737: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 *) masterPtr, Tcl_GetString(objv[2]), 0);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:1000: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_INTEGER_SPACE * 3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:2224: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 c[sizeof(int)];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:2295: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[TCL_INTEGER_SPACE * 3];
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:3020:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) (newPix32 + offset),
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:3034:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy((VOID *) destPtr, (VOID *) srcPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:3196:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) (newError + offset),
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:3208:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy((VOID *) errDestPtr, (VOID *) errSrcPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4365: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 *) destLinePtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4379:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy((VOID *) destLinePtr, (VOID *) srcLinePtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:5672: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(linePtr, " #%02x%02x%02x", *pixelPtr,
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:5748: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];                       /* name of option (remaining chars) */
data/perl-tk-804.035/pTk/mTk/generic/tkInt.h:217: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 cursorString[20];      /* Used to store a cursor id string. */
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:715: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 indexStringRep[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:731:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(indexStringRep, "%d", i);
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:835: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:845: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", index);
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:951: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:964: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", index);
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:1053: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:1059: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", listPtr->nElements);
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:1113: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[TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:3112: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 *) buffer,
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:3212: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];
data/perl-tk-804.035/pTk/mTk/generic/tkListbox.c:3271: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];
data/perl-tk-804.035/pTk/mTk/generic/tkMain.c:103: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkMain.c:168: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, "%d", argc-1);
data/perl-tk-804.035/pTk/mTk/generic/tkMenuDraw.c:1013: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_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkMenuDraw.c:1071: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", *xPtr, *yPtr);
data/perl-tk-804.035/pTk/mTk/generic/tkObj.c:309:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100];
data/perl-tk-804.035/pTk/mTk/generic/tkObj.c:312: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, "bad screen distance \"%.50s\"", string);
data/perl-tk-804.035/pTk/mTk/generic/tkObj.c:517: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:179: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:181: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:216: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:237: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:663: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:665: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/perl-tk-804.035/pTk/mTk/generic/tkOption.c:282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[TMP_SIZE+1];
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:989:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:991: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, "missing colon on line %d", lineNum);
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1024: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1026: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 value on line %d", lineNum);
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1039:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1041: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, "missing newline on line %d", lineNum);
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1221: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 *) newPtr->els, (VOID *) arrayPtr->els,
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:1345: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 *) newLevels, (VOID *) tsdPtr->levels,
data/perl-tk-804.035/pTk/mTk/generic/tkPack.c:168: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[60 + 2*TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkPack.c:169: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(buffer, "-%.10s", switchName);
data/perl-tk-804.035/pTk/mTk/generic/tkPanedWindow.c:948: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 *)&(new[0]), pwPtr->slaves,
data/perl-tk-804.035/pTk/mTk/generic/tkPanedWindow.c:950: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 *)&(new[pwPtr->numSlaves]), inserts,
data/perl-tk-804.035/pTk/mTk/generic/tkPanedWindow.c:968: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 *)&(new[j]), inserts, sizeof(Slave *) * (insertIndex));
data/perl-tk-804.035/pTk/mTk/generic/tkPanedWindow.c:2060: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[5];
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:733: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:776: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(buffer, " -x %d", slavePtr->x);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:778: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(buffer, " -relx %.4g", slavePtr->relX);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:780: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(buffer, " -y %d", slavePtr->y);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:782: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(buffer, " -rely %.4g", slavePtr->relY);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:785: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, " -width %d", slavePtr->width);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:791: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, " -relwidth %.4g", slavePtr->relWidth);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:797: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, " -height %d", slavePtr->height);
data/perl-tk-804.035/pTk/mTk/generic/tkPlace.c:803: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, " -relheight %.4g", slavePtr->relHeight);
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:358: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/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:360: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, "wrong # coordinates: expected 0 or 4, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:377: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:379: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, "wrong # coordinates: expected 0 or 4, got %d", objc);
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:1273: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 pathCmd[500];
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:1293: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(pathCmd, "%.15g %.15g moveto %.15g 0 rlineto 0 %.15g rlineto %.15g 0 rlineto closepath\n",
data/perl-tk-804.035/pTk/mTk/generic/tkRectOval.c:1298: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(pathCmd, "matrix currentmatrix\n%.15g %.15g translate %.15g %.15g scale 1 0 moveto 0 0 1 0 360 arc\nsetmatrix\n",
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:396: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:425: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:876: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(scalePtr->format, "%%.%df", afterDecimal);
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:878: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(scalePtr->format, "%%.%de", numDigits-1);
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:905: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[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkScale.c:1322: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[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkScale.h:85: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 format[10];		/* Sprintf conversion specifier computed from
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:318: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.
		tkpScrollbarConfigSpecs, (char *) scrollPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:327: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.
		    tkpScrollbarConfigSpecs, (char *) scrollPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:335: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:360: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, "%g", fraction);
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:365: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:395: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, "%g", fraction);
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:404: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/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:32: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[TCL_UTF_MAX];   /* A buffer to hold part of a UTF character
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:231:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(selPtr->clientData, clientData, cmdInfoLen);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:289: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 buffer[TK_SEL_BYTES_AT_ONCE];
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:753: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)[count] = '\0';
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:806: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,
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:820: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,
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1609: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[MAX_STATIC_SIZE];
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1677: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 *) buffer, (VOID *) string, (size_t) count);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:378: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.
	    strcpy((char *) ckalloc(strlen(argv[3]) + 1), argv[3]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:383:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		strcpy((char *) ckalloc(strlen(argv[4]) + 1), argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1765: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[100];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1811: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 + TCL_INTEGER_SPACE * 6];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1856: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/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1890: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[100];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2037: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2046: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", GetSystemMetrics(SM_CYVSCROLL));
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2049: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", GetSystemMetrics(SM_CXHSCROLL));
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2069: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2083: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", ((TkScrollbar *) winPtr->instanceData)->width);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2086: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", ((TkScrollbar *) winPtr->instanceData)->width);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2128: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[30];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2163: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(buffer, "0x%lx", value);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2276: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2278: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", tkSendSerial+1);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2318: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[64];
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2334:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	lineIndex = atoi(argv[3]) - 1;
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2335:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	byteIndex = atoi(argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2345:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	byteOffset = atoi(argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2354:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	byteOffset = atoi(argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2362: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 + strlen(buf), " %d", index.byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2412: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:540: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 *) textPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:594: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 *) textPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:742: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[TCL_INTEGER_SPACE * 5];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:823: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[200];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:1401: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 indexBuffer[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:1543: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 indexBuffer[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:1857:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) buffer, (VOID *) (segPtr->body.chars
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2022: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[20];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2781: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[TCL_INTEGER_SPACE*2];
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2797: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.
	CONST char *argv[4];
data/perl-tk-804.035/pTk/mTk/generic/tkText.h:163: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 chars[4];			/* Characters that make up character
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:449: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(segPtr->body.chars, string, MIN(chunkSize, strlen(string) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:2625: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 *) newTags, (VOID *) tagInfoPtr->tagPtrs,
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:2630: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 *) newCounts, (VOID *) tagInfoPtr->counts,
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3379: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(newPtr1->body.chars, segPtr->body.chars, MIN(index, strlen(segPtr->body.chars) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3384: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(newPtr2->body.chars, segPtr->body.chars + index, strlen(segPtr->body.chars + index) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3426: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(newPtr->body.chars, segPtr->body.chars, strlen(segPtr->body.chars) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3427: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(newPtr->body.chars + segPtr->size, segPtr2->body.chars, strlen(segPtr2->body.chars) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:278: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 chars[4];		/* UTF characters to display.  Actual size
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:1310: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 string[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:1479: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 string[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:2472: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 string[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:3926: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[TCL_DOUBLE_SPACE * 2 + 1];
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:3995: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[TCL_DOUBLE_SPACE * 2 + 1];
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:4554: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(ciPtr->chars, p, MIN(bytesThatFit, strlen(p) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:387: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[4 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:388: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",count+1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextIndex.c:589: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", TkBTreeLineIndex(indexPtr->linePtr) + 1,
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:291: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 *) tagPtr, argv[4], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:306: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 *) tagPtr, argv[4], 0);
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:590: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 position[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:667: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 position1[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:668: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 position2[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:753: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 position[TK_POS_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:1374: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 *) copyArrayPtr, (VOID *) newArrayPtr, (size_t) size);
data/perl-tk-804.035/pTk/mTk/generic/tkTrig.c:1226: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/perl-tk-804.035/pTk/mTk/generic/tkTrig.c:1245: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, "%.15g %.15g moveto\n%.15g %.15g %.15g %.15g %.15g %.15g curveto\n",
data/perl-tk-804.035/pTk/mTk/generic/tkTrig.c:1254: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, "%.15g %.15g moveto\n",
data/perl-tk-804.035/pTk/mTk/generic/tkTrig.c:1284: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, "%.15g %.15g %.15g %.15g %.15g %.15g curveto\n",
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:268: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[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:348: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 valueString[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:484: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[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:536: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[PRINT_CHARS];
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:444: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(offsetPtr,&tsoffset, sizeof(Tk_TSOffset));
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:541: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:543: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, "bad screen number \"%d\"", screenId);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:751: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[FIXED_SIZE];
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:1176: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 fixedSpace[FIXED_SPACE+1];
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:2975: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 *args[20];
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:3097: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:3114: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", argc);
data/perl-tk-804.035/pTk/mTk/generic/xbytes.h:23:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char xBitReverseTable[256] = {
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_color.c:186: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(VS(newt->tcolor), VS(t->tcolor),
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_color.c:189: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(VS(newt->tptr), VS(t->tptr),
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_color.c:249: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(VS(new), VS(cm->cdspace), cm->ncds *
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_color.c:477:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(VS(t->tptr), VS(fillt->tptr),
data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c:457:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(VS(p), VS(v->subs),
data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c:1941: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 idbuf[50];
data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c:2115: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 idbuf[50];
data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c:2169:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%d", t->retry);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regcomp.c:2171: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, "0x%x", (int)t);	/* may lose bits, that's okay */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char convbuf[sizeof(unk)+50];	/* 50 = plenty for int */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:70: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(convbuf, "%d", r->code);	/* -1 for unknown */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:74:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		icode = atoi(errbuf);	/* not our problem if this fails */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:81:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(convbuf, "REG_%u", (unsigned)icode);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:244: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(VS(pmatch), VS(v->pmatch), n*sizeof(regmatch_t));
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:270:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	chr *open;		/* open and close of range of possible starts */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:301:40:  [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).
	MDEBUG(("between %ld and %ld\n", LOFF(open), LOFF(close)));
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:305:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	for (begin = open; begin <= close; begin++) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:397:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	chr *open;		/* open and close of range of possible starts */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:416:42:  [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).
		MDEBUG(("cbetween %ld and %ld\n", LOFF(open), LOFF(close)));
data/perl-tk-804.035/pTk/mTk/tclGeneric/regexec.c:417:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		for (begin = open; begin <= close; begin++) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tcl.h:733: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/perl-tk-804.035/pTk/mTk/tclGeneric/tcl.h:847: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[TCL_DSTRING_STATIC_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tcl.h:977: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclAlloc.c: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 ov_padding[8]; /* Ensure the structure is 8-byte aligned. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclAlloc.c:593: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 *) newp, (VOID *) cp, (size_t) nbytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:294: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 c[sizeof(short)];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:656: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:661: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(buffer, "Assoc Data Key #%d", assocDataCounter);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:1756: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 *(argStorage[NUM_ARGS]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3278: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3366: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3372: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 nameBuffer[MAX_VAR_CHARS+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4082: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 buf[30 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4084: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, "command returned bad code: %d", returnCode);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4753: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4768: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, "%ld", resultPtr->internalRep.longValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:111: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 bytes[4];	/* The array of bytes.  The actual size of
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:278: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 *) byteArrayPtr->bytes, (VOID *) bytes, (size_t) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:360: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 *) newByteArrayPtr->bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:478: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 *) copyArrayPtr->bytes, (VOID *) srcArrayPtr->bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:537: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 *) dst, (VOID *) src, (size_t) size);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:806:8:  [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 *) cursor, (VOID *) bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:809:8:  [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 *) cursor, (VOID *) bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:1370: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[TCL_UTF_MAX + 1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:1484: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((VOID *) *cursorPtr, (VOID *) &dvalue, sizeof(double));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:1500: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((VOID *) *cursorPtr, (VOID *) &fvalue, sizeof(float));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:1702: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((VOID *) &fvalue, (VOID *) buffer, sizeof(float));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBinary.c:1707: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((VOID *) &dvalue, (VOID *) buffer, sizeof(double));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:35: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[4];		/* Actual size of string will be as
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c: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 low_guard[LOW_GUARD_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:64: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 body[1];		/* First byte of client's space.  Actual
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:115: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 dumpFile[100];	/* Records where to dump memory allocation
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:323: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).
	fileP = fopen(fileName, "w");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:657: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 *) new, (VOID *) ptr, (size_t) copySize);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:692: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 *) new, (VOID *) ptr, (size_t) copySize);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:825: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[400];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:193: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 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:196: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,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:622: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 msg[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.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(msg, "\n    (\"eval\" body line %d)", interp->errorLine);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1647:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char msg[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1649: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(msg, "\n    (\"for\" body line %d)",interp->errorLine);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1868:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char msg[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1870: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    (\"foreach\" body line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1928: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 newFormat[43];		/* A new format specifier is generated here. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1957: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 staticBuf[MAX_FLOAT_SIZE + 1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2304: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[40];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2306: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, "bad field specifier \"%c\"", *format);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:2384:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy(ptr, ptrValue, (size_t) size);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdIL.c:3568: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:32: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[4];		/* Space for Tcl command to invoke.  Actual
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:61: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[4];		/* Space for Tcl command to invoke.  Actual
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1461: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.
		string1 = (char *) Tcl_GetByteArrayFromObj(objv[2], &length1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1482:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char buf[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2072: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.
		string1 = (char *)Tcl_GetByteArrayFromObj(objv[2], &length1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2132:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[TCL_INTEGER_SPACE+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2133:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "%d", INT_MAX);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2144:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(string2 + (length1 * index), string1,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2253: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(string2, start, (size_t) length2);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2565: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2859: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 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2861: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    (\"%.50s\" arm line %d)", pattern,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2900: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2927: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, "%.0f microseconds per iteration",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:3114: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 ops[5];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:4425: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 *) commandCopy, (VOID *) command, (size_t) numChars);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:4845:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char msg[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:4847: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(msg, "\n    (\"while\" body line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:500: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:587: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, "\n    (\"for\" body line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:722: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:733: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 **varvListStaticSpace[STATIC_VAR_LIST_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:933: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, "\n    (\"foreach\" body line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1006: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 *) varvList[loopIndex]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1146: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1198: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,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1262: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,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1297:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "\n    (\"if\" then script line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:1399:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "\n    (\"if\" else script line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2213: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.
	str = (char *) varTokenPtr[1].start;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2237: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.
    str = (char *) varTokenPtr[1].start;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2755: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2758: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.
		len = sprintf(buf, "%d", len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2928: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:3026: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, "\n    (\"while\" body line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:3259:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *) (elemTokenPtr+1), (void *) (&varTokenPtr[2]),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompExpr.c:349: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompExpr.c:956: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompExpr.c:958: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(buffer, "syntax error in expression \"%.*s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1179: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1300: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 errorBuffer[150];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1301:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(errorBuffer,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1599: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 *) p, (VOID *) envPtr->codeStart, (size_t) codeBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1610: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 *) p, (VOID *) envPtr->exceptArrayPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1619: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 *) p, (VOID *) envPtr->auxDataArrayPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1693: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1833: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((VOID *) localPtr->name, (VOID *) name,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1998: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 *) newPtr, (VOID *) envPtr->codeStart, currBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:2062: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 *) newPtr, (VOID *) envPtr->cmdMapPtr, currBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:2181: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 *) newPtr, (VOID *) envPtr->exceptArrayPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:2256: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 *) newPtr, (VOID *) envPtr->auxDataArrayPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.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((VOID *) newPtr, (VOID *) fixupArrayPtr->fixup, currBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.h:257: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 staticCodeSpace[COMPILEENV_INIT_CODE_BYTES];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:776: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                buff[20];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:1151:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(type *) memcpy(to, (char *) from, TclDatemaxdepth * sizeof (type))
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:68: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 prefixBytes[256];	/* If a byte in the input stream is a lead
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:99: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 sequence[16];		/* Escape code that marks this encoding. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:100: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[32];		/* Name for encoding. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:111: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 init[16];		/* String to emit or expect before first char
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:114: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 final[16];		/* String to emit or expect after last char
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:116: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 prefixBytes[256];	/* If a byte in the input stream is the
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:567: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 globArgString[10];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:591:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(globArgString, "*.enc");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1286: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[3];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1344: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 used[256];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1622: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 init[16], final[16];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1682: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 *) dataPtr->subTables, (VOID *) Tcl_DStringValue(&escapeData),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:2576: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 *) dst, (VOID *) dataPtr->init,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:2651:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) dst, (VOID *) subTablePtr->sequence,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:2682:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) dst, (VOID *) dataPtr->subTables[0].sequence,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:2686: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((VOID *) dst, (VOID *) dataPtr->final,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:199: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((VOID *) newEnviron, (VOID *) environ,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:413: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 *) string, (VOID *) name, (size_t) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:656: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((VOID *) newCache, (VOID *) environCache,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:169: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(errPtr->errorMsg, errResult, (size_t) (length + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:232: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[2];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:620: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.
    char *refCount = (char *) oldStackPtr[-1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:629: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 *) newStackPtr, (VOID *) oldStackPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:1083: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 cmdNameBuf[21];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:1293:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((VOID *) p, (VOID *) bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:2621: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:5700: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 msg[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:5702: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(msg, "unknown floating-point error, errno = %d", errno);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:6168: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 buf[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:642: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 *) p, (VOID *) str, (size_t) len+1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:2595: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 winbuf[MAX_PATH+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclGet.c:284: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 lowerCase[10], c;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.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(result, "%d entries in table, %d buckets\n",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:781: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:785: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:788: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: %.1f", average);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:935: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(hPtr->key.string, string, strlen(string) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3064: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 safe[BUFFER_PADDING];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3141:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) dst, (VOID *) safe, (size_t) saved);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3197:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) safe, (VOID *) (dst + dstLen), (size_t) saved);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3639: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 tmp[1 + TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3954: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((VOID *) (nextPtr->buf + BUFFER_PADDING - extra),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:4101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) (bufPtr->buf + bufPtr->nextAdded),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:4747: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 *) (nextPtr->buf + nextPtr->nextRemoved), (VOID *) src,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:4874:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) dstStart, (VOID *) srcStart, (size_t) dstLen);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:4883:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) dstStart, (VOID *) srcStart, (size_t) dstLen);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6090: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 optionVal[128];	/* Buffer for sprintf. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6205:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[4];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6207: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, "%c", statePtr->inEofChar);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6215:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[4];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6217: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, "%c", statePtr->outEofChar);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6396:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        statePtr->bufSize = atoi(newValue);	/* INTL: "C", UTF safe. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:7933: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((VOID *) result,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:7955: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((VOID *) result,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:7994: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((VOID *) result,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:8037: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((VOID *) result,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:8172: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 *) result,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:8285:17:  [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 *) destPtr, (VOID *) src, (size_t) destCopied);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:8289:17:  [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 *) destPtr, (VOID *) src, (size_t) destCopied);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.h:50: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[1];		/* Copy buffer, this must be the last
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.h:68: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[4];		/* Placeholder for real buffer. The real
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOCmd.c:731: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 *argStorage[NUM_ARGS];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOCmd.c:1184: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 portBuf[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:1384: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*) buf, (VOID*) r->buf, (size_t) toRead);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:1395: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*) buf,    (VOID*) r->buf,            (size_t) toRead);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:1407: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*) buf, (VOID*) r->buf, (size_t) r->used);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:1451: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(r->buf + r->used, buf, (size_t) toWrite);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:1763: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 msg[200 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:1769: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(msg, "\n    (file \"%.150s\" line %d)", Tcl_GetString(pathPtr),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:3904: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*)nativePathPtr, (VOID*)Tcl_DStringValue(&ds), (size_t) len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:4009: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*)copy, (VOID*)clientData, len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:5315: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*) result, (VOID*) orig, (size_t) (len+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:6011: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 winbuf[MAX_PATH+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIndexObj.c:356: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(buf, indexStr, len+1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIndexObj.c:386: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(dupIndexRep, srcIndexRep, sizeof(IndexRep));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInt.h:612: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[4];		/* Name of the local variable starts here.
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInt.h:1292: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclInt.h:2188: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 *) (objPtr)->bytes, (VOID *) (bytePtr), \
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInterp.c:431: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInterp.c:480:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buf, "interp%d", i);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInterp.c:1470: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 *) cmdv, (VOID *) prefv,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclInterp.c:1472: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 *) (cmdv+prefc), (VOID *) (objv+1),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLink.c:386: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(*pp, value, (unsigned) valueLength);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclListObj.c:462: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 *) newElemPtrs, (VOID *) elemPtrs,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclListObj.c:725: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((VOID *) newPtrs, (VOID *) elemPtrs,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclListObj.c:746: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((VOID *) &(newPtrs[first + objc]),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclListObj.c:1548: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((VOID *) s, (VOID *) elemStart,  (size_t) elemSize);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:189: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:618: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 *) newArrayPtr, (VOID *) currArrayPtr, currBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:934: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:938: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:942: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:945: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: %.1f", average);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclMain.c:209: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[TCL_INTEGER_SPACE + 5], *args;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclMain.c:499: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(buffer, "exit %d", exitCode);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:994: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 *) newPtr, (VOID *) nsPtr->exportArrayPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:2314: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((VOID *) newPtr, (VOID *) trailPtr, currBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:2987: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 msg[256 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:2989: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(msg, "\n    (in namespace eval \"%.200s\" script line %d)",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:3398: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 msg[256 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:3400: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(msg,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:3977: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 *) objPtr->bytes, (VOID *) name, (unsigned) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1098: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 lowerCase[10];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1264: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, "expected boolean value but got \"%.50s\"", string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1542: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1543: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, "expected floating-point number but got \"%.50s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1610: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[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1839: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1840: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, "expected integer but got \"%.50s\"", string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1908: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2194: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2195: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, "expected integer but got \"%.50s\"", string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2269: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[TCL_INTEGER_SPACE+2];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2279: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(buffer, "%" TCL_LL_MODIFIER "d", wideVal);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2282: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(objPtr->bytes, buffer, len + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:569: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:679: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 utfBytes[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:680: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(utfBytes, p, (size_t) (numBytes - 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1024: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 *) newPtr, (VOID *) parsePtr->tokenPtr,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1177: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 utfBytes[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1178: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(utfBytes, src, (size_t) numBytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1481: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[64];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1824: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 utfBytes[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1825: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(utfBytes, src, (size_t) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1837: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 utfBytes[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:1838:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(utfBytes, src, (size_t) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:2090: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[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:2093: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, "syntax error in expression \"%.60s...\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:2096: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, "syntax error in expression \"%.*s\"",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPipe.c:323: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 msg1[TCL_INTEGER_SPACE], msg2[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPreserve.c:165: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((VOID *) new, (VOID *) refArray,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:327: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 + TCL_INTEGER_SPACE + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:328: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, "\": arg list contains %d entries, precompiled header expects %d",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:425: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[80 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:426: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, "\": formal parameter %d is inconsistent with precompiled body",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:687: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 msg[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:688: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(msg, "\n    (\"uplevel\" body line %d)", interp->errorLine);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1224: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[100 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1302: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 msg[100 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:72: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:626: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:652: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, "%u", (unsigned)(regexpPtr->re.re_nsub));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:702: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];		/* ample in practice */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:703: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 cbuf[100];		/* lots in practice */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:712:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cbuf, "%d", status);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:456: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, *static_list[STATIC_LIST_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c:278: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[TCL_UTF_MAX+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c:458: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[TCL_UTF_MAX+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c:590: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[513];			  /* Temporary buffer to hold scanned
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c:1031:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			    sprintf(buf, "%" TCL_LL_MODIFIER "u",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclScan.c:1041:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			    sprintf(buf, "%lu", value); /* INTL: ISO digit */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:343: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 *) stringPtr->unicode, (VOID *) unicode, uallocated);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:786:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) new, (VOID *) objPtr->bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:887:8:  [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 *) new, (VOID *) objPtr->bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:984: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 *) stringPtr->unicode, (VOID *) unicode, uallocated);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1256: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*) (stringPtr->unicode + stringPtr->numChars), unicode,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1413: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 *) (objPtr->bytes + oldLength), (VOID *) bytes,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1446: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 *static_list[STATIC_LIST_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1705: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 *) copyStringPtr->unicode,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1811: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 dummy[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:766: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:782: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.
	asyncPtr->command = (char *) ckalloc((unsigned) (strlen(argv[2]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:835:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	Tcl_SetResult(interp, (char *)argv[3], TCL_VOLATILE);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:854: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 *listArgv[4], *cmd;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:855: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_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1039: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[30];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1049: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, "%p", (VOID *)token);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1401: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1450: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.
    dPtr->deleteCmd = (char *) ckalloc((unsigned) (strlen(argv[3]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1589:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(interp->result, "This is a malloc-ed string");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1594:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(interp->result, "This is a specially-allocated string");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1603: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1702: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(encodingPtr->toUtfCmd, string, (unsigned) length + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1706: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(encodingPtr->fromUtfCmd, string, (unsigned) (length + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1764: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, Tcl_GetStringResult(encodingPtr->interp), (unsigned) len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1796: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, Tcl_GetStringResult(encodingPtr->interp), (unsigned) len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2175: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2177: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, "odd %d\n", (int) clientData);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2185: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2187: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, "even %d\n", (int) clientData);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2216: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[4 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2224: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, ": %ld", exprResult);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2359: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.
    res = (char *) Tcl_GetAssocData(interp, argv[1], NULL);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2482: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[2*TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2597: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.
		stringVar = (char *) ckalloc((unsigned) (strlen(argv[5]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2642: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.
		stringVar = (char *) ckalloc((unsigned) (strlen(argv[5]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3342: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 resinfo[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3346: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(resinfo, "%d %d", start, end-1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3356: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 resinfo[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3360: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(resinfo, "%d", info.extendStart);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3588: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.
    oldData = (char *) Tcl_GetAssocData(interp, argv[1], &procPtr);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:4185: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 newString[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:4213:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	ckfree((char *) objv[i]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:4284: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(newString, "%d", 12345);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:4426:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        value = Tcl_SetVar2(interp, argv[1], (char *) NULL, argv[2], flags);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:4501:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(buf, "free result");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5221: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[TCL_INTEGER_SPACE];/* For sprintf. */
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5924: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[64];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5925: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", idx);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5928: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", target);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:236: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[20];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:254: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, "%f", d);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:832: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:910: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 *index, *string, *strings[MAX_STRINGS+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:1184: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[32 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestObj.c:1186: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, "variable %d is unset (NULL)", varIndex);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTestProcBodyObj.c:146: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[128];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:483: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(new, ptr, reqsize);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:626: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:636: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, "thread%d", (int) cachePtr->owner);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:640:10:  [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 %d %d %d %d %d %d",
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:729: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.
    ((unsigned char *)(ptr))[reqsize] = MAGIC;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:742: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.
	|| ((unsigned char *) ptr)[blockPtr->b_reqsize] != MAGIC
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadAlloc.c:747:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    ((unsigned char *) ptr)[blockPtr->b_reqsize]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:316:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	        char buf [20];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:317: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, "%ld", id);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:549: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 *errorInfo, *argv[3];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:551: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[TCL_DOUBLE_SPACE+1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:552: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, "%ld", (long) Tcl_GetCurrentThread());
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTimer.c:776: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[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTimer.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, "after#%d", afterPtr->id);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTimer.c:943: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, "after#%d", afterPtr->id);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTimer.c:953:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "after#%d", afterPtr->id);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:65: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.
static CONST unsigned char totalBytes[256] = {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:844: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(dst, src, (size_t) bytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:897: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(dst, src, (size_t) bytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:947: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(dst, src, (size_t) bytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:959: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(dst, src, (size_t) bytes);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:58: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 precisionString[10] = "12";
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:61: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 precisionFormat[10] = "%.12g";
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:221:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:229:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:284:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[100];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:472: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((VOID *) p, (VOID *) element, (size_t) elSize);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:923: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:991: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 *) p, (VOID *) element, (size_t) length);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1119: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((VOID *) p, (VOID *) element, (size_t) elemLength);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1471: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((VOID *) newString, (VOID *) dsPtr->string,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1540: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((VOID *) newString, (VOID *) dsPtr->string,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1617: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((VOID *) newString, (VOID *) dsPtr->string,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1975: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(precisionFormat, "%%.%dg", prec);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2117: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, "%ld", n);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2348: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[TCL_INTEGER_SPACE + sizeof("end") + 1];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2351:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(buffer, "end");
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:219: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[VAR_NAME_BUF_SIZE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:262: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(newVarName, part1, (unsigned int) closeParen);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:484: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(newPart2, part2, (unsigned int) len2);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:2776: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((VOID *) newElemPtrs, (VOID *) elemPtrs,
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:3256:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	        char string[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5046: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(objPtr->bytes, localPtr->name, nameLen + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5138: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(elemCopy, elem, elemLen);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5172: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(p, part1, (unsigned int) len1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5175: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(p, part2, (unsigned int) len2);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:87:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char errbuf[BUFSIZ];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:120:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "calloc: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:134:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "dlopen: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:136:3:  [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(errbuf, ": ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:143: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 *tmp[BUFSIZ/sizeof(char *)];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:161:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "loadbind: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:175:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy(errbuf, "loadbind: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:216:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	switch(atoi(s)) {		/* INTL: "C", UTF safe. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:218:3:  [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(errbuf, "to many errors");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:221:3:  [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(errbuf, "can't load library");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:225:3:  [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(errbuf, "can't find symbol");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:229:3:  [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(errbuf, "bad RLD");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:233:3:  [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(errbuf, "bad exec format in");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:237:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		strcat(errbuf, strerror(atoi(++p)));	/* INTL: "C", UTF safe. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:259:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(errbuf, "dlsym: undefined symbol ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:340:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:351:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:360:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:367:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:391:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:398:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: bad magic");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:410:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: cannot read data section header");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:417:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: cannot read loader section header");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:428:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:436:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: cannot seek to loader section");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:444:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: cannot read loader section");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:462:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "readExports: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:477: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 tmpsym[SYMNMLEN+1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:518:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "findMain: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:527:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(errbuf, "findMain: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:534:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(errbuf, "findMain: ");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:158: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 relocatedFileName [L_tmpnam];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:210: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, "%08lx", (long) startAddress);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:223:19:  [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).
    relocatedFd = open (relocatedFileName, O_RDONLY);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:372: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(native, "rb");				/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadNext.c:53: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 *files[2];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadNext.c:124: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 sym[strlen(symbol)+2];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1098: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[3 * TCL_INTEGER_SPACE + 16];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1113: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,%c,%d,%d", tty.baud, tty.parity, tty.data, tty.stop);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1130: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, "%c", iostate.c_cc[VSTART]);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1132: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, "%c", iostate.c_cc[VSTOP]);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1157: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", inBuffered+inQueue);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1159: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", outBuffered+outQueue);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1757: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1809: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(channelName, "file%d", fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1886: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1920: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(channelName, "serial%d", fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1930: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(channelName, "file%d", fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2252: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2664:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((VOID *) &addr,
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2726: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2740: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(channelName, "sock%d", statePtr->fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2799: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2807: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(channelName, "sock%d", statePtr->fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2848: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2869: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(channelName, "sock%d", statePtr->fd);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2902: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2926: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(channelName, "sock%d", newsock);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:252: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 srcPath[MAXPATHLEN], dstPath[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:374: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 link[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1221: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 returnString[7];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1233: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(returnString, "%0#5lo", (long) (statBuf.st_mode & 0x00007FFF));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1679: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 normPath[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:612: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[MAXPATHLEN+1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:656: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 link[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFile.c:747: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 link[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:62: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 defaultLibraryDir[sizeof(TCL_LIBRARY)+200] = TCL_LIBRARY;
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:70: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 pkgPath[sizeof(TCL_PACKAGE_PATH)+200] = TCL_PACKAGE_PATH;
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:255: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 installLib[LIBRARY_SIZE], developLib[LIBRARY_SIZE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:430: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 tclLibPath[MAXPATHLEN + 1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixInit.c:726: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 tclLibPath[MAXPATHLEN + 1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixNotfy.c:927: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[2];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:20:14:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
#define fork vfork
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:193: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 + 9];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:206: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(fileName, "tclXXXXXX");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:207:10:  [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).
    fd = mkstemp(fileName);				/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:246: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 + 9];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:258: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(fileName, "tclXXXXXX");
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:259:10:  [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).
    fd = mkstemp(fileName);		/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:400: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 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:446: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,
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:458: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, "%dcouldn't execute \"%.150s\": ", errno, argv[0]);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:708: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:749: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(channelName, "file%d", channelId);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:782: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPort.h:77:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   define TclOSopen		open
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixSock.c:42: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 hostname[TCL_HOSTNAME_LEN + 1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixSock.c:72: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[sizeof(hostname)];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixSock.c:96: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(node, u.nodename, (size_t) (dot - u.nodename));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:155: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[4000];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:204: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:211: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 %d", pipePtr->readCount, pipePtr->writeCount);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:286: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:511:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (Tcl_GetOpenFile(interp, argv[1], atoi(argv[2]), 1, &filePtr)
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:560: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.
	tclDefaultEncodingDir = (char *)
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:23: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	    	nabuf[16];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:28:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAXNAMLEN+1];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:821: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 *) &tsdPtr->rdbuf.ent, (VOID *) ent,
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:854: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 *) &tsdPtr->ltbuf, (VOID *) localtime( clock ), sizeof (struct tm) );
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:873: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 *) &tsdPtr->gtbuf, (VOID *) gmtime( clock ), sizeof (struct tm) );
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:889: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.
    	unsigned char b[4];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixThrd.c:893: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(tsdPtr->nabuf, "%u.%u.%u.%u", u.b[0], u.b[1], u.b[2], u.b[3]);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTime.c:363: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(s, "Stardate %2d%03d.%01d",
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTime.c:409: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 *) tmPtr, (VOID *) gmtime(timePtr), sizeof(struct tm));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTime.c:449: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 *) tmPtr, (VOID *) localtime(timePtr), sizeof(struct tm));
data/perl-tk-804.035/pTk/mTk/tclWin/cat.c:21: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/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:28: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[1000];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:40: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 msg[300];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:94: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 msg[300];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:97: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 cmdline[100];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:125:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cmdline, "cl.exe -nologo -c -TC -Fdtemp ");
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:129: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(cmdline, " nul");
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:189: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 msg[300];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:192: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 cmdline[100];
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:220:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cmdline, "link.exe -nologo ");
data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c:67: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[8192];
data/perl-tk-804.035/pTk/mTk/tclWin/stub16.c:182: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[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/tclWin/tclAppInit.c:85: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/perl-tk-804.035/pTk/mTk/tclWin/tclWinChan.c:759: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinChan.c:957: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.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 buffer[CONSOLE_BUFFER_SIZE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.c:680: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(buf, &infoPtr->buffer[infoPtr->offset], (size_t) bufSize);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.c:684: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(buf, &infoPtr->buffer[infoPtr->offset], (size_t) bufSize);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.c:780: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(infoPtr->writeBuf, buf, (size_t) toWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinConsole.c:1292: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 encoding[4 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c:421: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 *) nativeRest)[0] = '\0';
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c:422: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 *) nativeRest)[1] = '\0';    /* In case it's Unicode. */
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c:1864: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[40 * 4];		/* There couldn't be more than 30 drives??? */
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:333: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*)nativeTarget, (VOID*)L"\\??\\", 4*sizeof(WCHAR));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:334: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*)(nativeTarget + 4), (VOID*)LinkTarget,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:359: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(reparseBuffer->SymbolicLinkReparseBuffer.PathBuffer, nativeTarget,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:518: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 driveSpec[3] = {
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1229: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[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1402: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 posixPath[MAX_PATH+1];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1452: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 link[MAXPATHLEN];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1894: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 realFileName[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:2035: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 volType[VOL_BUF_SIZE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.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 installLib[LIBRARY_SIZE], developLib[LIBRARY_SIZE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:361: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[MAX_PATH * TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:437: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[(MAX_PATH + LIBRARY_SIZE) * TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:550: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[4 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:622: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:627:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szUserName[ UNLEN+1 ];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:749: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 *) nameUpper, (VOID *) name, (size_t) length+1);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:520: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 *) name)[0] = '.';
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:521: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 *) name)[1] = '\0';
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:983: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 execPath[MAX_PATH * TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1391: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[2];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1678: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1795: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:2244: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(infoPtr->writeBuf, buf, (size_t) toWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:2677: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:518: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], *pattern, *name;
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:1397:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[TCL_INTEGER_SPACE], msgBuf[24 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:1414:6:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	    MultiByteToWideChar(CP_ACP, 0, msgPtr, length + 1, wMsgPtr,
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:1423: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(msgBuf, "unknown error: %ld", error);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinReg.c:1448: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(id, "%ld", error);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1035: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(infoPtr->writeBuf, buf, (size_t) toWrite);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1526:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[TCL_INTEGER_SPACE + 1];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1808:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            inSize = atoi(argv[0]);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1811: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).
            inSize  = atoi(argv[0]);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1812: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).
            outSize = atoi(argv[1]);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1944: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 buf[2 * TCL_INTEGER_SPACE + 16];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1976: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 buf[TCL_INTEGER_SPACE + 1];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1994: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 buf[TCL_INTEGER_SPACE + 1];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:2017: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 buf[4];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:2027: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, "%c", dcb.XonChar);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:2029: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, "%c", dcb.XoffChar);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:2053: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 buf[TCL_INTEGER_SPACE + 1];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:33:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hostname[255];	/* This buffer should be big enough for
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:1299:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&addr, hostent->h_addr, (size_t) hostent->h_length);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:1420: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:1475: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:1535: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:1591: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 channelName[16 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:2043: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTest.c:181: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 volType[VOL_BUF_SIZE];
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:45: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 tzName[64];		/* Time zone name */
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:911: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 * swName, buff[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:1223: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 * cmdArgv[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:1729: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 * specs[2] = {"export :", "restrict :"};
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:364: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 *results[2] = {"0", "1"};
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:412: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   buff[20];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:457: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(buff, "%d", i_value);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:901: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[20];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:904: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, "#%4x%4x%4x", colorPtr->red, colorPtr->green,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c:363: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 *widgRecList[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c:398: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 *widgRecList[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c:425: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 *widgRecList[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:202: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:267: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(buff, "tixStyle%d", counter++);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:336: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 *)stylePtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:359: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 *)stylePtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.c:236: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.h:68: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		isDefault[2][2];/* Is this side a default attachment*/
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.h:70: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		attType[2][2];	/* type of attachment
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:59: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 buff[256];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:61: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 *sideNames[2][2] = {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:65: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 *padNames[2][2] = {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:108: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(buff, "%d", clientPtr->pad[i][j]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:121: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 buff[256];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:129: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(buff, "{%%%d %d}", clientPtr->att[axis][which].grid,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:135:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buff, "%d", clientPtr->off[axis][which]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:142: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(buff, "%d", clientPtr->off[axis][which]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrRC.c:55: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 errorMsg[300];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:83: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 buff[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:97: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(buff, "%d", sizePtr->sizeValue);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:102: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(buff, "%fchar", sizePtr->charValue);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:112: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(buff, "%d", sizePtr->pad0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:116: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(buff, "%d", sizePtr->pad1);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1588: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1834: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 *)wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1855: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 *) wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1897: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 buff[20];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1994:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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, entryConfigSpecs, chPtr->iPtr, (char *) argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2154: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2518: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[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2626: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 * areaNames[4] = {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLCol.c:339: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 buff[128];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLCol.c:358: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(buff, "%d", wPtr->actualSize[column].width);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLHdr.c:410: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 *) argv[1], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLInd.c:266: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:775: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 *)wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:796: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 *) wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:928: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 *) argv[1], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:949: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[80];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:976: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} {%f %f}", first[0], last[0], first[1], last[1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1222: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 column[20];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1326: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(column, "%d", i);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1467: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1493: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(buff, "%d %d %d %d", x1, y1, x1+wXSize-1, y2);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2763: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 fixedSpace[FIXED_SPACE+1];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2860: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 buff[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2876: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(buff, "%d", parent->numCreatedChild);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:4625: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 *) buffer,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:416: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 *argvbuf[10];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:568: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,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:654: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 *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:662:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		configSpecs, (char *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:133: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 *argvbuf[10];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:949: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,
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:966: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 *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:974: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.
		    configSpecs, (char *) masterPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c:183: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 buff[10];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c:207: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(buff, "%d", tixOption.isBeta);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c:209: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(buff, "%d", tixOption.isDebug);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInputO.c:278: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 *) wPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInputO.c:287: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 *)wPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:521: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 * cmdArgv[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:359: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		buff[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:371: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(buff, "-border %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:375: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(buff, "-resizeh %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:379: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(buff, "-title %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:383: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(buff, "-menu %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:387: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(buff, "-minimize %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:391: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(buff, "-maximize %d",
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:622: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 tmp[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:630: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(tmp, " f.send_msg %ld\n", ptPtr->protocol);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c:506: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 *)wPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c:517: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 *) wPtr, argv[2], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c:669: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 *)tPtr, argv[3], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c:687: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 *)tPtr, argv[3], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:246: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 * argv[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:247: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 method[200];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:313: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 * cmdArgv[2];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:368: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 *argv[6];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1138: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 buff[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1215: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(buff, "%d", at);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1228: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1244: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(buff, "%d", i);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1268: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1274: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(buff, "%d", index);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1311: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[32];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1324: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1326: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(buff, "%d", wPtr->entList.numItems);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1408: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1454: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(buff, "%d", dst);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1476: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 *)wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1497: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 *) wPtr, argv[0], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1518: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[40];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1543: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} {%f %f}", first[0], last[0], first[1], last[1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1680:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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, entryConfigSpecs, chPtr->iPtr, (char *) argv[1], 0);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1701: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 buff[100];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1714: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(buff, "%d", index);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:2112: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[80];
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:2119: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, "{%f %f}", first, last);
data/perl-tk-804.035/pTk/mTk/tixWin/tixWinMain.c:71: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];
data/perl-tk-804.035/pTk/mTk/tixWin/tixWinMain.c:312: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/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:137: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 tempbuffer[10];
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:141:33:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case IMAGE_SYM_UNDEFINED: strcpy(tempbuffer, "UNDEF"); break;
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:142:33:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case IMAGE_SYM_ABSOLUTE:  strcpy(tempbuffer, "ABS  "); break;
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:143:31:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case IMAGE_SYM_DEBUG:	  strcpy(tempbuffer, "DEBUG"); break;
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:163: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 sectionName[10];
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:221: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 symbol[1024];
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.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 symbol[1024], *s;
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:425: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 *fargv[1000];
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:426: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 cmdline[10000];
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:460: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).
	fout = fopen(outfile, "w+");
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:482:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    FILE *fargs = fopen(&argv[arg][1], "r");
data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c:43: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[8 + TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c:44: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 buffer2[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c:46: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(buffer, "X%dR%d ", ProtocolVersion(Tk_Display(tkwin)),
data/perl-tk-804.035/pTk/mTk/unix/tkUnix.c:48: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(buffer2, " %d", VendorRelease(Tk_Display(tkwin)));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixDialog.c:50: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 * cmdArgv[2];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixEmbed.c:899: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[50];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixEmbed.c:916: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(buffer, "0x%x", (int) containerPtr->parent);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixEmbed.c:932: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(buffer, "0x%x", (int) containerPtr->wrapper);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:76: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 *fontMap[FONTMAP_PAGES];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:1060: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[16];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2101: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 src[TCL_UTF_MAX], buf[16];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2153: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.
	    hi = ((unsigned char *) buf)[0];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2154: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.
	    lo = ((unsigned char *) buf)[1];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2157: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.
	    lo = ((unsigned char *) buf)[0];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2318: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 src[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2371: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 dst[16];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2482: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(nameList, nameListOrig, numNames * sizeof(char *));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2546: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 *) newPtr, fontPtr->subFontArray,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2712: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[256];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2869: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[256];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2871: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, "-*-%.80s-*-*-*-*-*-*-*-*-*-*-*-*", faceName);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixKey.c:424: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((VOID *) new, (VOID *) dispPtr->modKeyCodes,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixMenu.c:1309:6:  [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(helpMenuName, ".help");
data/perl-tk-804.035/pTk/mTk/unix/tkUnixPort.h:226: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), "%#08lx", (unsigned long) (w))
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:27: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[TCL_UTF_MAX];   /* A buffer to hold part of a UTF character
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:367: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 *) buffer)[numItems] = 0;
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:483: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(incrPtr->converts[i].buffer, src, (size_t) srcLen+1);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:653: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/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:655: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,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:695: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/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:697: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,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:743: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/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:745: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,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1025: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 *) buffer)[numItems] = '\0';
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1256: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1258: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,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1374: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[64 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1376: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,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1526: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 atomName[MAX_ATOM_NAME_LENGTH+1];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1652: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(result+curSize, "0x%x", (unsigned int) *propPtr);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:485:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[30];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:489: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(id, "%x ", (unsigned int) commWindow);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:496: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 *) (newProp + newBytes), (VOID *) regPtr->property,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:829: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(Tcl_DStringValue(&dString) + offset, "%d", i);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1051: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1053: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, "%x %d",
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1572: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 buffer[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1574:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(buffer, "%d", result);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:36: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[4];		/* Tcl command to invoke when a client message
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:1662: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[20];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:1685: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(buffer, "0x%lx", cmapList[i]);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:1951: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:1961: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, "0x%x", (unsigned int) window);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:2001: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[16 + TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:2014: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, "%dx%d%c%d%c%d", width, height, xSign, wmPtr->x,
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:6272:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    hPtr = Tcl_FindHashEntry(&table, (char *) children[i]);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixXft.c:547: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[256];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:28: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[1000];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:40: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 msg[300];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:94: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 msg[300];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:97: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 cmdline[100];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:125:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cmdline, "cl.exe -nologo -c -TC -Fdtemp ");
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:129: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(cmdline, " nul");
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:189: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 msg[300];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:192: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 cmdline[100];
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:220:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cmdline, "link.exe -nologo ");
data/perl-tk-804.035/pTk/mTk/win/tkWinButton.c:75: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 defWidth[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinButton.c:151: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(newBitmap, tsdPtr->boxesPtr, size);
data/perl-tk-804.035/pTk/mTk/win/tkWinButton.c:197: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(tsdPtr->defWidth, "%d", width);
data/perl-tk-804.035/pTk/mTk/win/tkWinClipboard.c:321: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(buffer, Tcl_DStringValue(&ds), Tcl_DStringLength(&ds) + 2);
data/perl-tk-804.035/pTk/mTk/win/tkWinClipboard.c:335: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(buffer, Tcl_DStringValue(&ds), Tcl_DStringLength(&ds) + 1);
data/perl-tk-804.035/pTk/mTk/win/tkWinColor.c:484: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 *) pixels[i]);
data/perl-tk-804.035/pTk/mTk/win/tkWinColor.c:536: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 logPalBuf[sizeof(LOGPALETTE) + 256 * sizeof(PALETTEENTRY)];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:51:4:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   TCHAR utfInitDir[MAX_PATH];       /* Initial folder to use */
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:52:4:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   TCHAR utfRetDir[MAX_PATH];        /* Returned folder to use */
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:143:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR path[MAX_PATH];	/* On return from choose directory dialog,
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:354: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 color[100];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:356: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(color, "#%02x%02x%02x",
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:503:46:  [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).
GetFileNameW(clientData, interp, objc, objv, open)
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:508: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;			/* 1 to call GetOpenFileName(), 0 to
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:551: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) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:580:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!open && index >= FILE_MULTIPLE) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:673: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 != 0) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:732: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 != 0) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:979:46:  [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).
GetFileNameA(clientData, interp, objc, objv, open)
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:984: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;			/* 1 to call GetOpenFileName(), 0 to
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:988:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR file[TK_MULTI_MAX_PATH], savePath[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1026: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) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1055:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!open && index >= FILE_MULTIPLE) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1159: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 != 0) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1216: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 != 0) {
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1659: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 path[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1669:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR saveDir[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1870:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR selDir[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1873: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[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1999:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR path[MAX_PATH], savePath[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:2329:6:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    TCHAR tmp[MAX_PATH];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:2594: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[32];
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:2596: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, "0x%p", (HWND) clientData);
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:64: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 *fontMap[FONTMAP_PAGES];
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:678: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[16];
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1064: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[LF_FACESIZE * sizeof(WCHAR)];
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1264: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[LF_FACESIZE * sizeof(WCHAR)];
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1702: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 src[TCL_UTF_MAX], buf[16];
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1935: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 *) newPtr, fontPtr->subFontArray,
data/perl-tk-804.035/pTk/mTk/win/tkWinImage.c:630: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 infoBuf[sizeof(BITMAPINFO) + sizeof(RGBQUAD)];
data/perl-tk-804.035/pTk/mTk/win/tkWinKey.c:105: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 buf[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/win/tkWinKey.c:126: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[TCL_UTF_MAX];
data/perl-tk-804.035/pTk/mTk/win/tkWinKey.c:193: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[4];
data/perl-tk-804.035/pTk/mTk/win/tkWinKey.c:527: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((VOID *) new, (VOID *) dispPtr->modKeyCodes,
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:450:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(itemText, "(Tear-off)");
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:453:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(itemText, "(Image)");
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:456:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(itemText, "(Pixmap)");
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:459:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(itemText, "( )");
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:2794: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 sizeString[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:2795: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 faceName[LF_FACESIZE];
data/perl-tk-804.035/pTk/mTk/win/tkWinMenu.c:2843: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(sizeString, "%d", pointSize);
data/perl-tk-804.035/pTk/mTk/win/tkWinScrlbr.c:69: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 defWidth[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinScrlbr.c:390: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(defWidth, "%d", vArrowWidth);
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.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 id[TCL_INTEGER_SPACE], msgBuf[24 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:108:6:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	    MultiByteToWideChar(CP_ACP, 0, msgPtr, length + 1, wMsgPtr,
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:117: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(msgBuf, "unknown error: %ld", error);
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:141: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(id, "%ld", error);
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:285: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[256];
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:317: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[256];
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:334: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinTest.c:336: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",
data/perl-tk-804.035/pTk/mTk/win/tkWinWindow.c:186: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, "0x%p", hwnd);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:47: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[4];		/* Tcl command to invoke when a client
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:2681: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[TCL_INTEGER_SPACE], *string;
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:2697: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", ((style & WS_DISABLED) != 0));
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:2699: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", ((exStyle & WS_EX_TOOLWINDOW) != 0));
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:2701: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", ((exStyle & WS_EX_TOPMOST) != 0));
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3160: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[TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3173: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, "0x%x", (unsigned int) hwnd);
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3213: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[16 + TCL_INTEGER_SPACE * 4];
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3226: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, "%dx%d%c%d%c%d", width, height, xSign, wmPtr->x,
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3880: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:3929: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[TCL_INTEGER_SPACE * 2];
data/perl-tk-804.035/pTk/mTk/win/tkWinWm.c:5995: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(newPtr, oldPtr, count * sizeof(TkWindow*));
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:158: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[60];
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:1375: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 codepage[4 + TCL_INTEGER_SPACE];
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:1537: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(buff, Tcl_DStringValue(&unicodeString), n);
data/perl-tk-804.035/pTk/mTk/win/winMain.c:92: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/perl-tk-804.035/pTk/mTk/win/winMain.c:233: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/perl-tk-804.035/pTk/mTk/xlib/X11/Xlib.h:427: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/perl-tk-804.035/pTk/mTk/xlib/X11/Xlib.h:559: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/perl-tk-804.035/pTk/mTk/xlib/X11/Xlib.h:649: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/perl-tk-804.035/pTk/mTk/xlib/X11/Xlib.h:896: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/perl-tk-804.035/pTk/mTk/xlib/xbytes.h:23:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char xBitReverseTable[256] = {
data/perl-tk-804.035/pTk/mTk/xlib/xcolors.c:887: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 fmt[16];
data/perl-tk-804.035/pTk/mTk/xlib/xcolors.c:895: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(fmt, "%%%dx%%%dx%%%dx", i, i, i);
data/perl-tk-804.035/pTk/ptkCanvGrid.c:294: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 c0[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/ptkCanvGrid.c:312: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(c0,"%d",argc);
data/perl-tk-804.035/pTk/ptkCanvGrid.c:330: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(c0,"%d",argc);
data/perl-tk-804.035/pTk/ptkCanvGroup.c:285: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 c0[TCL_DOUBLE_SPACE];
data/perl-tk-804.035/pTk/ptkCanvGroup.c:301: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(c0,"%d",argc);
data/perl-tk-804.035/pTk/ptkCanvGroup.c:315: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(c0,"%d",argc);
data/perl-tk-804.035/pTk/tcl.h: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 resultSpace[TCL_RESULT_SIZE+1];
data/perl-tk-804.035/pTk/tcl.h:1036: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[TCL_DSTRING_STATIC_SIZE];
data/perl-tk-804.035/pTk/tcl.h:1219: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/perl-tk-804.035/ppport.h:7457:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/perl-tk-804.035/ppport.h:9427: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.
                && (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/perl-tk-804.035/ppport.h:9658: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(dst + used, src, copy);
data/perl-tk-804.035/ppport.h:9688: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(dst, src, copy);
data/perl-tk-804.035/ppport.h:10333: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 octbuf[32] = "%123456789ABCDF";
data/perl-tk-804.035/ppport.h:10403: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 tmp[2];
data/perl-tk-804.035/tkGlue.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 buf[80];
data/perl-tk-804.035/tkGlue.c:290: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, "f=%08lX ", (unsigned long) SvFLAGS(sv));
data/perl-tk-804.035/tkGlue.c:477: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[1024];
data/perl-tk-804.035/tkGlue.c:3524: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(infoPtr,SvPVX(*svp),sizeof(Tcl_CmdInfo));
data/perl-tk-804.035/tkGlue.c:4511: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[32];
data/perl-tk-804.035/tkGlue.c:4519: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(key,"%d",message);
data/perl-tk-804.035/tkGlue.c:4987: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 scratch[256];
data/perl-tk-804.035/tkGlue.c:4992: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 result[80];
data/perl-tk-804.035/tkGlue.c:5140:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 char buf[80];
data/perl-tk-804.035/tkGlue.c:5544: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[128];
data/perl-tk-804.035/Event/pTkCallback.c:172: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).
   sv_setpvn(ERRSV,s,strlen(s));
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:260: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).
    extern int strlen(), strncmp();
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:374: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).
test:		line += strlen(line);
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:397:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    line += strlen(line);
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:485: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).
	bend = skipspace(buf + strlen(buf) - 1, -1);
data/perl-tk-804.035/JPEG/jpeg/ansi2knr.c:518:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		   {	if ( strlen(kp) == len && !strncmp(kp, buf, len) )
data/perl-tk-804.035/JPEG/jpeg/cjpeg.c:92:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if ((c = getc(infile)) == EOF)
data/perl-tk-804.035/JPEG/jpeg/jerror.h:232:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
data/perl-tk-804.035/JPEG/jpeg/jerror.h:288:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
data/perl-tk-804.035/JPEG/jpeg/jmemmac.c:242: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).
    *fName = strlen (info->temp_name);
data/perl-tk-804.035/JPEG/jpeg/rdbmp.c:74:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if ((c = getc(infile)) == EOF)
data/perl-tk-804.035/JPEG/jpeg/rdbmp.c:210:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((c = getc(infile)) == EOF)
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:88:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((header[i] = getc(infile)) == EOF)
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:104:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    R = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:105:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    G = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:106:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    B = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:127:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:130:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:178:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(infile);		/* save format discriminator for a sec */
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:207:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	R = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:208:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	G = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:209:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	B = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdcolmap.c:240:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  switch (getc(infile)) {
data/perl-tk-804.035/JPEG/jpeg/rdjpgcom.c:64:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define NEXTBYTE()  getc(infile)
data/perl-tk-804.035/JPEG/jpeg/rdppm.c:90:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdppm.c:93:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdppm.c:303:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (getc(source->pub.input_file) != 'P')
data/perl-tk-804.035/JPEG/jpeg/rdppm.c:306:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(source->pub.input_file); /* subformat discriminator character */
data/perl-tk-804.035/JPEG/jpeg/rdswitch.c:27:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc(file);
data/perl-tk-804.035/JPEG/jpeg/rdswitch.c:30:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = getc(file);
data/perl-tk-804.035/JPEG/jpeg/rdtarga.c:94:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if ((c = getc(infile)) == EOF)
data/perl-tk-804.035/JPEG/jpeg/rdtarga.c:130:36:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
data/perl-tk-804.035/JPEG/jpeg/rdtarga.c:161:36:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:78:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define NEXTBYTE()  getc(infile)
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:458: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).
	  comment_length = (unsigned int) strlen(comment_arg);
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:465:4:  [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(comment_arg, " ");
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:469:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      comment_length = (unsigned int) strlen(comment_arg);
data/perl-tk-804.035/JPEG/jpeg/wrjpgcom.c:546:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(src_file)) != EOF) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:235: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(bgstr) != 7 || bgstr[0] != '#')
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:316: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).
    alen = strlen(appname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-win.c:317: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).
    flen = strlen(filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:223: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(bgstr) != 7 || bgstr[0] != '#')
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:303: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).
    alen = strlen(appname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng-x.c:304: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).
    flen = strlen(filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:349: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(bgstr) != 7 || bgstr[0] != '#')
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:458: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).
          strlen(PROGNAME), " ",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:460: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).
          strlen(PROGNAME), " ", default_display_exponent, num_bgpat);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:477: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).
    alen = strlen(appname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:478: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).
    flen = strlen(filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-win.c:707: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).
        int x, y, len = strlen(msg);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:336: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(bgstr) != 7 || bgstr[0] != '#')
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:464: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).
          strlen(PROGNAME), " ",
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:466: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).
          strlen(PROGNAME), " ", default_display_exponent, num_bgpat);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:473: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).
    alen = strlen(appname);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:474: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).
    flen = strlen(filename);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/rpng2-x.c:1322:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(usleep_duration);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:238: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(bgstr) != 7 || bgstr[0] != '#')
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:287: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).
    } else if ((len = strlen(inname)) > 250) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:335:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(outname, inname, len);
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:418:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:448:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:480: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).
                if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1)
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:518:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:548:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1) {
data/perl-tk-804.035/PNG/libpng/contrib/gregbook/wpng.c:578:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (FGETS(p, 74, keybd) && (len = strlen(p)) > 1) {
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:453:32:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    token[i] = (unsigned char) fgetc (pnm_file);
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:461:32:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    token[i] = (unsigned char) fgetc (pnm_file);
data/perl-tk-804.035/PNG/libpng/contrib/pngminus/pnm2png.c:490:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    old_value = fgetc (pnm_file);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:104:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy (szCmdFileName, szCmdLine + 1, strlen(szCmdLine) - 2);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:104:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strncpy (szCmdFileName, szCmdLine + 1, strlen(szCmdLine) - 2);
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:108:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy (szCmdFileName, "");
data/perl-tk-804.035/PNG/libpng/contrib/visupng/VisualPng.c:178:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy (szImgPathName, "");
data/perl-tk-804.035/PNG/libpng/pngconf.h:1412:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#  define png_strncpy strncpy     /* Added to v 1.2.6 */
data/perl-tk-804.035/PNG/libpng/pngconf.h:1413: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).
#  define png_strlen  strlen
data/perl-tk-804.035/PNG/libpng/pngrio.c:94:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      png_size_t read, remaining, err;
data/perl-tk-804.035/PNG/libpng/pngrio.c:101:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
data/perl-tk-804.035/PNG/libpng/pngrio.c:104:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         err = fread(buf, (png_size_t)1, read, io_ptr);
data/perl-tk-804.035/PNG/libpng/pngrio.c:106:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         png_memcpy(data, buf, read); /* copy far buffer to near buffer */
data/perl-tk-804.035/PNG/libpng/pngrio.c:107:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         if(err != read)
data/perl-tk-804.035/PNG/libpng/pngrio.c:111:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         data += read;
data/perl-tk-804.035/PNG/libpng/pngrio.c:112:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         remaining -= read;
data/perl-tk-804.035/PNG/libpng/pngtest.c:338:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      png_size_t read, remaining, err;
data/perl-tk-804.035/PNG/libpng/pngtest.c:345:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         png_memcpy(data, buf, read); /* copy far buffer to near buffer */
data/perl-tk-804.035/PNG/libpng/pngtest.c:346:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         if(err != read)
data/perl-tk-804.035/PNG/libpng/pngtest.c:350:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         data += read;
data/perl-tk-804.035/PNG/libpng/pngtest.c:351:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         remaining -= read;
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1587:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      wc_len = wcslen(wc_buf);
data/perl-tk-804.035/PNG/libpng/pngwutil.c:1591:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      wc_len = wcslen(wc_buf);
data/perl-tk-804.035/PNG/zlib/contrib/blast/blast.c:438:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (getchar() != EOF) n++;
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:87:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int read(void* buf, size_t len) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:115:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline int read(izstream& zs, T* x, Items items) {
data/perl-tk-804.035/PNG/zlib/contrib/iostream2/zstream.h:278: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).
    val.byte = 255;  val.word = ::strlen(x);
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:146:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "w");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:148:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "a");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:150:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "w");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:152:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "r");
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:160: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(c_mode) == 0)
data/perl-tk-804.035/PNG/zlib/contrib/iostream3/zfstream.cc:163:5:  [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(c_mode, "b");
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:109: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).
  int  len = (int)strlen(newdir);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:319:27:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    ret = scanf("%1s",answer);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/miniunz.c:538:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filename_try, zipfilename,MAXFILENAME-1);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:75: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).
    int len = strlen(f);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:79:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, f,MAXFILENAME-1);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:255:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:259: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).
        len=(int)strlen(filename_try);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:283:27:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    ret = scanf("%1s",answer);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/minizip.c:327: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).
                  (strlen(argv[i]) == 2)))
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:141: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).
          int comsize = (int) strlen(comment);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/mztools.c:216: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).
      int comsize = (int) strlen(comment);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/unzip.c:844: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(szFileName)>=UNZ_MAXFILENAMEINZIP)
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:745: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).
        size_comment = (uInt)strlen(comment);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:747: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).
    size_filename = (uInt)strlen(filename);
data/perl-tk-804.035/PNG/zlib/contrib/minizip/zip.c:1158: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).
        size_global_comment = (uInt)strlen(global_comment);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:138: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).
  origlen = strlen(buffer);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:332:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int  len = strlen(buffer);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:440:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(fname,buffer.header.name,SHORTNAMESIZE);
data/perl-tk-804.035/PNG/zlib/contrib/untgz/untgz.c:514: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).
              if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining)
data/perl-tk-804.035/PNG/zlib/example.c:64: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).
    uLong len = (uLong)strlen(hello)+1;
data/perl-tk-804.035/PNG/zlib/example.c:94:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = (int)strlen(hello)+1;
data/perl-tk-804.035/PNG/zlib/example.c:151: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((char*)uncompr) != 7) { /* " hello!" */
data/perl-tk-804.035/PNG/zlib/example.c:175: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).
    uLong len = (uLong)strlen(hello)+1;
data/perl-tk-804.035/PNG/zlib/example.c:350: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).
    uInt len = (uInt)strlen(hello)+1;
data/perl-tk-804.035/PNG/zlib/example.c:449: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).
    c_stream.avail_in = (uInt)strlen(hello)+1;
data/perl-tk-804.035/PNG/zlib/examples/gun.c:99:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = (int)read(me->infile, next, ret);
data/perl-tk-804.035/PNG/zlib/examples/gun.c:660: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).
                len = (int)strlen(*argv);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:182:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = read(in->fd, in->buf, 1 << in->size);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:354:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(gz.fd, gz.buf, 1) != 1) bye("reading after seek on ", name);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:373:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(gz.fd, gz.buf, 1) != 1) bye("reading after seek on ", name);
data/perl-tk-804.035/PNG/zlib/examples/gzappend.c:409:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        len = fd == -1 ? 0 : read(fd, in, CHUNK);
data/perl-tk-804.035/PNG/zlib/examples/gzjoin.c:130:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left);
data/perl-tk-804.035/PNG/zlib/examples/gzjoin.c:182:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (read(in->fd, in->buf, 1) != 1)
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:168:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(log->fd, temp, 12) != 12 || temp[0] != 0x1f ||
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:178:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (xlen < 4 || read(log->fd, temp, 4) != 4)
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:199:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(log->fd, temp, 16) != 16) {
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:208:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(log->fd, temp, 13) != 13 ||
data/perl-tk-804.035/PNG/zlib/examples/gzlog.c:287:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(log->fd, in, len) != len) {
data/perl-tk-804.035/PNG/zlib/examples/zran.c:276:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = getc(in);
data/perl-tk-804.035/PNG/zlib/gzio.c:127:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    s->path = (char*)ALLOC(strlen(path)+1);
data/perl-tk-804.035/PNG/zlib/gzio.c:625: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(buf);
data/perl-tk-804.035/PNG/zlib/gzio.c:662: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(buf);
data/perl-tk-804.035/PNG/zlib/gzio.c:697: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).
    return gzwrite(file, (char*)s, (unsigned)strlen(s));
data/perl-tk-804.035/PNG/zlib/gzio.c:1006: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).
    s->msg = (char*)ALLOC(strlen(s->path) + strlen(m) + 3);
data/perl-tk-804.035/PNG/zlib/gzio.c:1006: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).
    s->msg = (char*)ALLOC(strlen(s->path) + strlen(m) + 3);
data/perl-tk-804.035/PNG/zlib/minigzip.c:230: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).
    uInt len = (uInt)strlen(file);
data/perl-tk-804.035/chnGlue.c:78: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).
  count = strlen(buf);
data/perl-tk-804.035/encGlue.c:108:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(src);
data/perl-tk-804.035/encGlue.c:216: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/perl-tk-804.035/encGlue.c:329:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen(src);
data/perl-tk-804.035/encGlue.c:586: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).
 STRLEN len = strlen(name);
data/perl-tk-804.035/encGlue.c:715: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).
  srcLen = strlen(src);
data/perl-tk-804.035/encGlue.c:854: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).
  srcLen = strlen(src);
data/perl-tk-804.035/encGlue.c:923: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).
   srcLen = strlen(src);
data/perl-tk-804.035/objGlue.c:246: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(bytes);
data/perl-tk-804.035/objGlue.c:374: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(bytes);
data/perl-tk-804.035/objGlue.c:481:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               hv_store((HV *) rv,"_TkValue_",9,Tcl_NewStringObj(val,strlen(val)),0);
data/perl-tk-804.035/objGlue.c:592: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).
     if (!is_utf8_string(s,strlen(s)))
data/perl-tk-804.035/objGlue.c:597: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).
     if (!is_utf8_string(s,strlen(s)))
data/perl-tk-804.035/objGlue.c:605: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).
      *lengthPtr = strlen(s);
data/perl-tk-804.035/objGlue.c:1147: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(bytes);
data/perl-tk-804.035/pTk/XrmOption.c:311:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 length = strlen(Tcl_GetString(args[1]));
data/perl-tk-804.035/pTk/XrmOption.c:522: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/perl-tk-804.035/pTk/XrmOption.c:706:56:  [1] (buffer) strlen:
  Does not handle 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 *fileName = (char *) ckalloc((unsigned) (strlen(home) + 20));
data/perl-tk-804.035/pTk/compat/unistd.h:63:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int read _ANSI_ARGS_((int fd, char *buf, size_t size));
data/perl-tk-804.035/pTk/mTk/additions/imgGIF.c:274: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).
		(c[1] != 'i') || strncmp(c, "-index", strlen(c))))) {
data/perl-tk-804.035/pTk/mTk/additions/imgObj.c:121: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).
	    *lengthPtr = string ? strlen(string) : 0;
data/perl-tk-804.035/pTk/mTk/additions/imgObj.c:131: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).
	    *lengthPtr = string ? strlen(string) : 0;
data/perl-tk-804.035/pTk/mTk/additions/imgObj.c:170: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).
	*lengthPtr = string ? strlen(string) : 0;
data/perl-tk-804.035/pTk/mTk/additions/imgObj.c:193: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).
	    *lengthPtr = string ? strlen(string) : 0;
data/perl-tk-804.035/pTk/mTk/additions/imgPNG.c:704: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).
	    text.text_length=strlen(tags[2*I+2]);
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:718: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).
	colorName = (char*)ckalloc(strlen(colorDefn));
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:719: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).
	useName   = (char*)ckalloc(strlen(colorDefn));
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:770:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(colors[i].cstring, masterPtr->data[i+lOffset],
data/perl-tk-804.035/pTk/mTk/additions/imgPmap.c:926: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/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:414: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).
    cp += strlen(module) + 2;
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:421: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).
  errorMessage = (char *) ckalloc(strlen(buf)+1);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:1061: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).
	c = compression[0]; length = strlen(compression);
data/perl-tk-804.035/pTk/mTk/additions/imgTIFF.c:1084: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).
	c = byteorder[0]; length = strlen(byteorder);
data/perl-tk-804.035/pTk/mTk/additions/imgUtil.c:171: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(libName);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:335: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).
	colorName = (char*)ckalloc(strlen(colorDefn)+1);
data/perl-tk-804.035/pTk/mTk/additions/imgXPM.c:336: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).
	useName   = (char*)ckalloc(strlen(colorDefn)+1);
data/perl-tk-804.035/pTk/mTk/generic/tk3d.c:662: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/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:106: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(curArg);
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:376: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(infoPtr->key);
data/perl-tk-804.035/pTk/mTk/generic/tkArgv.c:392: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).
	    numSpaces = width + 1 - strlen(infoPtr->key);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1078: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(old) + strlen(Tcl_GetString(command)) + 2;
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1078: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).
	length = strlen(old) + strlen(Tcl_GetString(command)) + 2;
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:1882: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).
	    p += strlen(p);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:2935:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(numStorage,string,numChars);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:3083:15:  [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/perl-tk-804.035/pTk/mTk/generic/tkBind.c:4407: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(virtString);
data/perl-tk-804.035/pTk/mTk/generic/tkBind.c:5073:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(name) == 1) {
data/perl-tk-804.035/pTk/mTk/generic/tkCanvArc.c:2067: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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvLine.c:1977: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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvPs.c:307: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(psInfo.colorMode);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:513: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).
    textPtr->numBytes = strlen(textPtr->text);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:923: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).
    byteCount = strlen(string);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvText.c:1255: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/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:691: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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:804:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        dash->pattern.pt = pt = (char *) ckalloc(strlen(value)+1);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1363:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str+strlen(str), " %d", *ptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1377: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).
		sprintf(str+strlen(str), " %d", *lptr++ & 0xff);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvUtil.c:1443:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n = strlen(p);
data/perl-tk-804.035/pTk/mTk/generic/tkCanvas.c:3404: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).
    searchPtr->stringLength = strlen(tag);
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:94:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(destPtr, srcPtr, freeCount);
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:97:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(destPtr, srcPtr, length);
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:147: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(p);
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:155:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, p, length);
data/perl-tk-804.035/pTk/mTk/generic/tkClipboard.c:399: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).
    cbPtr->length = strlen(buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkCmds.c:387: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).
	    copy = (char *) ckalloc((unsigned) (strlen(p) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkConfig.c:588:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    sprintf(msg + strlen(msg) - 1, " in widget \"%.50s\")",
data/perl-tk-804.035/pTk/mTk/generic/tkConsole.c:579: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/perl-tk-804.035/pTk/mTk/generic/tkConsole.c:655: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/perl-tk-804.035/pTk/mTk/generic/tkConsole.c:808: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).
    Tcl_DStringAppend(&command, cmd, (int) strlen(cmd));
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1058: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).
		    && (strncmp(minorCmd, "mark", strlen(minorCmd)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1062: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).
		&& (strncmp(minorCmd, "dragto", strlen(minorCmd)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:1500: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).
		formatLen = strlen(fmt);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2242: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).
    byteCount = strlen(value);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2518: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).
    valueLen = strlen(value);
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:2744: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/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4120: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).
		    && (strncmp(minorCmd, "mark", strlen(minorCmd)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkEntry.c:4124: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).
		&& (strncmp(minorCmd, "dragto", strlen(minorCmd)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:230: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).
	    if (strlen(Tcl_GetStringFromObj(ostypeList[i],NULL)) != 4) {
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:263:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len = (strlen(globi) + 1) * sizeof(char);
data/perl-tk-804.035/pTk/mTk/generic/tkFileFilter.c:366:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filterPtr->name = (char*)ckalloc((strlen(name)+1) * sizeof(char));
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:1772: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).
	numBytes = strlen(string);
data/perl-tk-804.035/pTk/mTk/generic/tkFont.c:3813:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dst, chunkPtr->start, (size_t) numBytesInChunk);
data/perl-tk-804.035/pTk/mTk/generic/tkGet.c:153: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).
	    if (strncmp(string, "center", strlen(string)) == 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkGet.c:234: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/perl-tk-804.035/pTk/mTk/generic/tkGet.c:316: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/perl-tk-804.035/pTk/mTk/generic/tkGet.c:435:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(string);
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:530:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    copyPtr->name = (char *) ckalloc((unsigned) (strlen(formatPtr->name) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:554:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    copyPtr->name = (char *) ckalloc((unsigned) (strlen(formatPtr->name) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:951: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).
			imageFormat->name, strlen(imageFormat->name)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:1483: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).
		    imageFormat->name, strlen(imageFormat->name)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:1496: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).
			imageFormat->name, strlen(imageFormat->name)) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4031: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).
		    formatPtr->name, strlen(formatPtr->name)) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4061: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).
			formatPtr->name, strlen(formatPtr->name)) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4162: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).
		    formatPtr->name, strlen(formatPtr->name)) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:4186: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).
			formatPtr->name, strlen(formatPtr->name)) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkImgPhoto.c:5866:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ptr = (OptionAssocData *) ckalloc(sizeof(OptionAssocData) + strlen(name));
data/perl-tk-804.035/pTk/mTk/generic/tkMain.c:144: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[1]);
data/perl-tk-804.035/pTk/mTk/generic/tkMenu.c:3081: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).
    doDot = parentName[strlen(parentName) - 1] != '.';
data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.c:647: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).
	  mbPtr->text = (char *) ckalloc((unsigned) (strlen(value) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkMenubutton.c:921:48:  [1] (buffer) strlen:
  Does not handle 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 = (char *) ckalloc((unsigned) (strlen(value) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkMessage.c:505: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).
	    msgPtr->string = strcpy(ckalloc(strlen(value) + 1), value);
data/perl-tk-804.035/pTk/mTk/generic/tkMessage.c:896: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).
    msgPtr->string = (char *) ckalloc((unsigned) (strlen(value) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkObj.c:527: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(buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:153: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).
		size_t length = strlen(string);
data/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:298: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/perl-tk-804.035/pTk/mTk/generic/tkOldConfig.c:432: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(Tcl_GetString(value)) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:333:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(tmp, field, (size_t) length);
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:559:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(masqClass, name, classNameLength);
data/perl-tk-804.035/pTk/mTk/generic/tkOption.c:884: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/perl-tk-804.035/pTk/mTk/generic/tkScale.c:657: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).
	scalePtr->labelLength = scalePtr->label ? strlen(scalePtr->label) : 0;
data/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.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/perl-tk-804.035/pTk/mTk/generic/tkScrollbar.c:292: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/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1289: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).
	    cmdLength = strlen(Tcl_GetString(script));
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1632: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).
	extraBytes = strlen(cmdInfoPtr->buffer);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1700:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(cmdInfoPtr->buffer, string, (size_t) length);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1811: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(name);
data/perl-tk-804.035/pTk/mTk/generic/tkSelect.c:1825: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(name);
data/perl-tk-804.035/pTk/mTk/generic/tkStyle.c:812: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).
    specPtr->name = ckalloc(strlen(templatePtr->name)+1);
data/perl-tk-804.035/pTk/mTk/generic/tkStyle.c:828: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).
	dstOptions->name = ckalloc(strlen(srcOptions->name)+1);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:378: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).
	    strcpy((char *) ckalloc(strlen(argv[3]) + 1), argv[3]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:383: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).
		strcpy((char *) ckalloc(strlen(argv[4]) + 1), argv[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1669:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    timPtr->imageName = (char *) ckalloc((unsigned) (strlen(name) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:1671:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    timPtr->varName = (char *) ckalloc((unsigned) (strlen(varName) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2261:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(int) strlen(argv[4]));
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2329: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(argv[2]);
data/perl-tk-804.035/pTk/mTk/generic/tkTest.c:2362: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).
    sprintf(buf + strlen(buf), " %d", index.byteIndex);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:240: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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:513: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/perl-tk-804.035/pTk/mTk/generic/tkText.c:860: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).
		    TkTextIndexForwBytes(&index1, (int) strlen(argv[j]),
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:1425: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).
	    offset += strlen(string);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:1461: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).
        TkTextIndexForwBytes(indexPtr, (int) strlen(string),
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2048: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/perl-tk-804.035/pTk/mTk/generic/tkText.c:2161: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).
	patLength = strlen(pattern);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2500:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(argv[i])) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2503:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(argv[i])) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2506:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(argv[i])) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2509: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).
		"numeric", strlen(argv[i])) == 0)) {
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2573:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argv[arg]);
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2617:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(argv[arg], "end", strlen(argv[arg])) == 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkText.c:2918: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/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:449:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy(segPtr->body.chars, string, MIN(chunkSize, strlen(string) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3379:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(newPtr1->body.chars, segPtr->body.chars, MIN(index, strlen(segPtr->body.chars) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3384:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(newPtr2->body.chars, segPtr->body.chars + index, strlen(segPtr->body.chars + index) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3426:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(newPtr->body.chars, segPtr->body.chars, strlen(segPtr->body.chars) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3427:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(newPtr->body.chars + segPtr->size, segPtr2->body.chars, strlen(segPtr2->body.chars) + 1);
data/perl-tk-804.035/pTk/mTk/generic/tkTextBTree.c:3497: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(segPtr->body.chars) != (size_t) segPtr->size) {
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:3668: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).
	switchLength = strlen(argv[2]);
data/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:3832: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/perl-tk-804.035/pTk/mTk/generic/tkTextDisp.c:4554: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).
    memcpy(ciPtr->chars, p, MIN(bytesThatFit, strlen(p) + 1));
data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:147: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/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:367: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(name);
data/perl-tk-804.035/pTk/mTk/generic/tkTextImage.c:377: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).
	    if (len == strlen(haveName)) {
data/perl-tk-804.035/pTk/mTk/generic/tkTextMark.c:120: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/perl-tk-804.035/pTk/mTk/generic/tkTextMark.c:143: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[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkTextTag.c:127: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/perl-tk-804.035/pTk/mTk/generic/tkTextWind.c:168: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/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:274: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).
    length = (int) strlen(valueString);
data/perl-tk-804.035/pTk/mTk/generic/tkUnixScale.c:491: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).
    length = (int) strlen(valueString);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:74: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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.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(value);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:407: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).
	    if (strncmp(value, "center", strlen(value)) != 0) {
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.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(argv[2]);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:737: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[4]);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:795: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(arg2);
data/perl-tk-804.035/pTk/mTk/generic/tkUtil.c:816: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(arg4));
data/perl-tk-804.035/pTk/mTk/generic/tkVisual.c:165: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).
	    && (strncmp(string, "default", strlen(string)) == 0))) {
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:475: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(screenName);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:529:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(dispPtr->name, screenName, length);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:807: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).
    length1 = strlen(parentPtr->pathName);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:808: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).
    length2 = strlen(name);
data/perl-tk-804.035/pTk/mTk/generic/tkWindow.c:1206:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p, pathName, (size_t) numChars);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_locale.c:588:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cn->name)==len && strncmp(cn->name, np, len)==0) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/regc_locale.c:768: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(*namePtr) == len) && (strncmp(*namePtr, np, len) == 0)) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:98:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(msg) + 1;		/* space needed, including NUL */
data/perl-tk-804.035/pTk/mTk/tclGeneric/regerror.c:103:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(errbuf, msg, errbuf_size-1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regfronts.c:53:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(str);
data/perl-tk-804.035/pTk/mTk/tclGeneric/regfronts.c:79:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(str);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:1846: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3309: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(command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3445:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(varName, tokenPtr[1].start, (size_t) tokenPtr[1].size);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:3611: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).
	numBytes = strlen(script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4119:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int length = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4170:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int length = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4221:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int length = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4417: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclBasic.c:4752:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int length = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCkalloc.c:866: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).
	curTagPtr = (MemTag *) TclpAlloc(TAG_SIZE(strlen(argv[2])));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclClock.c:309: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).
	    savedTZEnv = strcpy(ckalloc(strlen(varValue) + 1), varValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdAH.c:1224:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(int) (length - strlen(extension)));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1001:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(char *) ckalloc((unsigned) (strlen(arg) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:1005:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(char *) ckalloc((unsigned) (strlen(arg) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:2283: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).
		length2 = strlen(string2);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCmdMZ.c:4645: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).
		    (char *) ckalloc((unsigned) (strlen(command) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:821: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 (!TclIsLocalScalar(varName, (int) strlen(varName))) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:870: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).
	    int nameChars = strlen(varName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2256:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(str, varTokenPtr[1].start, (size_t) len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2314:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(newStr, str + start, (size_t) len);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompCmds.c:2317:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(newStr + 1, str + start, (size_t) len++);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompExpr.c:223: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).
	numBytes = (script? strlen(script) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:834: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).
	numBytes = strlen(script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclCompile.c:1724: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(command);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:679: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(buff) == 3) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:681:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (strlen(buff) == 4 && buff[3] == '.') {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclDate.c:717: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).
    i = strlen(buff) - 1;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:367:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tclDefaultEncodingDir = (char *)ckalloc((unsigned) strlen(path) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:743: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).
    name = ckalloc((unsigned) strlen(typePtr->encodingName) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:753: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).
	encodingPtr->lengthProc = (LengthProc *) strlen;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:977: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).
	srcLen = strlen(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1065: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).
	srcLen = strlen(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1648:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(init, argv[1], sizeof(init));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1651:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(final, argv[1], sizeof(final));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1656:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(est.sequence, argv[1], sizeof(est.sequence));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1658: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).
		est.sequenceLen = strlen(est.sequence);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1660:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(est.name, argv[0], sizeof(est.name));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1677: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).
    dataPtr->initLen = strlen(init);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEncoding.c:1679: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).
    dataPtr->finalLen = strlen(final);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:217: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).
	nameLength = strlen(name);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:248: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).
    p = (char *) ckalloc((unsigned) (nameLength + strlen(value) + 2));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:258: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).
    p = (char *) ckrealloc(p, (unsigned) (strlen(p2) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEnv.c:725: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).
    name = (char *) alloca (strlen (str) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:174:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    errPtr->errorInfo = (char *) ckalloc((unsigned) (strlen(varValue) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclEvent.c:180:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    errPtr->errorCode = (char *) ckalloc((unsigned) (strlen(varValue) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclExecute.c:1337:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(cmdNameBuf, TclGetString(objv[0]), 20);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:480: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).
			    *driveNameLengthPtr = strlen(path);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:939: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(path);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:1152: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).
	    Tcl_SetObjLength(prefix, length + (int) strlen(p));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:1191: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).
	    Tcl_SetObjLength(prefix, length + (int) strlen(p));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclFileName.c:1258: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).
	    newLength = strlen(p);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclGet.c:304: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(lowerCase);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:779: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:783: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:787: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:931: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(Tcl_HashEntry) + strlen(string) + 1 - sizeof(hPtr->key);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHash.c:935: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).
    memcpy(hPtr->key.string, string, strlen(string) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclHistory.c:52:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int length = strlen(cmd);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:1125: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).
	char *tmp = ckalloc((unsigned) (strlen(chanName) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:2726: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).
        srcLen = strlen(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:2771: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).
        srcLen = strlen(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:2869: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(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3854:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read:
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:3945:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		goto read;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6134: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6357: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:6373: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(newValue);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIO.c:8737: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).
    chanNameLen = strlen(chanName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOCmd.c:1426: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).
        copyScript = ckalloc((unsigned) strlen(script) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:650:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int gotBytes, read, res, copied;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:710:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read < 0) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOGT.c:769:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		UCHARP (buf), read, TRANSMIT_IBUF, P_PRESERVE);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:3998:25:  [1] (buffer) wcslen:
  Does not handle 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 = sizeof(WCHAR) + (wcslen((CONST WCHAR*)clientData) * sizeof(WCHAR));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:4001: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).
	len = sizeof(char) + (strlen((CONST char*)clientData) * sizeof(char));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:4005: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).
    len = sizeof(char) + (strlen((CONST char*)clientData) * sizeof(char));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIOUtil.c:4804: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).
	    Tcl_SetObjLength(res, length + (int) strlen(strElt));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclIndexObj.c:354: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(indexStr);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:192: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).
	length = (bytes? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:936: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:940: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLiteral.c:944: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c:364:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(strlen(fullFileName) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclLoad.c:495: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).
						   (strlen(pkgName) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:512:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nsPtr->name            = (char *) ckalloc((unsigned) (strlen(simpleName)+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:564:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nsPtr->fullName = (char *) ckalloc((unsigned) (strlen(name)+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:728:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            errorInfoStr = ckalloc((unsigned) (strlen(str)+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:736:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            errorCodeStr = ckalloc((unsigned) (strlen(str)+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:1005: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(pattern);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:1174: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(pattern) == 0) {
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclNamesp.c:3972: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:1615: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(buffer);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclObj.c:2280: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(buffer);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:248: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).
	numBytes = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1090: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).
	numBytes = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1389: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).
	numBytes = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1595: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).
	numBytes = strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParse.c:1703: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).
    return CommandComplete(script, (int) strlen(script));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclParseExpr.c:232: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).
	numBytes = (string? strlen(string) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclPkg.c:107:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pkgPtr->version = ckalloc((unsigned) (strlen(version) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:368: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).
        nameLength = strlen(fieldValues[0]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:370: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).
            valueLength = strlen(fieldValues[1]);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1187: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).
 	    numChars = strlen(procName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclProc.c:1226: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).
		numChars = strlen(procName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclRegexp.c:147:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (Tcl_RegExp) CompileRegexp(interp, string, (int) strlen(string),
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResolve.c:110: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).
    resPtr->name = (char*)ckalloc((unsigned)(strlen(name)+1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:246: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:409: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(iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:500: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).
  	newSpace += strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:523: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).
  	iPtr->appendUsed += strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:686: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).
	iPtr->appendUsed = strlen(iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclResult.c:694: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).
	iPtr->appendUsed = strlen(iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:209: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).
	length = (bytes? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:265: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).
	length = (bytes? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:724: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).
	length = (bytes? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1026: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).
	length = (bytes ? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1335: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).
	numBytes = (bytes ? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1375: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).
	numBytes = (bytes ? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclStringObj.c:1487: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).
	newLength += strlen(string);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:782: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).
	asyncPtr->command = (char *) ckalloc((unsigned) (strlen(argv[2]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1450:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dPtr->deleteCmd = (char *) ckalloc((unsigned) (strlen(argv[3]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1760: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(Tcl_GetStringResult(encodingPtr->interp));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:1792: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(Tcl_GetStringResult(encodingPtr->interp));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2178: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).
    write(1, buf, strlen(buf));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2188: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).
    write(1, buf, strlen(buf));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2597: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).
		stringVar = (char *) ckalloc((unsigned) (strlen(argv[5]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:2642: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).
		stringVar = (char *) ckalloc((unsigned) (strlen(argv[5]) + 1));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3580: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).
    buf = ckalloc((unsigned) strlen(argv[2]) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:3638: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5230: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(cmdName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclTest.c:5658: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(cmd);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:251: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 (script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:269: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 (script);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:377:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    errorProcString = ckalloc(strlen(proc)+1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:495: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).
    threadEvalScript = (char *) ckalloc(strlen(ctrlPtr->script)+1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:737: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).
    threadEventPtr->script = ckalloc(strlen(script) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:883: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).
	resultPtr->result = ckalloc(strlen(result) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:886: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).
	    resultPtr->errorCode = ckalloc(strlen(errorCode) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:890: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).
	    resultPtr->errorInfo = ckalloc(strlen(errorInfo) + 1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclThreadTest.c:1020: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).
	    resultPtr->result = ckalloc(strlen(msg)+1);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:410: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtf.c:794:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	result = TclParseBackslash(src, (int)strlen(src), &numRead, dst);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:447: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(list);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:602: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:727: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(src);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:960: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).
	totalSize += strlen(argv[i]) + 1;
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:981: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).
	for (length = strlen(element);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1455: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/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1521:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strSize = ((string == NULL) ? 0 : strlen(string));
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:1745: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).
    dsPtr->length = strlen(iPtr->result);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2118: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).
	return strlen(buffer);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclUtil.c:2187: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).
        length = (bytes? strlen(bytes) : 0);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:821: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).
	int varNameLen = strlen(varName);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5136: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).
	elemLen = strlen(elem);
data/perl-tk-804.035/pTk/mTk/tclGeneric/tclVar.c:5165: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).
    len2 = strlen(part2);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:124:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	mp->name = malloc((unsigned) (strlen(path) + 1));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:488:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmpsym, ls->l_name, SYMNMLEN);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAix.c:492: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).
		ep->name = malloc((unsigned) (strlen(symname) + 1));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:227:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    status= read (relocatedFd, (char *) & relocatedHead, sizeof relocatedHead);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:284:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read (relocatedFd, startAddress, relocatedSize) < relocatedSize) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:307:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    SymbolTableFile = ckalloc (strlen (relocatedFileName) + 1);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:383:31:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (*p != '\0' && (c = getc (f)) != EOF) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:406:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc (f)) != '\0' && c != EOF) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:526: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).
    r += strlen(r) - (p-q);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadAout.c:533: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).
    Tcl_DStringSetLength(bufPtr, strlen(Tcl_DStringValue(bufPtr)));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadDld.c:112: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).
	    (char *) ckalloc((unsigned) (strlen(fileName) + 1)), fileName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclLoadNext.c:124: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).
	char sym[strlen(symbol)+2];
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:466:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bytesRead = read(fsPtr->fd, buf, (size_t) toRead);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:894: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:895: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).
    vlen = strlen(value);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1015:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if (strncasecmp(argv[0], "DTR", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1026: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).
	    } else if (strncasecmp(argv[0], "RTS", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1037: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).
	    } else if (strncasecmp(argv[0], "BREAK", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:1105:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(optionName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixChan.c:2255:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(optionName);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:258: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).
		&& (strncmp(srcPath, dstPath, strlen(srcPath)) != 0)) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:470:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nread = read(srcFd, buffer, blockSize);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:577:12:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    mode = umask(0);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:578:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(mode);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1494: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(modeStringPtr) != 9) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixFCmd.c:1753: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).
	newNormLen = strlen(normPath);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixNotfy.c:1091:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    i = read(receivePipe, buf, 1);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:203:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (fileName[strlen(fileName) - 1] != '/') {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:204:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(fileName, "/");				/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:216: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).
	if (write(fd, native, strlen(native)) == -1) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:255:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (fileName[strlen(fileName) - 1] != '/') {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:256:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(fileName, "/");		/* INTL: Native. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:448: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/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:459: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/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:488: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/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixPipe.c:1016:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bytesRead = read (GetFd(psPtr->inFile), buf, (size_t) toRead);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:271:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (read(GetFd(pipePtr->readFile), buffer, 4000) > 0) {
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTest.c:561: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).
	    ckalloc((unsigned) strlen(argv[1]) + 1);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclUnixTime.c:368: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).
	return(strlen(s));
data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtNotify.c:29:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    XtInputId read;		/* Xt read callback handle. */
data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtNotify.c:391:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    XtRemoveInput(filePtr->read);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtNotify.c:474:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	XtRemoveInput(filePtr->read);
data/perl-tk-804.035/pTk/mTk/tclUnix/tclXtNotify.c:517:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (*id == filePtr->read) {
data/perl-tk-804.035/pTk/mTk/tclWin/cat.c:26:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(0, buf, sizeof(buf));
data/perl-tk-804.035/pTk/mTk/tclWin/cat.c:33: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).
    write(2, err, strlen(err));
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:150:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, strlen(msg), &err, NULL);
data/perl-tk-804.035/pTk/mTk/tclWin/nmakehlp.c:245:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, strlen(msg), &err, NULL);
data/perl-tk-804.035/pTk/mTk/tclWin/tclAppInit.c:319: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).
	    (unsigned) (size * sizeof(char *) + strlen(cmdLine) + 1));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinDde.c:294: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).
    riPtr->name = ckalloc(strlen(name) + 1);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinDde.c:1311: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).
		    Tcl_SetObjLength(resultPtr, (int) strlen(string));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c:1028:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(path);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFCmd.c:1245: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(data.a.cFileName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:335:22:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   sizeof(WCHAR)*(1+wcslen((WCHAR*)LinkTarget)));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:336:11:  [1] (buffer) wcslen:
  Does not handle 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 = wcslen(nativeTarget);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:353:7:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      wcslen(nativeTarget) * sizeof(WCHAR);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:1336:8:  [1] (buffer) wcslen:
  Does not handle 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 = wcslen(path);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinFile.c:2282:15:  [1] (buffer) wcslen:
  Does not handle 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) (wcslen(nativeName)*sizeof(WCHAR)));
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinInit.c:747: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/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1392:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    DWORD attr, read;
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1455:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ReadFile(hFile, (void *) &header, sizeof(header), &read, NULL);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinPipe.c:1490:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ReadFile(hFile, (void *) buf, 2, &read, NULL);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1592: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1593: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).
    vlen = strlen(value);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1752: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 (strnicmp(argv[0], "DTR", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1761:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            } else if (strnicmp(argv[0], "RTS", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1770: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).
            } else if (strnicmp(argv[0], "BREAK", strlen(argv[0])) == 0) {
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSerial.c:1929: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinSock.c:2062: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(optionName);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:498:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(zone);
data/perl-tk-804.035/pTk/mTk/tclWin/tclWinTime.c:511:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(zone);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:270: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).
    if (!parsePtr->superClass || strlen(parsePtr->superClass) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:354: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).
    buff = (char*)ckalloc((strlen(opts)+1) * sizeof(char));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixClass.c:861: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(method);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:105:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(argv[0], "tixWidgetDoWhenIdle", strlen(argv[0]))== 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:247: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(argv[1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:633: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).
    n = strlen(from);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCmds.c:634: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).
    l = strlen(to);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixCompat.c:30:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(s)+1;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c:232:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argv[n]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDItem.c:289:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argvName);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiITxt.c:546: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).
	itPtr->numChars = strlen(Tcl_GetString(itPtr->text));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:230: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(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:599:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(Tk_PathName(ddPtr->tkwin)));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:602: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).
	Tcl_DStringAppend(&dString, diTypePtr->name, strlen(diTypePtr->name));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiStyle.c:946: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 (value == NULL || strlen(Tcl_GetString(value)) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixDiText.c:411: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).
	itPtr->numChars = strlen(Tcl_GetString(itPtr->text));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixForm.c:406: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(argv[1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixFormMisc.c:310:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(value);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrRC.c:64:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrSort.c:174: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrSort.c:241:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrUtl.c:132:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp("-size", argv[i], strlen(argv[i])) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1745: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(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:1903: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2077:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2219: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(argv[-1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:2230: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixGrid.c:3299:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLCol.c:205:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLHdr.c:455: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).
	if (strncmp(argv[i], "-itemtype", strlen(argv[i])) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHLInd.c:154:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:714: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(argv[-1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:725: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:825: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1051:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:1599:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2794: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(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2884: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).
	    pathName = ckalloc(strlen(parentName)+1+ strlen(name)+1);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2884: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).
	    pathName = ckalloc(strlen(parentName)+1+ strlen(name)+1);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixHList.c:2925:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(parentName, pathName, (size_t) numChars);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:500:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t length = strlen(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:574: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:581: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgCmp.c:666: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:747: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).
	colorName = (char*)ckalloc(strlen(colorDefn));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:748: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).
	useName   = (char*)ckalloc(strlen(colorDefn));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:799:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(colors[i].cstring, masterPtr->data[i+lOffset],
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixImgXpm.c:955: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixInit.c:212:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (tixOption.tixlibrary == 0 || strlen(tixOption.tixlibrary) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixInputO.c:271: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:332: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(superclass) == 0) {
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:349: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).
    conLen = strlen(context);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:350: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).
    max = conLen + strlen(method) + 3;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:354:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(buff+conLen, ":");
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMethod.c:558: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).
    int len = strlen(method);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:189: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:272:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(string);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:482: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:526: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).
    ptPtr->messageLen  = strlen(message);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixMwm.c:631:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	Tcl_DStringAppend(&dString, tmp, (int)strlen(tmp));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixNBFrame.c:445: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/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:152: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(flag);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.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).
    conLen = strlen(classRec);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixOption.c:185: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).
    max = conLen + strlen(flag) + 1;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:419: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(wPtr->orientUid);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1166: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(argv[i]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1291:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:1885:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:2040: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(argv[-1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixTList.c:2054: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(argv[0]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:170: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(argv[1]);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:186: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).
	    s->namelen = strlen(s->name);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:332: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(format) + strlen(tclName)*4 + strlen(initFile)*3
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:332: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).
    size = strlen(format) + strlen(tclName)*4 + strlen(initFile)*3
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:332:49:  [1] (buffer) strlen:
  Does not handle 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(format) + strlen(tclName)*4 + strlen(initFile)*3
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:333:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	+ strlen(appName) + strlen(envName) + 100;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:333: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).
	+ strlen(appName) + strlen(envName) + 100;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:434:2:  [1] (buffer) strlen:
  Does not handle 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(Tk_PathName(tkwin)));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:436: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).
    Tcl_DStringAppend(&dString, subPath, strlen(subPath));
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:703:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(value);
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixUtils.c:1083: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).
	    *lengthPtr = objPtr ? strlen(objPtr) : 0;
data/perl-tk-804.035/pTk/mTk/tixGeneric/tixWidget.c:78: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).
    rootCmd = ckalloc(strlen(widRec)+10);
data/perl-tk-804.035/pTk/mTk/tixWin/tkConsole80.c:389: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/perl-tk-804.035/pTk/mTk/tixWin/tkConsole80.c:462: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/perl-tk-804.035/pTk/mTk/tixWin/tkConsole80.c:608: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/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:147:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, tempbuffer, cbBuffer-1);
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:232:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(symbol, pSymbolTable->N.ShortName, 8);
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:333:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(symbol, ((char*)pBuffer) + 6, length);
data/perl-tk-804.035/pTk/mTk/tixWin/winDumpExts.c:492: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).
		pos += strlen(&cmdline[pos]) + 1;
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2266: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).
	seen += strlen(seen) + 1;
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2268:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    Tcl_DStringAppend(dsPtr, (char *) name, (int) (strlen(name) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixFont.c:2532: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).
    subFont.name = ckalloc(strlen(nameList[nameIdx])+1);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixMenu.c:1305: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).
	    char *helpMenuName = ckalloc(strlen(Tk_PathName(
data/perl-tk-804.035/pTk/mTk/unix/tkUnixMenu.c:1306:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    masterMenuPtr->tkwin)) + strlen(".help") + 1);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:344: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(incrPtr->converts[i].buffer);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:665:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(propData, (char *) propInfo, numItems);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1568:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(atomName, field, (unsigned) length);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1629: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).
	    fieldSize = strlen(atomName) + 1;
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1641:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(newResult, result, (unsigned) curSize);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSelect.c:1654: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).
	curSize += strlen(result+curSize);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:490: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).
    idLength = strlen(id);
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:491: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).
    newBytes = idLength + strlen(name) + 1;
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:648: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).
	Tcl_Obj *temp = Tcl_NewStringObj(property,strlen(property));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:868:48:  [1] (buffer) strlen:
  Does not handle 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->name = (char *) ckalloc((unsigned) (strlen(actualName) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:936: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/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1129:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pending.result = (char *) ckalloc((unsigned) (strlen(msg) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1655: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).
			    (strlen(resultString) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1661: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(errorInfo) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1666: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(errorCode) + 1));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixSend.c:1760:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    (strlen(pcPtr->target) + 50));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:4897:48:  [1] (buffer) strlen:
  Does not handle 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 unsigned char*)string, (signed int)strlen(string));
data/perl-tk-804.035/pTk/mTk/unix/tkUnixWm.c:4913: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).
		(signed int)strlen(wmPtr->iconName));
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:150:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, strlen(msg), &err, NULL);
data/perl-tk-804.035/pTk/mTk/win/nmakehlp.c:245:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, strlen(msg), &err, NULL);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1489: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).
	p+= strlen(defaultFilter);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1513: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).
	filterStr = ckalloc((unsigned int) strlen(string) * 3);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1524: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(filterPtr->name);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1543:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			p+= strlen(sep);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1545:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			p+= strlen(globPtr->pattern);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1725:17:  [1] (buffer) lstrcpyn:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                lstrcpyn(cdCBData.utfInitDir, saveDir, MAX_PATH);
data/perl-tk-804.035/pTk/mTk/win/tkWinDialog.c:1903:13:  [1] (buffer) lstrcpyn:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            lstrcpyn (string, Tcl_DStringValue(&initDirString), MAX_PATH);
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1856: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).
	seen += strlen(seen) + 1;
data/perl-tk-804.035/pTk/mTk/win/tkWinFont.c:1858:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    Tcl_DStringAppend(dsPtr, (char *) name, (int) (strlen(name) + 1));
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:491: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).
    display->display_name = (char *) ckalloc(strlen(display_name)+1);
data/perl-tk-804.035/pTk/mTk/win/tkWinX.c:696:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = read(ConnectionNumber(display), &msg, sizeof(MSG));
data/perl-tk-804.035/pTk/mTk/win/winMain.c:303: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).
	    (unsigned) (size * sizeof(char *) + strlen(cmdLine) + 1));
data/perl-tk-804.035/pTk/mTk/xlib/xcolors.c:890: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).
	if ((i = (int) strlen(spec+1))%3) {
data/perl-tk-804.035/pTk/strdup.c:6: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).
 char *p = (char *) malloc(strlen(s)+1);
data/perl-tk-804.035/pTk/tkProperty.c:130:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int l = strlen(s);
data/perl-tk-804.035/pTk/tkProperty.c:241: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(Tcl_GetString(args[1]));
data/perl-tk-804.035/ppport.h:6692:79:  [1] (buffer) strlen:
  Does not handle 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 vnewSVpvf(pat, args) ({ SV *_sv = newSV(0); sv_vsetpvfn(_sv, (pat), strlen((pat)), (args), Null(SV**), 0, Null(bool*)); _sv; })
data/perl-tk-804.035/ppport.h:6694:79:  [1] (buffer) strlen:
  Does not handle 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 vnewSVpvf(pat, args) ((PL_Sv = newSV(0)), sv_vsetpvfn(PL_Sv, (pat), strlen((pat)), (args), Null(SV**), 0, Null(bool*)), PL_Sv)
data/perl-tk-804.035/ppport.h:6699:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/perl-tk-804.035/ppport.h:6703:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/perl-tk-804.035/ppport.h:6724: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/perl-tk-804.035/ppport.h:6753: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/perl-tk-804.035/ppport.h:6774: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).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/perl-tk-804.035/ppport.h:6797: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/perl-tk-804.035/ppport.h:6826: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/perl-tk-804.035/ppport.h:6847: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).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/perl-tk-804.035/ppport.h:8403:65:  [1] (buffer) strlen:
  Does not handle 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 HvNAMELEN_get(hv)              (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0)
data/perl-tk-804.035/ppport.h:9018: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).
        STRLEN len = strlen(radix);
data/perl-tk-804.035/ppport.h:9613: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).
    return strlen(buffer);
data/perl-tk-804.035/ppport.h:9654: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).
    used = strlen(dst);
data/perl-tk-804.035/ppport.h:9655: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(src);
data/perl-tk-804.035/ppport.h:9685: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(src);
data/perl-tk-804.035/tkGlue.c:338:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
 s = strncpy(ckalloc(i + 1), SvPV(sv, na), i);
data/perl-tk-804.035/tkGlue.c:537: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).
 STRLEN len = strlen(key);
data/perl-tk-804.035/tkGlue.c:720: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 len = (string) ? strlen(string) : 0;
data/perl-tk-804.035/tkGlue.c:995: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).
 *sp = sv = (s && *s) ? TagIt(newSVpv(s, strlen(s)),"LangSetDefault") : &PL_sv_undef;
data/perl-tk-804.035/tkGlue.c:1197: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).
 sv_vsetpvfn(sv, fmt, strlen(fmt), &ap, Null(SV**), 0, NULL);
data/perl-tk-804.035/tkGlue.c:1314:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   SV **x = hv_fetch(hv, path, strlen(path), 0);
data/perl-tk-804.035/tkGlue.c:1328: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).
 SV **x = hv_fetch(hv, path, strlen(path), 0);
data/perl-tk-804.035/tkGlue.c:1446: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).
 x = hv_fetch(fonts, name, strlen(name), 0);
data/perl-tk-804.035/tkGlue.c:1464: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).
   hv_store(fonts, name, strlen(name), sv, 0);
data/perl-tk-804.035/tkGlue.c:3196: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).
   STRLEN cmdLen = strlen(cmdName);
data/perl-tk-804.035/tkGlue.c:3269: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).
    hv_delete(hash, XEVENT_KEY, strlen(XEVENT_KEY), G_DISCARD);
data/perl-tk-804.035/tkGlue.c:3314: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).
 STRLEN cmdLen = strlen(cmdName);
data/perl-tk-804.035/tkGlue.c:3351: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).
 STRLEN cmdLen = strlen(cmdName);
data/perl-tk-804.035/tkGlue.c:3499: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).
 hv_store(cm,cmdName,strlen(cmdName),
data/perl-tk-804.035/tkGlue.c:3509: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).
 SV **svp = hv_fetch(hv,cmdName,strlen(cmdName),0);
data/perl-tk-804.035/tkGlue.c:3521: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).
   SV **svp = hv_fetch(cm,cmdName,strlen(cmdName),0);
data/perl-tk-804.035/tkGlue.c:3568: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).
     SV **x = hv_fetch(hv, part2, strlen(part2), store);
data/perl-tk-804.035/tkGlue.c:3659:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(arg);
data/perl-tk-804.035/tkGlue.c:3895: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).
 SV *name = newSVpv(BASEEXT,strlen(BASEEXT));
data/perl-tk-804.035/tkGlue.c:4113: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).
     STRLEN l = strlen(name);
data/perl-tk-804.035/tkGlue.c:4441: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).
   sv = newSVpv(command,strlen(command));
data/perl-tk-804.035/tkGlue.c:4524: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).
   SV **x = hv_fetch(cm,key,strlen(key),0);
data/perl-tk-804.035/tkGlue.c:4596: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).
   SV **x = hv_fetch(cm,key,strlen(key),0);
data/perl-tk-804.035/tkGlue.c:4621: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).
       hv_store(hash, XEVENT_KEY, strlen(XEVENT_KEY), e, 0);
data/perl-tk-804.035/tkGlue.c:4632: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).
       hv_delete(hash, XEVENT_KEY, strlen(XEVENT_KEY), G_DISCARD);
data/perl-tk-804.035/tkGlue.c:4704: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).
     hv_store(hash, XEVENT_KEY, strlen(XEVENT_KEY), e, 0);
data/perl-tk-804.035/tkGlue.c:4717: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).
     hv_delete(hash, XEVENT_KEY, strlen(XEVENT_KEY), G_DISCARD);
data/perl-tk-804.035/tkGlue.c:4869: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).
       SV **x = hv_fetch(hash,GEOMETRY_KEY,strlen(GEOMETRY_KEY),0);
data/perl-tk-804.035/tkGlue.c:4878: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).
         hv_store(hash,GEOMETRY_KEY,strlen(GEOMETRY_KEY),mgr_sv, 0);
data/perl-tk-804.035/tkGlue.c:4993:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
     strcpy(result, "@");
data/perl-tk-804.035/tkGlue.c:4995: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(result, ",");
data/perl-tk-804.035/tkGlue.c:5371: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).
 SvCUR_set(tmp,strlen(cstring));
data/perl-tk-804.035/tkGlue.c:5451: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).
 SV **x  = hv_fetch(cm, name, strlen(name), 0);
data/perl-tk-804.035/tkGlue.c:5479: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).
 hv_store(cm,name,strlen(name),d,0);
data/perl-tk-804.035/tkGlue.c:5624: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).
    SV *svkey = newSVpv((char *)key,strlen(key));

ANALYSIS SUMMARY:

Hits = 3005
Lines analyzed = 583577 in approximately 14.59 seconds (40005 lines/second)
Physical Source Lines of Code (SLOC) = 356968
Hits@level = [0] 1161 [1] 726 [2] 1703 [3]  82 [4] 475 [5]  19
Hits@level+ = [0+] 4166 [1+] 3005 [2+] 2279 [3+] 576 [4+] 494 [5+]  19
Hits/KSLOC@level+ = [0+] 11.6705 [1+] 8.41812 [2+] 6.38433 [3+] 1.61359 [4+] 1.38388 [5+] 0.0532261
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.