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/mupen64plus-video-rice-2.5.9/src/Blender.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Blender.h
Examining data/mupen64plus-video-rice-2.5.9/src/COLOR.h
Examining data/mupen64plus-video-rice-2.5.9/src/CSortedList.h
Examining data/mupen64plus-video-rice-2.5.9/src/Combiner.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Combiner.h
Examining data/mupen64plus-video-rice-2.5.9/src/CombinerDefs.h
Examining data/mupen64plus-video-rice-2.5.9/src/Config.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Config.h
Examining data/mupen64plus-video-rice-2.5.9/src/ConvertImage.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/ConvertImage.h
Examining data/mupen64plus-video-rice-2.5.9/src/ConvertImage16.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/CritSect.h
Examining data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Debugger.h
Examining data/mupen64plus-video-rice-2.5.9/src/DeviceBuilder.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/DeviceBuilder.h
Examining data/mupen64plus-video-rice-2.5.9/src/ExtendedRender.h
Examining data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.h
Examining data/mupen64plus-video-rice-2.5.9/src/GraphicsContext.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/GraphicsContext.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLDebug.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLExtensions.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLExtensions.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLGraphicsContext.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLGraphicsContext.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLRender.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLRender.h
Examining data/mupen64plus-video-rice-2.5.9/src/OGLRenderExt.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLTexture.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/OGLTexture.h
Examining data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI0.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI1.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI2.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI2_ext.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Others.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.h
Examining data/mupen64plus-video-rice-2.5.9/src/Render.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Render.h
Examining data/mupen64plus-video-rice-2.5.9/src/RenderBase.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/RenderBase.h
Examining data/mupen64plus-video-rice-2.5.9/src/RenderExt.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/RenderTexture.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/RenderTexture.h
Examining data/mupen64plus-video-rice-2.5.9/src/Texture.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Texture.h
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters.h
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_2xsai.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_hq2x.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_hq2x.h
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_hq4x.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_hq4x.h
Examining data/mupen64plus-video-rice-2.5.9/src/TextureFilters_lq2x.h
Examining data/mupen64plus-video-rice-2.5.9/src/TextureManager.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/TextureManager.h
Examining data/mupen64plus-video-rice-2.5.9/src/Timing.h
Examining data/mupen64plus-video-rice-2.5.9/src/UcodeDefs.h
Examining data/mupen64plus-video-rice-2.5.9/src/VectorMath.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/VectorMath.h
Examining data/mupen64plus-video-rice-2.5.9/src/Video.cpp
Examining data/mupen64plus-video-rice-2.5.9/src/Video.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGDLL.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGLibPNG.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/jpegrw.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.h
Examining data/mupen64plus-video-rice-2.5.9/src/liblinux/tiffrw.h
Examining data/mupen64plus-video-rice-2.5.9/src/osal_dynamiclib.h
Examining data/mupen64plus-video-rice-2.5.9/src/osal_dynamiclib_unix.c
Examining data/mupen64plus-video-rice-2.5.9/src/osal_dynamiclib_win32.c
Examining data/mupen64plus-video-rice-2.5.9/src/osal_files.h
Examining data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c
Examining data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c
Examining data/mupen64plus-video-rice-2.5.9/src/osal_opengl.h
Examining data/mupen64plus-video-rice-2.5.9/src/osal_preproc.h
Examining data/mupen64plus-video-rice-2.5.9/src/typedefs.h
Examining data/mupen64plus-video-rice-2.5.9/src/ucode.h
Examining data/mupen64plus-video-rice-2.5.9/src/version.h

FINAL RESULTS:

data/mupen64plus-video-rice-2.5.9/src/Config.cpp:499:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(szIniFileName, INI_FILE);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:913:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dst, src);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:973:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(newsection.crccheck, readinfo+1);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1012:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(IniSections[sectionno].name,right(readinfo,strlen(readinfo)-5));
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1108:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( str,buf);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1338:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(newsection.crccheck, (char*)szCRC);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1395:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    uint32 system;
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1472:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system;
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:565:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf( Msg, Message, ap );
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:603:9:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
        vsprintf( Msg, szFormat, va );
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:516:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(newFrgStr, fragmentShaderHeader);
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1131:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat( newFrgStr, fragmentShaderFooter ); // (always the same)
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1177:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(newFrgStr, fragmentCopyHeader);   // (always the same)
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1179:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(newFrgStr, fragmentShaderFooter); // (always the same)
data/mupen64plus-video-rice-2.5.9/src/OGLGraphicsContext.cpp:131:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(caption, "%s v%i.%i.%i", PLUGIN_NAME, VERSION_PRINTF_SPLIT(PLUGIN_VERSION));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:338:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(name, (char*)g_curRomInfo.szGameName);
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:745:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(message, "Unable to find ucode to use for '%s' CRCSize: 0x%08x CRC800: 0x%08x",
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:774:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( (char*)gLastMicrocodeString, (char*)str );
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:789:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( UsedUcodes[usedUcodeIndex].rspstr, (char*)str );
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1580:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "\\%s#%08X#%d#%d_ci", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1585:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "\\%s#%08X#%d#%d#%08X_ci", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1590:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "\\%s#%08X#%d#%d#%08X_ciByRGBA", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1599:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "\\%s#%08X#%d#%d_ci_%s_debugger", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1608:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "\\%s#%08X#%d#%d_%s", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1616:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "\\%s#%08X#%d#%d_%s_debugger", g_curRomInfo.szGameName, g_textures[tex].pTextureEntry->dwCRC, 
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:971:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(texturefilename, foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:973:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(texturefilename, foundfilename);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:979:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(texturefilename, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1058:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(filename2,texturefilename);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1116:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(texturefilename, foundfilename);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1172:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(newinfo.foldername,foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1190:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(filename2, foundfilename);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1263:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(foldername, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1264:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername,"texture_dump" OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1268:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername,(const char*)g_curRomInfo.szGameName);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1269:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1278:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(foldername2,foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1279:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(foldername2,subfolders[i]);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1292:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(foldername2,foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1293:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(foldername2,subfolders[i]);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1315:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(foldername, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1317:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername,"hires_texture" OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1323:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername,(const char*)g_curRomInfo.szGameName);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1324:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(foldername, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1565:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(gamefolder,"texture_dump" OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1566:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(gamefolder,(const char*)g_curRomInfo.szGameName);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1567:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(gamefolder, OSAL_DIR_SEPARATOR_STR);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1570:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename1, "%s%s#%08X#%d#%d", gamefolder, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1576:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(filename1, "%sci_bmp%c%s#%08X#%d#%d_ci", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1580:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename1, "%sci_bmp_with_pal_crc%c%s#%08X#%d#%d#%08X_ci", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size,entry.dwPalCRC);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1583:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename1, "%sci_by_png%c%s#%08X#%d#%d#%08X_ciByRGBA", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size,entry.dwPalCRC);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1588:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename1, "%spng_by_rgb_a%c%s#%08X#%d#%d_rgb", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1589:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename2, "%spng_by_rgb_a%c%s#%08X#%d#%d_a", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1590:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename3, "%spng_all%c%s#%08X#%d#%d_all", gamefolder, cSep, g_curRomInfo.szGameName, entry.dwCRC, entry.ti.Format, entry.ti.Size);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1957:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename_rgb, gHiresTxtrInfos[idx].foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1958:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename_rgb, gHiresTxtrInfos[idx].filename);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1961:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(filename_a, gHiresTxtrInfos[idx].foldername);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1962:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(filename_a, gHiresTxtrInfos[idx].filename_a);
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:555:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(msgbuf, message, args);
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:782:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(caption, "%s v%i.%i.%i - %.3f VI/S", PLUGIN_NAME, VERSION_PRINTF_SPLIT(PLUGIN_VERSION), frames/5.0);
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:81:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy( BMGErrorStrings[(int)LastBMGError], (char *)lpMsgBuf );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:612:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( msg, filename );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:617:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( ext, period );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:665:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( msg, filename );
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:125:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(last_filename, pInfo->find_data.cFileName);
data/mupen64plus-video-rice-2.5.9/src/osal_dynamiclib_win32.c:34:19:  [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.
    *pLibHandle = LoadLibrary(pccLibraryPath);
data/mupen64plus-video-rice-2.5.9/src/Blender.cpp:28: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 * sc_szBlClr[4]      = { "In", "Mem", "Bl", "Fog" };
data/mupen64plus-video-rice-2.5.9/src/Blender.cpp:29: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 * sc_szBlA1[4]       = { "AIn", "AFog", "AShade", "0" };
data/mupen64plus-video-rice-2.5.9/src/Blender.cpp:30: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 * sc_szBlA2[4]       = { "1-A", "AMem", "1", "0" };
data/mupen64plus-video-rice-2.5.9/src/CSortedList.h:77:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(keys,oldkeys,oldmaxsize*sizeof(Key));
data/mupen64plus-video-rice-2.5.9/src/CSortedList.h:78:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(elements,oldelements,oldmaxsize*sizeof(Element));
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:98:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    szIniFileName[300];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:901:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char dst[300];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:909:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char dst[300];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:940:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char readinfo[100];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:951:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    inifile.open(ini_filepath);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1122:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fhIn = fopen(ini_filepath, "r");
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1144:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fhOut = fopen(ini_filepath, "w");
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1317:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char szCRC[50+1];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1320:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char*)szCRC, "%08x%08x-%02x", (unsigned int)dwCRC1, (unsigned int)dwCRC2, nCountryID);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1382: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(szName, pHdr->szName, 20);
data/mupen64plus-video-rice-2.5.9/src/Config.h:261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    crccheck[50];
data/mupen64plus-video-rice-2.5.9/src/Config.h:262:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[50];
data/mupen64plus-video-rice-2.5.9/src/Config.h:309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  szName[20];
data/mupen64plus-video-rice-2.5.9/src/Config.h:322:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   szGameName[50+1];
data/mupen64plus-video-rice-2.5.9/src/Config.h:380:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char                szIniFileName[300];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:70:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char msgBuf[0x20000+2];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:229:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *pszOnOff[2] = {"Off", "On"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:271:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char ucodeNames_GBI1[256];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:272:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char ucodeNames_GBI2[256];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:330: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 *alphadithertypes[4]  = {"Pattern", "NotPattern", "Noise", "Disable"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:331: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 *rgbdithertype[4]     = {"MagicSQ", "Bayer", "Noise", "Disable"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:332: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 *convtype[8]          = {"Conv", "?", "?", "?",   "?", "FiltConv", "Filt", "?"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:333: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 *filtertype[4]        = {"Point", "?", "Bilinear", "Average"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:334: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 *cycletype[4]         = {"1Cycle", "2Cycle", "Copy", "Fill"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:335: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 *alphacomptype[4]     = {"None", "Threshold", "?", "Dither"};
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:336: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 * szCvgDstMode[4]     = { "Clamp", "Wrap", "Full", "Save" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:337: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 * szZMode[4]          = { "Opa", "Inter", "XLU", "Decal" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:338: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 * szZSrcSel[2]        = { "Pixel", "Primitive" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:339: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 * sc_szBlClr[4]       = { "In", "Mem", "Bl", "Fog" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:340: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 * sc_szBlA1[4]        = { "AIn", "AFog", "AShade", "0" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:341: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 * sc_szBlA2[4]        = { "1-A", "AMem", "1", "0" };
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:394:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename[80];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:395:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(filename,"\\Texture%d_rgb", index);
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:542:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            logFp = fopen("\\RiceVideo.log", "at");
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:561:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[5000];
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:600:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char Msg[400];
data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.cpp:1268: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(&(newRenderTextureInfo.CI_Info), &g_CI, sizeof(SetImgInfo));
data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.cpp:1321: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(&(tempRenderTextureInfo.CI_Info), &CIinfo, sizeof(SetImgInfo));
data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.cpp:1353: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(&gRenderTextureInfos[idxToUse], &tempRenderTextureInfo, sizeof(RenderTextureInfo) );
data/mupen64plus-video-rice-2.5.9/src/FrameBuffer.cpp:1633:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&gRenderTextureInfos[idxToUse], &newRenderTextureInfo, sizeof(RenderTextureInfo) );
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char newFrgStr[4092]; // The main buffer for store fragment shader string
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:447:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(newFrgStr, "float coverage = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:455:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(newFrgStr, "coverage = coverage * outColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:460:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(newFrgStr, "coverage = step( 0.5, coverage );\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:461:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(newFrgStr, "outColor.a = coverage;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:485:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(newFrgStr, "if( coverage < 0.1 ) discard;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:492:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "if( outColor.a < uBlendColor.a ) discard;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:495:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "if( outColor.a < fract(sin(dot(gl_FragCoord.xy, vec2(12.9898, 78.233)))* 43758.5453) ) discard;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:503:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(newFrgStr, "outColor.rgb = mix(uFogColor.rgb, outColor.rgb, vertexFog);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:530:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:533:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:536:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:539:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:542:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:545:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = vec3(1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:548:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = noise3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:552:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 AColor = vec3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:564:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:567:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:570:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:573:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:576:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:583:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = vec3(uK4);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:587:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 BColor = vec3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:599:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:602:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:605:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:608:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:611:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:622:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(texture2D(uTex0,vertexTexCoord0).a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:625:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(texture2D(uTex1,vertexTexCoord1).a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:628:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(uPrimColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:631:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(vertexShadeColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:634:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(uEnvColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:637:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(uLodFrac);\n"); // Used by Goldeneye64
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:640:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(uPrimLodFrac);\n"); // Used by Doom64
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:643:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(uK5);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:647:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 CColor = vec3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:659:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:662:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:665:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:668:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:671:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:674:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = vec3(1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:678:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "vec3 DColor = vec3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:694:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:697:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:700:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:703:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:706:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:709:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:713:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float AAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:725:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:728:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:731:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:734:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:737:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:740:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:744:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float BAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:752:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = uLodFrac;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:755:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:758:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:761:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:764:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:767:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:770:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = uPrimLodFrac;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:774:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float CAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:786:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:789:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:792:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:795:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:798:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:801:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:805:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "float DAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:809:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(newFrgStr, "vec3 cycle1Color = (AColor - BColor) * CColor + DColor;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:811:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(newFrgStr, "float cycle1Alpha = (AAlpha - BAlpha) * CAlpha + DAlpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:821:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "outColor.rgb = cycle1Color;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:822:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(newFrgStr, "outColor.a = cycle1Alpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:828:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "float resultChromaKeyR = clamp( 0.0, (-abs( (cycle1Color.r - uChromaKeyCenter.r) * uChromaKeyScale.r) + uChromaKeyWidth.r), 1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:829:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "float resultChromaKeyG = clamp( 0.0, (-abs( (cycle1Color.g - uChromaKeyCenter.g) * uChromaKeyScale.g) + uChromaKeyWidth.g), 1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:830:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "float resultChromaKeyB = clamp( 0.0, (-abs( (cycle1Color.b - uChromaKeyCenter.b) * uChromaKeyScale.b) + uChromaKeyWidth.b), 1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:831:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "float resultChromaKeyA = min( resultChromaKeyR, resultChromaKeyG, resultChromaKeyB );\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:832:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "outColor = vec4( resultChromaKeyR, resultChromaKeyG, resultChromaKeyB, resultChromaKeyA );\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:842:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = cycle1Color;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:845:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:848:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:851:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:854:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:857:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:860:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = vec3(1.0, 1.0, 1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:863:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = noise3(0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:867:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AColor = vec3(0.0, 0.0, 0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:875:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = cycle1Color;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:878:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:881:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:884:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:887:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:890:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:893:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = uChromaKeyCenter;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:896:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = vec3(uK4);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:900:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BColor = vec3(0.0, 0.0, 0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:908:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = cycle1Color;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:911:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:914:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:917:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:920:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:923:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:926:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = uChromaKeyScale;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:929:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(cycle1Alpha);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:932:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(texture2D(uTex0,vertexTexCoord0).a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:935:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(texture2D(uTex1,vertexTexCoord1).a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:938:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(uPrimColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:941:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(vertexShadeColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:944:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(uEnvColor.a);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:947:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(uLodFrac);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:950:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(uPrimLodFrac);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:953:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(uK5);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:957:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CColor = vec3(0.0, 0.0, 0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:965:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = cycle1Color;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:968:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = texture2D(uTex0,vertexTexCoord0).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:971:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = texture2D(uTex1,vertexTexCoord1).rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:974:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = uPrimColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:977:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = vertexShadeColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:980:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = uEnvColor.rgb;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:983:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = vec3(1.0, 1.0, 1.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:987:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DColor = vec3(0.0, 0.0, 0.0);\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:999:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = cycle1Alpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1002:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1005:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1008:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1011:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1014:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1017:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1021:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "AAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1029:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = cycle1Alpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1032:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1035:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1038:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1041:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1044:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1047:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1051:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "BAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1059:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = uLodFrac;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1062:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1065:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1068:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1071:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1074:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1077:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = uPrimLodFrac;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1081:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "CAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1089:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = cycle1Alpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1092:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = texture2D(uTex0,vertexTexCoord0).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1095:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = texture2D(uTex1,vertexTexCoord1).a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1098:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = uPrimColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1101:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = vertexShadeColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1104:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = uEnvColor.a;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1107:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = 1.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1111:25:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                        strcat(newFrgStr, "DAlpha = 0.0;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1114:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "outColor.rgb = (AColor - BColor) * CColor + DColor;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLCombiner.cpp:1115:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
                strcat(newFrgStr, "outColor.a = (AAlpha - BAlpha) * CAlpha + DAlpha;\n");
data/mupen64plus-video-rice-2.5.9/src/OGLGraphicsContext.cpp:130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char caption[500];
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1248:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1249:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(buf, "Data:\n");
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1252:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf+strlen(buf), "%04X ", g_wRDPTlut[dwTMEMOffset+i]);
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1318: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(&g_tmemInfo0, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1324: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(&g_tmemInfo1, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1332: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(&g_tmemInfo1, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1531: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(&g_tmemInfo0, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1537: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(&g_tmemInfo1, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1545: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(&g_tmemInfo1, &info, sizeof(TMEMLoadMapInfo) );
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1552: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 *pszOnOff[2] = {"Off", "On"};
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1732:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *pszImgFormat[8];// = {"RGBA", "YUV", "CI", "IA", "I", "?1", "?2", "?3"};
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1733:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *pszImgSize[4];// = {"4", "8", "16", "32"};
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI1.h:387: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( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Others.h:457: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( &(drawinfo.sprite), info, sizeof(uObjSprite));
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  dummy1[2]; 
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  dummy2[2]; 
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h:77: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(&tempInfo, g_Sprite2DInfo.spritePtr, sizeof(SpriteStruct));
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h:79: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(&info, g_Sprite2DInfo.spritePtr, sizeof(PuzzleMasterSprite));
data/mupen64plus-video-rice-2.5.9/src/RSP_GBI_Sprite2D.h:147:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:121:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char gLastMicrocodeString[ 300 ] = "";
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:272:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *pszImgSize[4] = {"4", "8", "16", "32"};
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:273: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 *textluttype[4] = {"RGB16", "I16?", "RGBA16", "IA16"};
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:382:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:392:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:405:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:421:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:428:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:436:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap5, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:459:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:464:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap7, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:474:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap5, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:480:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:487:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap0, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:492:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:517:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:525:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap1, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:532:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( &LoadedUcodeMap, &ucodeMap5, sizeof(UcodeMap));
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:631:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            if( strlen(str)==0 || strcmp((const char *) g_UcodeData[i].ucode_name, str) == 0 ) 
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:633:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                TRACE0((const char *) g_UcodeData[i].ucode_name);
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:707:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char str[300] = "";
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:743:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char message[300];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:1212:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&(gRDP.scissor), &tempScissor, sizeof(ScissorType) );
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:379:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    rspstr[200];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  dummy[4]; 
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:585:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *textluttype[4];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:587:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *pszImgFormat[8];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:588:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *pszImgSize[4];
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.h:590:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *textlutname[4];
data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp:66: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(&objtx.sprite,ptr,sizeof(uObjSprite));
data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp:70:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&(objtx.txtr.block),&(gObjTxtr->block),sizeof(uObjTxtr));
data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp:108: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( &(drawinfo.sprite), info, sizeof(uObjSprite));
data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp:545: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(&objtx.sprite,ptr,sizeof(uObjSprite));
data/mupen64plus-video-rice-2.5.9/src/RSP_S2DEX.cpp:554:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&(objtx.txtr.block),&(gObjTxtr->block),sizeof(uObjTxtr));
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1421:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(filename,".bmp");
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1445:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "wb");
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:1577:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/mupen64plus-video-rice-2.5.9/src/Render.cpp:1986:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filename, "wb");
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:2006:57:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        if( strcasecmp(right(filename,4),".png") != 0 ) strcat(filename,".png");
data/mupen64plus-video-rice-2.5.9/src/Render.cpp:2030:53:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    if( strcasecmp(right(filename,4),".png") != 0 ) strcat(filename,".png");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:283: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(pcopy, pdata, len<<2);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:348:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pcopy, pdata, len<<1);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:416: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(pcopy, pdata, len<<2);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:522: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(pcopy, pdata, len<<1);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:841:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[8];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:844:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(pSrcFile, "rb");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:911:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(pszPath, "rb");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:944:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char texturefilename[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:956:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char crcstr[16], crcstr2[16];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1056: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 filename2[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1059: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(filename2+strlen(filename2)-8,"_a.png");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1189:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char filename2[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1191:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(filename2+strlen(filename2)-8,"_a.png");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    foldername[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1275:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    foldername2[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1289:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    foldername2[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    foldername[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1558:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename1[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1559:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename2[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1560:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename3[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1561:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char gamefolder[PATH_MAX + 64];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1668: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(*pbuf, img.bits, img.width*img.height*bits_per_pixel/8);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1748:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "rb");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1878:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "rb");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1954:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_rgb[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1955:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_a[PATH_MAX];
data/mupen64plus-video-rice-2.5.9/src/TextureManager.cpp:803: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 *pszImgFormat[8] = {"RGBA", "YUV", "CI", "IA", "I", "?1", "?2", "?3"};
data/mupen64plus-video-rice-2.5.9/src/TextureManager.cpp:805: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 *textlutname[4] = {"RGB16", "I16?", "RGBA16", "IA16"};
data/mupen64plus-video-rice-2.5.9/src/TextureManager.h:80:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(this, &src, sizeof( TxtrInfo ));
data/mupen64plus-video-rice-2.5.9/src/VectorMath.cpp:34: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(m, pIn, 16*4);
data/mupen64plus-video-rice-2.5.9/src/VectorMath.cpp:39: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(m, pIn.m, 16*4);
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:307: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(&g_curRomInfo.romheader, g_GraphicsInfo.HEADER, sizeof(ROMHeader));
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msgbuf[1024];
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:781: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 caption[200];
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:813: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(&g_GraphicsInfo, &Gfx_Info, sizeof(GFX_INFO));
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:611:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *)p, (void *)q, DIBScanWidth );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:775: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( (void *)bits, (void *)rbits, img.scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:779:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy( (void *)lpBits, (void *)img.bits, img.scan_width * img.height );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:959:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy( (void *)q1,
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:999: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( (void *)img_out->bits, (void *)img_in.bits,
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:1002:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy( (void *)img_out->palette, (void *)img_in.palette,
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGImage.c:1015:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( (void *)GetBackgroundColor(), (void *)color,
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char BMGErrorStrings[17][128] = {
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:88:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char BackgroundColor[4];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sin[2];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:345:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sout[2];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:347:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( (char *)sin, (char *)&in, 2 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sin[2];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:358:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sout[2];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:360:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( (char *)sin, (char *)&in, 2 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:370:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sin[4];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:371:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sout[4];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:373:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( (char *)sin, (char *)&in, 4 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:385:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sin[4];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sout[4];
data/mupen64plus-video-rice-2.5.9/src/liblinux/BMGUtils.c:388:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( (char *)sin, (char *)&in, 4 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:87:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen( filename, "rb" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:161: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( (void *)q, (void *)p, img->scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:172: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( (void *)rawbits, (void *)p, img->scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:173: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( (void *)p, (void *)q, img->scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:174: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( (void *)q, (void *)rawbits, img->scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:246:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen( filename, "wb" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:293:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy( (void *)q, (void *)p, img.scan_width );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:309:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy( (void *)r, (void *)t, 3 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:327:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy( (void *)pColor, (void *)p, 3 );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:332: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( (void *)pColor, (void *)img.palette,
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:461:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy( (void *)r, (void *)q, cnt );
data/mupen64plus-video-rice-2.5.9/src/liblinux/bmp.c:492:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy( (void *)r, (void *)q, cnt );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       signature[8];
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:143:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen( filename, "rb" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:267:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(bits, rows[i], 4*Width);
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:290:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       signature[8];
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:317:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen( filename, "rb" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:441:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((outfile = fopen(filename, "wb")) == NULL)
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:555:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy( (void *)rows[0], (void *)bits, DIBScanWidth );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:606:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256], ext[4], *period;
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:625:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( msg, ".PNG" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:626:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy( ext, "PNG" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:656:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ext[4], msg[256];
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:678:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( msg, ".PNG" );
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:679:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy( ext, "PNG" );
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char DirName[MAX_PATH + 1];
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:98: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 SearchString[MAX_PATH + 1];
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:119:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char last_filename[_MAX_PATH];
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:902:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dst,src,nchars);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:910:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int srclen = strlen(src);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:917:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(dst, src + srclen - nchars, nchars);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:925: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).
    char * p = s + strlen(s);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:966:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(readinfo) > 0)
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:972:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                readinfo[strlen(readinfo)-1]='\0';
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1012:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    strcpy(IniSections[sectionno].name,right(readinfo,strlen(readinfo)-5));
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1162:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            nextline = thisline + strlen(thisline) + 1;
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1170: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).
            thisline[strlen(thisline) - 1] = '\0';
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1340:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(newsection.name, szName, 50);
data/mupen64plus-video-rice-2.5.9/src/Config.cpp:1385:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = szName + (strlen((char*)szName) -1);        // -1 to skip null
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:568:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( Msg[strlen(Msg)-1]!='\n' ) strcat(Msg,"\n");
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:568:36:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    if( Msg[strlen(Msg)-1]!='\n' ) strcat(Msg,"\n");
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:591:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(100 * 1000);
data/mupen64plus-video-rice-2.5.9/src/Debugger.cpp:626:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(uint32 k = 0; k < strlen(HexStr); k++)
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1252:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        sprintf(buf+strlen(buf), "%04X ", g_wRDPTlut[dwTMEMOffset+i]);
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1254:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(buf+strlen(buf), "\n");
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1254:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sprintf(buf+strlen(buf), "\n");
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1256:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf(buf+strlen(buf), "\n");
data/mupen64plus-video-rice-2.5.9/src/RDP_Texture.h:1256: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).
    sprintf(buf+strlen(buf), "\n");
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:591: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).
    if ( strncasecmp( (char*)str_ucode, (char*)str_ucode0, strlen((char*)str_ucode0) ) == 0 )
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:596: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).
    if ( strncasecmp( (char*)str_ucode, (char*)str_ucode1, strlen((char*)str_ucode1) ) == 0 )
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:631: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(str)==0 || strcmp((const char *) g_UcodeData[i].ucode_name, str) == 0 ) 
data/mupen64plus-video-rice-2.5.9/src/RSP_Parser.cpp:767:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if( strlen((char *) str) == 0 )
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1059:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strcpy(filename2+strlen(filename2)-8,"_a.png");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1171:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                newinfo.foldername = new char[strlen(foldername)+1];
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1191: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).
                    strcpy(filename2+strlen(filename2)-8,"_a.png");
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1259:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(foldername, ConfigGetUserDataPath(), PATH_MAX);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1262: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 (foldername[strlen(foldername) - 1] != OSAL_DIR_SEPARATOR_CHAR)
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1310:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(foldername, ConfigGetUserDataPath(), PATH_MAX);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1314: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).
    if(foldername[strlen(foldername) - 1] != OSAL_DIR_SEPARATOR_CHAR)
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1562:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(gamefolder, ConfigGetUserDataPath(), PATH_MAX);
data/mupen64plus-video-rice-2.5.9/src/TextureFilters.cpp:1964:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy(filename_a, "");
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:323:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *p = (char *) g_curRomInfo.szGameName + (strlen((char *) g_curRomInfo.szGameName) -1);     // -1 to skip null
data/mupen64plus-video-rice-2.5.9/src/Video.cpp:759:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(100 * 1000);
data/mupen64plus-video-rice-2.5.9/src/liblinux/pngrw.c:670:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( ext, period, 3 );
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:53:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int dirpathlen = strlen(dirpath);
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:57: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).
    while (strlen(currpath) > 1)
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:66: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).
    while (strlen(currpath) < dirpathlen)
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:68:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(currpath) > 0 && stat(currpath, &fileinfo) != 0)
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:70:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        currpath[strlen(currpath)] = '/';
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:84:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(currpath) == dirpathlen)
data/mupen64plus-video-rice-2.5.9/src/osal_files_unix.c:87: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).
            currpath[strlen(currpath)] = '/';
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:44:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(DirName, name, MAX_PATH);
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:46:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    namelen = strlen(DirName);
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:55:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t dirpathlen = strlen(dirpath);
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:59: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).
    while (strlen(currpath) > 1 && _stat(currpath, &fileinfo) != 0)
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:73: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).
        if (currpath[strlen(currpath)-1] != '\\' && _stat(currpath, &fileinfo) != 0)
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:81:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(currpath) == dirpathlen)
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:84: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).
            currpath[strlen(currpath)] = '\\';
data/mupen64plus-video-rice-2.5.9/src/osal_files_win32.c:107: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 (pathname[strlen(pathname)-1] == '\\')

ANALYSIS SUMMARY:

Hits = 468
Lines analyzed = 50944 in approximately 1.11 seconds (45763 lines/second)
Physical Source Lines of Code (SLOC) = 39811
Hits@level = [0]  80 [1]  51 [2] 351 [3]   1 [4]  65 [5]   0
Hits@level+ = [0+] 548 [1+] 468 [2+] 417 [3+]  66 [4+]  65 [5+]   0
Hits/KSLOC@level+ = [0+] 13.765 [1+] 11.7555 [2+] 10.4745 [3+] 1.65783 [4+] 1.63271 [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.