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/mm3d-1.3.12/src/3dm.cc
Examining data/mm3d-1.3.12/src/commands/aligncmd.cc
Examining data/mm3d-1.3.12/src/commands/aligncmd.h
Examining data/mm3d-1.3.12/src/commands/capcmd.cc
Examining data/mm3d-1.3.12/src/commands/capcmd.h
Examining data/mm3d-1.3.12/src/commands/copycmd.cc
Examining data/mm3d-1.3.12/src/commands/copycmd.h
Examining data/mm3d-1.3.12/src/commands/deletecmd.cc
Examining data/mm3d-1.3.12/src/commands/deletecmd.h
Examining data/mm3d-1.3.12/src/commands/dupcmd.cc
Examining data/mm3d-1.3.12/src/commands/dupcmd.h
Examining data/mm3d-1.3.12/src/commands/edgedivcmd.cc
Examining data/mm3d-1.3.12/src/commands/edgedivcmd.h
Examining data/mm3d-1.3.12/src/commands/edgeturncmd.cc
Examining data/mm3d-1.3.12/src/commands/edgeturncmd.h
Examining data/mm3d-1.3.12/src/commands/extrudecmd.cc
Examining data/mm3d-1.3.12/src/commands/extrudecmd.h
Examining data/mm3d-1.3.12/src/commands/faceoutcmd.cc
Examining data/mm3d-1.3.12/src/commands/faceoutcmd.h
Examining data/mm3d-1.3.12/src/commands/flattencmd.cc
Examining data/mm3d-1.3.12/src/commands/flattencmd.h
Examining data/mm3d-1.3.12/src/commands/flipcmd.cc
Examining data/mm3d-1.3.12/src/commands/flipcmd.h
Examining data/mm3d-1.3.12/src/commands/hidecmd.cc
Examining data/mm3d-1.3.12/src/commands/hidecmd.h
Examining data/mm3d-1.3.12/src/commands/invertcmd.cc
Examining data/mm3d-1.3.12/src/commands/invertcmd.h
Examining data/mm3d-1.3.12/src/commands/invnormalcmd.cc
Examining data/mm3d-1.3.12/src/commands/invnormalcmd.h
Examining data/mm3d-1.3.12/src/commands/makefacecmd.cc
Examining data/mm3d-1.3.12/src/commands/makefacecmd.h
Examining data/mm3d-1.3.12/src/commands/pastecmd.cc
Examining data/mm3d-1.3.12/src/commands/pastecmd.h
Examining data/mm3d-1.3.12/src/commands/rotatetexcmd.cc
Examining data/mm3d-1.3.12/src/commands/rotatetexcmd.h
Examining data/mm3d-1.3.12/src/commands/selectfreecmd.cc
Examining data/mm3d-1.3.12/src/commands/selectfreecmd.h
Examining data/mm3d-1.3.12/src/commands/simplifycmd.cc
Examining data/mm3d-1.3.12/src/commands/simplifycmd.h
Examining data/mm3d-1.3.12/src/commands/snapcmd.cc
Examining data/mm3d-1.3.12/src/commands/snapcmd.h
Examining data/mm3d-1.3.12/src/commands/spherifycmd.cc
Examining data/mm3d-1.3.12/src/commands/spherifycmd.h
Examining data/mm3d-1.3.12/src/commands/subdividecmd.cc
Examining data/mm3d-1.3.12/src/commands/subdividecmd.h
Examining data/mm3d-1.3.12/src/commands/unweldcmd.cc
Examining data/mm3d-1.3.12/src/commands/unweldcmd.h
Examining data/mm3d-1.3.12/src/commands/weldcmd.cc
Examining data/mm3d-1.3.12/src/commands/weldcmd.h
Examining data/mm3d-1.3.12/src/depui/errorobj.cc
Examining data/mm3d-1.3.12/src/depui/errorobj.h
Examining data/mm3d-1.3.12/src/depui/modelviewport.cc
Examining data/mm3d-1.3.12/src/depui/modelviewport.h
Examining data/mm3d-1.3.12/src/depui/textureframe.cc
Examining data/mm3d-1.3.12/src/depui/textureframe.h
Examining data/mm3d-1.3.12/src/depui/texwidget.cc
Examining data/mm3d-1.3.12/src/depui/texwidget.h
Examining data/mm3d-1.3.12/src/implui/aboutwin.cc
Examining data/mm3d-1.3.12/src/implui/aboutwin.h
Examining data/mm3d-1.3.12/src/implui/alignwin.cc
Examining data/mm3d-1.3.12/src/implui/alignwin.h
Examining data/mm3d-1.3.12/src/implui/animconvertwin.cc
Examining data/mm3d-1.3.12/src/implui/animconvertwin.h
Examining data/mm3d-1.3.12/src/implui/animexportwin.cc
Examining data/mm3d-1.3.12/src/implui/animexportwin.h
Examining data/mm3d-1.3.12/src/implui/animsetwin.cc
Examining data/mm3d-1.3.12/src/implui/animsetwin.h
Examining data/mm3d-1.3.12/src/implui/animwidget.cc
Examining data/mm3d-1.3.12/src/implui/animwidget.h
Examining data/mm3d-1.3.12/src/implui/animwin.cc
Examining data/mm3d-1.3.12/src/implui/animwin.h
Examining data/mm3d-1.3.12/src/implui/autoassignjointwin.cc
Examining data/mm3d-1.3.12/src/implui/autoassignjointwin.h
Examining data/mm3d-1.3.12/src/implui/backgroundselect.cc
Examining data/mm3d-1.3.12/src/implui/backgroundselect.h
Examining data/mm3d-1.3.12/src/implui/backgroundwin.cc
Examining data/mm3d-1.3.12/src/implui/backgroundwin.h
Examining data/mm3d-1.3.12/src/implui/boolpanel.cc
Examining data/mm3d-1.3.12/src/implui/boolpanel.h
Examining data/mm3d-1.3.12/src/implui/boolwin.cc
Examining data/mm3d-1.3.12/src/implui/boolwin.h
Examining data/mm3d-1.3.12/src/implui/cal3dprompt.cc
Examining data/mm3d-1.3.12/src/implui/cal3dprompt.h
Examining data/mm3d-1.3.12/src/implui/contextgroup.cc
Examining data/mm3d-1.3.12/src/implui/contextgroup.h
Examining data/mm3d-1.3.12/src/implui/contextinfluences.cc
Examining data/mm3d-1.3.12/src/implui/contextinfluences.h
Examining data/mm3d-1.3.12/src/implui/contextname.cc
Examining data/mm3d-1.3.12/src/implui/contextname.h
Examining data/mm3d-1.3.12/src/implui/contextpanel.cc
Examining data/mm3d-1.3.12/src/implui/contextpanel.h
Examining data/mm3d-1.3.12/src/implui/contextposition.cc
Examining data/mm3d-1.3.12/src/implui/contextposition.h
Examining data/mm3d-1.3.12/src/implui/contextprojection.cc
Examining data/mm3d-1.3.12/src/implui/contextprojection.h
Examining data/mm3d-1.3.12/src/implui/contextrotation.cc
Examining data/mm3d-1.3.12/src/implui/contextrotation.h
Examining data/mm3d-1.3.12/src/implui/extrudewin.cc
Examining data/mm3d-1.3.12/src/implui/extrudewin.h
Examining data/mm3d-1.3.12/src/implui/groupclean.cc
Examining data/mm3d-1.3.12/src/implui/groupclean.h
Examining data/mm3d-1.3.12/src/implui/groupwin.cc
Examining data/mm3d-1.3.12/src/implui/groupwin.h
Examining data/mm3d-1.3.12/src/implui/helpwin.cc
Examining data/mm3d-1.3.12/src/implui/helpwin.h
Examining data/mm3d-1.3.12/src/implui/iqeprompt.cc
Examining data/mm3d-1.3.12/src/implui/iqeprompt.h
Examining data/mm3d-1.3.12/src/implui/jointwin.cc
Examining data/mm3d-1.3.12/src/implui/jointwin.h
Examining data/mm3d-1.3.12/src/implui/keycfg.h
Examining data/mm3d-1.3.12/src/implui/keyvaluewin.cc
Examining data/mm3d-1.3.12/src/implui/keyvaluewin.h
Examining data/mm3d-1.3.12/src/implui/licensewin.cc
Examining data/mm3d-1.3.12/src/implui/licensewin.h
Examining data/mm3d-1.3.12/src/implui/mapdirection.cc
Examining data/mm3d-1.3.12/src/implui/mapdirection.h
Examining data/mm3d-1.3.12/src/implui/mergewin.cc
Examining data/mm3d-1.3.12/src/implui/mergewin.h
Examining data/mm3d-1.3.12/src/implui/metawin.cc
Examining data/mm3d-1.3.12/src/implui/metawin.h
Examining data/mm3d-1.3.12/src/implui/ms3dprompt.cc
Examining data/mm3d-1.3.12/src/implui/ms3dprompt.h
Examining data/mm3d-1.3.12/src/implui/msgqt.cc
Examining data/mm3d-1.3.12/src/implui/msgqt.h
Examining data/mm3d-1.3.12/src/implui/mview.cc
Examining data/mm3d-1.3.12/src/implui/mview.h
Examining data/mm3d-1.3.12/src/implui/newanim.cc
Examining data/mm3d-1.3.12/src/implui/newanim.h
Examining data/mm3d-1.3.12/src/implui/objprompt.cc
Examining data/mm3d-1.3.12/src/implui/objprompt.h
Examining data/mm3d-1.3.12/src/implui/painttexturewin.cc
Examining data/mm3d-1.3.12/src/implui/painttexturewin.h
Examining data/mm3d-1.3.12/src/implui/paintwidget.cc
Examining data/mm3d-1.3.12/src/implui/paintwidget.h
Examining data/mm3d-1.3.12/src/implui/pluginwin.cc
Examining data/mm3d-1.3.12/src/implui/pluginwin.h
Examining data/mm3d-1.3.12/src/implui/pointwin.cc
Examining data/mm3d-1.3.12/src/implui/pointwin.h
Examining data/mm3d-1.3.12/src/implui/projectionwin.cc
Examining data/mm3d-1.3.12/src/implui/projectionwin.h
Examining data/mm3d-1.3.12/src/implui/qtmain.cc
Examining data/mm3d-1.3.12/src/implui/qtmain.h
Examining data/mm3d-1.3.12/src/implui/qttex.cc
Examining data/mm3d-1.3.12/src/implui/qttex.h
Examining data/mm3d-1.3.12/src/implui/smdprompt.cc
Examining data/mm3d-1.3.12/src/implui/smdprompt.h
Examining data/mm3d-1.3.12/src/implui/spherifywin.cc
Examining data/mm3d-1.3.12/src/implui/spherifywin.h
Examining data/mm3d-1.3.12/src/implui/statusbar.cc
Examining data/mm3d-1.3.12/src/implui/statusbar.h
Examining data/mm3d-1.3.12/src/implui/texturecoord.cc
Examining data/mm3d-1.3.12/src/implui/texturecoord.h
Examining data/mm3d-1.3.12/src/implui/texwin.cc
Examining data/mm3d-1.3.12/src/implui/texwin.h
Examining data/mm3d-1.3.12/src/implui/transformwin.cc
Examining data/mm3d-1.3.12/src/implui/transformwin.h
Examining data/mm3d-1.3.12/src/implui/transimp.cc
Examining data/mm3d-1.3.12/src/implui/transimp.h
Examining data/mm3d-1.3.12/src/implui/valuewin.cc
Examining data/mm3d-1.3.12/src/implui/valuewin.h
Examining data/mm3d-1.3.12/src/implui/viewpanel.cc
Examining data/mm3d-1.3.12/src/implui/viewpanel.h
Examining data/mm3d-1.3.12/src/implui/viewportsettings.cc
Examining data/mm3d-1.3.12/src/implui/viewportsettings.h
Examining data/mm3d-1.3.12/src/implui/viewwin.cc
Examining data/mm3d-1.3.12/src/implui/viewwin.h
Examining data/mm3d-1.3.12/src/implui/viewwin_influences.cc
Examining data/mm3d-1.3.12/src/implui/keycfg.cc
Examining data/mm3d-1.3.12/src/libmm3d/binutil.h
Examining data/mm3d-1.3.12/src/libmm3d/bsptree.cc
Examining data/mm3d-1.3.12/src/libmm3d/bsptree.h
Examining data/mm3d-1.3.12/src/libmm3d/cal3dfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/cmdlinemgr.cc
Examining data/mm3d-1.3.12/src/libmm3d/cmdlinemgr.h
Examining data/mm3d-1.3.12/src/libmm3d/cobfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/cobfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/datadest.cc
Examining data/mm3d-1.3.12/src/libmm3d/datadest.h
Examining data/mm3d-1.3.12/src/libmm3d/datasource.cc
Examining data/mm3d-1.3.12/src/libmm3d/datasource.h
Examining data/mm3d-1.3.12/src/libmm3d/drawcontext.h
Examining data/mm3d-1.3.12/src/libmm3d/dxffilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/dxffilter.h
Examining data/mm3d-1.3.12/src/libmm3d/endianconfig.h
Examining data/mm3d-1.3.12/src/libmm3d/file_closer.h
Examining data/mm3d-1.3.12/src/libmm3d/filedatadest.cc
Examining data/mm3d-1.3.12/src/libmm3d/filedatadest.h
Examining data/mm3d-1.3.12/src/libmm3d/filedatasource.cc
Examining data/mm3d-1.3.12/src/libmm3d/filedatasource.h
Examining data/mm3d-1.3.12/src/libmm3d/filefactory.cc
Examining data/mm3d-1.3.12/src/libmm3d/filefactory.h
Examining data/mm3d-1.3.12/src/libmm3d/filtermgr.cc
Examining data/mm3d-1.3.12/src/libmm3d/filtermgr.h
Examining data/mm3d-1.3.12/src/libmm3d/glheaders.h
Examining data/mm3d-1.3.12/src/libmm3d/glmath.cc
Examining data/mm3d-1.3.12/src/libmm3d/glmath.h
Examining data/mm3d-1.3.12/src/libmm3d/iqefilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/iqefilter.h
Examining data/mm3d-1.3.12/src/libmm3d/local_array.h
Examining data/mm3d-1.3.12/src/libmm3d/local_ptr.h
Examining data/mm3d-1.3.12/src/libmm3d/log.cc
Examining data/mm3d-1.3.12/src/libmm3d/log.h
Examining data/mm3d-1.3.12/src/libmm3d/lwofilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/lwofilter.h
Examining data/mm3d-1.3.12/src/libmm3d/md2filter-anorms.h
Examining data/mm3d-1.3.12/src/libmm3d/md2filter.cc
Examining data/mm3d-1.3.12/src/libmm3d/md2filter.h
Examining data/mm3d-1.3.12/src/libmm3d/md3filter.cc
Examining data/mm3d-1.3.12/src/libmm3d/md3filter.h
Examining data/mm3d-1.3.12/src/libmm3d/memdatadest.cc
Examining data/mm3d-1.3.12/src/libmm3d/memdatadest.h
Examining data/mm3d-1.3.12/src/libmm3d/memdatasource.cc
Examining data/mm3d-1.3.12/src/libmm3d/memdatasource.h
Examining data/mm3d-1.3.12/src/libmm3d/mesh.cc
Examining data/mm3d-1.3.12/src/libmm3d/mesh.h
Examining data/mm3d-1.3.12/src/libmm3d/misc.h
Examining data/mm3d-1.3.12/src/libmm3d/mlocale.cc
Examining data/mm3d-1.3.12/src/libmm3d/mlocale.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dconfig.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/mm3dfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc
Examining data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dport.cc
Examining data/mm3d-1.3.12/src/libmm3d/mm3dport.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dreg.cc
Examining data/mm3d-1.3.12/src/libmm3d/mm3dreg.h
Examining data/mm3d-1.3.12/src/libmm3d/mm3dtypes.h
Examining data/mm3d-1.3.12/src/libmm3d/model.cc
Examining data/mm3d-1.3.12/src/libmm3d/model.h
Examining data/mm3d-1.3.12/src/libmm3d/model_anim.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_bool.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_copy.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_draw.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_group.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_influence.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_inner.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_insert.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_meta.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_ops.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_print.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_proj.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_select.cc
Examining data/mm3d-1.3.12/src/libmm3d/model_texture.cc
Examining data/mm3d-1.3.12/src/libmm3d/modelfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/modelfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/modelstatus.cc
Examining data/mm3d-1.3.12/src/libmm3d/modelstatus.h
Examining data/mm3d-1.3.12/src/libmm3d/modelundo.cc
Examining data/mm3d-1.3.12/src/libmm3d/modelundo.h
Examining data/mm3d-1.3.12/src/libmm3d/modelutil.cc
Examining data/mm3d-1.3.12/src/libmm3d/modelutil.h
Examining data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/ms3dfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/msg.cc
Examining data/mm3d-1.3.12/src/libmm3d/msg.h
Examining data/mm3d-1.3.12/src/libmm3d/objfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/objfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/pcxtex.cc
Examining data/mm3d-1.3.12/src/libmm3d/pcxtex.h
Examining data/mm3d-1.3.12/src/libmm3d/raii.h
Examining data/mm3d-1.3.12/src/libmm3d/rawtex.cc
Examining data/mm3d-1.3.12/src/libmm3d/rawtex.h
Examining data/mm3d-1.3.12/src/libmm3d/release_ptr.h
Examining data/mm3d-1.3.12/src/libmm3d/smdfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/smdfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/sorted_list.h
Examining data/mm3d-1.3.12/src/libmm3d/texmgr.cc
Examining data/mm3d-1.3.12/src/libmm3d/texmgr.h
Examining data/mm3d-1.3.12/src/libmm3d/texscale.cc
Examining data/mm3d-1.3.12/src/libmm3d/texscale.h
Examining data/mm3d-1.3.12/src/libmm3d/texture.cc
Examining data/mm3d-1.3.12/src/libmm3d/texture.h
Examining data/mm3d-1.3.12/src/libmm3d/tgatex.cc
Examining data/mm3d-1.3.12/src/libmm3d/tgatex.h
Examining data/mm3d-1.3.12/src/libmm3d/translate.cc
Examining data/mm3d-1.3.12/src/libmm3d/translate.h
Examining data/mm3d-1.3.12/src/libmm3d/triprim.cc
Examining data/mm3d-1.3.12/src/libmm3d/triprim.h
Examining data/mm3d-1.3.12/src/libmm3d/txtfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/txtfilter.h
Examining data/mm3d-1.3.12/src/libmm3d/undo.cc
Examining data/mm3d-1.3.12/src/libmm3d/undo.h
Examining data/mm3d-1.3.12/src/libmm3d/undomgr.cc
Examining data/mm3d-1.3.12/src/libmm3d/undomgr.h
Examining data/mm3d-1.3.12/src/libmm3d/util.h
Examining data/mm3d-1.3.12/src/libmm3d/weld.cc
Examining data/mm3d-1.3.12/src/libmm3d/weld.h
Examining data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc
Examining data/mm3d-1.3.12/src/libmm3d/misc.cc
Examining data/mm3d-1.3.12/src/mm3dcore/3dmprefs.cc
Examining data/mm3d-1.3.12/src/mm3dcore/3dmprefs.h
Examining data/mm3d-1.3.12/src/mm3dcore/align.cc
Examining data/mm3d-1.3.12/src/mm3dcore/align.h
Examining data/mm3d-1.3.12/src/mm3dcore/allocstats.cc
Examining data/mm3d-1.3.12/src/mm3dcore/allocstats.h
Examining data/mm3d-1.3.12/src/mm3dcore/bounding.cc
Examining data/mm3d-1.3.12/src/mm3dcore/bounding.h
Examining data/mm3d-1.3.12/src/mm3dcore/cmdline.cc
Examining data/mm3d-1.3.12/src/mm3dcore/cmdline.h
Examining data/mm3d-1.3.12/src/mm3dcore/cmdmgr.cc
Examining data/mm3d-1.3.12/src/mm3dcore/cmdmgr.h
Examining data/mm3d-1.3.12/src/mm3dcore/command.cc
Examining data/mm3d-1.3.12/src/mm3dcore/command.h
Examining data/mm3d-1.3.12/src/mm3dcore/contextpanelobserver.cc
Examining data/mm3d-1.3.12/src/mm3dcore/contextpanelobserver.h
Examining data/mm3d-1.3.12/src/mm3dcore/contextwidget.cc
Examining data/mm3d-1.3.12/src/mm3dcore/contextwidget.h
Examining data/mm3d-1.3.12/src/mm3dcore/decal.cc
Examining data/mm3d-1.3.12/src/mm3dcore/decal.h
Examining data/mm3d-1.3.12/src/mm3dcore/decalmgr.cc
Examining data/mm3d-1.3.12/src/mm3dcore/decalmgr.h
Examining data/mm3d-1.3.12/src/mm3dcore/luaif.cc
Examining data/mm3d-1.3.12/src/mm3dcore/luaif.h
Examining data/mm3d-1.3.12/src/mm3dcore/luascript.cc
Examining data/mm3d-1.3.12/src/mm3dcore/luascript.h
Examining data/mm3d-1.3.12/src/mm3dcore/menuconf.h
Examining data/mm3d-1.3.12/src/mm3dcore/pluginapi.h
Examining data/mm3d-1.3.12/src/mm3dcore/pluginmgr.cc
Examining data/mm3d-1.3.12/src/mm3dcore/pluginmgr.h
Examining data/mm3d-1.3.12/src/mm3dcore/prefparse.cc
Examining data/mm3d-1.3.12/src/mm3dcore/prefparse.h
Examining data/mm3d-1.3.12/src/mm3dcore/prefs.cc
Examining data/mm3d-1.3.12/src/mm3dcore/prefs.h
Examining data/mm3d-1.3.12/src/mm3dcore/rotatepoint.cc
Examining data/mm3d-1.3.12/src/mm3dcore/rotatepoint.h
Examining data/mm3d-1.3.12/src/mm3dcore/scriptif.cc
Examining data/mm3d-1.3.12/src/mm3dcore/scriptif.h
Examining data/mm3d-1.3.12/src/mm3dcore/suborigin.h
Examining data/mm3d-1.3.12/src/mm3dcore/sysconf.cc
Examining data/mm3d-1.3.12/src/mm3dcore/sysconf.h
Examining data/mm3d-1.3.12/src/mm3dcore/texturetest.cc
Examining data/mm3d-1.3.12/src/mm3dcore/texturetest.h
Examining data/mm3d-1.3.12/src/mm3dcore/tool.cc
Examining data/mm3d-1.3.12/src/mm3dcore/tool.h
Examining data/mm3d-1.3.12/src/mm3dcore/toolbox.cc
Examining data/mm3d-1.3.12/src/mm3dcore/toolbox.h
Examining data/mm3d-1.3.12/src/mm3dcore/toolpoly.cc
Examining data/mm3d-1.3.12/src/mm3dcore/toolpoly.h
Examining data/mm3d-1.3.12/src/mm3dcore/version.h
Examining data/mm3d-1.3.12/src/qtui/dummy.c
Examining data/mm3d-1.3.12/src/stdcmds.cc
Examining data/mm3d-1.3.12/src/stdcmds.h
Examining data/mm3d-1.3.12/src/stdfilters.cc
Examining data/mm3d-1.3.12/src/stdfilters.h
Examining data/mm3d-1.3.12/src/stdtexfilters.cc
Examining data/mm3d-1.3.12/src/stdtexfilters.h
Examining data/mm3d-1.3.12/src/stdtools.cc
Examining data/mm3d-1.3.12/src/stdtools.h
Examining data/mm3d-1.3.12/src/tests/common/test_common.cc
Examining data/mm3d-1.3.12/src/tests/common/test_common.h
Examining data/mm3d-1.3.12/src/tests/common/testfilefactory.cc
Examining data/mm3d-1.3.12/src/tests/common/testfilefactory.h
Examining data/mm3d-1.3.12/src/tests/libmm3d/big_endian_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/datadest_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filedatasource_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_cob_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_dxf_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_md2_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_md3_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_mm3d_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_ms3d_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filter_obj_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/filtermgr_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/glmath_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/intfile.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/little_endian_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/memutil_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_add_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_anim_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_equal_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_equiv_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_group_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_init_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_joint_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_material_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_select_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_triangle_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_vertex_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/model_weld_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/msg_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/new_mm3d_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/texcompare_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/texscale_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/translation_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/undomgr_test.cc
Examining data/mm3d-1.3.12/src/tests/libmm3d/util_test.cc
Examining data/mm3d-1.3.12/src/tests/profile/calc_fnormals.cc
Examining data/mm3d-1.3.12/src/tests/profile/calc_normals.cc
Examining data/mm3d-1.3.12/src/tests/profile/group_triangles.cc
Examining data/mm3d-1.3.12/src/tests/profile/load_md3.cc
Examining data/mm3d-1.3.12/src/tools/atrfartool.cc
Examining data/mm3d-1.3.12/src/tools/atrfartool.h
Examining data/mm3d-1.3.12/src/tools/atrneartool.cc
Examining data/mm3d-1.3.12/src/tools/atrneartool.h
Examining data/mm3d-1.3.12/src/tools/bgmovetool.cc
Examining data/mm3d-1.3.12/src/tools/bgmovetool.h
Examining data/mm3d-1.3.12/src/tools/bgscaletool.cc
Examining data/mm3d-1.3.12/src/tools/bgscaletool.h
Examining data/mm3d-1.3.12/src/tools/cubetool.cc
Examining data/mm3d-1.3.12/src/tools/cubetool.h
Examining data/mm3d-1.3.12/src/tools/cubetoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/cubetoolwidget.h
Examining data/mm3d-1.3.12/src/tools/cylindertool.cc
Examining data/mm3d-1.3.12/src/tools/cylindertool.h
Examining data/mm3d-1.3.12/src/tools/cylindertoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/cylindertoolwidget.h
Examining data/mm3d-1.3.12/src/tools/dragvertextool.cc
Examining data/mm3d-1.3.12/src/tools/dragvertextool.h
Examining data/mm3d-1.3.12/src/tools/ellipsetool.cc
Examining data/mm3d-1.3.12/src/tools/ellipsetool.h
Examining data/mm3d-1.3.12/src/tools/ellipsetoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/ellipsetoolwidget.h
Examining data/mm3d-1.3.12/src/tools/extrudetool.cc
Examining data/mm3d-1.3.12/src/tools/extrudetool.h
Examining data/mm3d-1.3.12/src/tools/jointtool.cc
Examining data/mm3d-1.3.12/src/tools/jointtool.h
Examining data/mm3d-1.3.12/src/tools/movetool.cc
Examining data/mm3d-1.3.12/src/tools/movetool.h
Examining data/mm3d-1.3.12/src/tools/pointtool.cc
Examining data/mm3d-1.3.12/src/tools/pointtool.h
Examining data/mm3d-1.3.12/src/tools/polytool.cc
Examining data/mm3d-1.3.12/src/tools/polytool.h
Examining data/mm3d-1.3.12/src/tools/polytoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/polytoolwidget.h
Examining data/mm3d-1.3.12/src/tools/projtool.cc
Examining data/mm3d-1.3.12/src/tools/projtool.h
Examining data/mm3d-1.3.12/src/tools/projtoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/projtoolwidget.h
Examining data/mm3d-1.3.12/src/tools/rectangletool.cc
Examining data/mm3d-1.3.12/src/tools/rectangletool.h
Examining data/mm3d-1.3.12/src/tools/rotatetool.cc
Examining data/mm3d-1.3.12/src/tools/rotatetool.h
Examining data/mm3d-1.3.12/src/tools/rotatetoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/rotatetoolwidget.h
Examining data/mm3d-1.3.12/src/tools/scaletool.cc
Examining data/mm3d-1.3.12/src/tools/scaletool.h
Examining data/mm3d-1.3.12/src/tools/scaletoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/scaletoolwidget.h
Examining data/mm3d-1.3.12/src/tools/selectbonetool.cc
Examining data/mm3d-1.3.12/src/tools/selectbonetool.h
Examining data/mm3d-1.3.12/src/tools/selectconnectedtool.cc
Examining data/mm3d-1.3.12/src/tools/selectconnectedtool.h
Examining data/mm3d-1.3.12/src/tools/selectfacetool.cc
Examining data/mm3d-1.3.12/src/tools/selectfacetool.h
Examining data/mm3d-1.3.12/src/tools/selectfacetoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/selectfacetoolwidget.h
Examining data/mm3d-1.3.12/src/tools/selectgrouptool.cc
Examining data/mm3d-1.3.12/src/tools/selectgrouptool.h
Examining data/mm3d-1.3.12/src/tools/selectpointtool.cc
Examining data/mm3d-1.3.12/src/tools/selectpointtool.h
Examining data/mm3d-1.3.12/src/tools/selectprojtool.cc
Examining data/mm3d-1.3.12/src/tools/selectprojtool.h
Examining data/mm3d-1.3.12/src/tools/selectvertextool.cc
Examining data/mm3d-1.3.12/src/tools/selectvertextool.h
Examining data/mm3d-1.3.12/src/tools/sheartool.cc
Examining data/mm3d-1.3.12/src/tools/sheartool.h
Examining data/mm3d-1.3.12/src/tools/toolwidget.cc
Examining data/mm3d-1.3.12/src/tools/toolwidget.h
Examining data/mm3d-1.3.12/src/tools/torustool.cc
Examining data/mm3d-1.3.12/src/tools/torustool.h
Examining data/mm3d-1.3.12/src/tools/torustoolwidget.cc
Examining data/mm3d-1.3.12/src/tools/torustoolwidget.h
Examining data/mm3d-1.3.12/src/tools/vertextool.cc
Examining data/mm3d-1.3.12/src/tools/vertextool.h

FINAL RESULTS:

data/mm3d-1.3.12/src/depui/modelviewport.cc:787:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         text.sprintf( "%g", m_unitWidth );
data/mm3d-1.3.12/src/depui/modelviewport.cc:1342:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      zoomStr.sprintf( "%f", m_zoomLevel );
data/mm3d-1.3.12/src/depui/modelviewport.cc:1365:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      zoomStr.sprintf( "%f", m_zoomLevel );
data/mm3d-1.3.12/src/depui/modelviewport.cc:2300:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      zoomStr.sprintf( "%f", m_zoomLevel );
data/mm3d-1.3.12/src/depui/modelviewport.cc:3035:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   zoomStr.sprintf( "%f", m_zoomLevel );
data/mm3d-1.3.12/src/depui/texwidget.cc:1617:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      zoomStr.sprintf( "%f", (float) m_zoom );
data/mm3d-1.3.12/src/depui/texwidget.cc:1634:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      zoomStr.sprintf( "%f", (float) m_zoom );
data/mm3d-1.3.12/src/implui/animexportwin.cc:314:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         file.sprintf( formatStr, (const char *) path.toUtf8(), frameNum );
data/mm3d-1.3.12/src/implui/animwidget.cc:253:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      numStr.sprintf( "%03d", frame );
data/mm3d-1.3.12/src/implui/boolwin.cc:164:16:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      labelStr.sprintf( "Object: %d Faces", (int) tris.size() );
data/mm3d-1.3.12/src/implui/contextinfluences.cc:624:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            typeStr.sprintf( "%d", weight );
data/mm3d-1.3.12/src/implui/contextposition.cc:138:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", m_coords[0] );
data/mm3d-1.3.12/src/implui/contextposition.cc:141:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", m_coords[1] );
data/mm3d-1.3.12/src/implui/contextposition.cc:144:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", m_coords[2] );
data/mm3d-1.3.12/src/implui/contextposition.cc:147:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%g, %g, %g", cmax[0]-cmin[0], cmax[1]-cmin[1], cmax[2]-cmin[2] );
data/mm3d-1.3.12/src/implui/contextrotation.cc:109:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", (float)rad[0] );
data/mm3d-1.3.12/src/implui/contextrotation.cc:112:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", (float)rad[1] );
data/mm3d-1.3.12/src/implui/contextrotation.cc:115:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%f", (float)rad[2] );
data/mm3d-1.3.12/src/implui/groupwin.cc:158:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            msg.sprintf( "Group name must be between 1 and %d characters", Model::MAX_GROUP_NAME_LEN - 1 );
data/mm3d-1.3.12/src/implui/groupwin.cc:209:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   valStr.sprintf( "%03d", (int) ((val / 255.0) * 100.0 ) );
data/mm3d-1.3.12/src/implui/groupwin.cc:220:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   valStr.sprintf( "%03d", val );
data/mm3d-1.3.12/src/implui/mview.cc:42:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   zoomStr.sprintf( "%f", m_modelView->getZoomLevel() );
data/mm3d-1.3.12/src/implui/qtmain.cc:159:22:  [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.
      loc = QLocale::system().name();
data/mm3d-1.3.12/src/implui/qttex.cc:191: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( texture->m_name, texture->m_filename );
data/mm3d-1.3.12/src/implui/statusbar.cc:191:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), sv, v );
data/mm3d-1.3.12/src/implui/statusbar.cc:195:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), v );
data/mm3d-1.3.12/src/implui/statusbar.cc:207:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), sf, f );
data/mm3d-1.3.12/src/implui/statusbar.cc:211:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), f );
data/mm3d-1.3.12/src/implui/statusbar.cc:223:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), sg, g );
data/mm3d-1.3.12/src/implui/statusbar.cc:227:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), g );
data/mm3d-1.3.12/src/implui/statusbar.cc:239:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), sb, b );
data/mm3d-1.3.12/src/implui/statusbar.cc:243:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), b );
data/mm3d-1.3.12/src/implui/statusbar.cc:255:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), sb, b );
data/mm3d-1.3.12/src/implui/statusbar.cc:259:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), b );
data/mm3d-1.3.12/src/implui/statusbar.cc:271:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d/%d", (const char *) statChar.toUtf8(), st, t );
data/mm3d-1.3.12/src/implui/statusbar.cc:275:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%s%d", (const char *) statChar.toUtf8(), t );
data/mm3d-1.3.12/src/implui/texwin.cc:459:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%1.02f", (float) v / 100.0 );
data/mm3d-1.3.12/src/implui/texwin.cc:473:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%1.02f", (float) v / 100.0 );
data/mm3d-1.3.12/src/implui/texwin.cc:487:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%1.02f", (float) v / 100.0 );
data/mm3d-1.3.12/src/implui/texwin.cc:501:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%1.02f", (float) v / 100 );
data/mm3d-1.3.12/src/implui/valuewin.cc:69:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "<b>%s<b>", newLabel );
data/mm3d-1.3.12/src/implui/valuewin.cc:89:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      str.sprintf( "%d", v );
data/mm3d-1.3.12/src/libmm3d/log.cc:64:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf( stderr, fmt, ap );
data/mm3d-1.3.12/src/libmm3d/log.cc:77:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf( stderr, fmt, ap );
data/mm3d-1.3.12/src/libmm3d/log.cc:90:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf( stderr, fmt, ap );
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:548:18:  [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, "%d %d %d %d %s %s",
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:550:21:  [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( line, "%s %d %d %d %d",
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1249:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( base, noext );
data/mm3d-1.3.12/src/libmm3d/misc.cc:272:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy( bptr, base );
data/mm3d-1.3.12/src/libmm3d/misc.cc:463:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( path, fullName.c_str() );
data/mm3d-1.3.12/src/libmm3d/misc.cc:673:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy ( str, filename );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:274:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( buf, tmptmstr );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:330:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      rval = vsnprintf( dest, len, fmt, args );
data/mm3d-1.3.12/src/libmm3d/modelutil.cc:68:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( filename, infile );
data/mm3d-1.3.12/src/libmm3d/modelutil.cc:80:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( extension, outformat );
data/mm3d-1.3.12/src/mm3dcore/cmdline.cc:119: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.
   fp = popen( "uname -a", "r" );
data/mm3d-1.3.12/src/mm3dcore/cmdline.cc:134: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.
   fp = popen( "cat /etc/issue", "r" );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:152: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.
      std::wstring realpath( requiredSize, '\0' );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:153:59:  [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 ( GetFullPathNameW( &widePath[0], requiredSize, &realpath[0], NULL ) != 0 )
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:155:68:  [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 ( WideCharToMultiByte( CP_UTF8, WC_ERR_INVALID_CHARS, &realpath[0], -1, resolved_path, len, NULL, NULL ) != 0 ) {
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:167:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
   char * rval = realpath( path, resolved_path );
data/mm3d-1.3.12/src/mm3dcore/pluginmgr.cc:61:8:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
   h = LoadLibrary( filename );
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:100: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.
      if ( realpath( tmppath, actualpath ) == NULL ) {
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:182:20:  [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.
   s_mm3dHomeDir = getenv( "HOME" );
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:204:20:  [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.
   s_mm3dHomeDir = getenv( "HOME" );
data/mm3d-1.3.12/src/depui/modelviewport.cc:1337: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 str[80];
data/mm3d-1.3.12/src/depui/modelviewport.cc:1360: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 str[80];
data/mm3d-1.3.12/src/depui/modelviewport.cc:1660: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 str[80];
data/mm3d-1.3.12/src/implui/animexportwin.cc:76: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 fpsStr[20] = "";
data/mm3d-1.3.12/src/implui/animexportwin.cc:88: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 secStr[20] = "";
data/mm3d-1.3.12/src/implui/animexportwin.cc:100: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 itStr[20] = "";
data/mm3d-1.3.12/src/implui/animexportwin.cc:280: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 formatStr[20] = "";
data/mm3d-1.3.12/src/implui/animexportwin.cc:285:13:  [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( formatStr, "%s/anim_%04d.jpg" );
data/mm3d-1.3.12/src/implui/animexportwin.cc:288:13:  [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( formatStr, "%s/anim_%d.jpg" );
data/mm3d-1.3.12/src/implui/animexportwin.cc:291:13:  [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( formatStr, "%s/anim_%04d.png" );
data/mm3d-1.3.12/src/implui/animexportwin.cc:296:13:  [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( formatStr, "%s/anim_%d.png" );
data/mm3d-1.3.12/src/implui/backgroundselect.cc:109: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.
      std::string file = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/keycfg.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 line[1024];
data/mm3d-1.3.12/src/implui/metawin.cc:56: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 key[1024];
data/mm3d-1.3.12/src/implui/metawin.cc:57: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 value[1024];
data/mm3d-1.3.12/src/implui/ms3dprompt.cc:67: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 str[20];
data/mm3d-1.3.12/src/implui/painttexturewin.cc:233: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 h = atoi( m_hSize->currentText().toLatin1() );
data/mm3d-1.3.12/src/implui/painttexturewin.cc:291: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).
   m_textureFrame->sizeOverride( atoi( m_hSize->currentText().toLatin1() ),
data/mm3d-1.3.12/src/implui/painttexturewin.cc:292:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         atoi( m_vSize->currentText().toLatin1() ) );
data/mm3d-1.3.12/src/implui/qttex.cc:171: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 fmt[5] = "PNG";
data/mm3d-1.3.12/src/implui/qttex.cc:189: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( texture->m_filename, "%p", texture );
data/mm3d-1.3.12/src/implui/qttex.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 fmt[5] = "PNG";
data/mm3d-1.3.12/src/implui/qttex.cc:260: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 fmt[5] = "PNG";
data/mm3d-1.3.12/src/implui/qttex.cc:269: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).
      buffer.open( QIODevice::WriteOnly );
data/mm3d-1.3.12/src/implui/qttex.cc:277:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( (*d)->getDataPtr(), ba.data(), ba.size() );
data/mm3d-1.3.12/src/implui/qttex.cc:340: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( format, "JPEG" );
data/mm3d-1.3.12/src/implui/qttex.cc:344: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( format, "TIFF" );
data/mm3d-1.3.12/src/implui/statusbar.cc:283: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.
   static char temp[1024];
data/mm3d-1.3.12/src/implui/texwin.cc:160: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.
      std::string file = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/viewwin.cc:1058:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            std::string filename = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/viewwin.cc:1135:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      std::string filename = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/viewwin.cc:1224:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      std::string filename = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/viewwin.cc:1274:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      std::string filename = (const char *) files[0].toUtf8();
data/mm3d-1.3.12/src/implui/viewwin.cc:2538:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ( fp.open( QIODevice::WriteOnly ) )
data/mm3d-1.3.12/src/implui/viewwin.cc:2556:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ( fp.open( QIODevice::ReadOnly ) )
data/mm3d-1.3.12/src/libmm3d/bsptree.cc:779: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 input[128];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:183: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 value[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:187:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      m_singleMeshFile = atoi(value) != 0;
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:192:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      m_xmlMatFile = atoi(value) != 0;
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:275: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 version[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:1069:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         int xrfVersion = atoi( versionStr.c_str() );
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2016: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 value[64];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2055: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 keyStr[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2056: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 valueStr[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2185: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 versionStr[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2188: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).
      version = atoi(versionStr);
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2253: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 versionStr[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2256: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).
      version = atoi(versionStr);
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2294: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 versionStr[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2297: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).
      version = atoi(versionStr);
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2333: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 versionStr[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2336: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).
      version = atoi(versionStr);
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2421: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 versionStr[32];
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:2424: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).
      version = atoi(versionStr);
data/mm3d-1.3.12/src/libmm3d/cmdlinemgr.cc:68: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).
      m_intValue = atoi( defaultValue );
data/mm3d-1.3.12/src/libmm3d/cmdlinemgr.cc:82: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).
      m_intValue = atoi( arg );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:472: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 name[64];
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:473: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( name, "Material%d", m_model->getTextureCount() );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:591: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).
    int32_t rval = atoi( (char *) m_bufPos );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:897:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
       material.facetAngle = atoi( &(facetType.c_str()[4]) );
data/mm3d-1.3.12/src/libmm3d/cobfilter.h:79: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 chunkChars[5];
data/mm3d-1.3.12/src/libmm3d/datadest.h:191: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 m_strbuf[ MAX_PRINTF_SIZE ];
data/mm3d-1.3.12/src/libmm3d/datasource.cc:333:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( &buf[bufOff], m_buf, copySize );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:383: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[ 1024 ];
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:593:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            m_lastCode = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:607:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        m_lastCode = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:633: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).
                m_currentColor = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:669:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        m_lastCode = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:680: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).
                m_currentColor = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:759:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        m_lastCode = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:780: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).
                m_currentColor = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:790:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if ( (atoi(line) & 64) != 0 )
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:818:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        m_lastCode = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:875: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).
                m_currentColor = atoi( line );
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:880:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                   int flags = atoi(line);
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:922:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                   m_vertices[v] = atoi( line );
data/mm3d-1.3.12/src/libmm3d/filedatadest.cc:148: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).
   m_fp = fopen( filename, "wb" );
data/mm3d-1.3.12/src/libmm3d/filedatasource.cc:138: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).
   m_fp = fopen( filename, "rb" );
data/mm3d-1.3.12/src/libmm3d/glmath.cc:414: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( pVect, vec, sizeof( double )*3 );
data/mm3d-1.3.12/src/libmm3d/log.cc:102:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      _logProfileFP = fopen( filename, "w" );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:79: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:480: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 surfaceName[256];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:499: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 surfaceName[256] = "";
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:500: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 sourceName[256] = "";
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:501: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 filename[256] = "";
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:518: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:552: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 typeStr[64];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:691: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:734: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:741:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[256];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:790: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 tagName[256];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:804: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:835: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 id[5];
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:860: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 texFilename[256];
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:215: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 name[64];
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:344: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 tempPath[ 64 ];
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:721: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 md2path[64];
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:859: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 namestr[16];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:73: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 s_animNames[ MD3_ANIMATIONS ][16] = 
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:268: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 pk3Name[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:344: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 frameName[16];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:518: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 line[256];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:535: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 comment[128] = { 0 }; // May hold "//" or "//BOTH_x..."
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:536: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 fname[128] = { 0 }; // May hold "BOTH_x..."
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:606:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                     name = (char *) s_animNames[ animCount ];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:885: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 meshName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1049: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 shaderName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1293: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 linebuf[1024];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1438: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 tagName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1785: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 value[20];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1788: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).
               if ( atoi( value ) == 0 )
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1888: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 pk3Name[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2101: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 name[16] = "MaverickModel3D"; // this is what other exporters do
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2139:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char tName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2217: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 mName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2289: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 sName[MAX_QPATH];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2454: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 value[20];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2458: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).
      if ( atoi( value ) == 1 )
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2493: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 keyword[1024], value[1024];
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2532:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            eliteLoop = (atoi(value) > 0);
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2536:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            animKeyword = (atoi(value) > 0);
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2596: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 spaces[MAX_SPACES+2] = {' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2765: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 pk3Path[MAX_QPATH] = "";
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2777: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 pk3Path[MAX_QPATH] = "";
data/mm3d-1.3.12/src/libmm3d/memdatadest.cc:82: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( &m_buf[m_bufOffset], buf, bufLen );
data/mm3d-1.3.12/src/libmm3d/misc.cc:194: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 resolved[ PATH_MAX ];
data/mm3d-1.3.12/src/libmm3d/misc.cc:458:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char path[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/misc.cc:819:22:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   size_t wideSize = MultiByteToWideChar( CP_UTF8, MB_ERR_INVALID_CHARS, filename, -1, NULL, 0 );
data/mm3d-1.3.12/src/libmm3d/misc.cc:829:4:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
   wcscpy( &wideString[0], L"\\\\?\\" );
data/mm3d-1.3.12/src/libmm3d/misc.cc:830:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   if ( MultiByteToWideChar( CP_UTF8, MB_ERR_INVALID_CHARS, filename, -1, &wideString[4], wideSize ) == 0 )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:389:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char _misfitOffsetNames[MDT_MAX][30] = {
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:422: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 magic[8];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:478:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char      name[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:511:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char      name[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:839: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 key[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:840: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 value[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1038: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 name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1096: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 filename[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1141: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 name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1307: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 name[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1653: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 nameBytes[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1785: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      name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1862: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      name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2243: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 key[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2244: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 value[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2509: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 filename[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2894: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 name[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:391:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char _misfitOffsetNames[MDT_MAX][30] = {
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:424: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 magic[8];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:480:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char      name[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:513:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char      name[40];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:639: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).
   m_fp = fopen( filename, "rb" );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:819: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 key[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:820: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 value[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1028: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 name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1091: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 filename[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1140: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 name[1024];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1314: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 name[PATH_MAX];
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1805: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      name[1024] = "";
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1887: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      name[1024] = "";
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2018:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( fd->data, m_bufPos, (*it).dataLen );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2292:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( buf, m_bufPos, len );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:338: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.
   static char rval[ PATH_MAX ] = "";
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:370: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.
   static char rval[ PATH_MAX ] = "";
data/mm3d-1.3.12/src/libmm3d/model_bool.cc:680:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy( ipoint1, epoint, sizeof(epoint) );
data/mm3d-1.3.12/src/libmm3d/model_bool.cc:689:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy( ipoint2, epoint, sizeof(epoint) );
data/mm3d-1.3.12/src/libmm3d/model_ops.cc:977: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 key[1024];
data/mm3d-1.3.12/src/libmm3d/model_ops.cc:978: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 value_lhs[1024];
data/mm3d-1.3.12/src/libmm3d/model_ops.cc:979: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 value_rhs[1024];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:43: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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:45:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%.5f,%.5f,%.5f  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:51:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%c%c%c",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:70:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( tempstr, "%d-%c%d", it->m_boneId, typeChar,
data/mm3d-1.3.12/src/libmm3d/model_print.cc:83: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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:85:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%d,%d,%d  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:89:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%c%c  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:94:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%.2f,%.2f,%.2f  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:100:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%.2f,%.2f %.2f,%.2f %.2f,%.2f",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:106: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( tempstr, "  P%d", m_projection );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:113: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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:119: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( tempstr, "  M%d", m_materialIndex );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:123:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  A%d", m_angle );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:126:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  S%d", m_smooth );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:129:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%c%c  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:134:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "Faces:%d", (int) m_triangleIndices.size() );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:140: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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:149: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( tempstr, " %d,%d,%d",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:159:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%c%c  ", m_sClamp ? 'C' : 'W', m_tClamp ? 'C' : 'W' );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:162:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  A %.1f %.1f %.1f %.1f",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:166:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  D %.1f %.1f %.1f %.1f",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:170:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  A %.1f %.1f %.1f %.1f",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:174:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  A %.1f %.1f %.1f %.1f",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:178:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  N %.1f", m_shininess );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:184: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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:188:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  %c%c  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:193:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "T %.5f,%.5f,%.5f  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:199:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "R %.5f,%.5f,%.5f  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:218:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( tempstr, "%d-%c%d", it->m_boneId, typeChar,
data/mm3d-1.3.12/src/libmm3d/model_print.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 tempstr[64];
data/mm3d-1.3.12/src/libmm3d/model_print.cc:235:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "  P%d  ", m_parent );
data/mm3d-1.3.12/src/libmm3d/model_print.cc:238:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "%c%c  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:243:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "T %.5f,%.5f,%.5f  ",
data/mm3d-1.3.12/src/libmm3d/model_print.cc:249:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( tempstr, "R %.5f,%.5f,%.5f  ",
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:60: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 m_ID[10];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.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 m_name[32];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char m_texture[128];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char m_alphamap[128];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.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 m_name[32];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:111: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 m_parentName[32];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:155: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 value[128];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:158:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      m_subVersion = atoi( value );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:362:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tempstr[32];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:905: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 groupname[32];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:910:10:  [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( groupname, "Ungrouped" );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1169: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 value[128];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1170: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( value, "%d", subVersion );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1175:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( value, "%x", m_options->m_vertexExtra );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1181:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( value, "%x", m_options->m_vertexExtra2 );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1417: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 value[128];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1418:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( value, "%d", subVersion );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:128: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[ 1024 ];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:202: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[512];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:203: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 line2[512];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:340: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   tstr[32];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:460: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 vertfmt[20];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:461: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 texfmt[20];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:462: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 normfmt[20];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:464:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( vertfmt, "v %%.%df %%.%df %%.%df",
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:467:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( texfmt, "vt %%.%df %%.%df",
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:470:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( normfmt, "vn %%.%df %%.%df %%.%df",
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:797:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            texidx = atoi( line );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:819:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            normidx = atoi( line ) - 1;
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:848: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 temp[32];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:947: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 filename[256];
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:1041: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[1024];
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:173:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( m_palette, _mono, (2*3) );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:179:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( m_palette, pcx_header.colormap, (16*3) );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:255:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy( &row[x*3], m_palette[ line[x] ], 3 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:300:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy( &row[x*3], m_palette[ 1 ], 3 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:304:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy( &row[x*3], m_palette[ 0 ], 3 );
data/mm3d-1.3.12/src/libmm3d/smdfilter.cc:65: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 value[128];
data/mm3d-1.3.12/src/libmm3d/smdfilter.cc:94:75:  [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 ( m->getMetaData( "smd_points_as_joints", value, sizeof(value) ) && atoi( value ) != 0 )
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:383:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fp = fopen(filename, "rb");
data/mm3d-1.3.12/src/libmm3d/txtfilter.cc:136: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[ 512 ];
data/mm3d-1.3.12/src/mm3dcore/cmdline.cc:116: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 input[80];
data/mm3d-1.3.12/src/mm3dcore/luaif.cc:1509: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 str[64];
data/mm3d-1.3.12/src/mm3dcore/luascript.cc:62:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char msg[1024];
data/mm3d-1.3.12/src/mm3dcore/prefparse.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         m_buffer[ BUFFER_SIZE ];
data/mm3d-1.3.12/src/mm3dcore/prefs.cc:81:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char tmp[32];
data/mm3d-1.3.12/src/mm3dcore/prefs.cc:82:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( tmp, "%d", m_int );
data/mm3d-1.3.12/src/mm3dcore/prefs.cc:88:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char tmp[32];
data/mm3d-1.3.12/src/mm3dcore/prefs.cc:89:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( tmp, "%f", m_double );
data/mm3d-1.3.12/src/mm3dcore/prefs.cc:99: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).
   m_int    = atoi( m_string.c_str() );
data/mm3d-1.3.12/src/mm3dcore/scriptif.cc:57: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 append[10];
data/mm3d-1.3.12/src/mm3dcore/scriptif.cc:62:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( append, ".%02d", num );
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:66: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 execpath[MAX_PATH];
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:92: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 actualpath[PATH_MAX];
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:93: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 tmppath[PATH_MAX];
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:154: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 cwd[PATH_MAX];
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:163: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 appdata[MAX_PATH];
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:102: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:114: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:128: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:145: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:164: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:183: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:204: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:226: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:242: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:265: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:284: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:303: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:322: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:351: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:381: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:412: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:470: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:499: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:529: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:559: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:590: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:619: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:648: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:714: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:729: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/cmdlinemgr_test.cc:744: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.
      const char *argv[kArgs] = {
data/mm3d-1.3.12/src/tests/libmm3d/datadest_test.cc:83:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy( &m_buf.get()[ m_offset ], buf, bufLen );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:126:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy( (char *) m_buf.get(),
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:346: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 str[strSize] = "";
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:348: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( str, "00000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:351: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( str, "00000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:368: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 str[strSize] = "";
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:370: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( str, "0000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:373: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( str, "0000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:376: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( str, "0000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:389: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 str[strSize] = "";
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:391: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( str, "0000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:408: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 str[strSize] = "";
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:410: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( str, "000000000000000000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:416: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( str, "000000000000000000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:420: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( str, "000000000000000000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:426: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( str, "000000000000000000000000000" );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:443: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 str[strSize] = "0000000";
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:469: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 str[strSize] = "";
data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc:147: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 m_pwd[1024];
data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc:180: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 value[128] = "<not found>";
data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc:306: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 contents[36] = "";
data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc:328: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 contents[37] = "";
data/mm3d-1.3.12/src/tests/libmm3d/intfile.cc:16:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   size_t dword_count = atoi( argv[2] );
data/mm3d-1.3.12/src/tests/libmm3d/intfile.cc:18: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 * fp = fopen( filename, "w" );
data/mm3d-1.3.12/src/tests/libmm3d/memutil_test.cc:353:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
         FILE * fp = fopen( "memutil_test.cc", "r" );
data/mm3d-1.3.12/src/tests/libmm3d/memutil_test.cc:363:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
         FILE * fp2 = fopen( "memutil_test.cc", "r" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:182: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 cstr[20];
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:188: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( cstr, "some cstr" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:192: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( cstr, "\\some\\cstr\\" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:196: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( cstr, "/some/cstr/" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:221: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 cstr[20];
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:227: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( cstr, "some cstr" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:231: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( cstr, "\\some\\cstr\\" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:235: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( cstr, "/some/cstr/" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:316:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cstr[20];
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:318: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:322: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:326: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:330: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:334: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:338: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:399: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 cstr[20];
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:401: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:405: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:409: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:413: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:417: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:421: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( cstr, "ひらがな" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:427: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:431: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:435: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:439: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:443: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:447: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( cstr, "aひbע" );
data/mm3d-1.3.12/src/tests/libmm3d/model_equal_test.cc:226:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy( d, tex->m_data, dataLen );
data/mm3d-1.3.12/src/tools/jointtool.cc:77:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[32] = "Joint 1";
data/mm3d-1.3.12/src/tools/jointtool.cc:84:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( name, "Joint %d", i );
data/mm3d-1.3.12/src/tools/jointtool.cc:98: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( name, "Joint" );
data/mm3d-1.3.12/src/tools/pointtool.cc:56:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[32] = "Point 1";
data/mm3d-1.3.12/src/tools/pointtool.cc:63:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( name, "Point %d", i );
data/mm3d-1.3.12/src/tools/pointtool.cc:77: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( name, "Point" );
data/mm3d-1.3.12/src/tools/projtool.cc:70:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[32] = "Projection 1";
data/mm3d-1.3.12/src/tools/projtool.cc:77:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( name, "Projection %d", i );
data/mm3d-1.3.12/src/tools/projtool.cc:91: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( name, "Projection" );
data/mm3d-1.3.12/src/implui/qttex.cc:62: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/implui/qttex.cc:92: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/implui/qttex.cc:331:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy( format, ext, 5 );
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:378: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).
   unsigned len = strlen(filename);
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:1761:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int len = strlen( str ) - 1;
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:1856: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).
   size_t tagLen = strlen( tag );
data/mm3d-1.3.12/src/libmm3d/cal3dfilter.cc:1878: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).
   size_t attrLen = strlen( attr );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:232: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:572:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(str);
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:727:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( header.chunkChars, (char*) m_bufPos, 4 );
data/mm3d-1.3.12/src/libmm3d/cobfilter.cc:1066:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( header.chunkChars, (char*) m_bufPos, 4 );
data/mm3d-1.3.12/src/libmm3d/datadest.cc:227: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).
   ssize_t len = strlen( buf ) + 1;
data/mm3d-1.3.12/src/libmm3d/datadest.cc:234: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).
   ssize_t len = strlen( buf );
data/mm3d-1.3.12/src/libmm3d/datasource.cc:148:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( int8_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:159:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( uint8_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:170:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( int16_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:181:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( uint16_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:192:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( int32_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:203:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( uint32_t & val )
data/mm3d-1.3.12/src/libmm3d/datasource.cc:214:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool DataSource::read( float & val )
data/mm3d-1.3.12/src/libmm3d/datasource.h:182:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( int8_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:183:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( uint8_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:184:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( int16_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:185:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( uint16_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:186:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( int32_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:187:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( uint32_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:188:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bool read( float32_t & val );
data/mm3d-1.3.12/src/libmm3d/datasource.h:194:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int8_t   readI8()  { int8_t rval;   read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:195:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t  readU8()  { uint8_t rval;  read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:196:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int16_t  readI16() { int16_t rval;  read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:197:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint16_t readU16() { uint16_t rval; read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:198:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int32_t  readI32() { int32_t rval;  read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:199:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint32_t readU32() { uint32_t rval; read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/datasource.h:200:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      float32_t readF32() { float32_t rval; read(rval); return rval; }
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:387: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 len = strlen( line ) - 1;
data/mm3d-1.3.12/src/libmm3d/dxffilter.cc:448: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/filedatasource.cc:116:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   DWORD read;
data/mm3d-1.3.12/src/libmm3d/filedatasource.cc:117:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if ( ReadFile( m_handle, m_buf, BUF_SIZE, &read, NULL ) == FALSE )
data/mm3d-1.3.12/src/libmm3d/filedatasource.cc:125:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   *bufLen = read;
data/mm3d-1.3.12/src/libmm3d/iqefilter.cc:549: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).
      unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:351: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:632:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( filename, m_clips[sbd.textureIndex].filename.c_str(), sizeof(filename) );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:893:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:900:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:907:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:914:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:921:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:928:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:935:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( val );
data/mm3d-1.3.12/src/libmm3d/lwofilter.cc:986: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).
   unsigned readLen = strlen( dest );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:149:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( magic );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:150:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( version );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:151:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( skinWidth );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:152:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( skinHeight );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:153:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( frameSize );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:154:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numSkins );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:155:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numVertices );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:156:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numTexCoords );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:157:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numTriangles );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:158:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numGlCommands );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:159:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( numFrames );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:160:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetSkins );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:161:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetTexCoords );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:162:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetTriangles );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:163:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetFrames );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:164:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetGlCommands );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:165:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src->read( offsetEnd );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:217:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( scale[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:219:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( translate[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:232:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            src->read( coord[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:234:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( normal );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:256:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( scale[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:258:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( translate[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:269:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  src->read( coord[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:270:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( normal );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:294:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( s );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:295:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( t );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:312:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            src->read( vertexIndices[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:319:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            src->read( textureIndices[t] );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:496:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         src->read( numVertices );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:516:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( u );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:517:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( v );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:518:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src->read( vertexIndex );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:790: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).
         size_t len = strlen( animname.c_str() );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:982: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).
      unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/md2filter.cc:1015:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int t = strlen(temp) - 1;
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:582: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).
               if (strlen(comment) > 6 || strlen(fname) > 4)
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:582:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               if (strlen(comment) > 6 || strlen(fname) > 4)
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:585: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 (strlen(comment) > 6 && strncasecmp(comment, "//", 2) == 0)
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1227: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).
   size_t meshNameLength = strlen( meshName );
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1248:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   char *base = (char *) malloc( sizeof( char ) * ( strlen(noext)+2 ) );
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:1250:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
   strcat( base, "_" );
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2507: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 (strlen(value) > 0)
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2524: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 (strlen(value) > 0)
data/mm3d-1.3.12/src/libmm3d/md3filter.cc:2887: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/misc.cc:271:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         char * bptr = (char *) malloc(sizeof(char) * (strlen(base) + 2) );
data/mm3d-1.3.12/src/libmm3d/misc.cc:276:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         if ( bptr[ strlen(base) - 1 ] != '/' )
data/mm3d-1.3.12/src/libmm3d/misc.cc:278:13:  [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( bptr, "/" );
data/mm3d-1.3.12/src/libmm3d/misc.cc:298: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).
               bptr[ strlen(bptr) - 1 ] = '\0';
data/mm3d-1.3.12/src/libmm3d/misc.cc:498: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).
   unsigned len = strlen( name );
data/mm3d-1.3.12/src/libmm3d/misc.cc:662: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).
      size_t len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/misc.cc:690: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).
   len = strlen( str ) - 1;
data/mm3d-1.3.12/src/libmm3d/misc.cc:701: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).
   size_t filenameLength = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/misc.cc:702: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).
   size_t tailLength = strlen( tail );
data/mm3d-1.3.12/src/libmm3d/misc.cc:738: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).
      size_t slen = strlen(str);
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:708:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( fileHeader.versionMajor );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:709:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( fileHeader.versionMinor );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:710:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( fileHeader.modelFlags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:711:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( fileHeader.offsetCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:713:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ( strncmp( fileHeader.magic, MAGIC, strlen(MAGIC) ) != 0 )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:744:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( mo.offsetType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:745:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( mo.offsetValue );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:822:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:823:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:828:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:835:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:845:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         len = strlen(key) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:850:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         len = strlen(value) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:866:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:867:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:872:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:879:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:884:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileVert.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:885:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileVert.coord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:886:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileVert.coord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:887:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileVert.coord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:915:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:916:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:921:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:928:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:932:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:933:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.vertex[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:934:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.vertex[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:935:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.vertex[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:964:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:965:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:970:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:977:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:981:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:982:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.index );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:983:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[0][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:984:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[0][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:985:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[0][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:986:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[1][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:987:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[1][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:988:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[1][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:989:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[2][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:990:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[2][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:991:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileTri.normal[2][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1016:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1017:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1022:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1029:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1040:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1045:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( triCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1050:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( triIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1054:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( smoothness );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1055:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( materialIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1078:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1079:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1084:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1092:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1098:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1122:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1123:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1128:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1136:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1145:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1146:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( texIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1198:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1203:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1208:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1213:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1216:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1233:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1234:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1239:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1246:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1250:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1251:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.triangleIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1252:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.sCoord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1253:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.sCoord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1254:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.sCoord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1255:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.tCoord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1256:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.tCoord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1257:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( tc.tCoord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1282:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1283:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1288:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1296:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1300:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1301:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.viewIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1302:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.scale );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1303:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.center[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1304:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.center[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1305:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( cb.center[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1332:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1333:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1338:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1346:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1350:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1352:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.parentIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1353:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localRot[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1354:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localRot[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1355:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localRot[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1356:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localTrans[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1357:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localTrans[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1358:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileJoint.localTrans[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1395:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1396:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1401:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1408:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1413:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( vertexIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1414:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( jointIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1441:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1442:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1447:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1455:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1459:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1461:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.type );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1462:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.boneIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1463:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.rot[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1464:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.rot[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1465:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.rot[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1466:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.trans[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1467:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.trans[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1468:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( filePoint.trans[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1514:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1515:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1520:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1527:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1531:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileSa.groupIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1532:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileSa.angle );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1557:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1558:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1563:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1582:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1586:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileWi.posType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1587:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileWi.posIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1588:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileWi.infIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1589:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileWi.infType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1590:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fileWi.infWeight );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1633:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1634:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1639:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1647:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1651:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1659:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( type );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1669:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1679:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1688:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1702:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fuv[i][j] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1725:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1726:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1731:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1738:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1745:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( proj );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1746:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( triCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1751:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( tri );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1767:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1768:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1773:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1781:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1789:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1796:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fps );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1797:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1807:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( keyframeCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1812:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fileKf.jointIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1813:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fileKf.keyframeType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1814:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fileKf.param[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1815:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fileKf.param[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1816:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               m_src->read( fileKf.param[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1836:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1837:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1842:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1851:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1866:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1872:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( fps );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1874:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1898:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  m_src->read( coord[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1925:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1926:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1931:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1938:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1945:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1947:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( anim );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1948:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1960:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  m_src->read( rot[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:1964:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  m_src->read( trans[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2215:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   m_dst->writeBytes( (const uint8_t *) MAGIC, strlen(MAGIC) );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2248: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).
         unsigned keyLen = strlen( key ) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2249: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).
         unsigned valueLen = strlen( value ) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2510:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( filename, fileStr.c_str(), PATH_MAX );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2515:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            unsigned texSize = baseSize + strlen(filename) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2521:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            m_dst->writeBytes( (const uint8_t *) filename, strlen(filename) + 1 );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2678:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( fileJoint.name, joint->m_name.c_str(), sizeof(fileJoint.name) );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:2758:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( filePoint.name, model->getPointName(p), sizeof(filePoint.name) );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3233: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3274:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3275:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3280:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3281:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.cc:3282:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter.h:64:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( float32_t & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:683:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( fileHeader.versionMajor );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:684:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( fileHeader.versionMinor );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:685:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( fileHeader.modelFlags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:686:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( fileHeader.offsetCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:688:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ( strncmp( fileHeader.magic, MAGIC, strlen(MAGIC) ) != 0 )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:722:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( mo.offsetType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:723:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( mo.offsetValue );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:802:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:803:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:808:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:815:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:822:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( key, (char *) m_bufPos, sizeof(key) );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:825:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         len = strlen(key) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:829:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( value, (char *) m_bufPos, sizeof(value) );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:832:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         len = strlen(value) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:851:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:852:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:857:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:864:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:870:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileVert.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:871:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileVert.coord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:872:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileVert.coord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:873:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileVert.coord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:902:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:903:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:908:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:915:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:920:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:921:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.vertex[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:922:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.vertex[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:923:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.vertex[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:953:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:954:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:959:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:966:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:970:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:971:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.index );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:972:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[0][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:973:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[0][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:974:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[0][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:975:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[1][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:976:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[1][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:977:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[1][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:978:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[2][0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:979:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[2][1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:980:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileTri.normal[2][2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1006:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1007:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1012:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1019:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1030:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1032:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( name, (char *) m_bufPos, sizeof(name));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1035: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).
         unsigned nameSize = strlen(name) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1039:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( triCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1044:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( triIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1048:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( smoothness );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1049:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( materialIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1073:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1074:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1079:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1087:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1093:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1095:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( filename, (char *) m_bufPos, sizeof(filename));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1098: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).
         unsigned nameSize = strlen(filename) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1121:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1122:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1127:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1135:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1144:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1145:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( texIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1147:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( name, (char *) m_bufPos, sizeof(name));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1150: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).
         unsigned nameSize = strlen(name) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1201:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1206:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1211:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1216:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1219:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( lightProp );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1237:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1238:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1243:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1250:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1255:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1256:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.triangleIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1257:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.sCoord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1258:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.sCoord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1259:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.sCoord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1260:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.tCoord[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1261:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.tCoord[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1262:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( tc.tCoord[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1288:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1289:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1294:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1302:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1307:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1308:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.viewIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1309:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.scale );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1310:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.center[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1311:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.center[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1312:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( cb.center[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1316:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( name, (char *) m_bufPos, sizeof(name));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1319: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).
         unsigned nameSize = strlen(name) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1343:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1344:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1349:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1357:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1361:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1363:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.parentIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1364:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localRot[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1365:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localRot[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1366:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localRot[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1367:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localTrans[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1368:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localTrans[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1369:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileJoint.localTrans[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1407:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1408:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1413:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1420:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1425:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( vertexIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1426:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( jointIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1454:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1455:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1460:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1468:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1472:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1474:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.type );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1475:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.boneIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1476:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.rot[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1477:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.rot[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1478:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.rot[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1479:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.trans[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1480:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.trans[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1481:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( filePoint.trans[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1528:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1529:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1534:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1541:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1546:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileSa.groupIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1547:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileSa.angle );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1573:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1574:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1579:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1598:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1603:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileWi.posType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1604:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileWi.posIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1605:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileWi.infIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1606:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileWi.infType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1607:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fileWi.infWeight );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1651:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1652:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1657:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1665:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1669:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1677:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( type );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1687:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1697:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1706:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( fvec[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1720:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fuv[i][j] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1744:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1745:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1750:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1757:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1764:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( proj );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1765:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( triCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1770:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( tri );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1787:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1788:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1793:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1801:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1809:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1811:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( name, (char *) m_bufPos, sizeof(name));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1814: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).
         unsigned nameSize = strlen(name) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1819:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fps );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1820:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1830:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( keyframeCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1836:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fileKf.jointIndex );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1837:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fileKf.keyframeType );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1838:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fileKf.param[0] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1839:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fileKf.param[1] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1840:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               read( fileKf.param[2] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1861:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1862:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1867:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1876:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1891:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1893:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( name, (char *) m_bufPos, sizeof(name));
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1897: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).
         unsigned nameSize = strlen(name) + 1;
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1901:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( fps );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1903:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1928:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  read( coord[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1956:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1957:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1962:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1969:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1976:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1978:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( anim );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1979:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         read( frameCount );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1991:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  read( rot[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:1995:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  read( trans[i] );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2134: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2218:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( uint32_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2228:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( uint16_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2238:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( uint8_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2248:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( int32_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2258:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( int16_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2268:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( int8_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2278:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MisfitFilterRef::read( float32_t & val )
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2300:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2301:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2306:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( flags );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2307:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( count );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.cc:2308:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   read( size );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:74:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( uint32_t  & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:75:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( uint16_t  & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:76:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( uint8_t   & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:77:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( int32_t   & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:78:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( int16_t   & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:79:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( int8_t    & val );
data/mm3d-1.3.12/src/libmm3d/mm3dfilter_ref.h:80:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( float32_t & val );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:159: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).
               memmove( &resolved_path[0], &resolved_path[4], strlen( &resolved_path[4] ) + 1 );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:175:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( resolved_path, path, len );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:196: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).
         char * end = rval + strlen(rval);
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:352:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( rval, start, PATH_MAX );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:358:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy( rval, path, PATH_MAX );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:373:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy( rval, path, PATH_MAX );
data/mm3d-1.3.12/src/libmm3d/mm3dport.cc:395:4:  [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( rval, "." );
data/mm3d-1.3.12/src/libmm3d/model_meta.cc:16:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy( dest, src, len );
data/mm3d-1.3.12/src/libmm3d/modelutil.cc:66: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).
   unsigned len = strlen( infile ) + strlen(outformat) + 2;
data/mm3d-1.3.12/src/libmm3d/modelutil.cc:66: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).
   unsigned len = strlen( infile ) + strlen(outformat) + 2;
data/mm3d-1.3.12/src/libmm3d/modelutil.cc:76: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).
      extension = &filename[strlen(infile)];
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:233:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( header.m_version );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:251:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numVertices );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:259:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_flags );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:260:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_vertex[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:261:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_vertex[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:262:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_vertex[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:263:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_boneId );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:264:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( vertex.m_refCount );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:283:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numTriangles );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:294:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_flags );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:295:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexIndices[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:296:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexIndices[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:297:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexIndices[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:298:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[0][0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:299:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[0][1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:300:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[0][2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:301:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[1][0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:302:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[1][1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:303:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[1][2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:304:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[2][0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:305:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[2][1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:306:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_vertexNormals[2][2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:307:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_s[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:308:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_s[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:309:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_s[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:310:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_t[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:311:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_t[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:312:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_t[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:313:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_smoothingGroup );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:314:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( triangle.m_groupIndex );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:350:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numGroups );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:360:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( flags );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:369:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( numTriangles );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:374:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( triIndex );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:385:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:399:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numMaterials );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:418:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_ambient[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:419:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_ambient[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:420:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_ambient[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:421:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_ambient[3] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:422:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_diffuse[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:423:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_diffuse[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:424:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_diffuse[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:425:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_diffuse[3] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:426:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_specular[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:427:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_specular[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:428:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_specular[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:429:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_specular[3] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:430:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_emissive[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:431:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_emissive[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:432:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_emissive[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:433:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_emissive[3] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:434:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_shininess );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:435:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_transparency );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:436:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( material.m_mode );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:493:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( fps );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:497:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( currentTime );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:500:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numFrames );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:510:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( numJoints );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:520:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_flags );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:523:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:524:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:525:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:526:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:527:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:528:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:529:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_numRotationKeyframes );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:530:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_numTranslationKeyframes );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:545:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_flags );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:548:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:549:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:550:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_rotation[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:551:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:552:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:553:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_translation[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:554:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_numRotationKeyframes );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:555:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( joint.m_numTranslationKeyframes );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:558: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).
      if ( strlen(joint.m_parentName) > 0 )
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:598:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_time );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:599:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:600:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:601:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:623:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_time );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:624:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[0] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:625:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:626:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( keyframe.m_parameter[2] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:780:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   m_dst->writeBytes( (const uint8_t*) MAGIC_NUMBER, strlen(MAGIC_NUMBER) );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1365:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( subVersion );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1373:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( numComments );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1381:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( index );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1382:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         m_src->read( length );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1409:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   m_src->read( subVersion );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1465:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( boneIds[i+1] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1470:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( weights[i] );
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1480:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( extra ); // don't do anything with this
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1485:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_src->read( extra2 ); // don't do anything with this
data/mm3d-1.3.12/src/libmm3d/ms3dfilter.cc:1518: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).
      unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/msg.cc:95: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).
   size_t len = strlen( opts );
data/mm3d-1.3.12/src/libmm3d/objfilter.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).
   size_t len = strlen(str);
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:215: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).
   size_t len = strlen( line );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:346: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).
   unsigned tlen = strlen( tstr );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:365: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 baseLen = strlen( base );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:558: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).
         unsigned grpStrLen = strlen( grpStr );
data/mm3d-1.3.12/src/libmm3d/objfilter.cc:628: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:137:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.manufacturer );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:138:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.version );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:139:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.compression );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:140:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.bpp );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:141:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.x1 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:142:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.y1 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:143:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.x2 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:144:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.y2 );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:145:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.hdpi );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:146:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.vdpi );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:148:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.reserved );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:149:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.planes );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:150:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.bytesperline );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:151:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src.read( pcx_header.color );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:214: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:350:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            src.read(value);
data/mm3d-1.3.12/src/libmm3d/pcxtex.cc:358:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               src.read(value);
data/mm3d-1.3.12/src/libmm3d/rawtex.cc:54: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/rawtex.cc:108:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   itemsRead += (int) src.read( width );
data/mm3d-1.3.12/src/libmm3d/rawtex.cc:109:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   itemsRead += (int) src.read( height );
data/mm3d-1.3.12/src/libmm3d/rawtex.cc:110:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   itemsRead += (int) src.read( bytespp );
data/mm3d-1.3.12/src/libmm3d/smdfilter.cc:622: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).
      unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:77: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:195:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.width );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:196:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.height );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:197:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.bpp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:198:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.reserved );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:247:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.width );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:248:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.height );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:249:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.bpp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:250:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   src->read( tga.reserved );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:287:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ( !src->read(chunkheader) )
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:360: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:462:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void OldTgaTextureFilter::read( uint8_t & val, FILE * fp )
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:467:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void OldTgaTextureFilter::read( uint16_t & val, FILE * fp )
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:482:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.width, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:483:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.height, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:484:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.bpp, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:485:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.reserved, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:535:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.width, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:536:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.height, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:537:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.bpp, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.cc:538:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   OldTgaTextureFilter::read( tga.reserved, fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.h:61:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      static void read( uint8_t & val, FILE * fp );
data/mm3d-1.3.12/src/libmm3d/tgatex.h:62:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      static void read( uint16_t & val, FILE * fp );
data/mm3d-1.3.12/src/libmm3d/txtfilter.cc:85:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen( str );
data/mm3d-1.3.12/src/libmm3d/txtfilter.cc:140: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).
       size_t len = strlen( line );
data/mm3d-1.3.12/src/libmm3d/txtfilter.cc:231: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).
   unsigned len = strlen( filename );
data/mm3d-1.3.12/src/mm3dcore/pluginmgr.cc:590:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int len = (int) strlen( s );
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:131: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 path.substr( 0, path.length() - endsWith.length() + strlen( ".app" ) );
data/mm3d-1.3.12/src/mm3dcore/sysconf.cc:139:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int off = strlen( majorMinor ) - 1;
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:172:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         QVERIFY_TRUE( src.read(val) );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:177:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      QVERIFY_FALSE( src.read(val) );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:242:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:244:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u8 ); src.read( u8 ); src.read( u8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:244:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u8 ); src.read( u8 ); src.read( u8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:244:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u8 ); src.read( u8 ); src.read( u8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:248:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:250:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i8 ); src.read( i8 ); src.read( i8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:250:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i8 ); src.read( i8 ); src.read( i8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:250:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i8 ); src.read( i8 ); src.read( i8 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:254:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u16 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:256:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u16 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:260:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i16 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:262:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i16 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:266:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( u32 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:270:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      src.read( i32 );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:499:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         QVERIFY_TRUE( src.read(val) );
data/mm3d-1.3.12/src/tests/libmm3d/datasource_test.cc:508:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      QVERIFY_FALSE( src.read(val) );
data/mm3d-1.3.12/src/tests/libmm3d/filedatasource_test.cc:79:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      QVERIFY_FALSE( src.read( val ) );
data/mm3d-1.3.12/src/tests/libmm3d/filedatasource_test.cc:98:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         QVERIFY_TRUE( src.read( val ) );
data/mm3d-1.3.12/src/tests/libmm3d/filedatasource_test.cc:104:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      QVERIFY_FALSE( src.read( val ) );
data/mm3d-1.3.12/src/tests/libmm3d/filedatasource_test.cc:131:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      QVERIFY_FALSE( src.read( val ) );
data/mm3d-1.3.12/src/tests/libmm3d/filter_cal3d_test.cc:209: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( m_pwd, "/" );
data/mm3d-1.3.12/src/tests/libmm3d/filtermgr_test.cc:142: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).
            unsigned len = strlen( filename );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:184:7:  [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( cstr, "" );
data/mm3d-1.3.12/src/tests/libmm3d/misc_test.cc:223:7:  [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( cstr, "" );

ANALYSIS SUMMARY:

Hits = 1130
Lines analyzed = 135054 in approximately 2.75 seconds (49067 lines/second)
Physical Source Lines of Code (SLOC) = 96340
Hits@level = [0] 154 [1] 714 [2] 351 [3]   8 [4]  57 [5]   0
Hits@level+ = [0+] 1284 [1+] 1130 [2+] 416 [3+]  65 [4+]  57 [5+]   0
Hits/KSLOC@level+ = [0+] 13.3278 [1+] 11.7293 [2+] 4.31804 [3+] 0.674694 [4+] 0.591655 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.