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/mojoshader-0.0~hg1314+dfsg/GL/glext.h
Examining data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c
Examining data/mojoshader-0.0~hg1314+dfsg/misc/lempar.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader.h
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.h
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_lexer.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan.c
Examining data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan_vkfuncs.h
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile.h
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_bytecode.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c
Examining data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.h
Examining data/mojoshader-0.0~hg1314+dfsg/spirv/GLSL.std.450.h
Examining data/mojoshader-0.0~hg1314+dfsg/spirv/spirv.h
Examining data/mojoshader-0.0~hg1314+dfsg/utils/availableprofiles.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/bestprofile.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/glcaps.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/testglcompile.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/testoutput.c
Examining data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c

FINAL RESULTS:

data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:5733:59:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:5753:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:6593:62:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:6605:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:6874:104:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:6877:116:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:7694:122:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:7697:134:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:10628:67:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:10630:112:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:10835:79:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:10837:124:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11112:67:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11115:72:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11127:79:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11130:84:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11196:126:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11199:138:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11405:78:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/GL/glext.h:11416:90:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:32:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
extern int access(const char *path, int mode);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1360:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr,format,ap);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1397:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(*paz, z);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1408:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(user_templatename, z);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2791:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(name,lemp->filename);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2794:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(name,suffix);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3059:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    if( path ) sprintf(path,"%s/%s",argv0,name);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3068:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(pathbuf, pathlist);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3074:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(path,"%s/%s",pathbuf,name);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3078:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if( access(path,modemask)==0 ) break;
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3148:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if( access(user_templatename,004)==-1 ){
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3167:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf,"%s.lt",lemp->filename);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3169:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if( access(buf,004)==0 ){
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3171:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  }else if( access(templatename,004)==0 ){
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3320:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(&z[used], zInt);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3541:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(types[hash],stddt);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3944:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(line,"\"%s\",",lemp->symbols[i]->name);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:4110:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:4339: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(cpy,y);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:89: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(retval, str);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:313: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(k, key);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:315: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(v, value);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:427:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buf, sizeof (buf), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:437:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(ptr, len, fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:566: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(fname, _fname);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:572:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    int len = vsnprintf(scratch, sizeof (scratch), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:602: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(failstr, scratch);  // copy it over.
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:606:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(failstr, len + 1, fmt, ap);  // rebuild it.
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:805:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    const int len = vsnprintf(scratch, sizeof (scratch), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:819:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, len + 1, fmt, ap);  // rebuild it.
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:175: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(retval, str);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:5735:51:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    case MOJOSHADER_IR_BINOP_##x: fprintf(io, #x); break;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:5795:50:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    case MOJOSHADER_IR_COND_##x: fprintf(io, #x); break;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:836: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(newSource, origSource);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1179: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(stringcopy, src->location); \
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1293: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(stringcopy, src->members[i].name);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1310: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(stringcopy, src->name);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1401: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(stringcopy, effect->location); \
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:38:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define sscanf SDL_sscanf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:39:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#ifdef snprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:40:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef snprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:42:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf SDL_snprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:43:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#ifdef vsnprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:44:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef vsnprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:46:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf SDL_vsnprintf
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:93:8:  [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).
#ifdef strcat
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:94:8:  [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).
#undef strcat
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:97: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).
#define strcat(dst, src) SDL_strlcat(dst, src, SDL_strlen(src) + 1)
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:98:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#ifdef strcpy
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:99:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#undef strcpy
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:102: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).
#define strcpy(dst, src) SDL_strlcpy(dst, src, SDL_strlen(src) + 1)
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:227:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf  // !!! FIXME: not a safe replacement!
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:227:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf  // !!! FIXME: not a safe replacement!
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:228:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf  // !!! FIXME: not a safe replacement!
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:263:46:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define ISPRINTF(x,y) __attribute__((format (printf, x, y)))
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:98: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(retval, str);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:108:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(ctx->failstr, sizeof (ctx->failstr), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:889: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(ctx->failstr, prefix);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c:34: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(retval, str);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:167:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    const int len = vsnprintf(operation, sizeof (operation), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:152:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    const int len = vsnprintf(operation, sizeof (operation), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:171:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    const int len = vsnprintf(operation, sizeof (operation), fmt, ap);
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:33:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:33:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:39:16:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define report printf
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:82:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fname, "%s/%s", dname, fn);
data/mojoshader-0.0~hg1314+dfsg/utils/glcaps.c:70:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    #define getval(x) printf(#x ": %s\n", pglGetString(x))
data/mojoshader-0.0~hg1314+dfsg/utils/glcaps.c:111:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            printf(#x ": %d\n", (int) val);
data/mojoshader-0.0~hg1314+dfsg/utils/glcaps.c:135:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        printf(#x ": %d\n", (int) val);
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:18:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf   // !!! FIXME: not a safe replacement!
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:18:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf   // !!! FIXME: not a safe replacement!
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:22:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:22:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:609:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        printf(prints[value->type.parameter_type], value->valuesF[offset]);
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:611:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        printf(prints[value->type.parameter_type], value->valuesI[offset]);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3062:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    pathlist = getenv("PATH");
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:576:27:  [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.
    ctx->d3dcompilerDLL = LoadLibrary("d3dcompiler_47.dll");
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1386:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  azDefine = (char **) realloc(azDefine, sizeof(azDefine[0])*nDefine);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1670: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 *set[LISTSIZE];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1762:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    (*(void(*)(char *))(op[j].arg))(&argv[i][2]);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:1855:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        (*(void(*)(char *))(op[j].arg))(sv);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2003: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.
  const char *alias[MAXRHS]; /* Aliases for each RHS symbol (or NULL) */
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2407: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 zLine[50];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2424:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(zLine, "#line %d ", psp->tokenlineno);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2434:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(zBuf, zLine, nLine);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2449: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(zBuf, zNew, nNew);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2583:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(ps.filename,"rb");
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2810:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(lemp->outname,mode);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2992:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[20];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:2994:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf,"(%d)",cfp->rp->index);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3116: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 line[LINESIZE];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3141:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1000];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3154:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    in = fopen(user_templatename,"rb");
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3165:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3182:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  in = fopen(tpltname,"rb");
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3293:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char empty[1] = { 0 };
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3298: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 zInt[40];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3318:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(zInt, "%d", p1);
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3341: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 used[MAXRHS];   /* True for each RHS element which is used */
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3347: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 newlinestr[2] = { '\n', '\0' };
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:3644: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 line[LINESIZE];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:4101: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 line[LINESIZE];
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:4102: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 pattern[LINESIZE];
data/mojoshader-0.0~hg1314+dfsg/mojoshader.c:1355:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, sizeof (SourceArgInfo));
data/mojoshader-0.0~hg1314+dfsg/mojoshader.c:3175: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(&retval[i], &item->constant, sizeof (MOJOSHADER_constant));
data/mojoshader-0.0~hg1314+dfsg/mojoshader.c:3386: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(swizzles, ctx->swizzles, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader.h:284: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 swizzles[4];  /* {0,1,2,3} == .xyzw, {2,2,2,2} == .zzzz */
data/mojoshader-0.0~hg1314+dfsg/mojoshader.h:2185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char channels[4];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:269: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(overflow.ui8, buf, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:579: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 tokenbytes[5] = { '\0', '\0', '\0', '\0', '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:581: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(tokenbytes, ctx->token, ((tokenlen < 4) ? tokenlen : 4));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:778: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 tokenbytes[5] = { '\0', '\0', '\0', '\0', '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:780: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(tokenbytes, ctx->token, ((tokenlen < 4) ? tokenlen : 4));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:1242: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 opstr[32];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:1244: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(opstr, origtoken, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:401: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(bucket->string, str, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];  // use the stack if reasonable.
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:569:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char scratch[128];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:645: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(&retval[total], &item->error, sizeof (MOJOSHADER_error));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:756: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(buffer->tail->data + tailbytes, data, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:783: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(item->data, data, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:801:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char scratch[256];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:854: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(ptr, item->data, item->bytes);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:902: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(ptr, item->data, item->bytes);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:965: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(item->data + write_pos, data + written, to_write);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:1906: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(dtparams, params, sizeof (*params) * paramcount);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:1963: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(retval, dt, sizeof (MOJOSHADER_astDataType));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:2581:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:3363: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(str, _str, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:4262:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[32];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:5299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char chans[4] = { 0, 0, 0, 0 };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:37: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 error_buffer[1024] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:232: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(dst, src, size);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:248: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(res.pData, shader->constantData, shader->buflen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.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(newMap, shader->shaderMaps,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:362: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(ptr, replace, replace_len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:378: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(curr_ptr, prev_ptr, ptr - prev_ptr);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:383: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(curr_ptr, replace, replace_len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:389: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(curr_ptr, find, find_len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:400: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(curr_ptr, prev_ptr, (srcbuf + oldlen) - prev_ptr);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:426:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *) buf, a, substr_len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:487: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(pfinal, pstart, strlen(pstart));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:488: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(pfinal + strlen(pstart), vout, strlen(vout));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:489: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(pfinal + strlen(pstart) + strlen(vout), vface, strlen(vface));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:490: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(pfinal + strlen(pstart) + strlen(vout) + strlen(vface), pend, strlen(pend));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:827: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 sem[16];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:845: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(ptr - strlen("float4"), replace, strlen(replace));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:78: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(&src[opiter][0], &preshader->literals[index], elemsbytes);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:127: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(src[opiter], temps + index, elemsbytes);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:202: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(temps + operand->index, dst, elemsbytes);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:269: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(strptr, str + 4, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:335: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(value->valuesF + (i << 2), valptr + ((columncount << 2) * i), columncount << 2);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:383: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(value->values, valptr, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:445: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(value->valuesF + dst_offset,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:657: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(str, *ptr, length);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:675: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(str, *ptr, length);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:682: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 mainfn[32];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:820: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 mainfn[32];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:888: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(str, *ptr, length);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:947: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(&retval->ctx, ctx, sizeof(MOJOSHADER_effectShaderContext));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1192:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, sizeof (MOJOSHADER_symbolTypeInfo));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1229:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst->values, src->values, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1256: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(dst->values, src->values, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1335: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(retval->literals, src->literals, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1352: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(retval->instructions, src->instructions, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1359: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(retval->instructions[i].operands[j].array_registers,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1368: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(retval->registers, src->registers, siz);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1394: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(&clone->ctx, &effect->ctx, sizeof(MOJOSHADER_effectShaderContext));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1535: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(clone->objects[i].shader.preshader_params,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1541: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(clone->objects[i].shader.params,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1602: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 *) parameter->value.values + offset, data, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1618:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy((char *) effect->params[i].value.values + offset, data, len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1773: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(regf + start, param->valuesF, sym->register_count << 4);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1778: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(regf + start, param->valuesF, sym->register_count << 4);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1794: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(regi + start, param->valuesI, sym->register_count << 4);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1846: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(raw->preshader->registers + raw->preshader->symbols[i].register_index + j, \
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:65:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#ifdef memcpy
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:66:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#undef memcpy
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:68: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.
#define memcpy SDL_memcpy
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c:38: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 error_buffer[1024] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c:172: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(contents + offset, src, size);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.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(&shader_source[src_pos], shader->parseData->output,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c:308: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(ptr, repl, strlen(repl));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c:315: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(ptr, "2", sizeof(char));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:200:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char profile[16];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:315: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 error_buffer[1024] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:463: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(patched_data, data, data_len);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:1667: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 *prof[STATICARRAYLEN(profile_priorities)];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:1967: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(&f[(c->index-base) * 4], &c->value.f, sizeof (c->value.f));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2422: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(item, &shaders, sizeof (BoundShaders));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2471: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(ctx->vs_reg_file_f + (idx * 4), data, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2485: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(data, ctx->vs_reg_file_f + (idx * 4), cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2498: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(ctx->vs_reg_file_i + (idx * 4), data, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2512: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(data, ctx->vs_reg_file_i + (idx * 4), cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2554: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(ctx->ps_reg_file_f + (idx * 4), data, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2568: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(data, ctx->ps_reg_file_f + (idx * 4), cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2581: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(ctx->ps_reg_file_i + (idx * 4), data, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2595: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(data, ctx->ps_reg_file_i + (idx * 4), cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2825: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(dstf, f, sizeof (GLfloat) * count);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2836: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(dsti, i, sizeof (GLint) * count);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_opengl.c:2877: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(dstf, &ctx->texbem_state[6 * (samps[i].index-1)],
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char failstr[256];
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:222:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if (!MultiByteToWideChar(CP_UTF8, 0, fname, -1, wpath, MAX_PATH))
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:270:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = open(fname, O_RDONLY);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:458: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(str + 1, fname, len - 2);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:488: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:499: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:752:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:754:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(buf);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:799: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(filename, state->token, len-1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:862: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(filename, state->token, state->tokenlen-1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:918: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(ptr, state->token, cpy);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:946: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:990: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(&saved, state, sizeof (IncludeState));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1015: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(state, &saved, sizeof (IncludeState));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1028: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(dst, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1150: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1195: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1360: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(&saved, state, sizeof (IncludeState));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1363: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(state, &saved, sizeof (IncludeState));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1536: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(sym, state->token, state->tokenlen);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:2195: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 spaces[4] = { ' ', ' ', ' ', ' ' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan.c:54: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 error_buffer[1024] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan.c:322: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(
data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan.c:330: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(
data/mojoshader-0.0~hg1314+dfsg/mojoshader_vulkan.c:715: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(item, &shaders, sizeof (BoundShaders));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile.h:218:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hlsl_outpos_name[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_offset[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_swizzle[4] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swizzle_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:372:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:382:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writemask_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:398:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pred[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:422: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:437: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 var[64]; get_ARB1_destarg_varname(ctx, var, sizeof (var));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:447: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 var[64]; get_ARB1_destarg_varname(ctx, var, sizeof (var));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:448: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:473:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:482:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:489:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:490:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:491:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_ARB1_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:639:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:659:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:726:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:738:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:752: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 val0[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:753: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 val1[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:754: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 val2[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:755: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 val3[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:782:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:823: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 var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char index_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:844:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1144:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1168: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1169: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 src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1170: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 src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1171: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 src2[64]; make_ARB1_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1172:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1194: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1195: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 row[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1220:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char labelstr[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1235: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 labelstr[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1236: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 scratch[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1237: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 src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char labelstr[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1293:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1295:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1301:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1317: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1318: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1319: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 scratch1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1320: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 scratch2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1341: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1342: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 src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1343:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1360: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1361: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 src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1373: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 dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1374: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 src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1388: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 dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1389: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 src0[64]; get_ARB1_srcarg_varname(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1392: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 scratch[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1450:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1459: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 failbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1460: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 topbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1472: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 scratch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1497: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 failbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1498: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 topbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1504: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 scratch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1527: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 failbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1546:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64]; allocate_ARB1_scratch_reg_name(ctx, buf, sizeof (buf));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1547: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 src0[64]; get_ARB1_srcarg_varname(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1572: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 endbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1578: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 elsebranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1604: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 endbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1627: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 failbranch[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1649: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1650: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 scratch[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1651: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 addr[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1691:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1700:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1701:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_ARB1_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1702:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[64]; allocate_ARB1_scratch_reg_name(ctx, tmp, sizeof (tmp));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1703:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1746:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1747:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1748:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1749:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1780:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1781:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1782:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1783:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1784:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1816:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1817:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1819:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1820:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1822:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src5[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1823:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1824:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1873:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1874:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1875:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1876:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1877:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1878:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1879:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1880:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1881:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1932:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1933:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1934:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1935:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_ARB1_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1936:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[64]; allocate_ARB1_scratch_reg_name(ctx, tmp, sizeof (tmp));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1957:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1960:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1962:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1988:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1989:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1990:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:1991:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_ARB1_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2007: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 dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2008: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 src0[64]; make_ARB1_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2009: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 src1[64]; make_ARB1_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2010: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 src2[64]; make_ARB1_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2011: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 scratch[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2047:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_ARB1_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2054:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2061:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64] = { 0 };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2062:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64] = { 0 };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2155: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2156: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 src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2157: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 scratch[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val0[32]; floatstr(ctx, val0, sizeof (val0), val[0], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val1[32]; floatstr(ctx, val1, sizeof (val1), val[1], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val2[32]; floatstr(ctx, val2, sizeof (val2), val[2], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val3[32]; floatstr(ctx, val3, sizeof (val3), val[3], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_arb1.c:2203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_ARB1_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_bytecode.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_bytecode.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_bytecode.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c:194: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(buf, ".0");
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c:493:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c:503:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:79:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_swizzle[4] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_regnum_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swizzle_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:174:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writemask_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pred[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:246:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char minor_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:251: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(minor_str, "sw");
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_D3D_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:350:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.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 src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_D3D_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_D3D_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:368:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_D3D_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:377:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_D3D_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_D3D_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:389:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_D3D_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:390:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_D3D_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:399:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; make_D3D_destarg_string(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:400:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_D3D_srcarg_string(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_D3D_srcarg_string(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:402:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_D3D_srcarg_string(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64]; make_D3D_srcarg_string(ctx, 3, src3, sizeof (src3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char op[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char op[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:554:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char op[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:564:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val0[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:565:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val1[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:566:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val2[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:567:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val3[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:577:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:586:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:600:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char index_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char clampbuf[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char operation[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writemask_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_offset[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:343:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_swizzle[4] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:604:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:651:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:740: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 val0[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:741: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 val1[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:742: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 val2[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:743: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 val3[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:780:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:836:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:843:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:861:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char index_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:862:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1162:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_GLSL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1200:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cast[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1213:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cast[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1217:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1218:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char castleft[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1244:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_full(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c: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 src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1268:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1269:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1317:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1326:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1369:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_y[64]; make_GLSL_srcarg_string_y(ctx, 0, src0_y, sizeof (src0_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1370:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_y[64]; make_GLSL_srcarg_string_y(ctx, 1, src1_y, sizeof (src1_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1371:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_z[64]; make_GLSL_srcarg_string_z(ctx, 0, src0_z, sizeof (src0_z));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1372:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_w[64]; make_GLSL_srcarg_string_w(ctx, 1, src1_w, sizeof (src1_w));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1383:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1384:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1385:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_GLSL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1402:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_GLSL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1404:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_GLSL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1405:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_GLSL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1406:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_GLSL_srcarg_string_full(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1407:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1417:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_GLSL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_GLSL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_GLSL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1430:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_GLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1431:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_GLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_GLSL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1433:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_GLSL_srcarg_string_vec3(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1435:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1446:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1447:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_GLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1448:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_GLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1449:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_GLSL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1450:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1459:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1460:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_GLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1461:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_GLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1463:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1483:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1484:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64]; get_GLSL_srcarg_varname(ctx, 1, var, sizeof (var));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1525:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1552:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1553:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1554:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1564:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1565:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1582:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1583:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1590:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1626:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_x(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1641:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1649:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1676:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1677:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1684:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1685:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1706:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_GLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1715:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_GLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1727:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_GLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1736: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1737: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 sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1738: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 code[128] = {0};
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1787: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 src0[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1788: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 src1[64]; get_GLSL_srcarg_varname(ctx, 1, src1, sizeof (src1)); // !!! FIXME: SRC_MOD?
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1798: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 bias[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1843: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 swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1847: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1860:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_GLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1861:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_GLSL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1862:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1863:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1884:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_GLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1885:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_GLSL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1886:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1887:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1919:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1922:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1923:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1924:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1956:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1957:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1960:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:1962:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2017:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2019:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2020:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2021:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2022:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2023:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src5[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2024:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2025:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2074:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2075:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2076:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2077:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2078:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2079:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2080:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2081:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2170: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2171: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 src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2172: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 src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2179: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_GLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2198:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val0[32]; floatstr(ctx, val0, sizeof (val0), val[0], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2199:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val1[32]; floatstr(ctx, val1, sizeof (val1), val[1], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2200:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val2[32]; floatstr(ctx, val2, sizeof (val2), val[2], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val3[32]; floatstr(ctx, val3, sizeof (val3), val[3], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2219:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2220:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_vec2(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_vec2(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_GLSL_srcarg_string_scalar(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extra[128]; snprintf(extra, sizeof (extra), " + %s", src2);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2268:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; get_GLSL_srcarg_varname(ctx, 1, src1, sizeof (src1)); // !!! FIXME: SRC_MOD?
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2289:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2328:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2340:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_GLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2368:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2398:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2402:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_glsl.c:2412:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_GLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char operation[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:177:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writemask_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_offset[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_swizzle[4] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:375:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:484:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:666: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 val0[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:667: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 val1[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:668: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 val2[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:669: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 val3[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:694:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:695:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:772:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:789:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char index_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:790:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:791:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char a[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c: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 src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_HLSL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_full(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1194:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1213:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1214:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1215:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1244:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_y[64]; make_HLSL_srcarg_string_y(ctx, 0, src0_y, sizeof (src0_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_y[64]; make_HLSL_srcarg_string_y(ctx, 1, src1_y, sizeof (src1_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_z[64]; make_HLSL_srcarg_string_z(ctx, 0, src0_z, sizeof (src0_z));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_w[64]; make_HLSL_srcarg_string_w(ctx, 1, src1_w, sizeof (src1_w));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1289:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_HLSL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1306:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_HLSL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1308:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_HLSL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c: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 row2[64]; make_HLSL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_HLSL_srcarg_string_full(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1321:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_HLSL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1322:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_HLSL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1323:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_HLSL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1333:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_HLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_HLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_HLSL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_HLSL_srcarg_string_vec3(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1339:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1350:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1351:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_HLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1352:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_HLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1353:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_HLSL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1354:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1363:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_HLSL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_HLSL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1399:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64]; get_HLSL_srcarg_varname(ctx, 1, var, sizeof (var));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1457:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1458:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1467:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1468:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1478:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1486:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1487:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1507:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1508:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1530:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_x(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1553:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1554:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1580:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1581:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1588:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1589:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1610:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_HLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_HLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_HLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1644: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1645: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 sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1646: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 code[128] = {0};
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1689: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 src0[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1690: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 src1[64]; get_HLSL_srcarg_varname(ctx, 1, src1, sizeof (src1)); // !!! FIXME: SRC_MOD?
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1700: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 bias[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1731: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 swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1735: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1748:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_HLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1749:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_HLSL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1770:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_HLSL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1771:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_HLSL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1772:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1773:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1804:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1805:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1806:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1807:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1808:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1809:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1840:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1841:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1843:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1844:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1845:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1846:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1847:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1897:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1899:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1901:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1902:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src5[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1904:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1905:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1949:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1950:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1951:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1952:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1953:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c: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 src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c: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 sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:1956:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2038: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2039: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 src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2040: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 src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2047: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2065:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_HLSL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2066:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val0[32]; floatstr(ctx, val0, sizeof (val0), val[0], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2067:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val1[32]; floatstr(ctx, val1, sizeof (val1), val[1], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2068:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val2[32]; floatstr(ctx, val2, sizeof (val2), val[2], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val3[32]; floatstr(ctx, val3, sizeof (val3), val[3], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2089:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2090:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2091:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2092:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2093:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2094:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2095:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_vec2(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_vec2(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_HLSL_srcarg_string_scalar(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extra[64]; snprintf(extra, sizeof (extra), " + %s", src2);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; get_HLSL_srcarg_varname(ctx, 1, src1, sizeof (src1)); // !!! FIXME: SRC_MOD?
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2186:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2202:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_HLSL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_hlsl.c:2260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_HLSL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char clampbuf[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char operation[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char regnum_str[16];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writemask_str[6];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:347:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_offset[32] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rel_swizzle[4] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:397:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:612:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:672:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:688: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 val0[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:689: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 val1[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:690: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 val2[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:691: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 val3[32];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:718:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:802:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char index_str[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:819:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1078:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1079:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1086:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1087:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1088:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1095:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1096:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1097:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c: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 src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_METAL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cast[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cast[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char castleft[16] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1176:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_full(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1184:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1194:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_y[64]; make_METAL_srcarg_string_y(ctx, 0, src0_y, sizeof (src0_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_y[64]; make_METAL_srcarg_string_y(ctx, 1, src1_y, sizeof (src1_y));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0_z[64]; make_METAL_srcarg_string_z(ctx, 0, src0_z, sizeof (src0_z));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1300:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_w[64]; make_METAL_srcarg_string_w(ctx, 1, src1_w, sizeof (src1_w));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1312:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1313:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_METAL_srcarg_string_masked(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1314:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1323:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1333:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_METAL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_METAL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_METAL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_METAL_srcarg_string_full(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1347:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_full(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_METAL_srcarg_string_full(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_METAL_srcarg_string_full(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1350:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_METAL_srcarg_string_full(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1351:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_METAL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1363:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_METAL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_METAL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row3[64]; make_METAL_srcarg_string_vec3(ctx, 4, row3, sizeof (row3));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1366:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1379:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_METAL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1380:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_METAL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row2[64]; make_METAL_srcarg_string_vec3(ctx, 3, row2, sizeof (row2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1382:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1392:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1393:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row0[64]; make_METAL_srcarg_string_vec3(ctx, 1, row0, sizeof (row0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char row1[64]; make_METAL_srcarg_string_vec3(ctx, 2, row1, sizeof (row1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[256];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1405:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1417:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64]; get_METAL_srcarg_varname(ctx, 1, var, sizeof (var));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1458:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1489:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1490:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1491:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1501:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec3(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1502:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_vec3(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1503:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1513:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1514:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1522:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1523:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1531:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1532:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1546:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1570:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_x(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1593:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1594:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_scalar(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1628:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1629:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1653:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_METAL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1663:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_METAL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1676:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_METAL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1688: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 dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1689: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 sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1690: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 code[128] = {0};
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1698: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 swizzle[4] = { 'x', 'y', 'z', '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1726: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 src0[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1727: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 src1[64]; get_METAL_srcarg_varname(ctx, 1, src1, sizeof (src1)); // !!! FIXME: SRC_MOD?
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1728: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 src2[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1729: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 src3[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1764: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 bias[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1775: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 proj[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1801: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 swiz_str[6] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1805: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_METAL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_METAL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1835:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1836:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1859:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64]; get_METAL_destarg_varname(ctx, dst, sizeof (dst));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1860:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src[64]; get_METAL_srcarg_varname(ctx, 0, src, sizeof (src));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1861:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1862:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1896:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1897:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1899:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1901:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1935:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1936:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1937:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1938:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1939:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1940:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1941:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:1942:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2000:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2001:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2002:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2003:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2004:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2005:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2006:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src5[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2007:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2008:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2060:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2061:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2062:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2063:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2064:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2065:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2066:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sampler[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2067:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2159: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 src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2160: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 src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2161: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 src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2168: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 code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2186:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64]; get_METAL_destarg_varname(ctx, varname, sizeof (varname));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val0[32]; floatstr(ctx, val0, sizeof (val0), val[0], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val1[32]; floatstr(ctx, val1, sizeof (val1), val[1], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2189:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val2[32]; floatstr(ctx, val2, sizeof (val2), val[2], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char val3[32]; floatstr(ctx, val3, sizeof (val3), val[3], 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2210:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2213:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2214:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src3[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2215:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src4[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2216:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[512];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_vec2(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_vec2(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2[64]; make_METAL_srcarg_string_scalar(ctx, 2, src2, sizeof (src2));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extra[64]; snprintf(extra, sizeof (extra), " + %s", src2);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2269:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2270:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2284:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_masked(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2285:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1[64]; make_METAL_srcarg_string_masked(ctx, 1, src1, sizeof (src1));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char code[128];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_metal.c:2308:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src0[64]; make_METAL_srcarg_string_scalar(ctx, 0, src0, sizeof (src0));
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:248:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:687: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 varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:717: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 varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:1310: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 varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:2083: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 varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:2101:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char varname[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:2319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:2437:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:2525: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 varname[64];
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:100:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *io = fopen(fname, "rb");
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:107:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char buf[1024 * 256];
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:139: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(buf, a->output, rc);
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:751:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *io = fopen(buf, "rb");
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:1058:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *io = fopen(infile, "rb");
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:1073:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *outio = outfile ? fopen(outfile, "wb") : stdout;
data/mojoshader-0.0~hg1314+dfsg/utils/testglcompile.c:55:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static unsigned char buffer[1024 * 512];
data/mojoshader-0.0~hg1314+dfsg/utils/testglcompile.c:63:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        io = fopen(fname, "rb");
data/mojoshader-0.0~hg1314+dfsg/utils/testoutput.c:62:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            FILE *io = fopen(argv[i], "rb");
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:273: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 numstr[16] = { 0 };
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:359: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 arrayrange[64] = { '\0' };
data/mojoshader-0.0~hg1314+dfsg/utils/testparse.c:854:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            FILE *io = fopen(argv[i], "rb");
data/mojoshader-0.0~hg1314+dfsg/misc/lemon.c:73:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define lemonStrlen(X)   ((int)strlen(X))
data/mojoshader-0.0~hg1314+dfsg/mojoshader.c:2917:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ctx->endline_len = strlen(ctx->endline);
data/mojoshader-0.0~hg1314+dfsg/mojoshader.c:2943: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(mainfn) > 55)  // !!! FIXME: just to keep things sane. Lots of hardcoded stack arrays...
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:87:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *retval = (char *) Malloc(ctx, strlen(str) + 1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:278:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    output_comment_bytes(ctx, (const uint8 *) str, strlen(str));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:297:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = strlen(str);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:308:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = strlen(str);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_assembler.c:1652:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return add_ctab_bytes(ctx, (const uint8 *) str, strlen(str) + 1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:263:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return hash_string((const char*) sym, strlen((const char *) sym));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:307:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *k = (char *) smap->m(strlen(key) + 1, smap->d);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:308:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *v = (char *) (value ? smap->m(strlen(value) + 1, smap->d) : NULL);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:362:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return stringcache_len(cache, str, strlen(str));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:416:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (stringcache_len_internal(cache, str, strlen(str), 0) != NULL);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_common.c:560:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fname = (char *) list->m(strlen(_fname) + 1, list->d);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:173:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *retval = (char *) Malloc(ctx, strlen(str) + 1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:2682:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                const int swizlen = (int) strlen(member);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:3385:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t namelen = strlen(name);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_compiler.c:3461: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).
            #define tokencmp(t) ((tokenlen == strlen(t)) && (memcmp(token, t, tokenlen) == 0))
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:335:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t find_len = strlen(find);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:336: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).
    size_t replace_len = strlen(replace);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:352:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t oldlen = strlen(srcbuf) + 1;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:429:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    a = strstr(vsrc, _Output) + strlen(_Output);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:439:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    b = strstr(psrc, _Input) + strlen(_Input);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:484: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).
    substr_len = strlen(pstart) + strlen(vout) + strlen(vface) + strlen(pend);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:484: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).
    substr_len = strlen(pstart) + strlen(vout) + strlen(vface) + strlen(pend);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:484:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    substr_len = strlen(pstart) + strlen(vout) + strlen(vface) + strlen(pend);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:484:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    substr_len = strlen(pstart) + strlen(vout) + strlen(vface) + strlen(pend);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:487:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal, pstart, strlen(pstart));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:488: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).
    memcpy(pfinal + strlen(pstart), vout, strlen(vout));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:488:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart), vout, strlen(vout));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:489: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).
    memcpy(pfinal + strlen(pstart) + strlen(vout), vface, strlen(vface));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:489:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart) + strlen(vout), vface, strlen(vface));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:489:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart) + strlen(vout), vface, strlen(vface));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:490: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).
    memcpy(pfinal + strlen(pstart) + strlen(vout) + strlen(vface), pend, strlen(pend));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:490:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart) + strlen(vout) + strlen(vface), pend, strlen(pend));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:490:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart) + strlen(vout) + strlen(vface), pend, strlen(pend));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:490:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(pfinal + strlen(pstart) + strlen(vout) + strlen(vface), pend, strlen(pend));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:522:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    result = ctx->D3DCompileFunc(source, strlen(source),
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:845: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).
            memcpy(ptr - strlen("float4"), replace, strlen(replace));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_d3d11.c:845:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memcpy(ptr - strlen("float4"), replace, strlen(replace));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1177: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).
        siz = strlen(src->location) + 1; \
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1291:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                siz = strlen(src->members[i].name) + 1;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1307: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).
    uint32 siz = strlen(src->name) + 1;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_effects.c:1397: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).
        siz = strlen(effect->location) + 1; \
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:81:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#ifdef strlen
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:82:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#undef strlen
data/mojoshader-0.0~hg1314+dfsg/mojoshader_internal.h:84:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define strlen SDL_strlen
data/mojoshader-0.0~hg1314+dfsg/mojoshader_metal.c:308:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memcpy(ptr, repl, strlen(repl));
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:96:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *retval = (char *) Malloc(ctx, strlen(str) + 1);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:276:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, data, statbuf.st_size) != statbuf.st_size)
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:453:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t len = strlen(fname) + 2;
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:888: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).
    const size_t prefixlen = strlen(prefix);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1252:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                     strlen(def->definition), state->line, NULL))
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1297:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len = strlen(data);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1321:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len = strlen(data);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1336:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!push_source(ctx, state->filename, final, strlen(final), state->line,
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1419:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    exprlen = strlen(def->definition);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:1546: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).
    const size_t deflen = strlen(def->definition);
data/mojoshader-0.0~hg1314+dfsg/mojoshader_preprocessor.c:2006: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).
            *_len = strlen(ctx->failstr);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_common.c:32:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *retval = (char *) Malloc(ctx, strlen(str) + 1);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:253: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(minor_str, "x");  // for >= SM2, apparently this is "x". Weird.
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:343:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:351:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:360:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:369:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:379:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:391:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:404:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_d3d.c:412:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    opcode = lowercase((char *) alloca(strlen(opcode) + 1), opcode);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:216:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(str) + 1;
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:229:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(str);
data/mojoshader-0.0~hg1314+dfsg/profiles/mojoshader_profile_spirv.c:250:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t offset = strlen(varname);
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:81:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *fname = (char *) alloca(strlen(fn) + strlen(dname) + 2);
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:81:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *fname = (char *) alloca(strlen(fn) + strlen(dname) + 2);
data/mojoshader-0.0~hg1314+dfsg/utils/finderrors.c:187:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t wildcardlen = strlen(dname) + 3;
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:745:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t len = strlen(path) + strlen(fname) + 2;
data/mojoshader-0.0~hg1314+dfsg/utils/mojoshader-compiler.c:745:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t len = strlen(path) + strlen(fname) + 2;

ANALYSIS SUMMARY:

Hits = 1196
Lines analyzed = 66688 in approximately 1.67 seconds (40047 lines/second)
Physical Source Lines of Code (SLOC) = 52065
Hits@level = [0] 706 [1]  77 [2] 1022 [3]   2 [4]  95 [5]   0
Hits@level+ = [0+] 1902 [1+] 1196 [2+] 1119 [3+]  97 [4+]  95 [5+]   0
Hits/KSLOC@level+ = [0+] 36.5313 [1+] 22.9713 [2+] 21.4924 [3+] 1.86306 [4+] 1.82464 [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.