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/ivtools-2.0.4a1/src/AceDispatch/ace_dispatcher.cc
Examining data/ivtools-2.0.4a1/src/AceDispatch/ace_dispatcher.h
Examining data/ivtools-2.0.4a1/src/AceDispatch/ace_iohandler.cc
Examining data/ivtools-2.0.4a1/src/AceDispatch/ace_iohandler.h
Examining data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc
Examining data/ivtools-2.0.4a1/src/AttrGlyph/attredit.h
Examining data/ivtools-2.0.4a1/src/Attribute/_comterp.h
Examining data/ivtools-2.0.4a1/src/Attribute/_comutil.h
Examining data/ivtools-2.0.4a1/src/Attribute/alist.cc
Examining data/ivtools-2.0.4a1/src/Attribute/alist.h
Examining data/ivtools-2.0.4a1/src/Attribute/aliterator.cc
Examining data/ivtools-2.0.4a1/src/Attribute/aliterator.h
Examining data/ivtools-2.0.4a1/src/Attribute/attribute.cc
Examining data/ivtools-2.0.4a1/src/Attribute/attribute.h
Examining data/ivtools-2.0.4a1/src/Attribute/attrlist.cc
Examining data/ivtools-2.0.4a1/src/Attribute/attrlist.h
Examining data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc
Examining data/ivtools-2.0.4a1/src/Attribute/attrvalue.h
Examining data/ivtools-2.0.4a1/src/Attribute/classid.h
Examining data/ivtools-2.0.4a1/src/Attribute/commodule.cc
Examining data/ivtools-2.0.4a1/src/Attribute/commodule.h
Examining data/ivtools-2.0.4a1/src/Attribute/lexscan.cc
Examining data/ivtools-2.0.4a1/src/Attribute/lexscan.h
Examining data/ivtools-2.0.4a1/src/Attribute/paramlist.cc
Examining data/ivtools-2.0.4a1/src/Attribute/paramlist.h
Examining data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc
Examining data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.h
Examining data/ivtools-2.0.4a1/src/ComGlyph/comtextedit.cc
Examining data/ivtools-2.0.4a1/src/ComGlyph/comtextedit.h
Examining data/ivtools-2.0.4a1/src/ComGlyph/comtextview.cc
Examining data/ivtools-2.0.4a1/src/ComGlyph/comtextview.h
Examining data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc
Examining data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.h
Examining data/ivtools-2.0.4a1/src/ComTerp/_comterp.h
Examining data/ivtools-2.0.4a1/src/ComTerp/_comutil.h
Examining data/ivtools-2.0.4a1/src/ComTerp/assignfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/assignfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/bitfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/bitfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/boolfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/boolfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/bquotefunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/bquotefunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/charfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/charfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/comfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/comhandler.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/comhandler.h
Examining data/ivtools-2.0.4a1/src/ComTerp/commodule.h
Examining data/ivtools-2.0.4a1/src/ComTerp/comterp.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/comterp.h
Examining data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/comterpserv.h
Examining data/ivtools-2.0.4a1/src/ComTerp/comvalue.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/comvalue.h
Examining data/ivtools-2.0.4a1/src/ComTerp/condfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/condfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/debugfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/debugfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/dotfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/dotfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/helpfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/iofunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/lexscan.h
Examining data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/listfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/mathfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/mathfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/numfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/parsefunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/parsefunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/parser.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/parser.h
Examining data/ivtools-2.0.4a1/src/ComTerp/postfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/postfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/randfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/randfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/scanner.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/scanner.h
Examining data/ivtools-2.0.4a1/src/ComTerp/statfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/statfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/strmfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/strmfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/timefunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/timefunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/typefunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/typefunc.h
Examining data/ivtools-2.0.4a1/src/ComTerp/xformfunc.cc
Examining data/ivtools-2.0.4a1/src/ComTerp/xformfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comeditor.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comeditor.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comterp-acehandler.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comterp-acehandler.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comterp-iohandler.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/comterp-iohandler.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/dialogfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/dialogfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grdotfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grdotfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grlistfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grlistfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/groupfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/groupfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grstatfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grstatfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grstrmfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/grstrmfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/highlightfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/highlightfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/nfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/nfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.h
Examining data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc
Examining data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.h
Examining data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/_parser.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/_scanner.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/atox.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/comerr.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/comterp.h
Examining data/ivtools-2.0.4a1/src/ComUtil/comutil.h
Examining data/ivtools-2.0.4a1/src/ComUtil/dmm.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/errfile.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/errsys.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/funcptrs.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/mblock.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/optable.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/popen2.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/symbols.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/types.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/util.cc
Examining data/ivtools-2.0.4a1/src/ComUtil/util.h
Examining data/ivtools-2.0.4a1/src/ComUtil/xdll.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/dispatcher.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/iohandler.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/netinet_in.h
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcbuf.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpchdr.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcpeer.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcreader.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcregistry.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcservice.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcstream.cc
Examining data/ivtools-2.0.4a1/src/Dispatch/rpcwriter.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/ackback-handler.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/ackback-handler.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawclasses.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcmds.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcmds.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcomps.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcomps.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcreator.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawcreator.h
Examining data/ivtools-2.0.4a1/src/DrawServ/draweditor.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/draweditor.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawfunc.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawfunc.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawimport.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawimport.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawkit.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawkit.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlink.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlink.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlinkcomp.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlinkcomp.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlinklist.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawlinklist.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawserv-handler.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawserv-handler.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawserv.h
Examining data/ivtools-2.0.4a1/src/DrawServ/drawviews.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/drawviews.h
Examining data/ivtools-2.0.4a1/src/DrawServ/grid.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/grid.h
Examining data/ivtools-2.0.4a1/src/DrawServ/gridlist.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/gridlist.h
Examining data/ivtools-2.0.4a1/src/DrawServ/linkselection.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/linkselection.h
Examining data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/rcdialog.h
Examining data/ivtools-2.0.4a1/src/DrawServ/sid.cc
Examining data/ivtools-2.0.4a1/src/DrawServ/sid.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecatalog.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecatalog.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameclasses.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecomps.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecomps.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecreator.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framecreator.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameeditor.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameeditor.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framefile.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framefile.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framefunc.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framefunc.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameimport.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameimport.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framekit.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framekit.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameps.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameps.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameviewer.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameviewer.h
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameviews.cc
Examining data/ivtools-2.0.4a1/src/FrameUnidraw/frameviews.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/edgecomp.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/edgecomp.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcatalog.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcatalog.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphclasses.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcmds.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcmds.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcomp.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcomp.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcreator.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphcreator.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphdata.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphdata.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphdialog.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphdialog.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/grapheditor.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/grapheditor.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphimport.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphimport.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphkit.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphkit.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphtools.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/graphtools.h
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/nodecomp.cc
Examining data/ivtools-2.0.4a1/src/GraphUnidraw/nodecomp.h
Examining data/ivtools-2.0.4a1/src/IV-2_6/adjuster2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/banner.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/border2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/box2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/button2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/compeditor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/control.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/deck2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/dialog2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/filechooser.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/frame.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/glue2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/interactor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/matcheditor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/menu2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/message.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/painter.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/panner2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/perspective.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubband.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubcurve.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubgroup.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubline.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubrect.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/rubverts.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/scene.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/scrollbar2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/scroller2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/sensor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/shape.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/strchooser.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/subject.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/textbuffer.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/textdisplay.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/texteditor.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/tform2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/tray.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/viewport.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/world.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/xbitmap2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/xevent2_6.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/xinter.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/xpainter.cc
Examining data/ivtools-2.0.4a1/src/IV-2_6/xpattern.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/glcontext.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/wtable.h
Examining data/ivtools-2.0.4a1/src/IV-X11/xbitmap.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xbrush.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xcanvas.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xcolor.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xcursor.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xdrag.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xevent.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xfont.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xraster.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xreqerr.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xselection.cc
Examining data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdtable.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdtable.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/boolform.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/boolform.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/charfield.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/charfield.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/dragedit.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/dragedit.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/enumform.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/enumform.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/exportchooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/exportchooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/figure.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/figure.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/gdialogs.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/gdialogs.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/globals.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/globals.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/idraw.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/importchooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/importchooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/namestate.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/observables.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/observables.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/odialogs.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/odialogs.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/printchooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/printchooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/saveaschooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/saveaschooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/scrollable.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/scrollable.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/strchooser.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/strchooser.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/stredit.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/stredit.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/strlist.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/strlist.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/textbuff.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/textedit.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/textedit.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/texteditor.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/texteditor.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/textform.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/textform.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/textview.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/textview.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/textwindow.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/textwindow.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/timeglyph.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/timeglyph.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/toolbutton.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/toolbutton.h
Examining data/ivtools-2.0.4a1/src/IVGlyph/valuator.cc
Examining data/ivtools-2.0.4a1/src/IVGlyph/valuator.h
Examining data/ivtools-2.0.4a1/src/InterViews/action.cc
Examining data/ivtools-2.0.4a1/src/InterViews/adjust.cc
Examining data/ivtools-2.0.4a1/src/InterViews/aggr.cc
Examining data/ivtools-2.0.4a1/src/InterViews/align.cc
Examining data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc
Examining data/ivtools-2.0.4a1/src/InterViews/arrcomp.cc
Examining data/ivtools-2.0.4a1/src/InterViews/background.cc
Examining data/ivtools-2.0.4a1/src/InterViews/bevel.cc
Examining data/ivtools-2.0.4a1/src/InterViews/border.cc
Examining data/ivtools-2.0.4a1/src/InterViews/box.cc
Examining data/ivtools-2.0.4a1/src/InterViews/browser.cc
Examining data/ivtools-2.0.4a1/src/InterViews/button.cc
Examining data/ivtools-2.0.4a1/src/InterViews/character.cc
Examining data/ivtools-2.0.4a1/src/InterViews/composition.cc
Examining data/ivtools-2.0.4a1/src/InterViews/compositor.cc
Examining data/ivtools-2.0.4a1/src/InterViews/debug.cc
Examining data/ivtools-2.0.4a1/src/InterViews/deck.cc
Examining data/ivtools-2.0.4a1/src/InterViews/dialogs.cc
Examining data/ivtools-2.0.4a1/src/InterViews/fbrowser.cc
Examining data/ivtools-2.0.4a1/src/InterViews/fchooser.cc
Examining data/ivtools-2.0.4a1/src/InterViews/field.cc
Examining data/ivtools-2.0.4a1/src/InterViews/geometry.cc
Examining data/ivtools-2.0.4a1/src/InterViews/glyph.cc
Examining data/ivtools-2.0.4a1/src/InterViews/group.cc
Examining data/ivtools-2.0.4a1/src/InterViews/handler.cc
Examining data/ivtools-2.0.4a1/src/InterViews/hit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/image.cc
Examining data/ivtools-2.0.4a1/src/InterViews/input.cc
Examining data/ivtools-2.0.4a1/src/InterViews/kit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/label.cc
Examining data/ivtools-2.0.4a1/src/InterViews/layout.cc
Examining data/ivtools-2.0.4a1/src/InterViews/lrmarker.cc
Examining data/ivtools-2.0.4a1/src/InterViews/menu.cc
Examining data/ivtools-2.0.4a1/src/InterViews/mf_dialogs.cc
Examining data/ivtools-2.0.4a1/src/InterViews/mf_kit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/mono_kit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/monoglyph.cc
Examining data/ivtools-2.0.4a1/src/InterViews/observe.cc
Examining data/ivtools-2.0.4a1/src/InterViews/ol_dialogs.cc
Examining data/ivtools-2.0.4a1/src/InterViews/ol_kit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/page.cc
Examining data/ivtools-2.0.4a1/src/InterViews/patch.cc
Examining data/ivtools-2.0.4a1/src/InterViews/place.cc
Examining data/ivtools-2.0.4a1/src/InterViews/polyglyph.cc
Examining data/ivtools-2.0.4a1/src/InterViews/printer.cc
Examining data/ivtools-2.0.4a1/src/InterViews/psfont.cc
Examining data/ivtools-2.0.4a1/src/InterViews/regexp.cc
Examining data/ivtools-2.0.4a1/src/InterViews/resource.cc
Examining data/ivtools-2.0.4a1/src/InterViews/rule.cc
Examining data/ivtools-2.0.4a1/src/InterViews/scrbox.cc
Examining data/ivtools-2.0.4a1/src/InterViews/session.cc
Examining data/ivtools-2.0.4a1/src/InterViews/shadow.cc
Examining data/ivtools-2.0.4a1/src/InterViews/simpcomp.cc
Examining data/ivtools-2.0.4a1/src/InterViews/slider.cc
Examining data/ivtools-2.0.4a1/src/InterViews/smf_kit.cc
Examining data/ivtools-2.0.4a1/src/InterViews/stencil.cc
Examining data/ivtools-2.0.4a1/src/InterViews/stepper.cc
Examining data/ivtools-2.0.4a1/src/InterViews/style.cc
Examining data/ivtools-2.0.4a1/src/InterViews/superpose.cc
Examining data/ivtools-2.0.4a1/src/InterViews/target.cc
Examining data/ivtools-2.0.4a1/src/InterViews/telltale.cc
Examining data/ivtools-2.0.4a1/src/InterViews/texcomp.cc
Examining data/ivtools-2.0.4a1/src/InterViews/tformsetter.cc
Examining data/ivtools-2.0.4a1/src/InterViews/tiff.cc
Examining data/ivtools-2.0.4a1/src/InterViews/tile.cc
Examining data/ivtools-2.0.4a1/src/InterViews/transformer.cc
Examining data/ivtools-2.0.4a1/src/InterViews/xymarker.cc
Examining data/ivtools-2.0.4a1/src/OS/directory.cc
Examining data/ivtools-2.0.4a1/src/OS/file.cc
Examining data/ivtools-2.0.4a1/src/OS/host.cc
Examining data/ivtools-2.0.4a1/src/OS/listimpl.cc
Examining data/ivtools-2.0.4a1/src/OS/math.cc
Examining data/ivtools-2.0.4a1/src/OS/memory.cc
Examining data/ivtools-2.0.4a1/src/OS/string.cc
Examining data/ivtools-2.0.4a1/src/OS/ustring.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/algebra3.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/annotate.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/annotate.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/attrtool.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/attrtool.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/clipline.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/clipline.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/cliplinepoly.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/cliplinepoly.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/clippoly.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/clippoly.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/grayraster.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/grayraster.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/grloctool.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/grloctool.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/indexmixins.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/indexmixins.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/leafwalker.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/leafwalker.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovabout.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovabout.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovadjuster.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovadjuster.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovarrow.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovarrow.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcamcmds.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcamcmds.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovchainview.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovchainview.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovclasses.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovclip.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovclip.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcreator.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcreator.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovctrl.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovctrl.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdamage.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdamage.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdialog.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdialog.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdoer.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdoer.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/oved.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/oved.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovellipse.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovellipse.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfile.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfile.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfixview.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfixview.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovline.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovline.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovmanips.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovmanips.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpage.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpage.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpainter.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpainter.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpanner.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpanner.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpolygon.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpolygon.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprecise.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprecise.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpspict.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpspict.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpsview.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovpsview.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrect.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrect.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovselect.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovselect.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovselection.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovselection.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovshowhide.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovshowhide.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovspline.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovspline.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstates.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstates.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstencil.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstencil.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovunidraw.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovunidraw.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovvars.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovvars.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovvertices.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovvertices.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovviewer.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovviewer.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovviews.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ovviews.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/paramlist.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/phold.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ptinpoly.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/ptinpoly.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/rastercmds.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/rastercmds.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/setattrbyexpr.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/setattrbyexpr.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/slctbyattr.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/slctbyattr.h
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc
Examining data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.h
Examining data/ivtools-2.0.4a1/src/TIFF/machdep.h
Examining data/ivtools-2.0.4a1/src/TIFF/mkg3states.c
Examining data/ivtools-2.0.4a1/src/TIFF/mkspans.c
Examining data/ivtools-2.0.4a1/src/TIFF/prototypes.h
Examining data/ivtools-2.0.4a1/src/TIFF/t4.h
Examining data/ivtools-2.0.4a1/src/TIFF/tif_aux.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_ccittrle.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_close.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_compat.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_compress.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_dir.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_dirinfo.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_dumpmode.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_error.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_fax3.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_fax3.h
Examining data/ivtools-2.0.4a1/src/TIFF/tif_fax4.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_flush.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_getimage.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_jpeg.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_lzw.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_machdep.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_next.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_open.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_packbits.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_print.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_read.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_strip.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_swab.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_thunder.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_tile.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_version.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_warning.c
Examining data/ivtools-2.0.4a1/src/TIFF/tif_write.c
Examining data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h
Examining data/ivtools-2.0.4a1/src/TIFF/tiffioP.h
Examining data/ivtools-2.0.4a1/src/Time/Date.cc
Examining data/ivtools-2.0.4a1/src/Time/Date.h
Examining data/ivtools-2.0.4a1/src/Time/Time.cc
Examining data/ivtools-2.0.4a1/src/Time/Time_.h
Examining data/ivtools-2.0.4a1/src/Time/obstime.cc
Examining data/ivtools-2.0.4a1/src/Time/obstime.h
Examining data/ivtools-2.0.4a1/src/TopoFace/fgeomobjs.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/fgeomobjs.h
Examining data/ivtools-2.0.4a1/src/TopoFace/topoedge.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/topoedge.h
Examining data/ivtools-2.0.4a1/src/TopoFace/topoedgelist.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/topoedgelist.h
Examining data/ivtools-2.0.4a1/src/TopoFace/topoelt.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/topoelt.h
Examining data/ivtools-2.0.4a1/src/TopoFace/topoface.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/topoface.h
Examining data/ivtools-2.0.4a1/src/TopoFace/toponode.cc
Examining data/ivtools-2.0.4a1/src/TopoFace/toponode.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrow.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrow.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrowhead.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrowhead.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrows.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idarrows.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idclasses.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcmds.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcmds.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcomp.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcomp.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcreator.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idcreator.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/iddialogs.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/iddialogs.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/ided.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/ided.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idkybd.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idkybd.h
Examining data/ivtools-2.0.4a1/src/UniIdraw/idvars.cc
Examining data/ivtools-2.0.4a1/src/UniIdraw/idvars.h
Examining data/ivtools-2.0.4a1/src/Unidraw/align.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/brushcmd.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/catalog.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/cglue.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/clipboard.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/colorcmd.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/command.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/component.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/compview.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/connect.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/connector.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/creator.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/csolver.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ctrlinfo.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/damage.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/data.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/datas.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/edit.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/editor.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/editorinfo.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ellipse.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ellipses.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/externview.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/font.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/geomobjs.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/globals.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/graphic.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/grblock.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/grcomp.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/grcomptool.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/grid.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/grview.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/gvupdater.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/import.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/iterator.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/keymap.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/kybd.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/line.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/lines.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/link.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/macro.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/magnify.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/manip.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/manips.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/move.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/nop.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/pad.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/patcmd.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/path.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/picture.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/pin.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/polygon.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/polygons.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/psview.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/rastercomp.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/rasterrect.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/rect.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/reshape.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/rotate.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/scale.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/select.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/selection.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/slot.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/spline.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/splines.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/statevar.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/statevars.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/stateview.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/stencilcomp.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/stretch.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/struct.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/text.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/tool.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/transfn.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/transfns.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/transforms.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/uarray.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/uctrl.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/uctrls.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/uhash.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ulabel.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ulist.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/umap.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/unidraw.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/upage.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/ustencil.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/vertices.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/verts.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/viewcmds.cc
Examining data/ivtools-2.0.4a1/src/Unidraw/viewer.cc
Examining data/ivtools-2.0.4a1/src/comdraw/main.cc
Examining data/ivtools-2.0.4a1/src/comterp_/main.cc
Examining data/ivtools-2.0.4a1/src/comtest/main.cc
Examining data/ivtools-2.0.4a1/src/dclock/clocktime.cc
Examining data/ivtools-2.0.4a1/src/dclock/clocktime.h
Examining data/ivtools-2.0.4a1/src/dclock/data.cc
Examining data/ivtools-2.0.4a1/src/dclock/data.h
Examining data/ivtools-2.0.4a1/src/dclock/dclock.cc
Examining data/ivtools-2.0.4a1/src/dclock/dclock.h
Examining data/ivtools-2.0.4a1/src/dclock/dface.cc
Examining data/ivtools-2.0.4a1/src/dclock/dface.h
Examining data/ivtools-2.0.4a1/src/dclock/digit.cc
Examining data/ivtools-2.0.4a1/src/dclock/digit.h
Examining data/ivtools-2.0.4a1/src/dclock/segment.cc
Examining data/ivtools-2.0.4a1/src/dclock/segment.h
Examining data/ivtools-2.0.4a1/src/drawserv_/main.cc
Examining data/ivtools-2.0.4a1/src/drawtool/main.cc
Examining data/ivtools-2.0.4a1/src/flipbook/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/bdvtable/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/box1/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/box2/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/box3/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/box4/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/box5/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/button1/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/button2/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/button3/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/bvalue/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/circle/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/drag/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/fonts/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/himom/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/image/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/figure.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/figure.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/menu/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/patch/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Graph.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Graph.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Plot.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Plot.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/rpc_read.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/rpc_read.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/preview/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/print/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/rubband/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/rpc_write.cc
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/rpc_write.h
Examining data/ivtools-2.0.4a1/src/glyphs/examples3.1/zoomer/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/formdemo/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/gclock/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/meter/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.h
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/glyphviewer.cc
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/glyphviewer.h
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/morpher.cc
Examining data/ivtools-2.0.4a1/src/glyphs/morpher/morpher.h
Examining data/ivtools-2.0.4a1/src/glyphs/radiogroup/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/scrollable/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/scrollfield/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/strchooser/main.cc
Examining data/ivtools-2.0.4a1/src/glyphs/timestamp/main.cc
Examining data/ivtools-2.0.4a1/src/glyphterp/main.cc
Examining data/ivtools-2.0.4a1/src/graphdraw/main.cc
Examining data/ivtools-2.0.4a1/src/iclass/classbuffer.cc
Examining data/ivtools-2.0.4a1/src/iclass/classbuffer.h
Examining data/ivtools-2.0.4a1/src/iclass/classeditor.cc
Examining data/ivtools-2.0.4a1/src/iclass/classeditor.h
Examining data/ivtools-2.0.4a1/src/iclass/classinfo.cc
Examining data/ivtools-2.0.4a1/src/iclass/classinfo.h
Examining data/ivtools-2.0.4a1/src/iclass/dialogs.cc
Examining data/ivtools-2.0.4a1/src/iclass/dialogs.h
Examining data/ivtools-2.0.4a1/src/iclass/direct.cc
Examining data/ivtools-2.0.4a1/src/iclass/direct.h
Examining data/ivtools-2.0.4a1/src/iclass/globals.cc
Examining data/ivtools-2.0.4a1/src/iclass/globals.h
Examining data/ivtools-2.0.4a1/src/iclass/iclass.cc
Examining data/ivtools-2.0.4a1/src/iclass/iclass.h
Examining data/ivtools-2.0.4a1/src/iclass/main.cc
Examining data/ivtools-2.0.4a1/src/idemo/main.cc
Examining data/ivtools-2.0.4a1/src/idraw/main.cc
Examining data/ivtools-2.0.4a1/src/include/Dispatch/_defines.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/_undefs.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/dispatcher.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/dp.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/enter-scope.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/iocallback.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/iohandler.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/iostreamb.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/leave-scope.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcbuf.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpchdr.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcpeer.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcreader.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcregistry.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcservice.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcstream.h
Examining data/ivtools-2.0.4a1/src/include/Dispatch/rpcwriter.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/adjuster.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/alignment.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/banner.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/border.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/box.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/button.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/compeditor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/control.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/deck.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/defs.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/dialog.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/filebrowser.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/filechooser.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/frame.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/glue.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/ihandler.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/interactor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/iwindow.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/matcheditor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/menu.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/message.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/minmax.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/paint.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/painter.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/panner.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/perspective.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubband.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubcurve.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubgroup.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubline.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubrect.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/rubverts.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/scene.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/scrollbar.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/scroller.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/sensor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/shape.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/strbrowser.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/strchooser.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/streditor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/subject.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/textbuffer.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/textdisplay.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/texteditor.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/textstyle.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/tray.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/viewport.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/world.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/_enter.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/_leave.h
Examining data/ivtools-2.0.4a1/src/include/IV-2_6/_names.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/Xdefs.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/Xext.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/Xlib.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/Xundefs.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/Xutil.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xbitmap.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xbrush.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xcanvas.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xcolor.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xcursor.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xdisplay.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xdrag.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xevent.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xfont.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xpainter.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xpattern.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xraster.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xselection.h
Examining data/ivtools-2.0.4a1/src/include/IV-X11/xwindow.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/bevel.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/browser.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/button.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/choice.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/dialogs.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/fbrowser.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/fchooser.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/field.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/kit.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/menu.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/mf_dialogs.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/mf_kit.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/mono_kit.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/ol_dialogs.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/ol_kit.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/slider.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/smf_kit.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/stepper.h
Examining data/ivtools-2.0.4a1/src/include/IV-look/telltale.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/_defines.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/_enter.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/_leave.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/_names.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/_undefs.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/action.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/adjust.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/aggr.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/align.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/alloctbl.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/arraycomp.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/background.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/bitmap.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/boolean.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/border.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/box.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/brush.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/canvas.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/character.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/color.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/composition.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/compositor.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/coord.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/cursor.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/debug.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/deck.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/dialog.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/display.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/drag.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/enter-scope.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/event.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/font.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/geometry.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/glcontext.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/glue.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/glyph.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/group.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/handler.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/hit.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/image.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/input.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/iv.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/label.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/layout.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/leave-scope.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/lrmarker.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/monoglyph.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/observe.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/page.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/patch.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/pattern.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/place.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/polyglyph.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/printer.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/psfont.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/raster.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/regexp.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/reqerr.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/resource.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/rule.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/scrbox.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/selection.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/session.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/shadow.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/simplecomp.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/stencil.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/style.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/superpose.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/target.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/telltale.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/texcomp.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/tformsetter.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/tiff.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/tile.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/transformer.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/window.h
Examining data/ivtools-2.0.4a1/src/include/InterViews/xymarker.h
Examining data/ivtools-2.0.4a1/src/include/OS/_defines.h
Examining data/ivtools-2.0.4a1/src/include/OS/_undefs.h
Examining data/ivtools-2.0.4a1/src/include/OS/directory.h
Examining data/ivtools-2.0.4a1/src/include/OS/enter-scope.h
Examining data/ivtools-2.0.4a1/src/include/OS/file.h
Examining data/ivtools-2.0.4a1/src/include/OS/host.h
Examining data/ivtools-2.0.4a1/src/include/OS/leave-scope.h
Examining data/ivtools-2.0.4a1/src/include/OS/list.h
Examining data/ivtools-2.0.4a1/src/include/OS/math.h
Examining data/ivtools-2.0.4a1/src/include/OS/memory.h
Examining data/ivtools-2.0.4a1/src/include/OS/os.h
Examining data/ivtools-2.0.4a1/src/include/OS/string.h
Examining data/ivtools-2.0.4a1/src/include/OS/strtable.h
Examining data/ivtools-2.0.4a1/src/include/OS/table.h
Examining data/ivtools-2.0.4a1/src/include/OS/table2.h
Examining data/ivtools-2.0.4a1/src/include/OS/types.h
Examining data/ivtools-2.0.4a1/src/include/OS/ustring.h
Examining data/ivtools-2.0.4a1/src/include/TIFF/format.h
Examining data/ivtools-2.0.4a1/src/include/TIFF/tiff.h
Examining data/ivtools-2.0.4a1/src/include/TIFF/tiffio.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/align.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/brushcmd.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/catcmds.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/colorcmd.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/command.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/data.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/datas.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/dirty.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/edit.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/font.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/import.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/macro.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/nop.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/patcmd.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/struct.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/transforms.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Commands/viewcmds.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/cglue.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/component.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/compview.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/connector.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/csolver.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/ellipse.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/externview.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/grcomp.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/grview.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/gvupdater.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/line.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/link.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/pad.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/pin.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/polygon.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/psformat.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/psview.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/rastercomp.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/rect.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/slot.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/spline.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/stencilcomp.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/text.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Components/vertices.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/damage.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/ellipses.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/geomobjs.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/graphic.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/grblock.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/lines.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/picture.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/polygons.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/pspaint.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/rasterrect.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/splines.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/ulabel.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/ustencil.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/util.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Graphic/verts.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/connect.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/grcomptool.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/magnify.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/move.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/reshape.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/rotate.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/scale.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/select.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/stretch.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/Tools/tool.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/_defines.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/_undefs.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/catalog.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/classes.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/clipboard.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/creator.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/ctrlinfo.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/dialogs.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/editor.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/editorinfo.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/enter-scope.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/globals.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/grid.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/iterator.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/keymap.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/kybd.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/leave-scope.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/manip.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/manips.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/path.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/selection.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/statevar.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/statevars.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/stateview.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/stateviews.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/transfn.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/transfns.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/uarray.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/uctrl.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/uctrls.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/uformat.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/uhash.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/ulist.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/umap.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/unidraw.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/upage.h
Examining data/ivtools-2.0.4a1/src/include/Unidraw/viewer.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/fstream.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/ignores.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/iostream.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/leakchecker.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/malloc.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/math.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/nan.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/osfcn.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/signal.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/stdio.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/stdlib.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/stream.h
Examining data/ivtools-2.0.4a1/src/include/ivstd/string.h
Examining data/ivtools-2.0.4a1/src/ivtext/main.cc
Examining data/ivtools-2.0.4a1/src/ivxt/Xd.h
Examining data/ivtools-2.0.4a1/src/ivxt/Xud.h
Examining data/ivtools-2.0.4a1/src/ivxt/glyphwidget.h
Examining data/ivtools-2.0.4a1/src/ivxt/glyphwidgetP.h
Examining data/ivtools-2.0.4a1/src/ivxt/main.cc
Examining data/ivtools-2.0.4a1/src/ivxt/widgetwindow.cc
Examining data/ivtools-2.0.4a1/src/ivxt/widgetwindow.h
Examining data/ivtools-2.0.4a1/src/ivxt/xtintrinsic.h
Examining data/ivtools-2.0.4a1/src/ivxt/xtsession.cc
Examining data/ivtools-2.0.4a1/src/ivxt/xtsession.h
Examining data/ivtools-2.0.4a1/src/ivxt/xtudsession.cc
Examining data/ivtools-2.0.4a1/src/ivxt/xtudsession.h
Examining data/ivtools-2.0.4a1/src/scripts/ivcd.cpp
Examining data/ivtools-2.0.4a1/src/scripts/ivct.cpp
Examining data/ivtools-2.0.4a1/src/scripts/ivds.cpp
Examining data/ivtools-2.0.4a1/src/scripts/ivdt.cpp
Examining data/ivtools-2.0.4a1/src/scripts/ivfb.cpp
Examining data/ivtools-2.0.4a1/src/scripts/ivgd.cpp
Examining data/ivtools-2.0.4a1/src/tests/y2k/y2ktest.cc
Examining data/ivtools-2.0.4a1/src/utils/downloader.cc
Examining data/ivtools-2.0.4a1/src/utils/downloader.h
Examining data/ivtools-2.0.4a1/src/utils/ftp.cc
Examining data/ivtools-2.0.4a1/src/utils/ftp.h
Examining data/ivtools-2.0.4a1/src/utils/http.cc
Examining data/ivtools-2.0.4a1/src/utils/http.h
Examining data/ivtools-2.0.4a1/src/utils/ivdl.cc
Examining data/ivtools-2.0.4a1/src/utils/parse.h
Examining data/ivtools-2.0.4a1/src/utils/readwrite.h
Examining data/ivtools-2.0.4a1/src/utils/sockets.cc
Examining data/ivtools-2.0.4a1/src/utils/sockets.h
Examining data/ivtools-2.0.4a1/src/utils/stdcmapppm.c
Examining data/ivtools-2.0.4a1/src/utils/thrower.cc
Examining data/ivtools-2.0.4a1/src/utils/thrower.h

FINAL RESULTS:

data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:97:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s\n", _valfe->text()->string());
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:133: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(buf, name);
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:158: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(buf, val);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:906: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( buf, buf2 );
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:926:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "sh -c \"wr=`which %s 2> /dev/null`; echo $wr\"", command );
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:927:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE* fptr = popen(combuf, "r");
data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc:163:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(exprbuf, "%s\n", expr);
data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc:165:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(exprbuf, "%s", expr);
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:350:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(exprbuf, "-%s", expr);
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:433:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(exprbuf, "%s\n", expr);
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:435:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(exprbuf, "%s", expr);
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:401:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "echo-n $PATH; which %s", command );
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:403:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "which %s 2> /dev/null", command );
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:405:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE* fptr = popen(combuf, "r");
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:853: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(buf, sv->symbol_ptr()+2);
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1166: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(errbuf_save, _errbuf);
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1174: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(errbuf_save, _errbuf);
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1178:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        if (errbuf_save[0]) strcpy(_errbuf, errbuf_save);
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1397:31:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    FILE* fptr = popen_flag ? popen(filename, "r") : fopen(filename, "r");
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:280:26:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ifptr = popen_flag ? popen(filename, "r") : fopen(filename, "r");
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:156: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( runpath, F_OK ) != -1 ) {
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:443:28:  [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.
        retval.int_ref() = system(shellcmdstr.string_ptr());
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc:193:8:  [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(buffer, BUFSIZ, 
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc:232:9:  [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(buffer, BUFSIZ, 
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:54:21:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    _fptr = _pipe ? popen(filename, mode) : fopen(filename, mode);
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:253: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(buffer, operand1.string_ptr());
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:254: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(buffer+len1, operand2.string_ptr());
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:261: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(buffer, operand1.string_ptr());
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:742: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(copy,f);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:758: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(type,wght[size]);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:787:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(name,"-*-%s-%s-normal-*-%d-*",
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:819: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(fontfullname, XGetAtomName(dpy, (Atom)value));
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:822: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(fontname, XGetAtomName(dpy, (Atom)value));
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:95:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cmd, "plotmtv -noxplot -color -o %s %s", pstmp, tmpfilename);
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:96:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    FILE* plotp = popen(cmd, "w");
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:102:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cmd, "pstoedit -f idraw < %s > %s", pstmp, idtmp);
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:104:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system(cmd);
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:277:59:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
OvImportCmd* ImportFunc::import(const char* path, boolean popen) {
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:279:23:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  cmd->pathname(path, popen);
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:283:58:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ((OverlayComp*)cmd->component())->SetByPathnameFlag(!popen);
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:377:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(_docstring, df, "%s", appname() );
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:935:7:  [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.
      sscanf( token, DOUBL_SCFORM, &value );
data/ivtools-2.0.4a1/src/ComUtil/comutil.h:98: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.
comerr_set( status, fprintf( err_fileio(), comerr_read( status )))
data/ivtools-2.0.4a1/src/ComUtil/comutil.h:101: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.
comerr_set( status, fprintf( err_fileio(), comerr_read( status ), val1 ))
data/ivtools-2.0.4a1/src/ComUtil/comutil.h:104: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.
comerr_set( status, fprintf( err_fileio(), comerr_read( status ), val1, val2 ))
data/ivtools-2.0.4a1/src/ComUtil/comutil.h:107: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.
comerr_set( status, fprintf( err_fileio(), comerr_read( status ), val1, val2, val3 ))
data/ivtools-2.0.4a1/src/ComUtil/dmm.cc:550:25:  [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.
		      unsigned long * system)
data/ivtools-2.0.4a1/src/ComUtil/dmm.cc:565:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
unsigned long   *system    ;/* I  Num of bytes used by the alloc system */
data/ivtools-2.0.4a1/src/ComUtil/dmm.cc:616:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (system != NULL)
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:208:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy( fullpath, errpath );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:210: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( fullpath, errfile );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:217: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( fullpath, errfile );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:224: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( fullpath, errfile );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:641:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( errbuf, "%s:  %s", command, ptr );
data/ivtools-2.0.4a1/src/ComUtil/popen2.cc:96:5:  [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.
    execl("/bin/sh", "sh", "-c", shell_cmd, NULL);
data/ivtools-2.0.4a1/src/ComUtil/types.cc:98: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.
         return fprintf( fptr, DFINT_PRFORM, *((int *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:100: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.
         return fprintf( fptr, DFUNS_PRFORM, *((unsigned int *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:102: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.
         return fprintf( fptr, SHINT_PRFORM, *((short *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:104: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.
         return fprintf( fptr, SHUNS_PRFORM, *((unsigned short *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:106: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.
         return fprintf( fptr, LNINT_PRFORM, *((long *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:108: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.
         return fprintf( fptr, LNUNS_PRFORM, *((unsigned long *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:110: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.
         return fprintf( fptr, FLOAT_PRFORM, *((float *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/types.cc:112: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.
         return fprintf( fptr, DOUBL_PRFORM, *((double *)dptr+offset) );
data/ivtools-2.0.4a1/src/ComUtil/util.h:327:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf( stderr, format_string );\
data/ivtools-2.0.4a1/src/ComUtil/util.h:334:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf( stderr, format_string, val1 );\
data/ivtools-2.0.4a1/src/ComUtil/util.h:341:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf( stderr, format_string, val1, val2 );\
data/ivtools-2.0.4a1/src/ComUtil/util.h:348:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf( stderr, format_string, val1, val2, val3 );\
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:109:20:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  char* username = getlogin();
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:235: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(hostbuf, hoststr->string());
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:236: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(portbuf, portstr->string());
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc: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(hostbuf, hoststr->string());
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:272: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(portbuf, portstr->string());
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:355:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s\n", _valfe->text()->string());
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:243:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, funcformat, _requestmotion);
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:273:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, funcformat, -_requestmotion);
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:339:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, funcformat, _allowbg ? 0 : 1);
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:392:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, funcformat, fnum);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:43:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s: %s", _desc, "background");
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:45:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "%s: %d", _desc, _number);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:54:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s: background", _desc);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:56:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "%s: %d", _desc, _number);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:68:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s: %s", _desc, _bgstr);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:131:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "\"%s\" already exists,", name);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:226:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(buf, pathname, tmpfilename);    
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:227:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(cmd, "(%s;rm %s)&", buf, tmpfilename);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:229:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(cmd, "(%s %s;rm %s)&", pathname, tmpfilename, tmpfilename);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:230: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.
	  ok = system(cmd) == 0;
data/ivtools-2.0.4a1/src/IV-2_6/button2_6.cc:312: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(text, str);
data/ivtools-2.0.4a1/src/IV-2_6/button2_6.cc:323: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(text, a);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:100: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(dup, s);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:127: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, ValidDirectories(RealPath(name)));
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:187: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(newpath, buf);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:190: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(newpath, buf);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:194: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(newpath, buf);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc: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(buf, path);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:295: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(realpath, expandedTilde);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:297:17:  [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(realpath, end);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc: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(buf, path);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:357:12:  [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).
    return strcat(buf, file);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:436: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(buf, name);
data/ivtools-2.0.4a1/src/IV-2_6/matcheditor.cc:82:17:  [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(buf, pattern) == EOF) {
data/ivtools-2.0.4a1/src/IV-2_6/message.cc:54: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(text, t);
data/ivtools-2.0.4a1/src/IV-2_6/message.cc:71: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(text, a);
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc: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(copy, s);
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:205: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(copy, s);
data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc:68:14:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    sample = strcpy(new char[strlen(samp) + 1], samp);
data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc:78:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    done = strcpy(new char[strlen(d) + 1], d);
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:617: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(impl_->name, familyname);
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:648:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "*-*-%s-*-*-*-*-75-75-*-*-*-*", impl_->name);
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:668: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(r->names_[i], fonts[i]);
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:64:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(bufmin, bdv->format(), bdv->lower(Dimension_X));
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:65:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(bufmax, bdv->format(), bdv->upper(Dimension_X));
data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc:126:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, format_, curvalue_);
data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc:152:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s", current().string());
data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc:158: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(*strptr, current().string());
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:49:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(str1,"%s", st1->name());
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:73:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(str1,"%s", st1->name());
data/ivtools-2.0.4a1/src/IVGlyph/observables.cc:177: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(*strptr, strings_->item(curval_).string());
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:164:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "wr=`which %s 2> /dev/null`; echo $wr", command );
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:165:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE* fptr = popen(combuf, "r");
data/ivtools-2.0.4a1/src/IVGlyph/valuator.cc:88:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s", bvalue_->valuestring());
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:73:17:  [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.
	    } else if (sscanf(line, "EncodingScheme %s", p->encoding) == 1) {
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:117:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(metrics_file, "%s/%s.afm", dir, name);
data/ivtools-2.0.4a1/src/InterViews/session.cc:577: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, fmt, arg.string());
data/ivtools-2.0.4a1/src/InterViews/session.cc:685:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s%s", h.string(), t.string());
data/ivtools-2.0.4a1/src/InterViews/session.cc:706:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s%s%s", h.string(), m.string(), t.string());
data/ivtools-2.0.4a1/src/OS/directory.cc:55:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    extern int sprintf __P ((char *__restrict __s,
data/ivtools-2.0.4a1/src/OS/directory.cc:217:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s/%s", d.name_->string(), e.name_->string());
data/ivtools-2.0.4a1/src/OS/directory.cc:247:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newpath, "./%s", s);
data/ivtools-2.0.4a1/src/OS/directory.cc:249:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newpath, "%s/", s);
data/ivtools-2.0.4a1/src/OS/directory.cc:251:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newpath, "%s", s);
data/ivtools-2.0.4a1/src/OS/directory.cc:453: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(realpath, expanded);
data/ivtools-2.0.4a1/src/OS/directory.cc:455: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(realpath, end);
data/ivtools-2.0.4a1/src/OS/string.cc:471: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(dup, s);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:223: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(buf, name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:307:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "Select a %s to open:", domain);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:483:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "Save this %s as:", domain);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:516:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "\"%s\" already exists.", name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1110:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "\"%s\" already exists.", name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1127:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(cmdbuf, "xwd -id %ld -out %s",
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1132:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	      system(cmdbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1200:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "\"%s\" already exists.", name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1220: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(drname, name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:363: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(whole_path, olddir);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:365: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(whole_path, old_path);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:144:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "\"%s\" already exists,", name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:234:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(buf, pathname, tmpfilename);    
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:235:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(cmd, "(%s;rm %s)&", buf, tmpfilename);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:237:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(cmd, "(%s %s;rm %s)&", pathname, tmpfilename, tmpfilename);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:238: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.
	  ok = system(cmd) == 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfile.cc:224:20:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      FILE* fptr = popen(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:108:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(qhcmd, "qhull Fx < %s", tnam);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:109:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE* pp = popen(qhcmd, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:726:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (cmd, "uncompress < %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:727:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        file = popen (cmd, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:736:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (cmd, "gunzip -c %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:737:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        file = popen (cmd, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:839:7:  [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 (sscanf(line, "%%%%Creator: %s", creator)) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:976: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 (sscanf(line, "%%%%Creator: %s", creator)) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1050:54:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void OvImportCmd::pathname(const char* path, boolean popen) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1052:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  popen_ = popen;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1078:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	fptr = popen(path_, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1260:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf( buffer, "anytopnm %s", path );
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1261:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	fptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1263:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        fptr = popen(path, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1336:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( buffer, "anytopnm %s", path );
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1337:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1341:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fptr = popen(path, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1350:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"curl -s %s", path);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1352:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"w3c -q %s", path);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1354:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"wget -q -O - %s", path);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1356:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"ivdl %s -", path);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1358:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1464:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "gunzip -c %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1465:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	gunzip_fptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1509:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "tf=`tempname`;gunzip -c %s | pstoedit -f idraw - $tf.%s;cat $tf.*;rm $tf.*", pathname, "%d");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1511:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "tf=`tempname`;pstoedit -f idraw %s $tf.%s;cat $tf.*;rm $tf.*", pathname, "%d");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1512:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	    pptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1545:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(buffer, "gunzip -c %s | giftopnm", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1547:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(buffer, "giftopnm %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1548:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	  FILE* pptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1590:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "cm=`tempname`;stdcmapppm>$cm;gunzip -c %s | djpeg -map $cm -dither fs -pnm;rm $cm", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1592:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "cm=`tempname`;stdcmapppm>$cm;djpeg -map $cm -dither fs -pnm %s;rm $cm", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1595:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "gunzip -c %s | djpeg  -pnm", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1597:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(buffer, "djpeg -pnm %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1599:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	  FILE* pptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1622:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(buffer, "gunzip -c %s | pngtopnm", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1624:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(buffer, "pngtopnm %s", pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1625:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	  FILE* pptr = popen(buffer, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2038: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(outfile, pih->magic());
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2420:2:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execlp("sh", "sh", "-c", filter, NULL);     
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.cc:154:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"%s(%.3f %.3f)", Tag(), mingray, maxgray);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.cc:212:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"%s(%.3f %.3f)", Tag(), mingray, maxgray);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.cc:272:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"%s(%.3f %.3f)", Tag(), mingray, maxgray);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovipcmds.cc:335:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"%s(\\\"%s\\\")", Tag(), rpos[align]);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1580:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s Editor", attr->Name());
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1598:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s Interpreter", attr->Name());
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1645:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "echo -n $PATH; which %s", command );
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1647:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( combuf, "which %s 2> /dev/null", command );
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1649:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE* fptr = popen(combuf, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:114:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "\"%s\" already exists,", name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:179:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buf, print_cmd, file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:180:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmd, "(%s;rm %s)&", buf, file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:182:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmd, "(%s %s ;rm %s)&", print_cmd, file, file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:183:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system(cmd);
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:291:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key," :%s ",keyword);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:140: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( newbuffer, buffer );
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:163: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+buflen, wordbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc: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(buffer+buflen, wordbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:184: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+buflen, wordbuf+1);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:212: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(buffer+buflen, inbuf);
data/ivtools-2.0.4a1/src/TIFF/tif_error.c:37:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, ap);
data/ivtools-2.0.4a1/src/TIFF/tif_open.c:174: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(tif->tif_name, name);
data/ivtools-2.0.4a1/src/TIFF/tif_warning.c:38:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, ap);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:79:16:  [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(char*, int);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:596: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(delim, delim_ptr);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:885: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.
    return access((char*)path, F_OK) >= 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:890: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.
    return access((char*)path, W_OK) >= 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:898:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s%d", name, index);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1298:16:  [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.
    } else if (sscanf(definition, "%s %d %d %d", name, &r, &g, &b) == 4) {
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1301:16:  [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.
    } else if (sscanf(definition, "%s", name) == 1) {
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1422: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(ps, last_word);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1428: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(pf, last_word);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1949:20:  [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.
        int argc = sscanf(string, "%s %s", name, info);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:195: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(buf, name);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:285:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "Select a %s to open:", domain);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:369:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(title, "Couldn't save! %s", reason);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:374:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(subtitle, "Save this %s as:", domain);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:423:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "Save this %s as:", domain);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:442:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "\"%s\" already exists.", name);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:569:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cmd, "%s %s", print_cmd, file);
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:570:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system(cmd);
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:348:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "lpr -P%s", printer_name);
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc: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(spacing, _medit->Text());
data/ivtools-2.0.4a1/src/Unidraw/import.cc:85:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (cmd, "uncompress < %s", filename);
data/ivtools-2.0.4a1/src/Unidraw/import.cc:86:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        file = popen (cmd, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:157:17:  [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 (sscanf(line, "%%%%Creator: %s", creator)) {
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:105: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(_printfontandsize, _printfont);
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:107: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(_printfontandsize, _printsize);
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:218:17:  [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, name);
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:220:17:  [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, ++relname);
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:224:13:  [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, name);
data/ivtools-2.0.4a1/src/dclock/clocktime.cc:68: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(ds, asctime(&local));
data/ivtools-2.0.4a1/src/dclock/dface.cc:151: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(date.text, today);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.cc:29:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(label, format, first + i*step);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.cc:51:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(label, format, amt);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/main.cc:41:9:  [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.
        sscanf(msg, "%s %f %f ", header, &x, &y);
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:374: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(buf, icon_dir);
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:375: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(buf, morph_array[i]._filename);
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:241: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(filePath, dir.Normalize(path));
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:242:13:  [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(filePath, file);
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:263: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(filePath, dir.Normalize(path));
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:264:13:  [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(filePath, file);
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:363: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(path, _dirs->Path(sel));
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:389: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(path, relpath);
data/ivtools-2.0.4a1/src/iclass/direct.cc:87: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, ValidDirectories(RealPath(name)));
data/ivtools-2.0.4a1/src/iclass/direct.cc:160: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(newpath, buf);
data/ivtools-2.0.4a1/src/iclass/direct.cc:163: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(newpath, buf);
data/ivtools-2.0.4a1/src/iclass/direct.cc:174: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, path);
data/ivtools-2.0.4a1/src/iclass/direct.cc:266: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(realpath, expandedTilde);
data/ivtools-2.0.4a1/src/iclass/direct.cc:268:17:  [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(realpath, end);
data/ivtools-2.0.4a1/src/iclass/globals.cc:38: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(dup, s);
data/ivtools-2.0.4a1/src/utils/http.cc:51:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(reqbuf, "GET %s \r\n", remotefile.string());
data/ivtools-2.0.4a1/src/utils/http.cc:61:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(reqbuf, "GET %s HTTP/1.0\r\n\n", remotefile.string());
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:146:9:  [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.
        realpath(runpath, curr_basepath);
data/ivtools-2.0.4a1/src/ComTerp/randfunc.cc:82:3:  [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(seedval.uint_val());
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:206: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.
    errpath = (char*)getenv( "COMTERP_PATH" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:802:17:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
      errpath = tmpnam(nil);
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:114:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in short
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:131:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in ushort
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:148:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in int
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:165:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in uint
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:182:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in long
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:199:3:  [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.
		setstate(ios::failbit); // overflow: value won't fit in ulong
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:226:2:  [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.
	setstate(ios::failbit);
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:236:2:  [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.
	setstate(ios::failbit);
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:297:6:  [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.
	    setstate(ios::failbit); // overflow: number won't fit in 16 bits
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:319:6:  [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.
	    setstate(ios::failbit); // number won't fit
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:349:6:  [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.
	    setstate(ios::failbit); // overflow: number won't fit in 32 bits
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:373:6:  [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.
	    setstate(ios::failbit); // overflow: number won't fit in 32 bits
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:468:2:  [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.
	setstate(ios::badbit);
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:483:6:  [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.
	    setstate(ios::badbit);
data/ivtools-2.0.4a1/src/Dispatch/rpcstream.cc:71:2:  [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.
	setstate(ios::failbit);
data/ivtools-2.0.4a1/src/Dispatch/rpcstream.cc:86:2:  [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.
	setstate(ios::failbit);
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:468:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:492:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:114:17:  [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.
    const char* realpath;
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:121: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;
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:283:17:  [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.
    static char realpath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:295:20:  [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.
            strcpy(realpath, expandedTilde);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:297:24:  [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.
                strcat(realpath, end);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:301:25:  [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 validTilde ? realpath : path;
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:110:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* dir = getenv("PSFONTDIR");
data/ivtools-2.0.4a1/src/InterViews/session.cc:662:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* xres = getenv("XAPPLRESDIR");
data/ivtools-2.0.4a1/src/InterViews/session.cc:671:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* xenv = getenv("XENVIRONMENT");
data/ivtools-2.0.4a1/src/InterViews/session.cc:691:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* home = getenv("HOME");
data/ivtools-2.0.4a1/src/InterViews/session.cc:722:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* res_name = getenv("RESOURCE_NAME");
data/ivtools-2.0.4a1/src/InterViews/session.cc:751:41:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        const char* defaultvar = (char*)getenv( "DISPLAY" );
data/ivtools-2.0.4a1/src/OS/directory.cc:443:17:  [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.
    static char realpath[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/directory.cc:453:13:  [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.
	    strcpy(realpath, expanded);
data/ivtools-2.0.4a1/src/OS/directory.cc:455:10:  [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.
		strcat(realpath, end);
data/ivtools-2.0.4a1/src/OS/directory.cc:459:20:  [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 valid ? realpath : path;
data/ivtools-2.0.4a1/src/OS/directory.cc:474:17:  [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.
    const char* realpath;
data/ivtools-2.0.4a1/src/OS/directory.cc:480: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;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:70:9:  [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.
  char* realpath();
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:359:6:  [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.
	if (realpath(old_path, new_path))
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:367:6:  [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.
	if (realpath(whole_path, new_path))
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:681:20:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
        _tmpfile = tempnam("/tmp", ".udcp");
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:540:27:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
            tmpfilename = tmpnam(nil);
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:339:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* print_cmd = getenv("PRINT_CMD");
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:342:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        const char* printer_name = getenv("PRINTER");
data/ivtools-2.0.4a1/src/iclass/direct.cc:73:17:  [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.
    const char* realpath;
data/ivtools-2.0.4a1/src/iclass/direct.cc:80: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;
data/ivtools-2.0.4a1/src/iclass/direct.cc:254:17:  [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.
    static char realpath[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:266:20:  [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.
            strcpy(realpath, expandedTilde);
data/ivtools-2.0.4a1/src/iclass/direct.cc:268:24:  [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.
                strcat(realpath, end);
data/ivtools-2.0.4a1/src/iclass/direct.cc:272:25:  [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 validTilde ? realpath : path;
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/Attribute/attrvalue.cc: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(v1, v2, sizeof(_v));
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:996: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 buffer[bufsiz];
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:1009: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 buffer[bufsiz];
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:1131: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(v1, v2, sizeof(_v));
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:1339: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(v1, v2, sizeof(_v));
data/ivtools-2.0.4a1/src/Attribute/commodule.cc:45:21:  [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).
    _inptr = (void*)fopen(path, "r");
data/ivtools-2.0.4a1/src/Attribute/lexscan.cc:105: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, buf, n);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:51:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char textbuf[BUFSIZE];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:277: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 keyword[BUFSIZE];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:442:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:465:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:586: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[BUFSIZ];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:784: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[4];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:821: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[4];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:833: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(newbuf, buffer, dot);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:843:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(newbuf, buffer, dot);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:855: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(newbuf, buffer, dot);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc: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 buf2[buflen];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:925: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 combuf[BUFSIZ];
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:928: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 testbuf[BUFSIZ];	
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:972: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[5];
data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc:160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exprbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc:188: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[bufsiz];
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:347:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exprbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc: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 exprbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:447: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:399:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char combuf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:406: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 testbuf[BUFSIZ];	
data/ivtools-2.0.4a1/src/ComTerp/comhandler.cc:214:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
ComterpHandler::open (void *)
data/ivtools-2.0.4a1/src/ComTerp/comhandler.cc:223: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[MAXHOSTNAMELEN];
data/ivtools-2.0.4a1/src/ComTerp/comhandler.h:73: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).
  virtual int open (void *);
data/ivtools-2.0.4a1/src/ComTerp/comhandler.h:125:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char peer_name_[MAXHOSTNAMELEN + 1];
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:852: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[bufsiz];
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1126: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 errbuf_save[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1397:54:  [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* fptr = popen_flag ? popen(filename, "r") : fopen(filename, "r");
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1794: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc: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 buffer[30];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc: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 instr[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[_linesize];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errbuf[_linesize];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[_linesize];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outbuf[_linesize];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:280:49:  [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).
    ifptr = popen_flag ? popen(filename, "r") : fopen(filename, "r");
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:332: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:369: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 buf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/comvalue.cc:110:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(v1, v2, sizeof(_v));
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:132: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 runpath[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:209:33:  [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).
    u_short portnum = portstr ? atoi(portstr) : arg2v.ushort_val();
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:323:33:  [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).
    u_short portnum = portstr ? atoi(portstr) : portv.ushort_val();
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc:189: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:54:45:  [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).
    _fptr = _pipe ? popen(filename, mode) : fopen(filename, mode);
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:172: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 fbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:252: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 buffer[len1+len2+1];
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:260: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 buffer[len1+2];
data/ivtools-2.0.4a1/src/ComTerp/parser.cc:153: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 instr[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/postfunc.cc:281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/postfunc.cc:289:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[2];
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char delimstr[2];
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:308: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:372: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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:439:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cbuf[avl->Number()+1];
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[n+1];
data/ivtools-2.0.4a1/src/ComUnidraw/comeditor.cc:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/ComUnidraw/comeditor.cc:110: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, "Comdraw%d", ncomterp());
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:732: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[10];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:734: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 copy[256];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:735: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 name[256];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:752: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(type,"medium-r");
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:764: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(type,"medium-");
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:783:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    size = atoi(f);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:814:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fontname[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fontsizeptr[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:816:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fontfullname[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:825: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(fontsizeptr,"%d",(unsigned int)(value/10));
data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.cc:71: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 colorname[7];
data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.cc:72: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(colorname,"#%06x",pixelcolor);
data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.cc: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 colorname[7];
data/ivtools-2.0.4a1/src/ComUnidraw/pixelfunc.cc:104: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(colorname,"#%06x",pixelcolor);
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:51:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    mkstemp(tmpfilename);
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc: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 cmd[256];
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:94:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    mkstemp(pstmp);
data/ivtools-2.0.4a1/src/ComUnidraw/plotfunc.cc:101:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    mkstemp(idtmp);
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:432: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).
      pfbuf->open(file.string_ptr(), input);
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:455:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        u_short portnum = portstr ? atoi(portstr) : port.ushort_val();
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:788: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).
	 value = atoi( token );
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:803:11:  [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).
	 value = atol( token );
data/ivtools-2.0.4a1/src/ComUtil/_parser.cc:348: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(&(*pfbuf+*pfnum-1)->v.doublval, token, sizeof(double));
data/ivtools-2.0.4a1/src/ComUtil/errfile.cc:43: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 FormatBuffer[MAX_FORMAT_LENGTH+1];	/* Buffer for format string */
data/ivtools-2.0.4a1/src/ComUtil/errfile.cc:44: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 InputBuffer[MAX_INPUT_LENGTH+2];	/* Buffer for input text    */
data/ivtools-2.0.4a1/src/ComUtil/errfile.cc:199: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( FormatBuffer, "Status %d returned from error system",
data/ivtools-2.0.4a1/src/ComUtil/errfile.cc:202: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( FormatBuffer, "Error number %d (no error message)",
data/ivtools-2.0.4a1/src/ComUtil/errfile.cc:205: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( FormatBuffer, "Error in accessing error message file" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:55: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 ErrorMessages[MAX_ERROR_MESSAGE];   /* Buffer for error messages */
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullpath[PATH_LEN];
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:211: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).
	fptr = fopen(fullpath, "r");
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:215: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( fullpath, "RELLIBALLDIR" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:218: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).
	fptr = fopen(fullpath, "r");
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:222: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( fullpath, "ABSLIBALLDIR" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:225: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).
	fptr = fopen(fullpath, "r");
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:485: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:593: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 buffer[bufsiz];
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:606: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( errbuf, "*** Warning:  Error depth greater than %d ***\n", 
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:608: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( errbuf, "     *** Unable to print all errors ***\n" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:803:21:  [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).
      ErrorIOFile = fopen( errpath, "w+" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:810:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      ErrorIOFile = tmpfile();
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:50: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 tmpstr[256];
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:170:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *tst, cmpstr[15];
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:195: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( cmpstr, ".!#ID#%d\n",id);
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:267: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).
            fd = fopen(TXT_STORE_PATH,"w+");
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:366:18:  [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).
            id = atoi(&rdptr[6]);
data/ivtools-2.0.4a1/src/ComUtil/util.h:521: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((char *)(dest),(char *)(src),(unsigned)(count))
data/ivtools-2.0.4a1/src/ComUtil/util.h:524:17:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                bcopy((const void*)src,(void*)dest,(size_t)(count))
data/ivtools-2.0.4a1/src/ComUtil/xdll.cc:188: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 *strings[5] = {"A","B","C","D","E"};
data/ivtools-2.0.4a1/src/Dispatch/rpcregistry.cc:137: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(hostname, "localhost");
data/ivtools-2.0.4a1/src/Dispatch/rpcwriter.cc:42:5:  [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(path, fatal, binary);
data/ivtools-2.0.4a1/src/Dispatch/rpcwriter.cc:97:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void RpcWriter::open(const char* path, boolean fatal, boolean binary) {
data/ivtools-2.0.4a1/src/DrawServ/ackback-handler.cc:72: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/ackback-handler.cc:79: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.cc:67: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).
	    fptr = fopen(name, "r");
data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.cc:82: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[len];
data/ivtools-2.0.4a1/src/DrawServ/drawcomps.cc:207: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 buf1[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawcomps.cc:208: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 buf2[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawfunc.cc:104:33:  [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).
    u_short portnum = portstr ? atoi(portstr) : portv.ushort_val();
data/ivtools-2.0.4a1/src/DrawServ/drawlink.cc:88: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).
int DrawLink::open() {
data/ivtools-2.0.4a1/src/DrawServ/drawlink.cc: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[HOST_NAME_MAX];
data/ivtools-2.0.4a1/src/DrawServ/drawlink.h:76:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int open();
data/ivtools-2.0.4a1/src/DrawServ/drawserv-handler.cc:49:22:  [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 DrawServHandler::open (void * ptr)
data/ivtools-2.0.4a1/src/DrawServ/drawserv-handler.cc:51: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).
  ComterpHandler::open(ptr);
data/ivtools-2.0.4a1/src/DrawServ/drawserv-handler.h:50: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).
  virtual int open (void *);
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:107: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 hostbuf[HOST_NAME_MAX];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:115:19:  [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).
  _comdraw_port = atoi(unidraw->GetCatalog()->GetAttribute("comdraw"));
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:148: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).
    if (link->open()==0 && link->ok()) {
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:410: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:436: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:455:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:513: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:553: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:569: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:584: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:593: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:623: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/drawserv.cc:702: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 hostbuf[HOST_NAME_MAX];
data/ivtools-2.0.4a1/src/DrawServ/linkselection.cc:94: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc: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 hostbuf[hostlen];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc: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 portbuf[portlen];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:245:40:  [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 (strlen(portbuf) > 0) portnum = atoi(portbuf);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:248: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:255: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[BUFSIZ];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:269: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 hostbuf[hostlen];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:270: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 portbuf[portlen];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:281:40:  [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 (strlen(portbuf) > 0) portnum = atoi(portbuf);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:375: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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framecatalog.cc:65: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).
	    fptr = fopen(name, "r");
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:242: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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:272: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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:338: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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framecmds.cc:391: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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/frameeditor.cc:131: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).
  if (slideshow_str) secs = atoi(slideshow_str);
data/ivtools-2.0.4a1/src/FrameUnidraw/frameeditor.cc:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/frameeditor.cc: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(buffer, "timeexpr(\"moveframe(1)\" :sec %d)", secs);
data/ivtools-2.0.4a1/src/FrameUnidraw/framefile.cc: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 pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framekit.cc:130:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int ncols = atoi(page_cols);
data/ivtools-2.0.4a1/src/FrameUnidraw/framekit.cc:131:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int nrows = atoi(page_rows);
data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.cc:120: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 buf1[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.cc:121: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 buf2[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.cc:219: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 buf1[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framescripts.cc:220: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 buf2[BUFSIZ];
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:77: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, "Number of Frames: %d", _framenumber-1);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.cc:85: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, "Number of Frames: %d", _framenumber-1);
data/ivtools-2.0.4a1/src/FrameUnidraw/framestates.h:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/FrameUnidraw/framestates.h:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/GraphUnidraw/graphcatalog.cc:84: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).
	    fptr = fopen(name, "r");
data/ivtools-2.0.4a1/src/GraphUnidraw/graphcomp.cc:359: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[BUFSIZ];
data/ivtools-2.0.4a1/src/GraphUnidraw/graphcomp.cc:618: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[BUFSIZ];
data/ivtools-2.0.4a1/src/GraphUnidraw/graphdialog.cc:100: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).
    String open("OK");
data/ivtools-2.0.4a1/src/GraphUnidraw/graphdialog.cc:123: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).
	    layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:130: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:205:2:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	mkstemp(tmpfilename);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:207: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).
	ok = fbuf.open(tmpfilename, output) != 0;
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:209: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).
	ok = fbuf.open(pathname, output) != 0;
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:223: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 cmd[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/GraphUnidraw/graphexport.cc:225: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/GraphUnidraw/nodecomp.cc:1328:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/GraphUnidraw/nodecomp.cc:1377:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_filename_length+2];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:139:31:  [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).
    Directory* d = Directory::open(path);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:174: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 newpath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:183:9:  [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(newpath, "./");
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:186:9:  [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(newpath, "./");
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:200: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[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:221: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 newpath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:265: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 newpath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:283: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 realpath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:308:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char buf[max_filename_length+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:351: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[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:435: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[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/IV-2_6/matcheditor.cc:70: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(pattern, "%*c"); /* workaround bug in Sparc sscanf */
data/ivtools-2.0.4a1/src/IV-2_6/matcheditor.cc:77: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[1000];
data/ivtools-2.0.4a1/src/IV-2_6/menu2_6.cc:114: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).
	depth_ = atoi(d);
data/ivtools-2.0.4a1/src/IV-2_6/message.cc:75:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	pad = atoi(a);
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:470: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).
    clickDelay = (attrib == nil) ? 250 : atoi(attrib);
data/ivtools-2.0.4a1/src/IV-2_6/xevent2_6.cc: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 buf[4096];
data/ivtools-2.0.4a1/src/IV-2_6/xpattern.cc:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4];
data/ivtools-2.0.4a1/src/IV-2_6/xpattern.cc:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32];
data/ivtools-2.0.4a1/src/IV-X11/xbitmap.cc:45:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
Bitmap* Bitmap::open(const char* filename) {
data/ivtools-2.0.4a1/src/IV-X11/xdrag.cc:133: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[256];
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:647:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/IV-X11/xfont.cc:670: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 weight[100];
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:671: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 slant[100];
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:672: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 width[100];
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:1810: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).
Display* Display::open(const String& s) {
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:1812: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).
    return open(ns.string());
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:1815: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).
Display* Display::open() {
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:1816: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).
    return open(nil);
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:1819: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).
Display* Display::open(const char* device) {
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bufmax[40];
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bufmin[40];
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:151:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    _int_display ? sprintf(buf, "%i", (int)v) : sprintf(buf, "%.2f", v);
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:151:49:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    _int_display ? sprintf(buf, "%i", (int)v) : sprintf(buf, "%.2f", v);
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:165:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    _int_display ? sprintf(buf, "%i", (int)v) : sprintf(buf, "%.2f", v);
data/ivtools-2.0.4a1/src/IVGlyph/bdfltform.cc:165:49:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    _int_display ? sprintf(buf, "%i", (int)v) : sprintf(buf, "%.2f", v);
data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc:125: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[20];
data/ivtools-2.0.4a1/src/IVGlyph/bdvalue.cc:151: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[40];
data/ivtools-2.0.4a1/src/IVGlyph/exportchooser.cc:141: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).
    String open("Open");
data/ivtools-2.0.4a1/src/IVGlyph/exportchooser.cc:142:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/IVGlyph/exportchooser.cc:263: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).
	    layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.cc:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[3];
data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.cc:297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[2];
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:139:35:  [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).
    InputFile* input = InputFile::open(s);
data/ivtools-2.0.4a1/src/IVGlyph/importchooser.cc:173: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).
    String open("Open");
data/ivtools-2.0.4a1/src/IVGlyph/importchooser.cc:174:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/IVGlyph/importchooser.cc:318:41:  [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).
			   layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc: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 str1[len];
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc: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 str1[len];
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:163: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 combuf[BUFSIZ];
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc: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 testbuf[BUFSIZ];	
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:192: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).
    dir_ = Directory::open(*name_);
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:229: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).
    String open("Open");
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:230:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:313: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).
	    layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:435: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(
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:483:31:  [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).
    Directory* d = Directory::open(name);
data/ivtools-2.0.4a1/src/IVGlyph/printchooser.cc:91: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).
    String open("Open");
data/ivtools-2.0.4a1/src/IVGlyph/printchooser.cc:92:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/IVGlyph/printchooser.cc:190:37:  [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).
		layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/saveaschooser.cc:100: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).
    String open("Save");
data/ivtools-2.0.4a1/src/IVGlyph/saveaschooser.cc:101:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/IVGlyph/saveaschooser.cc:213: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).
	    layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/strchooser.cc:160: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).
    String open("OK");
data/ivtools-2.0.4a1/src/IVGlyph/strchooser.cc:161:29:  [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).
    s->find_attribute("ok", open);
data/ivtools-2.0.4a1/src/IVGlyph/strchooser.cc:220:41:  [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).
	    	layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc:80: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).
   fd = open(path_->string(), O_RDONLY);
data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc:138: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).
   int fd = open((char*)path_->string(), O_WRONLY | O_CREAT, 0666);
data/ivtools-2.0.4a1/src/IVGlyph/textform.cc:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sample[max+1];
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc: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 buf[256];
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc:183: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, "Load File:");
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc: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 buf[256];
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc:221: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, "Save To File:");
data/ivtools-2.0.4a1/src/IVGlyph/timeglyph.cc:232:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int times = atoi(timesvalue->valuestring());
data/ivtools-2.0.4a1/src/IVGlyph/timeglyph.cc:247:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int times = atoi(timesvalue->valuestring());
data/ivtools-2.0.4a1/src/IVGlyph/valuator.cc: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 buf[40];
data/ivtools-2.0.4a1/src/InterViews/fbrowser.cc:69:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void open();
data/ivtools-2.0.4a1/src/InterViews/fbrowser.cc:92:39:  [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).
    { '\r', "open", &FileBrowserImpl::open },
data/ivtools-2.0.4a1/src/InterViews/fbrowser.cc:278: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).
void FileBrowserImpl::open() {
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:141: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).
    dir_ = Directory::open(*name_);
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:178: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).
    String open("Open");
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:179:31:  [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).
    s->find_attribute("open", open);
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:267: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).
	    layout.vcenter(kit.default_button(open, accept)),
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:377: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(
data/ivtools-2.0.4a1/src/InterViews/fchooser.cc:424:31:  [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).
    Directory* d = Directory::open(name);
data/ivtools-2.0.4a1/src/InterViews/menu.cc:217:2:  [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();
data/ivtools-2.0.4a1/src/InterViews/menu.cc:221: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).
void Menu::open() {
data/ivtools-2.0.4a1/src/InterViews/ol_kit.cc:1084:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fontname[20];
data/ivtools-2.0.4a1/src/InterViews/ol_kit.cc:1085: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(fontname, "olglyph-%ld", points_);
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:62: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).
    FILE* file = fopen(metrics_file, "r");
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:67: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 line[256];
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:100:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(metrics_file, "r");
data/ivtools-2.0.4a1/src/InterViews/session.cc:205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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] = {(char*)"noivsession"};
data/ivtools-2.0.4a1/src/InterViews/session.cc:228: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).
    Display* d = Display::open(display_name);
data/ivtools-2.0.4a1/src/InterViews/session.cc:236: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).
    Display* d = Display::open(display_name);
data/ivtools-2.0.4a1/src/InterViews/session.cc:749:22:  [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).
	default_ = Display::open(name);
data/ivtools-2.0.4a1/src/InterViews/session.cc:752:22:  [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).
	default_ = Display::open(defaultvar ? defaultvar : ":0.0");
data/ivtools-2.0.4a1/src/InterViews/style.cc:695:31:  [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).
    InputFile* f = InputFile::open(filename);
data/ivtools-2.0.4a1/src/OS/directory.cc:138: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).
    return open(".");
data/ivtools-2.0.4a1/src/OS/directory.cc:141: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).
Directory* Directory::open(const String& name) {
data/ivtools-2.0.4a1/src/OS/directory.cc:237: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 newpath[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/directory.cc:243: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(newpath, "./");
data/ivtools-2.0.4a1/src/OS/directory.cc:376: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 newpath[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/directory.cc:417: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 newpath[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/directory.cc:443: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 realpath[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/directory.cc:465: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 buf[path_buffer_size];
data/ivtools-2.0.4a1/src/OS/file.cc:143: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).
InputFile* InputFile::open(const String& name) {
data/ivtools-2.0.4a1/src/OS/file.cc:146: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).
    int fd = ::open((char*)s->string(), O_RDONLY);
data/ivtools-2.0.4a1/src/OS/memory.cc:32:17:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    extern void bcopy(const void*, void*, int);
data/ivtools-2.0.4a1/src/OS/memory.cc:40:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    bcopy(from, to, nbytes);
data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.cc:100: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).
UnidrawImportHandler::open (void *)
data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.h:57: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).
  virtual int open (void *);    
data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.h:69: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 peer_name_[MAXHOSTNAMELEN + 1];
data/ivtools-2.0.4a1/src/OverlayUnidraw/grloctool.cc:57: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(_buffer, "test string");
data/ivtools-2.0.4a1/src/OverlayUnidraw/grloctool.cc:91: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, "x,y:  %.2f %.2f", xgr, ygr);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc: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.
    static char enc[hex_encode+1];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:157: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).
            ok = fbuf.open(name, output) != 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:193: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).
	  fptr = fopen(name, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:213: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[len];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:222: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:304: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:515: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1086:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1087: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, "Dump canvas in .xwd format to:");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1109: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1126: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 cmdbuf[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1176: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, "Save ImageMap template to file:");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1199: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1221:8:  [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(drname, ".drawtool");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:358: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 new_path[MAXPATHLEN];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:362: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 whole_path[MAXPATHLEN];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:366: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 new_path[MAXPATHLEN];
data/ivtools-2.0.4a1/src/OverlayUnidraw/oved.cc:245: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 *alignmentstr[nalign] = { 
data/ivtools-2.0.4a1/src/OverlayUnidraw/oved.cc:250:19:  [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).
      alignment = atoi(panner_align); 
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:143: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:213:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
        mkstemp(tmpfilename);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:215: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).
	ok = fbuf.open(tmpfilename, output) != 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:217: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).
	ok = fbuf.open(pathname, output) != 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:231: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 cmd[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovexport.cc:233: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovfile.cc:188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.cc:111: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).
    String open("OK");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.cc:130:37:  [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).
	    layout.vcenter(kit.push_button(open, accept)),
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.cc:223: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).
    String open("OK");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovgdialog.cc:240:37:  [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).
	    layout.vcenter(kit.push_button(open, accept)),
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:91:18:  [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).
    int status = mkstemp(tnam);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:93: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).
      FILE* fp = fopen(tnam, "w");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:107: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 qhcmd[100];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovhull.cc:112: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 line[80];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:140: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 PBM_MAGIC_BYTES[2] = {'P', '4'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:141: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 PGM_MAGIC_BYTES[2] = {'P', '5'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:142: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 PPM_MAGIC_BYTES[2] = {'P', '6'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:143: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 PBMA_MAGIC_BYTES[2] = {'P', '1'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:144: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 PGMA_MAGIC_BYTES[2] = {'P', '2'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:145: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 PPMA_MAGIC_BYTES[2] = {'P', '3'};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:147: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 GZIP_MAGIC_BYTES[2] = {(char)0x1f, (char)0x8b};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:148: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 COMPRESS_MAGIC_BYTES[2] = {(char)0x1f, (char)0x9d};
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:150: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 TIFF1_MAGIC_BYTES[2] = {(char)0x4d, (char)0x4d}; /* TIFF with BIGENDIAN byte order */
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:151: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 TIFF2_MAGIC_BYTES[2] = {(char)0x49, (char)0x49}; /* TIFF with LITLEENDIAN byte order */
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:152: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 SUN_MAGIC_BYTES[2] = {(char)0x59, (char)0xa6}; /* Sun rasterfile (0x59a66a95) */
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:153: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 JPEG_MAGIC_BYTES[2] = {(char)0xff, (char)0xd8}; 
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:468: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[256];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:746: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(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:755: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).
    FILE* file = fopen(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:757: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 creator[creator_size];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:761: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 line[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:876: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 creator[creator_size];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:883:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[linesz];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:968: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(creator, "idraw");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:984:22:  [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.
      if (!*creator) strcpy(creator, "PostScript");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1259: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1335: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1345: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1379: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).
      fptr = fopen(path, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1447:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[len];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1463: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1507: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1543: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1587: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1620: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1696:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        width = atoi(cwidth);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1697:18:  [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).
        height = atoi(cheight);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc: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 buffer[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1933: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 bytes[2];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2031:21:  [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* outfile = fopen(tiledfile, "w");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2130: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).
    FILE* file = fopen(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2136: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2433:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2497: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).
    FILE* file = fopen(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2500:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        bitmap = Bitmap::open(pathname);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2522: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).
    FILE* file = fopen(pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2527: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:300:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int ncols = atoi(page_cols);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:301:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int nrows = atoi(page_rows);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char keystr[3];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1579: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1597: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1641: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 combuf[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1650: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 testbuf[BUFSIZ];	
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprecise.cc:211: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprecise.cc:212: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 %d", (int) ((PageGraphic*)page->GetGraphic())->Width(), 
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:113: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:127:7:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
		    mkstemp(tmpfilename);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:128:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		    ok = fbuf.open(tmpfilename, output) != 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:130:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		    ok = fbuf.open(ns.string(), output) != 0;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:176:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovprint.cc:178: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:567:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:1898:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        size = atoi(csize);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstates.cc:58: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, "%.2f %.2f", _x, _y);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovstencil.cc:264:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.cc:405: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[5];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.cc:478:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:251: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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:259: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, "0x%02x", data[i] & 0xff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:266: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, "0x%0*x", patternWidth/4, data[i]);
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:290: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[strlen(keyword)+4];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:486:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char printfont[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:577:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char printsizebuf[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:594: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(printsizebuf, "%d", printsize);
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:632:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:718:2:  [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(sbuf, "\"\n");
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:724: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(sbuf, "1\n");
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:1176: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 buf1[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc: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 buf2[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:97: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).
    FILE* fptr = fopen(_pathname, "r");
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:110: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 inbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc: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/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[BUFSIZ];
data/ivtools-2.0.4a1/src/TIFF/machdep.h:246: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		b[8];
data/ivtools-2.0.4a1/src/TIFF/machdep.h:253: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		b[4];
data/ivtools-2.0.4a1/src/TIFF/mkg3states.c:151: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.
typedef	unsigned char NullModeTable[MAX_NULLPREFIX][256];
data/ivtools-2.0.4a1/src/TIFF/mkg3states.c:153: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.
typedef	unsigned char HorizModeTable[MAX_HORIZPREFIX][256];
data/ivtools-2.0.4a1/src/TIFF/mkg3states.c:228: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	horiz_mode_color[MAX_HORIZPREFIX];
data/ivtools-2.0.4a1/src/TIFF/mkg3states.c:231: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 bit_mask[8] =
data/ivtools-2.0.4a1/src/TIFF/mkspans.c:10: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 runs[256];
data/ivtools-2.0.4a1/src/TIFF/mkspans.c:29: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 runs[2][256];
data/ivtools-2.0.4a1/src/TIFF/tif_aux.c:142:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				bcopy(tf[0], tf[i], n * sizeof (u_short));
data/ivtools-2.0.4a1/src/TIFF/tif_compat.c:107: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[256];
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:47:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(cp, *cpp, len);
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:58:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(wp, *wpp, n);
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:68:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(wp, *wpp, n);
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:78:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(wp, *wpp, n);
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:148:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(cp[i], tab, nw);
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:155:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(tif->tif_base + off, &dircount, sizeof (short));
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:167:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(tif->tif_base + off, dir,
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:171:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(tif->tif_base + off, &tif->tif_nextdiroff,
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:627:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(tif->tif_base + dir->tdir_offset, cp, cc);
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:667:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&l, cp, dir->tdir_count);
data/ivtools-2.0.4a1/src/TIFF/tif_dirread.c:914: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 c[2];
data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c:183:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(td->td_fieldsset, fields, sizeof (fields));
data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c:539: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.
		if (!TIFFWriteData(tif, dir, (char *)table[i]))
data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c:561:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(cp, &dir->tdir_offset, dir->tdir_count);
data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c:693:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (!TIFFWriteData(tif, &tdir, (char *)tab[i]))
data/ivtools-2.0.4a1/src/TIFF/tif_dumpmode.c:80:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(pp, tif->tif_rawcp, n);
data/ivtools-2.0.4a1/src/TIFF/tif_dumpmode.c:127:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(tif->tif_rawcp, buf, cc);
data/ivtools-2.0.4a1/src/TIFF/tif_fax3.c:375:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				bcopy(buf, sp->b.refline, sp->b.rowbytes);
data/ivtools-2.0.4a1/src/TIFF/tif_fax3.c:1034:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				bcopy(bp, sp->b.refline, sp->b.rowbytes);
data/ivtools-2.0.4a1/src/TIFF/tif_fax4.c:81:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(buf, sp->refline, sp->rowbytes);
data/ivtools-2.0.4a1/src/TIFF/tif_fax4.c:103:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(bp, sp->refline, sp->rowbytes);
data/ivtools-2.0.4a1/src/TIFF/tif_machdep.c:152: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		b[8];
data/ivtools-2.0.4a1/src/TIFF/tif_machdep.c:159: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		b[4];
data/ivtools-2.0.4a1/src/TIFF/tif_next.c:92:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(bp, row, scanline);
data/ivtools-2.0.4a1/src/TIFF/tif_next.c:106:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(bp+4, row+off, n);
data/ivtools-2.0.4a1/src/TIFF/tif_packbits.c:253:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(bp, op, ++n);
data/ivtools-2.0.4a1/src/TIFF/tif_read.c:219:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(tif->tif_base + td->td_stripoffset[strip], buf, size);
data/ivtools-2.0.4a1/src/TIFF/tif_read.c:416:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(tif->tif_base + td->td_stripoffset[tile], buf, size);
data/ivtools-2.0.4a1/src/TIFF/tif_swab.c:101: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.
const unsigned char TIFFBitRevTable[256] = {
data/ivtools-2.0.4a1/src/TIFF/tif_swab.c:103: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 TIFFBitRevTable[256] = {
data/ivtools-2.0.4a1/src/TIFF/tif_swab.c:139: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.
const unsigned char TIFFNoBitRevTable[256] = {
data/ivtools-2.0.4a1/src/TIFF/tif_swab.c:141: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 TIFFNoBitRevTable[256] = {
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:90:9:  [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	bcopy(src,dst,len)	memcpy((char *)dst, (char *)src, len)
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:90:28:  [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	bcopy(src,dst,len)	memcpy((char *)dst, (char *)src, len)
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:110: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).
#define	TIFFOpenFile(name, mode, prot)	open(name, mode)
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:113: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).
#define	TIFFOpenFile(name, mode, prot)	open(name, mode|O_BINARY, prot)
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:115: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).
#define	TIFFOpenFile(name, mode, prot)	open(name, mode, prot)
data/ivtools-2.0.4a1/src/Time/Date.cc:92: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 days_in_month[12] = {31,28,31,30,31,30,31,31,30,31,30,31 };
data/ivtools-2.0.4a1/src/Time/Date.cc:226: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 month[10];
data/ivtools-2.0.4a1/src/Time/Date.cc:334: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 p[len+1];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:122: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).
            ok = fbuf.open(name, output) != 0;
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:150: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).
        _valid = fbuf.open(name, input) != 0;
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:169: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).
    if (fbuf.open(name, input) != 0) {
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:502: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[100];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:544: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[100];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:582: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:583: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 printfont[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:584: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 printsize[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:1016: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[4];
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.h:85: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[CHARBUFSIZE]; // contains storage for reading data
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:216:51:  [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).
    _brush->SetBrush(catalog->ReadBrush(brAttrib, atoi(brIndex)));
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:217:50:  [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).
    _font->SetFont(catalog->ReadFont(fontAttrib, atoi(fontIndex)));
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:218:58:  [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).
    _pattern->SetPattern(catalog->ReadPattern(patAttrib, atoi(patIndex)));
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:220:38:  [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).
        catalog->ReadColor(fgAttrib, atoi(fgIndex)),
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:221:38:  [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).
        catalog->ReadColor(bgAttrib, atoi(bgIndex))
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:89:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:116: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 enc[hex_encode+1];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:153: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 enc[hex_gray_encode+1];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:383: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).
    boolean ok = fbuf.open((char*) name, output) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:446: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).
        ok = fbuf.open((char*) name, input) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char delim[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:683: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).
    boolean ok = obuf.open(_tmpfile, output) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:699: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).
	ok = ibuf.open(_tmpfile, input) != 0 && RetrieveObject(in, copy);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:863: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).
    boolean ok = fbuf.open((char*) name, output) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:874: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).
    boolean ok = fbuf.open((char*) name, input) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1212: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 name[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc: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 name[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1344: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 name[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1345: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 printfont[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1346: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 printsize[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pf[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1417:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ps[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1506:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "%02x", data[i] & 0xff);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1512: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, "%0*x", patternWidth/4, data[i]);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1800:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char enc[hex_gray_encode+1];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char enc[hex_encode+1];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1939:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1940:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1941:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char info[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:194: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:282: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:367: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 title[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:371: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 subtitle[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:441: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:541: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).
            ok = fbuf.open(tmpfilename, output) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:543: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).
            ok = fbuf.open((char*) _dialog->Choice(), output) != 0;
data/ivtools-2.0.4a1/src/Unidraw/catcmds.cc:568:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:338: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:529:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char spacing[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/editor.cc: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 buf[100];
data/ivtools-2.0.4a1/src/Unidraw/globals.cc:54: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 sbuf[SBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[256];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:95: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, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:104: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).
    FILE* file = fopen(filename, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:108:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char creator[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:109: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 line[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:314: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).
    FILE* file = fopen(filename, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:317: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 line[1000];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:349: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).
    FILE* file = fopen(filename, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:354: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 line[1000];
data/ivtools-2.0.4a1/src/Unidraw/import.cc:398: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).
    FILE* file = fopen(filename, "r");
data/ivtools-2.0.4a1/src/Unidraw/import.cc:401:30:  [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).
        Bitmap* bm = Bitmap::open(filename);
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:108: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).
    _lineHt = atoi(_printsize);
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:834: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:841: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, "%02x", data[i] & 0xff);
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:847: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, "%0*x", patternWidth/4, data[i]);
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:208: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[CHARBUFSIZE];
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:212: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(buf, "[part of] ");
data/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/Unidraw/stateviews.cc:291: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, "mag %gx", mag);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:582: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[5];
data/ivtools-2.0.4a1/src/Unidraw/unidraw.cc:223:52:  [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).
    _histlen = (attrib == nil) ? DEFAULT_HISTLEN : atoi(attrib);
data/ivtools-2.0.4a1/src/comdraw/main.cc:273:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int importnum = atoi(importstr);
data/ivtools-2.0.4a1/src/comdraw/main.cc:274:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (import_acceptor->open 
data/ivtools-2.0.4a1/src/comdraw/main.cc:289:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int portnum = atoi(portstr);
data/ivtools-2.0.4a1/src/comdraw/main.cc:290: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).
    if (peer_acceptor->open 
data/ivtools-2.0.4a1/src/comterp_/main.cc:87:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int portnum = argc > 2 ? atoi(argv[2]) : atoi(ACE_DEFAULT_SERVER_PORT_STR);
data/ivtools-2.0.4a1/src/comterp_/main.cc:87:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int portnum = argc > 2 ? atoi(argv[2]) : atoi(ACE_DEFAULT_SERVER_PORT_STR);
data/ivtools-2.0.4a1/src/comterp_/main.cc:88:28:  [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 (peer_acceptor->open (ACE_INET_Addr (portnum),
data/ivtools-2.0.4a1/src/comterp_/main.cc:127: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).
	    ACE_OS::atoi (argv[3]) : SERVER_PORT;
data/ivtools-2.0.4a1/src/comterp_/main.cc: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 buffer[BUFSIZ*BUFSIZ];
data/ivtools-2.0.4a1/src/comterp_/main.cc:139:29:  [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* inptr = argc>=5 ? fopen(argv[4], "r") : stdin;
data/ivtools-2.0.4a1/src/comterp_/main.cc:158: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 inbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/comterp_/main.cc:187: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[BUFSIZ*BUFSIZ];
data/ivtools-2.0.4a1/src/dclock/clocktime.cc: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 ds[26];
data/ivtools-2.0.4a1/src/dclock/dface.cc:95: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 date[50];
data/ivtools-2.0.4a1/src/dclock/dface.h:80: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 text[50];
data/ivtools-2.0.4a1/src/drawserv_/main.cc:258:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int importnum = atoi(importstr);
data/ivtools-2.0.4a1/src/drawserv_/main.cc:259:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (import_acceptor->open 
data/ivtools-2.0.4a1/src/drawserv_/main.cc:274:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int portnum = atoi(portstr);
data/ivtools-2.0.4a1/src/drawserv_/main.cc:275: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).
    if (peer_acceptor->open 
data/ivtools-2.0.4a1/src/drawtool/main.cc:256:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int importnum = atoi(importstr);
data/ivtools-2.0.4a1/src/drawtool/main.cc:257:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (import_acceptor->open 
data/ivtools-2.0.4a1/src/flipbook/main.cc:259:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int importnum = atoi(importstr);
data/ivtools-2.0.4a1/src/flipbook/main.cc:260:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (import_acceptor->open 
data/ivtools-2.0.4a1/src/flipbook/main.cc:275:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int portnum = atoi(portstr);
data/ivtools-2.0.4a1/src/flipbook/main.cc:276: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).
    if (peer_acceptor->open 
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/main.cc:41:31:  [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).
    InputFile* f = InputFile::open(String(argv[1]));
data/ivtools-2.0.4a1/src/glyphs/examples3.1/menu/main.cc:14:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void open(), save(), quit();
data/ivtools-2.0.4a1/src/glyphs/examples3.1/menu/main.cc:41:21:  [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", &App::open },
data/ivtools-2.0.4a1/src/glyphs/examples3.1/menu/main.cc:70: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).
void App::open() { printf("open\n"); }
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.cc:25:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[100];
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/Axis.cc: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 label[100];
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/main.cc:37: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 header[80];
data/ivtools-2.0.4a1/src/glyphs/examples3.1/plot/rpc_read.cc: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 string[80];
data/ivtools-2.0.4a1/src/glyphs/examples3.1/preview/main.cc:60:34:  [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).
    InputFile* file = InputFile::open(argv[1]);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/main.cc:13:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[81];
data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/main.cc:24:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(string, "FOO %5.3f %5.3f ", x, y);
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:213: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[256];
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:214: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.
	std::sprintf(buf, "Select an idraw drawing to import:");
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:222:35:  [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).
        InputFile* f = InputFile::open(*s);
data/ivtools-2.0.4a1/src/glyphs/morpher/glypheditor.cc:373: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[256];
data/ivtools-2.0.4a1/src/glyphs/scrollfield/main.cc: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 str[10];
data/ivtools-2.0.4a1/src/glyphs/scrollfield/main.cc:128: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:%x", j,i);
data/ivtools-2.0.4a1/src/glyphs/scrollfield/main.cc:195: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 str[10];
data/ivtools-2.0.4a1/src/glyphs/scrollfield/main.cc: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(str, "%d:%x", j,i);
data/ivtools-2.0.4a1/src/graphdraw/main.cc:245:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int importnum = atoi(importstr);
data/ivtools-2.0.4a1/src/graphdraw/main.cc:246:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (import_acceptor->open 
data/ivtools-2.0.4a1/src/graphdraw/main.cc:261:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int portnum = atoi(portstr);
data/ivtools-2.0.4a1/src/graphdraw/main.cc:262: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).
    if (peer_acceptor->open 
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:240: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 filePath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:262: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 filePath[MAXPATHLEN+1];
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:276:31:  [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).
    InputFile* f = InputFile::open(path);
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:362: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 path[MAX_PATH_LENGTH];
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_LENGTH];
data/ivtools-2.0.4a1/src/iclass/direct.cc:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_LENGTH+2];
data/ivtools-2.0.4a1/src/iclass/direct.cc:97:25:  [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).
    SysDir* d = SysDir::open(_lib_os(String)(path));
data/ivtools-2.0.4a1/src/iclass/direct.cc:147: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 newpath[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:156:9:  [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(newpath, "./");
data/ivtools-2.0.4a1/src/iclass/direct.cc:159:9:  [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(newpath, "./");
data/ivtools-2.0.4a1/src/iclass/direct.cc:173: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[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:194: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 newpath[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:238: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 newpath[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:254: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 realpath[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/direct.cc:279:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char buf[MAX_PATH_LENGTH+1];
data/ivtools-2.0.4a1/src/iclass/iclass.cc:193: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).
            f = fopen((char*)filename, "r");
data/ivtools-2.0.4a1/src/iclass/iclass.cc:699: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).
        int line = atoi(string);
data/ivtools-2.0.4a1/src/idemo/main.cc:57:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void open();
data/ivtools-2.0.4a1/src/idemo/main.cc:110:33:  [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).
    { "File Chooser ...", &App::open },
data/ivtools-2.0.4a1/src/idemo/main.cc:391: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).
void App::open() {
data/ivtools-2.0.4a1/src/idemo/main.cc:618:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ivtools-2.0.4a1/src/idemo/main.cc:619: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, "%.2f", v);
data/ivtools-2.0.4a1/src/include/Dispatch/rpcwriter.h:47:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void open(const char* path, boolean fatal, boolean binary);
data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/matcheditor.h:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/ivtools-2.0.4a1/src/include/IV-look/menu.h:101: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).
    virtual void open();
data/ivtools-2.0.4a1/src/include/InterViews/bitmap.h:53:20:  [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).
    static Bitmap* open(const char* filename);
data/ivtools-2.0.4a1/src/include/InterViews/display.h:49:21:  [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).
    static Display* open(const String&);
data/ivtools-2.0.4a1/src/include/InterViews/display.h:50:21:  [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).
    static Display* open(const char*);
data/ivtools-2.0.4a1/src/include/InterViews/display.h:51:21:  [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).
    static Display* open();
data/ivtools-2.0.4a1/src/include/InterViews/event.h: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 free_store_[200];
data/ivtools-2.0.4a1/src/include/InterViews/event.h:153:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char keydata[sizeof(int)];
data/ivtools-2.0.4a1/src/include/InterViews/hit.h:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char free_store_[4000];
data/ivtools-2.0.4a1/src/include/InterViews/regexp.h: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 *startp[NSUBEXP];
data/ivtools-2.0.4a1/src/include/InterViews/regexp.h: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 *endp[NSUBEXP];
data/ivtools-2.0.4a1/src/include/InterViews/regexp.h:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char program[1];		/* Unwarranted chumminess with compiler. */
data/ivtools-2.0.4a1/src/include/InterViews/reqerr.h: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 message[256];
data/ivtools-2.0.4a1/src/include/OS/directory.h:40: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).
    static Directory* open(const String&);
data/ivtools-2.0.4a1/src/include/OS/file.h:59: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).
    static InputFile* open(const String& name);
data/ivtools-2.0.4a1/src/include/OS/host.h:34: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 name_[100];
data/ivtools-2.0.4a1/src/include/OS/strtable.h:107: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 retval[numbytes];
data/ivtools-2.0.4a1/src/include/TIFF/tiffio.h:59: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.
extern const unsigned char TIFFBitRevTable[256];
data/ivtools-2.0.4a1/src/include/TIFF/tiffio.h:60: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.
extern const unsigned char TIFFNoBitRevTable[256];
data/ivtools-2.0.4a1/src/include/TIFF/tiffio.h:63: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.
extern unsigned char TIFFBitRevTable[256];
data/ivtools-2.0.4a1/src/include/TIFF/tiffio.h:64: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.
extern unsigned char TIFFNoBitRevTable[256];
data/ivtools-2.0.4a1/src/include/Unidraw/globals.h:114:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char sbuf[SBUFSIZE];         /* super buffer */
data/ivtools-2.0.4a1/src/include/ivstd/fstream.h:21: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).
     bufname.open(fptr, mode); 
data/ivtools-2.0.4a1/src/include/ivstd/fstream.h:24:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     bufname -> open(fptr,mode);
data/ivtools-2.0.4a1/src/include/ivstd/iostream.h:26: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 cp[1];
data/ivtools-2.0.4a1/src/utils/downloader.cc:89:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi((const char*)s_port);
data/ivtools-2.0.4a1/src/utils/ftp.cc:42: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 reply[BUFSIZ];  // Buffer for FTP server replies.
data/ivtools-2.0.4a1/src/utils/http.cc:42: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 reqbuf[BUFSIZ];
data/ivtools-2.0.4a1/src/utils/http.cc:86: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 header[BUFSIZ]; // Buffer for HTTP 1.0 header.
data/ivtools-2.0.4a1/src/utils/parse.h:55:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi((const char*)s_port);
data/ivtools-2.0.4a1/src/utils/readwrite.h:27: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[BUFSIZ]; // Buffer for I/O.
data/ivtools-2.0.4a1/src/utils/sockets.cc:40: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 thishostname[64];
data/ivtools-2.0.4a1/src/utils/sockets.cc:76:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  bcopy(hp->h_addr, (char *)&my_addr.sin_addr, hp->h_length);
data/ivtools-2.0.4a1/src/utils/sockets.cc:161: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((caddr_t)&servaddr.sin_addr, hp->h_addr_list[0], hp->h_length);
data/ivtools-2.0.4a1/src/utils/sockets.cc:174: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[BUFSIZ]; // Buffer for I/O.
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:96: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).
	char* buf = new char[strlen(_valfe->text()->string())+2];
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:101:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	AttributeValue* av = ParamList::lexscan()->get_attrval(buf+skip, strlen(buf+skip));
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:130: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).
	int namelen = name ? strlen(name) : 0;
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:143: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(buf, " ");
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:148: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(buf, " ");
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:155: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).
	int vallen = val ? strlen(val) : 0;
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:167: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(buf, " ");
data/ivtools-2.0.4a1/src/AttrGlyph/attredit.cc:168: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(buf, "\n");
data/ivtools-2.0.4a1/src/Attribute/attrlist.cc:227:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int nmsz = strlen(nm);
data/ivtools-2.0.4a1/src/Attribute/attrlist.cc:594:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!GetAttrVal(jt)->equal(*av)) return false;
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:824: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).
	    counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:824: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).
	    counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:914: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).
	  counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:914: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).
	  counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:1357:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
boolean AttributeValue::equal(AttributeValue& av) {
data/ivtools-2.0.4a1/src/Attribute/attrvalue.cc:1430:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return !equal(av);
data/ivtools-2.0.4a1/src/Attribute/attrvalue.h:402:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    boolean equal(AttributeValue& av);
data/ivtools-2.0.4a1/src/Attribute/lexscan.cc:95:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(_tokbuf, _buffer+tokstart, tok_buflen);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:878: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(text);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:903:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( buf, dir, buflen);
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:904:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat( buf+strlen(dir), buf2, buflen-strlen(dir));
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:904: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).
	strncat( buf+strlen(dir), buf2, buflen-strlen(dir));
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:904: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).
	strncat( buf+strlen(dir), buf2, buflen-strlen(dir));
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:931: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:931: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/Attribute/paramlist.cc:932: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).
	      command, strlen(command)) != 0) {
data/ivtools-2.0.4a1/src/ComGlyph/attrdialog.cc:162: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).
    if (expr[strlen(expr)-1] != '\n') 
data/ivtools-2.0.4a1/src/ComGlyph/comtextview.cc:198: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).
  bufptr = buffer + strlen(buffer) - 1;
data/ivtools-2.0.4a1/src/ComGlyph/comtextview.cc:257: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).
  insert_string(sout->str(), strlen(sout->str()));
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:351: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).
        exprbuf[strlen(exprbuf)] = '\0';
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:354: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).
        for (i=1; i<strlen(expr); i++)
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:361: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).
    expredit_->insert_string(exprbuf, strlen(exprbuf));
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:432: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).
    if (expr[strlen(expr)-1] != '\n') 
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:469: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).
        i->expredit_->insert_string(funcstr, strlen(funcstr));
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:470: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).
        const int curspos = strlen(funcstr)-1;
data/ivtools-2.0.4a1/src/ComGlyph/terpdialog.cc:481: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).
        i->expredit_->insert_string(varstr, strlen(varstr));
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:409: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:409: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/ComTerp/comfunc.cc:410: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).
	      command, strlen(command)) != 0) {
data/ivtools-2.0.4a1/src/ComTerp/comhandler.cc:169:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      status = read(fd, &ch, 1);
data/ivtools-2.0.4a1/src/ComTerp/comhandler.cc:225:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      ACE_OS::strncpy (this->peer_name_, buffer,
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:851: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 bufsiz = strlen(sv->symbol_ptr());
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1144: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).
      if (strlen(_errbuf)==0) {
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1171: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).
      if (strlen(_errbuf)>0) {
data/ivtools-2.0.4a1/src/ComTerp/comterp.cc:1475: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 slen = strlen(command_name);
data/ivtools-2.0.4a1/src/ComTerp/comterpserv.cc:509: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).
    } while (status==0 && strlen(_buffer)>_bufptr);
data/ivtools-2.0.4a1/src/ComTerp/comvalue.cc:181: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).
	    counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/ComTerp/comvalue.cc:181: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).
	    counter = strlen(title) + strlen(symbol);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:136:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(runpath, curr_basepath, BUFSIZ-1);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:139: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* newptr = runpath+strlen(runpath);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:140: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).
        bufleft -= strlen(runpath);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:147: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* ptr = curr_basepath+strlen(curr_basepath)-1;
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:229: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).
  int cmdlen = strlen(cmdstr);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:240:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read(socket->get_handle(), buf+i++, 1);
data/ivtools-2.0.4a1/src/ComTerp/ctrlfunc.cc:461:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(msecv.int_val());
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc:191:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy(buffer, comfuncs[i]->docstring2(), BUFSIZ-1);
data/ivtools-2.0.4a1/src/ComTerp/helpfunc.cc:230:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(buffer, comfunc->docstring2(), BUFSIZ-1);
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:182:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(fbuf+i, fstrptr, flen);
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:189:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(fbuf, fstrptr, BUFSIZ);
data/ivtools-2.0.4a1/src/ComTerp/iofunc.cc:488:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read(socket->get_handle(), buf+i++, 1);
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:171:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nvv = nv.is_nil() ? strlen(str)-1 : nv.int_val();
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:173: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(str) > nv.int_val()) {
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:179: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).
      if(nvv<strlen(str) && nvv>=0) {
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:214: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).
    ComValue retval((int)strlen(listv.symbol_ptr()), ComValue::IntType);
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:323: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 sz=strlen(string);
data/ivtools-2.0.4a1/src/ComTerp/listfunc.cc:344: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).
	      newfoundstr = strstr(foundstr+strlen(valv.symbol_ptr()), valv.symbol_ptr());
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:250:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len1 = strlen(operand1.string_ptr()); 
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:251:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len2 = strlen(operand2.string_ptr()); 
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:259:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len1 = strlen(operand1.string_ptr()); 
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:991:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:1012:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:1033:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:1054:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:1073:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/numfunc.cc:1090:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      AttributeValue* av = ParamList::lexscan()->get_attrval((char*)numstr+negflag, strlen(numstr+negflag));
data/ivtools-2.0.4a1/src/ComTerp/scanner.cc:70:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(_tokbuf, _buffer+tokstart, tok_buflen);
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:296: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(str);
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:559: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).
    n = !afterflag ? nv.int_val() : strlen(string)-nv.int_val();
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:571: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).
    n = afterflag ?  strlen(string)-(foundstr-string)-strlen(nv.symbol_ptr()) : foundstr-string;
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:571:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = afterflag ?  strlen(string)-(foundstr-string)-strlen(nv.symbol_ptr()) : foundstr-string;
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:572: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).
    offset = afterflag ? foundstr-string+strlen(nv.symbol_ptr()) : 0;
data/ivtools-2.0.4a1/src/ComTerp/symbolfunc.cc:576:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buffer, string+offset, n);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:748: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).
  f = copy+strlen(copy);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:757:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (!strncmp(s,wght[size],strlen(wght[size]))) {
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:759: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(type,"-");
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:760:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s+=strlen(wght[size]);
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:767:7:  [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(type,"i");
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:770:7:  [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(type,"o");
data/ivtools-2.0.4a1/src/ComUnidraw/grfunc.cc:773:7:  [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(type,"r");
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:300: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* ptr = lastpath + strlen(lastpath) - 1;
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:376: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).
    _docstring = new char[strlen(df)+strlen(appname())+1];
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:376: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).
    _docstring = new char[strlen(df)+strlen(appname())+1];
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:625: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).
	tv->insert_string((char*)msgstrv.string_ptr(), strlen(msgstrv.string_ptr()));
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:634: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).
	tv->insert_string(sbuf_s.str(), strlen(sbuf_s.str()));
data/ivtools-2.0.4a1/src/ComUnidraw/unifunc.cc:650: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).
	tv->insert_string(sbuf_e.str(), strlen(sbuf_e.str()));
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:166: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).
   (begcmt != NULL ? strlen(begcmt) : 0 );
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:168: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).
   (endcmt != NULL ? strlen(endcmt) : 0 );
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:192: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).
     *toklen = strlen(token);
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:261: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).
		  (buffer[0] == linecmtchr || strncmp(buffer, linecmtstr, strlen(linecmtstr))==0)) {
data/ivtools-2.0.4a1/src/ComUtil/_lexscan.cc:374:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		   (linecmtstr && strncmp(buffer+*bufptr,linecmtstr,strlen(linecmtstr))==0))) {
data/ivtools-2.0.4a1/src/ComUtil/_parser.cc:499:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat( token, buffer+*tokstart+1, nchar-1 );
data/ivtools-2.0.4a1/src/ComUtil/_parser.cc:860:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	       strncpy( token, buffer+tokstart, *bufptr-tokstart );
data/ivtools-2.0.4a1/src/ComUtil/atox.cc:82: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).
   string_length = MIN( sizeof(unsigned long) * 2, strlen( string ));
data/ivtools-2.0.4a1/src/ComUtil/atox.cc:140: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).
   string_length = MIN( sizeof(unsigned long) * 8 / 3, strlen( string ));
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:209:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:209:43:  [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.
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:216:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:216:43:  [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.
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:223:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/errsys.cc:223:43:  [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.
	if (fullpath[strlen(fullpath)-1] != '/') strcat( fullpath, "/" );
data/ivtools-2.0.4a1/src/ComUtil/symbols.cc:164: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).
  n = strlen(string);
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:120: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).
    index = strlen(txtstr) - 1;
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:372:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (!strncmp(rdptr, keyword, strlen(keyword)))
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:378: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).
                for (index = 0; index < strlen(rdptr); index++)
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:379:58:  [1] (buffer) strlen:
  Does not handle 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(&rdptr[index], keyword, strlen(keyword)))
data/ivtools-2.0.4a1/src/ComUtil/txtutil.cc:449:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strncmp(ignorestr, tmpstr, strlen(ignorestr)))
data/ivtools-2.0.4a1/src/ComUtil/util.h:441: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 for (newlength = strlen( string );\
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:110:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:127:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:144:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:161:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:178:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/iostreamb.cc:195:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read((char*)&value, sizeof(value));
data/ivtools-2.0.4a1/src/Dispatch/rpcbuf.cc:505:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int nread = read(_fd, egptr(), ebuf() - egptr());
data/ivtools-2.0.4a1/src/DrawServ/ackback-handler.cc:69:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while((status = read(fd, &ch, 1))==1) inv.push_back(ch);
data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.cc:72: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).
		int namelen = strlen(name);
data/ivtools-2.0.4a1/src/DrawServ/drawcatalog.cc:81: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).
	    int len = strlen(command)+1;
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:231: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).
  int hostlen = strlen(hoststr->string())+1;
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:232: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).
  int portlen = strlen(portstr->string())+1;
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:243: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(hostbuf) > 0) {
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:245: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(portbuf) > 0) portnum = atoi(portbuf);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:267: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).
  int hostlen = strlen(hoststr->string())+1;
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:268: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).
  int portlen = strlen(portstr->string())+1;
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:279: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(hostbuf) > 0) {
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:281: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(portbuf) > 0) portnum = atoi(portbuf);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:354: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).
	char* buf = new char[strlen(_valfe->text()->string())+2];
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:356:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	_list->add_attr(txt->string(), ParamList::lexscan()->get_attr(buf, strlen(buf)));
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:377: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).
  for(int i=0; i<strlen(buf); i++) vbuf.push_back(buf[i]);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:379: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).
  for(int i=0; i<strlen(buf); i++) vbuf.push_back(buf[i]);
data/ivtools-2.0.4a1/src/DrawServ/rcdialog.cc:384: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).
    for(int i=0; i<strlen(buf); i++) vbuf.push_back(buf[i]);
data/ivtools-2.0.4a1/src/FrameUnidraw/framecatalog.cc:72: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).
		int namelen = strlen(name);
data/ivtools-2.0.4a1/src/GraphUnidraw/graphcatalog.cc:89: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).
		int namelen = strlen(name);
data/ivtools-2.0.4a1/src/GraphUnidraw/grapheditor.cc:110: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(label) > 0)
data/ivtools-2.0.4a1/src/GraphUnidraw/nodecomp.cc:1002: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 size = strlen(text);
data/ivtools-2.0.4a1/src/IV-2_6/button2_6.cc:311: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).
	text = new char[strlen(str) + 1];
data/ivtools-2.0.4a1/src/IV-2_6/button2_6.cc:322: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).
	text = new char[strlen(a) + 1];
data/ivtools-2.0.4a1/src/IV-2_6/compeditor.cc:79: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).
                        match = strlen(best);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:99: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).
    char* dup = new char[strlen(s) + 1];
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:189: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).
    } else if (IsADirectory(buf) && buf[strlen(buf)-1] != '/') {
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:191:9:  [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(newpath, "/");
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:202:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i = strlen(path);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:212: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).
    for (int i = strlen(path)-1; i > 0; --i) {
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:225: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).
    for (src = path; src < &path[strlen(path)]; ++src) {
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:269: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).
    for (src = path; src < &path[strlen(path)]; ++src) {
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:289:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int length = (end == nil) ? strlen(beg) : end - beg;
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:309:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buf, tildeName+1, length-1);
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:354: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).
    if (path[strlen(path)-1] != '/') {
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:355:9:  [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(buf, "/");
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:412: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).
	name_ok = r->Match(name, strlen(name), 0) >= 0;
data/ivtools-2.0.4a1/src/IV-2_6/filebrowser.cc:437:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(buf, "/");
data/ivtools-2.0.4a1/src/IV-2_6/filechooser.cc:95: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).
    int left = strlen(browser()->ValidDirectories(path));
data/ivtools-2.0.4a1/src/IV-2_6/filechooser.cc:96: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).
    int right = strlen(path);
data/ivtools-2.0.4a1/src/IV-2_6/interactor.cc:109:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	e.read();
data/ivtools-2.0.4a1/src/IV-2_6/interactor.cc:154:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	e.read();
data/ivtools-2.0.4a1/src/IV-2_6/interactor.cc:176:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (!world->done() && e.read(sec, usec)) {
data/ivtools-2.0.4a1/src/IV-2_6/matcheditor.cc:79:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buf, text->Text(), length);
data/ivtools-2.0.4a1/src/IV-2_6/message.cc:53: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).
	text = new char[strlen(t)+1];
data/ivtools-2.0.4a1/src/IV-2_6/message.cc:70: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).
	text = new char[strlen(a)+1];
data/ivtools-2.0.4a1/src/IV-2_6/painter.cc:163: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(s);
data/ivtools-2.0.4a1/src/IV-2_6/painter.cc:174: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).
    Text(c, s, strlen(s), x, y);
data/ivtools-2.0.4a1/src/IV-2_6/scroller2_6.cc:163:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (Math::equal(scale, double(0.0), double(1e-6))) {
data/ivtools-2.0.4a1/src/IV-2_6/scroller2_6.cc:182:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (Math::equal(scale, double(0.0), double(1e-6))) {
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:102: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).
        display->ReplaceText(i, strbuf[i], strlen(strbuf[i]));
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:180: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).
    char* copy = new char[strlen(s)+1];
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:194: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).
    display->ReplaceText(index, s, strlen(s));
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:204: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).
	char* copy = new char[strlen(s)+1];
data/ivtools-2.0.4a1/src/IV-2_6/strbrowser.cc:213: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).
	display->ReplaceText(index, s, strlen(s));
data/ivtools-2.0.4a1/src/IV-2_6/strchooser.cc:69: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).
        _sedit->Select(strlen(_sedit->Text()));
data/ivtools-2.0.4a1/src/IV-2_6/strchooser.cc:80: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).
    _sedit->Select(0, strlen(_sedit->Text()));
data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc:68: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).
    sample = strcpy(new char[strlen(samp) + 1], samp);
data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc:78: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).
    done = strcpy(new char[strlen(d) + 1], d);
data/ivtools-2.0.4a1/src/IV-2_6/streditor.cc:148: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).
    text->Insert(0, t, strlen(t));
data/ivtools-2.0.4a1/src/IV-2_6/world.cc:151:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void World::read(Event& e) { session_->read(e); }
data/ivtools-2.0.4a1/src/IV-2_6/world.cc:151:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void World::read(Event& e) { session_->read(e); }
data/ivtools-2.0.4a1/src/IV-2_6/world.cc:152:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean World::read(long sec, long usec, Event& e) {
data/ivtools-2.0.4a1/src/IV-2_6/world.cc:153:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return session_->read(sec, usec, e);
data/ivtools-2.0.4a1/src/IV-2_6/xevent2_6.cc:149:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(keystring, buf, len);
data/ivtools-2.0.4a1/src/IV-X11/xcanvas.cc:634:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    !Math::equal(x, tr->curx_, float(0.1))
data/ivtools-2.0.4a1/src/IV-X11/xdrag.cc:592:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (dummyEvent.read(0, 10) && drag->commit(dummyEvent)) {
data/ivtools-2.0.4a1/src/IV-X11/xdrag.cc:706:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	dragEvent.read();
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:118:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(keydata, e.keydata, e.len);
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:146:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Event::read() {
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:147:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Session::instance()->read(*this);
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:150:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean Event::read(long s, long u) {
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:151:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return Session::instance()->read(s, u, *this);
data/ivtools-2.0.4a1/src/IV-X11/xevent.cc:368:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(buf, (const char*)&ks, 2);
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:200:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    if (Math::equal(f->impl_->scale_, scale, float(0.0001))) {
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:225:32:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (r->display_ == d && Math::equal(r->scale_, s, float(0.0001))) {
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:499:63:  [1] (buffer) strlen:
  Does not handle 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 impl_->default_rep()->display_->to_pixels(width(s, strlen(s)));
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:508: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).
	index(s, strlen(s), float(offset), between)
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:541: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).
    int sublength = strlen(substring);
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:542: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) - sublength;
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:616: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).
    impl_->name = new char[strlen(familyname) + 1];
data/ivtools-2.0.4a1/src/IV-X11/xfont.cc:667: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).
        r->names_[i] = new char[strlen(fonts[i]) + 1];
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:220:30:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!w.placed_ || !Math::equal(left, w.left_, float(1e-3)) ||
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:221:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	!Math::equal(bottom, w.bottom_, float(1e-3))
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:241:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!w.aligned_ || !Math::equal(x, w.xalign_, float(1e-3)) ||
data/ivtools-2.0.4a1/src/IV-X11/xwindow.cc:242:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	!Math::equal(y, w.yalign_, float(1e-3))
data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.cc:54: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 (init && strlen(init) > 0) {
data/ivtools-2.0.4a1/src/IVGlyph/fieldedit.cc:55: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).
	field_->Insert(0, init, strlen(init));
data/ivtools-2.0.4a1/src/IVGlyph/globals.cc:86:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        Math::equal(_left, box._left, tol) && 
data/ivtools-2.0.4a1/src/IVGlyph/globals.cc:87:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        Math::equal(_right, box._right, tol) &&
data/ivtools-2.0.4a1/src/IVGlyph/globals.cc:88:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        Math::equal(_bottom, box._bottom, tol) && 
data/ivtools-2.0.4a1/src/IVGlyph/globals.cc:89:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        Math::equal(_top, box._top, tol)
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:114:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(String&);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:115:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(char&);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:116:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(int&);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:117:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(float&);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:184:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(name)) {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:186:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(version_);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:260:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:262:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(ch);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:267:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (read(ch) && ch != ']') {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:284:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(c);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:290:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(xx);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:291:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(yy);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:319:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(radius);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:325:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(r1);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:326:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(r2);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:358:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int n = file_->read(start_);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:368:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(String& s) {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:385:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(char& c) {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:393:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(int& i) {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:395:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(s) && s.convert(i);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:398:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(float& f) {
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:400:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(s) && s.convert(f);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:405:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read(s) && s != "%I") { }
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:411:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:412:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:422:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(width);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:442:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:443:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:448:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(r);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:449:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(g);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:450:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(b);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:470:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:471:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:476:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(psname);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:479:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(pointsize);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:491:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:492:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:516:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:517:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/IVGlyph/idraw.cc:521:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(a[i]);
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:46: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(st1->name())+1;
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:51:2:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	sprintf(str1,"");
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:70: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(st1->name())+1;
data/ivtools-2.0.4a1/src/IVGlyph/namestate.cc:75:2:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	sprintf(str1,"");
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:169: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:169: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/IVGlyph/ofilechooser.cc:170: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).
	      command, strlen(command)) != 0) {
data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc:44:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   extern int read(int, char*, unsigned int);
data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc:101:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int bytes_read = read(fd, buffer, len);
data/ivtools-2.0.4a1/src/IVGlyph/textbuff.cc:205: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 bytecnt = strlen(Text());
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc:270: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).
   te_buffer_->Insert(0, txt, strlen(txt));
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc:428: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).
      insert_string(selection_buffer_, strlen(selection_buffer_));
data/ivtools-2.0.4a1/src/IVGlyph/textview.cc:576: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(selection_buffer_));
data/ivtools-2.0.4a1/src/IVGlyph/valuator.cc:129: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).
    editor_->field()->Insert(0, str, strlen(str));
data/ivtools-2.0.4a1/src/InterViews/adjust.cc:107:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (Math::equal(s, float(0), float(1e-4))) {
data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc:53:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    static boolean equal(const Allocation&, const Allocation&);
data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc:68:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
inline boolean AllocationTableImpl::equal(
data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc:78:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	Math::equal(a1.span(), a2.span(), epsilon_) &&
data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc:79:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	Math::equal(a1.alignment(), a2.alignment(), epsilon_)
data/ivtools-2.0.4a1/src/InterViews/alloctbl.cc:102:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    AllocationTableImpl::equal(info->allocation_, a)
data/ivtools-2.0.4a1/src/InterViews/composition.cc:232:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	!Math::equal(stretch, Coord(0), float(1e-4)) ||
data/ivtools-2.0.4a1/src/InterViews/composition.cc:233:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	!Math::equal(shrink, Coord(0), float(1e-4))
data/ivtools-2.0.4a1/src/InterViews/composition.cc:252:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (!Math::equal(size, span_, float(1e-4))) {
data/ivtools-2.0.4a1/src/InterViews/dialogs.cc:239:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	s->read(e);
data/ivtools-2.0.4a1/src/InterViews/field.cc:267: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).
    InsertText((char*) data, strlen((char*)data));
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:71:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!Math::equal(natural_, r.natural_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:73:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    } else if (!Math::equal(stretch_, r.stretch_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:75:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    } else if (!Math::equal(shrink_, r.shrink_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:77:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    } else if (!Math::equal(alignment_, r.alignment_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:138:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!Math::equal(origin_, a.origin_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:140:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    } else if (!Math::equal(span_, a.span_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/geometry.cc:142:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    } else if (!Math::equal(alignment_, a.alignment_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/ol_kit.cc:2654:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	queued.read();
data/ivtools-2.0.4a1/src/InterViews/printer.cc:357:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!Math::equal(y, p->text_cury_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/printer.cc:360:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!Math::equal(x, p->text_curx_, epsilon)) {
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:115: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(dir) + strlen("/") + strlen(name) + strlen(".afm") + 1
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:115:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strlen(dir) + strlen("/") + strlen(name) + strlen(".afm") + 1
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:115: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).
	strlen(dir) + strlen("/") + strlen(name) + strlen(".afm") + 1
data/ivtools-2.0.4a1/src/InterViews/psfont.cc:115:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strlen(dir) + strlen("/") + strlen(name) + strlen(".afm") + 1
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:79: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(pat);
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:81:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(pattern_, pat, length);
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:88:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(pattern_, pat, length);
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:144: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).
    endAnchored = pattern_[strlen(pattern_)-1] == '$';
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:458: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 (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) {
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:460: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(OPERAND(scan));
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:996: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(opnd);
data/ivtools-2.0.4a1/src/InterViews/regexp.cc:1154: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(scan);
data/ivtools-2.0.4a1/src/InterViews/scrbox.cc:356:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    if (!Math::equal(span, Coord(0), float(1e-2))) {
data/ivtools-2.0.4a1/src/InterViews/session.cc:285:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(e);
data/ivtools-2.0.4a1/src/InterViews/session.cc:340:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Session::read(Event& e, boolean (*test)()) {
data/ivtools-2.0.4a1/src/InterViews/session.cc:356:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean Session::read(long sec, long usec, Event& e, boolean (*test)()) {
data/ivtools-2.0.4a1/src/InterViews/session.cc:379:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean Session::read(long* sec, long* usec, Event& e, boolean (*test)()) {
data/ivtools-2.0.4a1/src/InterViews/slider.cc:298:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (Math::equal(length, float(0.0), float(1e-3)) ||
data/ivtools-2.0.4a1/src/InterViews/slider.cc:299:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	Math::equal(length, cur_length, float(1e-3))
data/ivtools-2.0.4a1/src/InterViews/style.cc:700:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int len = f->read(start);
data/ivtools-2.0.4a1/src/InterViews/tformsetter.cc:62:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (Math::equal(natural, float(0), float(1e-3))) {
data/ivtools-2.0.4a1/src/InterViews/tformsetter.cc:167:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!Math::equal(natural_x.span(), Coord(0), float(1e-2)) &&
data/ivtools-2.0.4a1/src/InterViews/tformsetter.cc:168:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	!Math::equal(natural_y.span(), Coord(0), float(1e-2))
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:107:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(left_, left, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:110:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(right_, right, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:113:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(bottom_, bottom, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:116:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(top_, top, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:119:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(top_, top, e) && !Math::equal(left_, left, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:119:54:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(top_, top, e) && !Math::equal(left_, left, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:122:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(top_, top, e) && !Math::equal(right_, right, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:122:54:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(top_, top, e) && !Math::equal(right_, right, e)) {
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:125:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(bottom_, bottom, e) &&
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:126:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		!Math::equal(left_, left, e)
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:130:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!Math::equal(bottom_, bottom, e) &&
data/ivtools-2.0.4a1/src/InterViews/xymarker.cc:131:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		!Math::equal(right_, right, e)
data/ivtools-2.0.4a1/src/OS/directory.cc:248: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 (DirectoryImpl::ifdir(s) && s[strlen(s) - 1] != '/') {
data/ivtools-2.0.4a1/src/OS/directory.cc:380: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).
    const char* end = &path[strlen(path)];
data/ivtools-2.0.4a1/src/OS/directory.cc:421: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).
    const char* end = &path[strlen(path)];
data/ivtools-2.0.4a1/src/OS/directory.cc:434: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).
    for (int i = strlen(path) - 1; i > 0; --i) {
data/ivtools-2.0.4a1/src/OS/directory.cc:448: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).
	int length = (end == nil) ? strlen(beg) : (end - beg);
data/ivtools-2.0.4a1/src/OS/directory.cc:466:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, tilde + 1, length - 1);
data/ivtools-2.0.4a1/src/OS/file.cc:51:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    extern int read(int, void*, unsigned int);
data/ivtools-2.0.4a1/src/OS/file.cc:55:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    extern int read(int, void*, unsigned int);
data/ivtools-2.0.4a1/src/OS/file.cc:59:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    extern int read(int, char*, unsigned int);
data/ivtools-2.0.4a1/src/OS/file.cc:62:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    extern long read(int, void*, unsigned int);
data/ivtools-2.0.4a1/src/OS/file.cc:65:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    extern int read(int, void*, unsigned int);
data/ivtools-2.0.4a1/src/OS/file.cc:160:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int InputFile::read(const char*& start) {
data/ivtools-2.0.4a1/src/OS/file.cc:180:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = ::read(i->fd_, i->buf_, len);
data/ivtools-2.0.4a1/src/OS/file.cc:193:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int StdInput::read(const char*& start) {
data/ivtools-2.0.4a1/src/OS/file.cc:201:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int nbytes = ::read(i->fd_, (char*)i->buf_, i->limit_);
data/ivtools-2.0.4a1/src/OS/string.cc:65: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_ = s ? strlen(s) : 0;
data/ivtools-2.0.4a1/src/OS/string.cc:108: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_ = s ? strlen(s) : 0;
data/ivtools-2.0.4a1/src/OS/string.cc:220: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_ = s ? strlen(s) : 0;
data/ivtools-2.0.4a1/src/OS/string.cc:390: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).
    set_value(s, s ? strlen(s) : 0);
data/ivtools-2.0.4a1/src/OS/string.cc:400:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    String::set_value(strncpy(ns, s, len), len);
data/ivtools-2.0.4a1/src/OS/string.cc:440: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).
    String::set_value(s, s ? strlen(s) : 0);
data/ivtools-2.0.4a1/src/OS/string.cc:455:20:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	String::set_value(strncpy(ns, s.string(), len), len);
data/ivtools-2.0.4a1/src/OS/string.cc:470: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).
  char* dup = new char[strlen(s) + 1];
data/ivtools-2.0.4a1/src/OS/ustring.cc:130:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(s->data, str, len);
data/ivtools-2.0.4a1/src/OS/ustring.cc:151:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(r, str, len);
data/ivtools-2.0.4a1/src/OverlayUnidraw/aceimport.cc:108:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      ACE_OS::strncpy (this->peer_name_, 
data/ivtools-2.0.4a1/src/OverlayUnidraw/grayraster.cc:571:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean GrayRaster::read(istream& in, boolean gray) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/grayraster.h:118:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(istream& in, boolean gray=false);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:197: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 namelen = strlen(name);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:212: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).
	    int len = strlen(command)+1;
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcatalog.cc:575:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(sync_string);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcmds.cc:1219: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* drname = new char[strlen(name)+20];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovcomps.cc:364: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(whole_path, "/");
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdialog.cc:80: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdialog.cc:154: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovdialog.cc:228: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/OverlayUnidraw/oved.cc:100: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).
            new HGlue(0, 5*strlen(name), 0)
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:629:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int stat = read(_fd, sbuf, SBUFSIZE);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:773:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "TIFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:776:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "TIFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:779:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "SUN", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:782:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PBM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:785:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PGM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:788:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PPM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:791:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PBM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:794:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PGM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:797:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy(creator, "PPM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:800:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	      strncpy(creator, "JPEG", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:803:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	      strncpy(creator, "PNG", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:809:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "BM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:812:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "ATK", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:815:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "MP", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:818:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "X11", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:821:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "PCX", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:824:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "IFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:827:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "GIF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:830:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy(creator, "RLE", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:892:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "COMPRESS", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:897:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "GZIP", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:901:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "TIFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:904:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "TIFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:907:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "SUN", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:910:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PBM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:913:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PGM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:916:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PPM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:919:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PBMA", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:922:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PGMA", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:925:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PPMA", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:928:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "JPEG", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:931:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(creator, "PNG", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:937:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "BM", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:940:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "ATK", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:943:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "MP", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:946:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "X11", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:949:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "PCX", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:952:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "IFF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:955:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "GIF", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:958:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(creator, "RLE", creator_size);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:994: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).
      chcnt -= strlen(creator);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1006:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(file)) == ' ' || c == '\n') { }
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1007:38:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return (hexmap[c] << 4) + hexmap[getc(file)];
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1726:60:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (is_ascii()) fscanf(infile, "%d", &red); else red = getc(infile);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1728:64:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (is_ascii()) fscanf(infile, "%d", &green); else green = getc(infile);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1730:62:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (is_ascii()) fscanf(infile, "%d", &blue); else blue = getc(infile);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1750:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      red = getc(file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1751:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      green = getc(file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1752:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      blue = getc(file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1783:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gray = getc(infile);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:1802:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gray = getc(file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2435:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      in.read(buffer, BUFSIZ);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovimport.cc:2556:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      if (mask == 128) byte = getc(file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1654: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1654: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).
  if (strncmp(testbuf+strlen(testbuf)-strlen(command)-1, 
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovkit.cc:1655: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).
	      command, strlen(command)) != 0) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:638:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:658:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:679:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:700:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:721:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:742:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:763:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:784:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:805:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:826:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:847:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  raster->read(in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.cc:2069:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean OverlayRaster::read(istream& in) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovraster.h:391:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(istream& in);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:141:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                getc(_file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:177:44:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short red = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:178:46:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short green = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:179:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short blue = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:191:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int byte = getc(_file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:229:44:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short red = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:230:46:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short green = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:231:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            u_short blue = (u_short)((float(getc(_file))/0xff)*0xffff);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovrestimage.cc:243:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int byte = getc(_file);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.cc:253: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 size = strlen(text);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovtext.cc:356: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).
    int count = strlen(text);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovunidraw.cc:137:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  session->read(e, &unidraw_updated_or_command_pushed_or_npause_lessened);
data/ivtools-2.0.4a1/src/OverlayUnidraw/ovunidraw.cc:143:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if( !session->read(&tempsec, &tempusec, e, &unidraw_updated_or_command_pushed_or_npause_lessened)){
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:290: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 key[strlen(keyword)+4];
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:722: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(sbuf, "\n");
data/ivtools-2.0.4a1/src/OverlayUnidraw/scriptview.cc:732:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int slen = strlen(sbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:119: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).
	    while (!feof(fptr) && strncmp(_begstr, inbuf, strlen(_begstr)) != 0) 
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:129: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).
	while (!feof(fptr) && (_endstr ? strncmp(_endstr, inbuf, strlen(_endstr)) != 0 : true)) {
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc: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).
	    len = strlen(inbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:153:8:  [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(buffer+buflen, "\n");
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:161: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).
			    nc = strlen(wordbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:164: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).
	       		    buflen += strlen(wordbuf);
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:182: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).
				buflen += strlen(wordbuf); 
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:185: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).
				buflen += strlen(wordbuf) - 1; 
data/ivtools-2.0.4a1/src/OverlayUnidraw/textfile.cc:213: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).
	        buflen += strlen(inbuf);
data/ivtools-2.0.4a1/src/TIFF/tif_compat.c:128: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).
	fab.fab$b_fns = strlen(name);
data/ivtools-2.0.4a1/src/TIFF/tif_dir.c:45:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(cp)+1;
data/ivtools-2.0.4a1/src/TIFF/tif_dirwrite.c:556: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).
	dir->tdir_count = strlen(cp) + 1;	/* includes \0 byte */
data/ivtools-2.0.4a1/src/TIFF/tif_open.c:167: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).
	tif = (TIFF *)malloc(sizeof (TIFF) + strlen(name) + 1);
data/ivtools-2.0.4a1/src/TIFF/tiffcompat.h:164:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define	ReadOK(fd, buf, size)	(read(fd, (char *)buf, size) == size)
data/ivtools-2.0.4a1/src/Time/Date.cc:332: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).
		register unsigned len = strlen(nameOfMonth);
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:976:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(sync_string);
data/ivtools-2.0.4a1/src/UniIdraw/idcatalog.cc:1061: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 buflen = strlen(_buf) + 1;
data/ivtools-2.0.4a1/src/UniIdraw/iddialogs.cc:85: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/UniIdraw/iddialogs.cc:182: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/UniIdraw/iddialogs.cc:256: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/UniIdraw/ided.cc:140:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            new HGlue(0, 5*strlen(name), 0)
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:638: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 n_delim = strlen(delim);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:917: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(MARK);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1393: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).
    char* spc = &string[strlen(string)];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1402: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).
    char* spc = &string[strlen(string)];
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1666: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).
	    std::istrstream in(definition, strlen(definition) + 1);
data/ivtools-2.0.4a1/src/Unidraw/catalog.cc:1713: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).
        out << strlen(string) << "\"" << string << "\"";
data/ivtools-2.0.4a1/src/Unidraw/dialogs.cc:488: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).
    _medit->Select(0, strlen(_medit->Text()));
data/ivtools-2.0.4a1/src/Unidraw/editor.cc:130:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, (const char*)&ks, 2);
data/ivtools-2.0.4a1/src/Unidraw/import.cc:178:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(file)) == ' ' || c == '\n') { }
data/ivtools-2.0.4a1/src/Unidraw/import.cc:179:38:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return (hexmap[c] << 4) + hexmap[getc(file)];
data/ivtools-2.0.4a1/src/Unidraw/manips.cc:483:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(_buf, sample, samplen);
data/ivtools-2.0.4a1/src/Unidraw/manips.cc:545:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(new_buf, _buf, _textlen);
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:104: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).
    _printfontandsize = new char[strlen(_printfont)+1 + strlen(_printsize)+1];
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:104:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    _printfontandsize = new char[strlen(_printfont)+1 + strlen(_printsize)+1];
data/ivtools-2.0.4a1/src/Unidraw/pspaint.cc:106: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(_printfontandsize, " ");
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:924: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 linelen = strlen(comment);
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:930:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (linelen + strlen(font->GetPrintFont()) + 2 <= MAXLINELEN) {
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:935: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).
	    linelen = strlen("%%+ ");
data/ivtools-2.0.4a1/src/Unidraw/psview.cc:938: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).
	linelen += strlen(font->GetPrintFont());
data/ivtools-2.0.4a1/src/Unidraw/text.cc:227: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 size = strlen(text);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:329: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 tgcount = strlen(tgstring);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:330: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).
    int count = strlen(_string);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:348: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).
    int count = strlen(_string);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:384: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).
    int size = strlen(s);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:403: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).
    int size = strlen(s);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:422:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int size = strlen(s);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:451: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).
    int size = strlen(s);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:476: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).
    int size = strlen(s);
data/ivtools-2.0.4a1/src/Unidraw/text.cc:522: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).
    int count = strlen(text);
data/ivtools-2.0.4a1/src/Unidraw/unidraw.cc:266:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	session->read(e);
data/ivtools-2.0.4a1/src/comterp_/main.cc:189:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	in.read(buffer, BUFSIZ*BUFSIZ);
data/ivtools-2.0.4a1/src/dclock/clocktime.cc:69:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(date, ds, 10);		/* day, month, day of month */
data/ivtools-2.0.4a1/src/dclock/clocktime.cc:71:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(date, ds+19, 5);		/* year */
data/ivtools-2.0.4a1/src/dclock/dface.cc:152: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).
	date.len = strlen(today);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:139:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(String&);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:140:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(char&);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:141:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(int&);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:142:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boolean read(float&);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:172:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(name)) {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:174:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(version_);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:226:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:228:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(ch);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:234:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    while (read(ch) && ch != ']') {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:247:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(ch);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:252:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			    read(digit);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:254:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			    read(digit);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:268:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(c);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:274:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(xx);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:275:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(yy);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:301:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(radius);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:305:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(r1);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:306:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(r2);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:326:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int n = file_->read(start_);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:336:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(String& s) {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:353:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(char& c) {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:361:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(int& i) {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:363:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(s) && s.convert(i);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:366:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
boolean IdrawReaderImpl::read(float& f) {
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:368:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(s) && s.convert(f);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:373:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read(s) && s != "%I") { }
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:379:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:380:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:390:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(width);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:410:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:411:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:416:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(r);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:417:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(g);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:418:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(b);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:438:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:439:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:444:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(psname);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:447:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(pointsize);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:460:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:461:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:485:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:486:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(s);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/ips/idraw.cc:490:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    read(a[i]);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/preview/main.cc:136:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int len = file->read(data);
data/ivtools-2.0.4a1/src/glyphs/examples3.1/sendplot/main.cc:28:9:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        getchar();
data/ivtools-2.0.4a1/src/glyphs/morpher/glyphviewer.cc:55:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s->read(ev);
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:196: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(file);
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc: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).
    int length = strlen(file);
data/ivtools-2.0.4a1/src/iclass/classbuffer.cc:281:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int len = f->read(buf);
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:216: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).
    _sedit->Select(0, strlen(_sedit->Text()));
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:387: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).
    getcwd(path, sizeof(path) - strlen(relpath) - 1);
data/ivtools-2.0.4a1/src/iclass/dialogs.cc:388: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(path, "/");
data/ivtools-2.0.4a1/src/iclass/direct.cc:166: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 (IsADirectory(newpath) && newpath[strlen(newpath)-1] != '/') {
data/ivtools-2.0.4a1/src/iclass/direct.cc:167:9:  [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(newpath, "/");
data/ivtools-2.0.4a1/src/iclass/direct.cc:175:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i = strlen(path);
data/ivtools-2.0.4a1/src/iclass/direct.cc:185: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).
    for (int i = strlen(path)-1; i > 0; --i) {
data/ivtools-2.0.4a1/src/iclass/direct.cc:198: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).
    for (src = path; src < &path[strlen(path)]; ++src) {
data/ivtools-2.0.4a1/src/iclass/direct.cc:242: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).
    for (src = path; src < &path[strlen(path)]; ++src) {
data/ivtools-2.0.4a1/src/iclass/direct.cc:260:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int length = (end == nil) ? strlen(beg) : end - beg;
data/ivtools-2.0.4a1/src/iclass/direct.cc:280:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buf, tildeName+1, length-1);
data/ivtools-2.0.4a1/src/iclass/globals.cc:37: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).
    char* dup = new char[strlen(s) + 1];
data/ivtools-2.0.4a1/src/iclass/globals.cc:45:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dup, s, len);
data/ivtools-2.0.4a1/src/iclass/iclass.cc:191: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(filename) != 0) {
data/ivtools-2.0.4a1/src/iclass/iclass.cc:204: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 l = strlen(b);
data/ivtools-2.0.4a1/src/iclass/iclass.cc:444: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).
    _curClass->Select(0, strlen(_curClass->Text()));
data/ivtools-2.0.4a1/src/iclass/iclass.cc:448: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).
    _curClass->Select(strlen(_curClass->Text()));
data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/minmax.h:66:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
inline boolean equal(float x, float y, float e) {
data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/world.h:85:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(Event&);
data/ivtools-2.0.4a1/src/include/IV-2_6/InterViews/world.h:86:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(long sec, long usec, Event&);
data/ivtools-2.0.4a1/src/include/InterViews/event.h:85:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read();
data/ivtools-2.0.4a1/src/include/InterViews/event.h:86:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(long sec, long usec);
data/ivtools-2.0.4a1/src/include/InterViews/session.h:100:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(Event&, boolean (*test)() = nil);
data/ivtools-2.0.4a1/src/include/InterViews/session.h:101:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(long sec, long usec, Event&, boolean (*test)() = nil);
data/ivtools-2.0.4a1/src/include/InterViews/session.h:102:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual boolean read(long* sec, long* usec, Event&, boolean (*test)() = nil);
data/ivtools-2.0.4a1/src/include/OS/file.h:61:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual int read(const char*& start);
data/ivtools-2.0.4a1/src/include/OS/file.h:70:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual int read(const char*& start);
data/ivtools-2.0.4a1/src/include/OS/math.h:84:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    static boolean equal(float x, float y, float e);
data/ivtools-2.0.4a1/src/include/OS/math.h:85:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    static boolean equal(double x, double y, double e);
data/ivtools-2.0.4a1/src/include/OS/math.h:102:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
inline boolean Math::equal(float x, float y, float e) {
data/ivtools-2.0.4a1/src/include/OS/math.h:106:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
inline boolean Math::equal(double x, double y, double e) {
data/ivtools-2.0.4a1/src/include/OS/strtable.h:104:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen(str);
data/ivtools-2.0.4a1/src/ivxt/xtsession.cc:103:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(e);
data/ivtools-2.0.4a1/src/ivxt/xtsession.cc:159:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void XtSession::read(
data/ivtools-2.0.4a1/src/ivxt/xtsession.h:49:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read(Event&, boolean (*test)() = nil);
data/ivtools-2.0.4a1/src/utils/http.cc:120: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(header) <= 1) break;  //Single NewLine marks end of header. 
data/ivtools-2.0.4a1/src/utils/readwrite.h:34: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(header);
data/ivtools-2.0.4a1/src/utils/readwrite.h:43:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(in.read(buffer, DownLoadAmount)){    
data/ivtools-2.0.4a1/src/utils/readwrite.h:80: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(header);
data/ivtools-2.0.4a1/src/utils/readwrite.h:84:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(in.read(buffer, DownLoadAmount)) {
data/ivtools-2.0.4a1/src/utils/sockets.cc:182: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(header);
data/ivtools-2.0.4a1/src/utils/sockets.cc:196:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(in.read(buffer, DownLoadAmount)){    
data/ivtools-2.0.4a1/src/utils/sockets.cc:234: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(header);
data/ivtools-2.0.4a1/src/utils/sockets.cc:242:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(in.read(buffer, DownLoadAmount)) {

ANALYSIS SUMMARY:

Hits = 1571
Lines analyzed = 268010 in approximately 6.87 seconds (39031 lines/second)
Physical Source Lines of Code (SLOC) = 187953
Hits@level = [0] 529 [1] 595 [2] 659 [3]  53 [4] 264 [5]   0
Hits@level+ = [0+] 2100 [1+] 1571 [2+] 976 [3+] 317 [4+] 264 [5+]   0
Hits/KSLOC@level+ = [0+] 11.173 [1+] 8.35847 [2+] 5.19279 [3+] 1.68659 [4+] 1.40461 [5+]   0
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
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.