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/libglvnd-1.3.2/include/EGL/egl.h
Examining data/libglvnd-1.3.2/include/EGL/eglext.h
Examining data/libglvnd-1.3.2/include/EGL/eglplatform.h
Examining data/libglvnd-1.3.2/include/GL/gl.h
Examining data/libglvnd-1.3.2/include/GL/glcorearb.h
Examining data/libglvnd-1.3.2/include/GL/glext.h
Examining data/libglvnd-1.3.2/include/GL/glx.h
Examining data/libglvnd-1.3.2/include/GL/glxext.h
Examining data/libglvnd-1.3.2/include/GLES/egl.h
Examining data/libglvnd-1.3.2/include/GLES/gl.h
Examining data/libglvnd-1.3.2/include/GLES/glext.h
Examining data/libglvnd-1.3.2/include/GLES/glplatform.h
Examining data/libglvnd-1.3.2/include/GLES2/gl2.h
Examining data/libglvnd-1.3.2/include/GLES2/gl2ext.h
Examining data/libglvnd-1.3.2/include/GLES2/gl2platform.h
Examining data/libglvnd-1.3.2/include/GLES3/gl3.h
Examining data/libglvnd-1.3.2/include/GLES3/gl31.h
Examining data/libglvnd-1.3.2/include/GLES3/gl32.h
Examining data/libglvnd-1.3.2/include/GLES3/gl3ext.h
Examining data/libglvnd-1.3.2/include/GLES3/gl3platform.h
Examining data/libglvnd-1.3.2/include/KHR/khrplatform.h
Examining data/libglvnd-1.3.2/include/c99_compat.h
Examining data/libglvnd-1.3.2/include/compiler.h
Examining data/libglvnd-1.3.2/include/glheader.h
Examining data/libglvnd-1.3.2/include/glvnd/GLdispatchABI.h
Examining data/libglvnd-1.3.2/include/glvnd/libeglabi.h
Examining data/libglvnd-1.3.2/include/glvnd/libglxabi.h
Examining data/libglvnd-1.3.2/include/glvnd_list.h
Examining data/libglvnd-1.3.2/include/lkdhash.h
Examining data/libglvnd-1.3.2/src/EGL/egldispatchstubs.c
Examining data/libglvnd-1.3.2/src/EGL/egldispatchstubs.h
Examining data/libglvnd-1.3.2/src/EGL/libegl.c
Examining data/libglvnd-1.3.2/src/EGL/libeglabipriv.h
Examining data/libglvnd-1.3.2/src/EGL/libeglcurrent.c
Examining data/libglvnd-1.3.2/src/EGL/libeglcurrent.h
Examining data/libglvnd-1.3.2/src/EGL/libeglerror.c
Examining data/libglvnd-1.3.2/src/EGL/libeglerror.h
Examining data/libglvnd-1.3.2/src/EGL/libeglmapping.c
Examining data/libglvnd-1.3.2/src/EGL/libeglmapping.h
Examining data/libglvnd-1.3.2/src/EGL/libeglvendor.c
Examining data/libglvnd-1.3.2/src/EGL/libeglvendor.h
Examining data/libglvnd-1.3.2/src/GL/libgl.c
Examining data/libglvnd-1.3.2/src/GLX/glvnd_genentry.c
Examining data/libglvnd-1.3.2/src/GLX/glvnd_genentry.h
Examining data/libglvnd-1.3.2/src/GLX/libglx.c
Examining data/libglvnd-1.3.2/src/GLX/libglxabipriv.h
Examining data/libglvnd-1.3.2/src/GLX/libglxcurrent.h
Examining data/libglvnd-1.3.2/src/GLX/libglxgl.h
Examining data/libglvnd-1.3.2/src/GLX/libglxmapping.c
Examining data/libglvnd-1.3.2/src/GLX/libglxmapping.h
Examining data/libglvnd-1.3.2/src/GLX/libglxproto.c
Examining data/libglvnd-1.3.2/src/GLX/libglxproto.h
Examining data/libglvnd-1.3.2/src/GLX/libglxthread.h
Examining data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c
Examining data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.h
Examining data/libglvnd-1.3.2/src/GLdispatch/GLdispatchPrivate.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_aarch64_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_armv7_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_common.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_common.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_ppc64_tls.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_ppc64_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_pure_c.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_simple_asm.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_x86_64_tls.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_x86_64_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_x86_tls.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/glapi.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/mapi_glapi.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/mapi_tmp.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/stub.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/stub.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/table.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/table.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/u_compiler.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/u_current.h
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/u_current_tls.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/u_current_tsd.c
Examining data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/u_macros.h
Examining data/libglvnd-1.3.2/src/OpenGL/libopengl.c
Examining data/libglvnd-1.3.2/src/util/app_error_check.c
Examining data/libglvnd-1.3.2/src/util/app_error_check.h
Examining data/libglvnd-1.3.2/src/util/cJSON.c
Examining data/libglvnd-1.3.2/src/util/cJSON.h
Examining data/libglvnd-1.3.2/src/util/glvnd_pthread.c
Examining data/libglvnd-1.3.2/src/util/glvnd_pthread.h
Examining data/libglvnd-1.3.2/src/util/trace.c
Examining data/libglvnd-1.3.2/src/util/trace.h
Examining data/libglvnd-1.3.2/src/util/uthash/src/utarray.h
Examining data/libglvnd-1.3.2/src/util/uthash/src/uthash.h
Examining data/libglvnd-1.3.2/src/util/uthash/src/utlist.h
Examining data/libglvnd-1.3.2/src/util/uthash/src/utstring.h
Examining data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/emit_keys.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/example.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/keystat.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/cache.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/cache.h
Examining data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/sleep_test.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/tdiff.cpp
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test1.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test10.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test11.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test12.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test13.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test14.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test15.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test16.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test17.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test18.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test19.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test2.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test20.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test21.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test22.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test23.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test24.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test25.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test26.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test27.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test28.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test29.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test3.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test30.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test31.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test32.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test33.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test34.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test35.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test36.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test37.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test38.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test39.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test4.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test40.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test41.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test42.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test43.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test44.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test45.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test46.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test47.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test48.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test49.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test5.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test50.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test51.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test52.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test53.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test54.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test55.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test56.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test57.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test58.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test59.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test6.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test60.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test61.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test62.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test63.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test64.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test65.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test66.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test67.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test68.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test69.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test7.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test70.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test71.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test72.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test73.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test74.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test75.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test76.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test77.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test78.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test79.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test8.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test80.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test81.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test82.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/test9.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/threads/test1.c
Examining data/libglvnd-1.3.2/src/util/uthash/tests/threads/test2.c
Examining data/libglvnd-1.3.2/src/util/utils_misc.c
Examining data/libglvnd-1.3.2/src/util/utils_misc.h
Examining data/libglvnd-1.3.2/src/util/winsys_dispatch.c
Examining data/libglvnd-1.3.2/src/util/winsys_dispatch.h
Examining data/libglvnd-1.3.2/tests/dummy/EGL_dummy.c
Examining data/libglvnd-1.3.2/tests/dummy/EGL_dummy.h
Examining data/libglvnd-1.3.2/tests/dummy/GLX_dummy.c
Examining data/libglvnd-1.3.2/tests/dummy/GLX_dummy.h
Examining data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c
Examining data/libglvnd-1.3.2/tests/dummy/patchentrypoints.h
Examining data/libglvnd-1.3.2/tests/egl_test_utils.c
Examining data/libglvnd-1.3.2/tests/egl_test_utils.h
Examining data/libglvnd-1.3.2/tests/test_utils.c
Examining data/libglvnd-1.3.2/tests/test_utils.h
Examining data/libglvnd-1.3.2/tests/testegldebug.c
Examining data/libglvnd-1.3.2/tests/testegldevice.c
Examining data/libglvnd-1.3.2/tests/testegldisplay.c
Examining data/libglvnd-1.3.2/tests/testeglerror.c
Examining data/libglvnd-1.3.2/tests/testeglgetprocaddress.c
Examining data/libglvnd-1.3.2/tests/testeglmakecurrent.c
Examining data/libglvnd-1.3.2/tests/testgldispatch.c
Examining data/libglvnd-1.3.2/tests/testgldispatchthread.c
Examining data/libglvnd-1.3.2/tests/testglxcreatecontext.c
Examining data/libglvnd-1.3.2/tests/testglxgetclientstr.c
Examining data/libglvnd-1.3.2/tests/testglxgetprocaddress.c
Examining data/libglvnd-1.3.2/tests/testglxgetprocaddress_genentry.c
Examining data/libglvnd-1.3.2/tests/testglxmakecurrent.c
Examining data/libglvnd-1.3.2/tests/testglxqueryversion.c

FINAL RESULTS:

data/libglvnd-1.3.2/src/util/uthash/tests/example.c:88:9:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
        gets(in);
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:92:32:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                add_user(id++, gets(in));
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:96:17:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                gets(in); id = atoi(in);
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:98:30:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                add_user(id, gets(in));
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:102:36:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                s = find_user(atoi(gets(in)));
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:107:36:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                s = find_user(atoi(gets(in)));
data/libglvnd-1.3.2/include/GL/glcorearb.h:662:69:  [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 PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:682:57:  [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 glMapBuffer (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:1311:114:  [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 PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:1396:102:  [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 glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2196: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/libglvnd-1.3.2/include/GL/glcorearb.h:2209: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/libglvnd-1.3.2/include/GL/glcorearb.h:2651: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 void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2652:119:  [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 PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2762: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 void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2763:107:  [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 glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2937:87:  [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 PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:2954:75:  [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 glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4166:77:  [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 PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4278: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.
typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4422:65:  [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 glMapNamedBufferEXT (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4534:110:  [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 glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4801:86:  [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 PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:4815: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.
GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glcorearb.h:5650: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/libglvnd-1.3.2/include/GL/glcorearb.h:5653: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/libglvnd-1.3.2/include/GL/glcorearb.h:5665: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/libglvnd-1.3.2/include/GL/glcorearb.h:5668: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/libglvnd-1.3.2/include/GL/glext.h:536:69:  [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 PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:556:57:  [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 glMapBuffer (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:1199:114:  [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 PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:1284:102:  [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 glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:2144: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/libglvnd-1.3.2/include/GL/glext.h:2157: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/libglvnd-1.3.2/include/GL/glext.h:2600: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 void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:2601:119:  [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 PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:2723: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 void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:2724:107:  [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 glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:2910:87:  [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 PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:2927:75:  [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 glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:4739: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.
typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:4751:60:  [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 glMapBufferARB (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:6897:77:  [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 PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:7009: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.
typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:7153:65:  [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 glMapNamedBufferEXT (GLuint buffer, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:7265:110:  [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 glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GL/glext.h:8168: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/libglvnd-1.3.2/include/GL/glext.h:8171: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/libglvnd-1.3.2/include/GL/glext.h:9195:95:  [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 PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
data/libglvnd-1.3.2/include/GL/glext.h:9199:83:  [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 glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
data/libglvnd-1.3.2/include/GL/glext.h:9488:86:  [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 PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:9502: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.
GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GL/glext.h:10957: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/libglvnd-1.3.2/include/GL/glext.h:10960: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/libglvnd-1.3.2/include/GL/glext.h:10971: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/libglvnd-1.3.2/include/GL/glext.h:10974: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/libglvnd-1.3.2/include/GL/glext.h:11350: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/libglvnd-1.3.2/include/GL/glext.h:11361: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/libglvnd-1.3.2/include/GLES/glext.h:334:75:  [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 *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GLES/glext.h:338:64:  [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.
GL_API void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GLES/glext.h:649:120:  [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 *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES/glext.h:652:109:  [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.
GL_API void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:442:75:  [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 *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:446:68:  [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.
GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:1493:120:  [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 *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:1496:113:  [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.
GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:2486:89:  [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 (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GLES2/gl2ext.h:2500:82:  [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.
GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
data/libglvnd-1.3.2/include/GLES3/gl3.h:1021:117:  [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 *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl3.h:1126:110:  [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.
GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl31.h:1023:117:  [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 *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl31.h:1128:110:  [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.
GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl31.h:1438:137:  [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 (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/libglvnd-1.3.2/include/GLES3/gl31.h:1507:130:  [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.
GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/libglvnd-1.3.2/include/GLES3/gl32.h:1023:117:  [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 *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl32.h:1128:110:  [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.
GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/libglvnd-1.3.2/include/GLES3/gl32.h:1438:137:  [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 (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/libglvnd-1.3.2/include/GLES3/gl32.h:1507:130:  [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.
GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
data/libglvnd-1.3.2/src/util/app_error_check.c:67:9:  [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, args);
data/libglvnd-1.3.2/src/util/trace.h:67: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.
) __attribute__((format(printf,6,7)));
data/libglvnd-1.3.2/src/util/uthash/src/uthash.h:277:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HASH_OOPS(...) do { fprintf(stderr,__VA_ARGS__); exit(-1); } while (0)
data/libglvnd-1.3.2/src/util/uthash/src/utstring.h:127: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.
      n = vsnprintf (&s->d[s->i], s->n-s->i, fmt, cp);
data/libglvnd-1.3.2/src/util/uthash/src/utstring.h:143:28:  [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.
  __attribute__ (( format( printf, 2, 3) ));
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:23:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(s->name, name);
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:64:37:  [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 vv(...)  do {if (verbose>0) printf(__VA_ARGS__);} while(0)
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:65:37:  [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 vvv(...) do {if (verbose>1) printf(__VA_ARGS__);} while(0)
data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c:69:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(buffer, "%s\n", key);
data/libglvnd-1.3.2/src/util/utils_misc.c:70:19:  [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(str, current_len, fmt, ap);
data/libglvnd-1.3.2/tests/test_utils.h:38:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printError(...) fprintf(stderr, __VA_ARGS__)
data/libglvnd-1.3.2/tests/testglxgetclientstr.c:34:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printError(...) fprintf(stderr, __VA_ARGS__)
data/libglvnd-1.3.2/tests/testglxgetclientstr.c:42:5:  [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(#name " = %s\n", str);                                  \
data/libglvnd-1.3.2/tests/testglxqueryversion.c:34:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printError(...) fprintf(stderr, __VA_ARGS__)
data/libglvnd-1.3.2/src/EGL/libegl.c:371:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    name = getenv("EGL_PLATFORM");
data/libglvnd-1.3.2/src/EGL/libeglvendor.c:43:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        env = getenv("__EGL_VENDOR_LIBRARY_FILENAMES");
data/libglvnd-1.3.2/src/EGL/libeglvendor.c:59:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        env = getenv("__EGL_VENDOR_LIBRARY_DIRS");
data/libglvnd-1.3.2/src/GLX/libglx.c:2109:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        const char *preloadedVendor = getenv("__GLX_VENDOR_LIBRARY_NAME");
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:555:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        specifiedVendorName = getenv(envName);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:558:35:  [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.
            specifiedVendorName = getenv("__GLX_VENDOR_LIBRARY_NAME");
data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c:340:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *disallowPatchStr = getenv("__GLVND_DISALLOW_PATCHING");
data/libglvnd-1.3.2/src/util/app_error_check.c:44:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env = getenv("__GLVND_APP_ERROR_CHECKING");
data/libglvnd-1.3.2/src/util/app_error_check.c:53:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env = getenv("__GLVND_ABORT_ON_APP_ERROR");
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:435:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *force_st = getenv("__GL_SINGLETHREADED");
data/libglvnd-1.3.2/src/util/trace.c:58:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *debugStr = getenv("__GL_DEBUG");
data/libglvnd-1.3.2/src/util/trace.c:59:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *showPrefixStr = getenv("__GL_DEBUG_FILE_LINE_INFO");
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:571:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (opt = getopt(argc, argv, "kv")) != -1) {
data/libglvnd-1.3.2/tests/dummy/GLX_dummy.c:726:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *env = getenv(name);
data/libglvnd-1.3.2/tests/testgldispatch.c:117:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int opt = getopt(argc, argv, "sgptl");
data/libglvnd-1.3.2/tests/testglxmakecurrent.c:80:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        c = getopt_long(argc, argv, "hi:t:", long_options, NULL);
data/libglvnd-1.3.2/include/GL/glxext.h:769:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
data/libglvnd-1.3.2/include/GL/glxext.h:773:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
data/libglvnd-1.3.2/include/GL/glxext.h: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 pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
data/libglvnd-1.3.2/include/GL/glxext.h:784:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
data/libglvnd-1.3.2/src/EGL/libegl.c:1012: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(pEntry->procName, procName, nameLen + 1);
data/libglvnd-1.3.2/src/EGL/libeglerror.c:111:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[200];
data/libglvnd-1.3.2/src/EGL/libeglvendor.c:339: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(filename, "r");
data/libglvnd-1.3.2/src/GLX/glvnd_genentry.c:49: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 *entrypointNames[GENERATED_ENTRYPOINT_MAX] = {};
data/libglvnd-1.3.2/src/GLX/libglx.c:1785: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(pEntry->procName, procName, nameLen + 1);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:426: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(vendor->name, vendorName, vendorNameLen + 1);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:551: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 envName[40];
data/libglvnd-1.3.2/src/GLX/libglxmapping.h:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *clientStrings[GLX_CLIENT_STRING_LAST_ATTRIB];
data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c:342:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            disallowPatch = atoi(disallowPatchStr);
data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c:416:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&stub->callbacks, callbacks, sizeof(__GLdispatchStubPatchCallbacks));
data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_common.c:87: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, public_entry_start, size);
data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_common.c:133: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(public_entry_start, saved, size);
data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_ppc64_tls.c:150: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(entry, ENTRY_TEMPLATE, sizeof(ENTRY_TEMPLATE));
data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/entry_ppc64_tsd.c:204: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(entry, ENTRY_TEMPLATE, sizeof(ENTRY_TEMPLATE));
data/libglvnd-1.3.2/src/GLdispatch/vnd-glapi/stub.c:104: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 *dynamic_stub_names[MAPI_TABLE_NUM_DYNAMIC];
data/libglvnd-1.3.2/src/util/app_error_check.c:46:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        errorCheckingEnabled = (atoi(env) != 0 ? 1 : 0);
data/libglvnd-1.3.2/src/util/app_error_check.c:55:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        abortOnAppError = (atoi(env) != 0 ? 1 : 0);
data/libglvnd-1.3.2/src/util/cJSON.c:67: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 version[15];
data/libglvnd-1.3.2/src/util/cJSON.c:68: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(version, "%i.%i.%i", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH);
data/libglvnd-1.3.2/src/util/cJSON.c:121: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(copy, string, length);
data/libglvnd-1.3.2/src/util/cJSON.c:223: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 number_c_string[64];
data/libglvnd-1.3.2/src/util/cJSON.c:403: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(newbuffer, p->buffer, p->offset + 1);
data/libglvnd-1.3.2/src/util/cJSON.c:433: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 number_buffer[26]; /* temporary buffer to print the number into */
data/libglvnd-1.3.2/src/util/cJSON.c:445:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        length = sprintf((char*)number_buffer, "null");
data/libglvnd-1.3.2/src/util/cJSON.c:450:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        length = sprintf((char*)number_buffer, "%1.15g", d);
data/libglvnd-1.3.2/src/util/cJSON.c:456:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            length = sprintf((char*)number_buffer, "%1.17g", d);
data/libglvnd-1.3.2/src/util/cJSON.c:802: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((char*)output, "\"\"");
data/libglvnd-1.3.2/src/util/cJSON.c:843: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(output + 1, input, output_length);
data/libglvnd-1.3.2/src/util/cJSON.c:889:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                    sprintf((char*)output_pointer, "u%04x", *input_pointer);
data/libglvnd-1.3.2/src/util/cJSON.c:1063: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(printed, buffer->buffer, cjson_min(buffer->length, buffer->offset + 1));
data/libglvnd-1.3.2/src/util/cJSON.c:1220:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy((char*)output, "null");
data/libglvnd-1.3.2/src/util/cJSON.c:1229:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy((char*)output, "false");
data/libglvnd-1.3.2/src/util/cJSON.c:1238:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy((char*)output, "true");
data/libglvnd-1.3.2/src/util/cJSON.c:1262: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(output, item->valuestring, raw_length);
data/libglvnd-1.3.2/src/util/cJSON.c:1777: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(reference, item, sizeof(cJSON));
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:439:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (force_st && atoi(force_st)) {
data/libglvnd-1.3.2/src/util/trace.c:61:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            debugPrintfLevel = atoi(debugStr);
data/libglvnd-1.3.2/src/util/uthash/src/utarray.h:97:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  else { memcpy(_utarray_eltptr(a,(a)->i++), p, (a)->icd.sz); };              \
data/libglvnd-1.3.2/src/util/uthash/src/utarray.h:125:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  else { memcpy(_utarray_eltptr(a,j), p, (a)->icd.sz); };                     \
data/libglvnd-1.3.2/src/util/uthash/src/utarray.h:144: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(_utarray_eltptr(a,j), _utarray_eltptr(w,0),                        \
data/libglvnd-1.3.2/src/util/uthash/src/utstring.h:101:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (l) memcpy(&(s)->d[(s)->i], b, l);                    \
data/libglvnd-1.3.2/src/util/uthash/src/utstring.h:109: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.
  if ((src)->i) memcpy(&(dst)->d[(dst)->i], (src)->d, (src)->i); \
data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c:14:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char boy_name[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c:20:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c:25:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (argc > 1) nloops = atoi(argv[1]);
data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test14.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/emit_keys.c:13:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char boy_name[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/emit_keys.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/emit_keys.c:28:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( argv[1], "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:8:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[10];             
data/libglvnd-1.3.2/src/util/uthash/tests/example.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 in[10];
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:89:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        switch(atoi(in)) {
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:96:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                gets(in); id = atoi(in);
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:102:31:  [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).
                s = find_user(atoi(gets(in)));
data/libglvnd-1.3.2/src/util/uthash/tests/example.c:107:31:  [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).
                s = find_user(atoi(gets(in)));
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:55: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 perms[4];   /* rwxp */
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:56: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 device[5];  /* fd:01 or 00:00 */
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:150: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 keyfile[50];
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:162:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (keyfd = open(keyfile, O_WRONLY|O_CREAT|O_TRUNC, mode)) == -1) {
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:422: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 path[MAXPATHLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:491: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 mapfile[30], memfile[30], line[100];
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:513:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( (mapf = fopen(mapfile,"r")) == NULL) {
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:534:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( (memfd=open(memfile,O_RDONLY)) == -1) {
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:585:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (optind < argc) pid=atoi(argv[optind++]);
data/libglvnd-1.3.2/src/util/uthash/tests/keystat.c:95:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((argc >= 3) && !strcmp(argv[1],"-p")) {percent = atoi(argv[2]); v = 3;}
data/libglvnd-1.3.2/src/util/uthash/tests/keystat.c:98:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd=open(filename,MODE);
data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[33];
data/libglvnd-1.3.2/src/util/uthash/tests/tdiff.cpp:17: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 d1[256], d2[256];
data/libglvnd-1.3.2/src/util/uthash/tests/test11.c:17:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char boy_name[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test11.c:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test11.c:32:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test12.c:6:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char first_name[10];
data/libglvnd-1.3.2/src/util/uthash/tests/test14.c:13:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char boy_name[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test14.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test14.c:23:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test14.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test15.c:7:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[10];             /* key */
data/libglvnd-1.3.2/src/util/uthash/tests/test20.c:7:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkey[5];              /* "binary" key */
data/libglvnd-1.3.2/src/util/uthash/tests/test20.c:14:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char binary[5] = {3,1,4,1,6};
data/libglvnd-1.3.2/src/util/uthash/tests/test20.c:18: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(s->bkey, binary, sizeof(binary));
data/libglvnd-1.3.2/src/util/uthash/tests/test22.c:33: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(msg->text, beijing, sizeof(beijing));
data/libglvnd-1.3.2/src/util/uthash/tests/test22.c:49: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(lookup_key->text, beijing, sizeof(beijing));
data/libglvnd-1.3.2/src/util/uthash/tests/test26.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test26.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test26.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test26.c:40: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(&etmp.bname, "WES\n", 5);
data/libglvnd-1.3.2/src/util/uthash/tests/test29.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test29.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test29.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test30.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test30.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test30.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test31.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test31.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test31.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test32.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test32.c:22:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test32.c:25:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test33.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test33.c:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test33.c:27:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test34.c:9:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test34.c:22:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test34.c:25:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test35.c:15:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[6];
data/libglvnd-1.3.2/src/util/uthash/tests/test56.c:17:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bname[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test56.c:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linebuf[BUFLEN];
data/libglvnd-1.3.2/src/util/uthash/tests/test56.c:40:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( (file = fopen( "test11.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test56.c:53: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(&etmp.bname, "WES\n", 5);
data/libglvnd-1.3.2/src/util/uthash/tests/test59.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[10];
data/libglvnd-1.3.2/src/util/uthash/tests/test59.c:21:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(i->name, "bob");
data/libglvnd-1.3.2/src/util/uthash/tests/test59.c:28:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(s->name, "age");
data/libglvnd-1.3.2/src/util/uthash/tests/test60.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[10];
data/libglvnd-1.3.2/src/util/uthash/tests/test60.c:21:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(i->name, "bob");
data/libglvnd-1.3.2/src/util/uthash/tests/test60.c:28:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(s->name, "age");
data/libglvnd-1.3.2/src/util/uthash/tests/test65.c:56: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 linebuf[100], nbuf[10];
data/libglvnd-1.3.2/src/util/uthash/tests/test65.c:60:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( (file = fopen( "test65.dat", "r" )) == NULL ) {
data/libglvnd-1.3.2/src/util/uthash/tests/test66.c:6:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char first_name[10];
data/libglvnd-1.3.2/src/util/utils_misc.c:159: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(tokenBuf, tok, len);
data/libglvnd-1.3.2/src/util/utils_misc.c:231: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, token, tokenLen);
data/libglvnd-1.3.2/tests/dummy/EGL_dummy.c:139:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char EGL_DEVICE_HANDLES[DUMMY_EGL_DEVICE_COUNT];
data/libglvnd-1.3.2/tests/dummy/GLX_dummy.c:145: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(ret_visual, &matched_visual, sizeof(XVisualInfo));
data/libglvnd-1.3.2/tests/dummy/GLX_dummy.c:727:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (env != NULL && atoi(env) != 0) {
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:58: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(writeEntry, tmpl, sizeof(tmpl));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:59: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(writeEntry + 5, &incrementAddr, sizeof(incrementAddr));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:60: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(writeEntry + 17, &incrementAddr, sizeof(incrementAddr));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:94: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(writeEntry, tmpl, sizeof(tmpl));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:126: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(writeEntry, tmpl, sizeof(tmpl));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:160: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(writeEntry, tmpl, sizeof(tmpl));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:197: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(writeEntry, tmpl, sizeof(tmpl));
data/libglvnd-1.3.2/tests/dummy/patchentrypoints.c:198: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(writeEntry + offsetAddr, &incrementPtr, sizeof(incrementPtr));
data/libglvnd-1.3.2/tests/egl_test_utils.c:6:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *DUMMY_VENDOR_NAMES[DUMMY_VENDOR_COUNT] = {
data/libglvnd-1.3.2/tests/egl_test_utils.h:48:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *DUMMY_VENDOR_NAMES[DUMMY_VENDOR_COUNT];
data/libglvnd-1.3.2/tests/testgldispatch.c:176: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 name[32];
data/libglvnd-1.3.2/tests/testglxgetprocaddress_genentry.c:62: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[50];
data/libglvnd-1.3.2/tests/testglxmakecurrent.c:90:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            t->iterations = atoi(optarg);
data/libglvnd-1.3.2/tests/testglxmakecurrent.c:98:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            t->threads = atoi(optarg);
data/libglvnd-1.3.2/include/EGL/egl.h:141:102:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
typedef EGLBoolean (EGLAPIENTRYP PFNEGLMAKECURRENTPROC) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/libglvnd-1.3.2/include/EGL/egl.h:166:91:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/libglvnd-1.3.2/include/GL/glx.h:277:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                   GLXDrawable read, GLXContext ctx );
data/libglvnd-1.3.2/include/GL/glx.h:303:92:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
typedef Bool (* PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/include/GL/glxext.h:122:92:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/include/GL/glxext.h:140:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/include/GL/glxext.h:922:92:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
typedef Bool ( *PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/include/GL/glxext.h:925:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/src/EGL/libegl.c:581:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        __EGLdisplayInfo *dpy, EGLSurface draw, EGLSurface read,
data/libglvnd-1.3.2/src/EGL/libegl.c:591:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = dpy->vendor->staticDispatch.makeCurrent(dpy->dpy, draw, read, context);
data/libglvnd-1.3.2/src/EGL/libegl.c:595:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        apiState->currentRead = read;
data/libglvnd-1.3.2/src/EGL/libegl.c:613:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        __EGLdisplayInfo *dpy, EGLSurface draw, EGLSurface read,
data/libglvnd-1.3.2/src/EGL/libegl.c:636:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentVendor(dpy, draw, read, context,
data/libglvnd-1.3.2/src/EGL/libegl.c:651:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        EGLSurface draw, EGLSurface read, EGLContext context)
data/libglvnd-1.3.2/src/EGL/libegl.c:672:65:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (context == EGL_NO_CONTEXT && (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE)) {
data/libglvnd-1.3.2/src/EGL/libegl.c:733:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentVendor(newDpy, draw, read, context,
data/libglvnd-1.3.2/src/EGL/libegl.c:746:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentDispatch(newDpy, draw, read, context,
data/libglvnd-1.3.2/src/EGL/libegl.c:762:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ret = InternalMakeCurrentDispatch(newDpy, draw, read, context,
data/libglvnd-1.3.2/src/EGL/libegl.c:1001: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).
    size_t nameLen = strlen(procName);
data/libglvnd-1.3.2/src/EGL/libegl.c:1033:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(procName), pEntry);
data/libglvnd-1.3.2/src/EGL/libeglabipriv.h:57:77:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    EGLBoolean (* makeCurrent) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/libglvnd-1.3.2/src/EGL/libeglvendor.c:111: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).
    dirnameLen = strlen(dirName);
data/libglvnd-1.3.2/src/GLX/libglx.c:865:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Display *dpy, GLXDrawable draw, GLXDrawable read,
data/libglvnd-1.3.2/src/GLX/libglx.c:874:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (callerOpcode == X_GLXMakeCurrent && draw == read) {
data/libglvnd-1.3.2/src/GLX/libglx.c:879:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                                    read,
data/libglvnd-1.3.2/src/GLX/libglx.c:886:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        threadState->currentRead = read;
data/libglvnd-1.3.2/src/GLX/libglx.c:904:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Display *dpy, GLXDrawable draw, GLXDrawable read,
data/libglvnd-1.3.2/src/GLX/libglx.c:930:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentVendor(dpy, draw, read, ctxInfo, callerOpcode,
data/libglvnd-1.3.2/src/GLX/libglx.c:949:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                  GLXDrawable read, GLXContext context,
data/libglvnd-1.3.2/src/GLX/libglx.c:1002:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!context && (draw != None || read != None)) {
data/libglvnd-1.3.2/src/GLX/libglx.c:1057:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentVendor(dpy, draw, read, newCtxInfo, callerOpcode,
data/libglvnd-1.3.2/src/GLX/libglx.c:1074:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = InternalMakeCurrentDispatch(dpy, draw, read, newCtxInfo, callerOpcode,
data/libglvnd-1.3.2/src/GLX/libglx.c:1098:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ret = InternalMakeCurrentDispatch(dpy, draw, read, newCtxInfo, callerOpcode,
data/libglvnd-1.3.2/src/GLX/libglx.c:1123:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                  GLXDrawable read, GLXContext context)
data/libglvnd-1.3.2/src/GLX/libglx.c:1125:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return CommonMakeCurrent(dpy, draw, read, context, X_GLXMakeContextCurrent);
data/libglvnd-1.3.2/src/GLX/libglx.c:1762:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen((const char *)procName), pEntry);
data/libglvnd-1.3.2/src/GLX/libglx.c:1774: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).
    size_t nameLen = strlen((const char *) procName);
data/libglvnd-1.3.2/src/GLX/libglxabipriv.h:156:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                           GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/src/GLX/libglxgl.h:38:85:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Bool (* ptr_glXMakeContextCurrent) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:397: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).
    vendorNameLen = strlen(vendorName);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:492: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).
                            strlen(vendor->name), pEntry);
data/libglvnd-1.3.2/src/GLX/libglxmapping.c:657: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).
                            strlen(GLX_EXT_LIBGLVND_NAME), " ")) {
data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c:760:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (__glvndPthreadFuncs.equal(firstThreadId, GLVND_THREAD_NULL)) {
data/libglvnd-1.3.2/src/GLdispatch/GLdispatch.c:762:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            } else if (!__glvndPthreadFuncs.equal(firstThreadId, tid)) {
data/libglvnd-1.3.2/src/util/cJSON.c:116:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen((const char*)string) + sizeof("");
data/libglvnd-1.3.2/src/util/cJSON.c:423: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).
    buffer->offset += strlen((const char*)buffer_pointer);
data/libglvnd-1.3.2/src/util/cJSON.c:952: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).
    buffer.length = strlen((const char*)value) + sizeof("");
data/libglvnd-1.3.2/src/util/cJSON.c:1256: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).
            raw_length = strlen(item->valuestring) + sizeof("");
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:54:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    int (*equal)(pthread_t t1, pthread_t t2);
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:302:55:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            (t1.valid && t2.valid && pthreadRealFuncs.equal(t1.tid, t2.tid));
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:446:34:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    GET_MT_FUNC(funcs, dlhandle, equal);
data/libglvnd-1.3.2/src/util/glvnd_pthread.c:484:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    GET_ST_FUNC(funcs, equal);
data/libglvnd-1.3.2/src/util/glvnd_pthread.h:100:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    int (*equal)(glvnd_thread_t t1, glvnd_thread_t t2);
data/libglvnd-1.3.2/src/util/uthash/src/uthash.h:253: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).
    HASH_FIND(hh,head,findstr,strlen(findstr),out)
data/libglvnd-1.3.2/src/util/uthash/src/uthash.h:255: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).
    HASH_ADD(hh,head,strfield,strlen(add->strfield),add)
data/libglvnd-1.3.2/src/util/uthash/src/uthash.h:257: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).
  HASH_REPLACE(hh,head,strfield,strlen(add->strfield),add,replaced)
data/libglvnd-1.3.2/src/util/uthash/tests/bloom_perf.c:35:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->boy_name,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/emit_keys.c:35:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->boy_name,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:124:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ( len && ((rc=read(fd, (char*)dst+bytes_read, len)) > 0)) {
data/libglvnd-1.3.2/src/util/uthash/tests/hashscan.c:402:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ( (rlen = read(fd,&u,sizeof(u))) == sizeof(u)) {
data/libglvnd-1.3.2/src/util/uthash/tests/keystat.c:110:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          rc = read(fd,dst,want);
data/libglvnd-1.3.2/src/util/uthash/tests/keystat.c:142:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          rc = read(fd,dst,want);
data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c:37:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		       (int)strlen(entry->key));
data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c:71:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();
data/libglvnd-1.3.2/src/util/uthash/tests/lru_cache/main.c:78: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).
		printf("Got key %s (%d)\n", key, (int)strlen(key));
data/libglvnd-1.3.2/src/util/uthash/tests/tdiff.cpp:19:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is1.read(d1,sizeof(d1));
data/libglvnd-1.3.2/src/util/uthash/tests/tdiff.cpp:20:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is2.read(d2,sizeof(d2));
data/libglvnd-1.3.2/src/util/uthash/tests/test11.c:39:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->boy_name,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test12.c:20:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(person->first_name, *name,10);
data/libglvnd-1.3.2/src/util/uthash/tests/test14.c:31:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->boy_name,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test15.c:20:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(s->name, *n,10);
data/libglvnd-1.3.2/src/util/uthash/tests/test26.c:34:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test29.c:34:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test30.c:34:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test31.c:34:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test32.c:32:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test33.c:34:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test34.c:32:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test35.c:18:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(elts[i].s, "hello",6); 
data/libglvnd-1.3.2/src/util/uthash/tests/test35.c:25:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(label, "hello", 6);
data/libglvnd-1.3.2/src/util/uthash/tests/test39.c:21:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    HASH_ADD_KEYPTR(hh,head,nsp->name,strlen(nsp->name),nsp);
data/libglvnd-1.3.2/src/util/uthash/tests/test39.c:27: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).
    HASH_FIND(hh,head,keys[i],strlen(keys[i]),nsp);
data/libglvnd-1.3.2/src/util/uthash/tests/test40.c:22:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        HASH_ADD_KEYPTR( hh, users, s->name, strlen(s->name), s );  
data/libglvnd-1.3.2/src/util/uthash/tests/test56.c:47:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name->bname,linebuf,BUFLEN);
data/libglvnd-1.3.2/src/util/uthash/tests/test65.c:26: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).
        HASH_ADD_KEYPTR(hh, cache, entry->key, strlen(entry->key), entry);
data/libglvnd-1.3.2/src/util/uthash/tests/test65.c:38:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    HASH_ADD_KEYPTR(hh, cache, entry->key, strlen(entry->key), entry);
data/libglvnd-1.3.2/src/util/uthash/tests/test66.c:20:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(person->first_name, *name,10);
data/libglvnd-1.3.2/src/util/utils_misc.c:193: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).
    origLen = newLen = strlen(currentString);
data/libglvnd-1.3.2/tests/dummy/EGL_dummy.c:361:96:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static EGLBoolean EGLAPIENTRY dummy_eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
data/libglvnd-1.3.2/tests/dummy/GLX_dummy.c:466:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                              GLXDrawable read, GLXContext ctx)

ANALYSIS SUMMARY:

Hits = 338
Lines analyzed = 66899 in approximately 2.38 seconds (28072 lines/second)
Physical Source Lines of Code (SLOC) = 52293
Hits@level = [0] 938 [1]  90 [2] 140 [3]  16 [4]  86 [5]   6
Hits@level+ = [0+] 1276 [1+] 338 [2+] 248 [3+] 108 [4+]  92 [5+]   6
Hits/KSLOC@level+ = [0+] 24.401 [1+] 6.46358 [2+] 4.74251 [3+] 2.06529 [4+] 1.75932 [5+] 0.114738
Dot directories skipped = 2 (--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.