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/cogl-1.22.8/cogl-gles2/cogl-gles2-api.c
Examining data/cogl-1.22.8/cogl-gles2/GLES2/gl2platform.h
Examining data/cogl-1.22.8/cogl-gles2/GLES2/gl2ext.h
Examining data/cogl-1.22.8/cogl-gles2/GLES2/gl2.h
Examining data/cogl-1.22.8/deps/gmodule/gmodule-dyld.c
Examining data/cogl-1.22.8/deps/gmodule/gmodule-win32.c
Examining data/cogl-1.22.8/deps/gmodule/gmodule.c
Examining data/cogl-1.22.8/deps/gmodule/gmodule-dl.c
Examining data/cogl-1.22.8/deps/gmodule/gmodule-dld.c
Examining data/cogl-1.22.8/deps/glib/glist.h
Examining data/cogl-1.22.8/deps/glib/gmain.c
Examining data/cogl-1.22.8/deps/glib/gtestutils.c
Examining data/cogl-1.22.8/deps/glib/glib-object.h
Examining data/cogl-1.22.8/deps/glib/gconvert.h
Examining data/cogl-1.22.8/deps/glib/gqsort.c
Examining data/cogl-1.22.8/deps/glib/gdataset.c
Examining data/cogl-1.22.8/deps/glib/gtestutils.h
Examining data/cogl-1.22.8/deps/glib/glibintl.h
Examining data/cogl-1.22.8/deps/glib/ghook.h
Examining data/cogl-1.22.8/deps/glib/gbitlock.h
Examining data/cogl-1.22.8/deps/glib/gstdio.c
Examining data/cogl-1.22.8/deps/glib/gmessages.h
Examining data/cogl-1.22.8/deps/glib/gmem.c
Examining data/cogl-1.22.8/deps/glib/gatomic.c
Examining data/cogl-1.22.8/deps/glib/ghook.c
Examining data/cogl-1.22.8/deps/glib/gprintf.c
Examining data/cogl-1.22.8/deps/glib/gdebug.h
Examining data/cogl-1.22.8/deps/glib/gbitlock.c
Examining data/cogl-1.22.8/deps/glib/gthread.h
Examining data/cogl-1.22.8/deps/glib/gunicode.h
Examining data/cogl-1.22.8/deps/glib/gerror.c
Examining data/cogl-1.22.8/deps/glib/gslist.c
Examining data/cogl-1.22.8/deps/glib/gqueue.c
Examining data/cogl-1.22.8/deps/glib/glist.c
Examining data/cogl-1.22.8/deps/glib/gdatasetprivate.h
Examining data/cogl-1.22.8/deps/glib/glib.h
Examining data/cogl-1.22.8/deps/glib/gprintfint.h
Examining data/cogl-1.22.8/deps/glib/ghash.h
Examining data/cogl-1.22.8/deps/glib/gutils.h
Examining data/cogl-1.22.8/deps/glib/garray.h
Examining data/cogl-1.22.8/deps/glib/gqsort.h
Examining data/cogl-1.22.8/deps/glib/galloca.h
Examining data/cogl-1.22.8/deps/glib/gslist.h
Examining data/cogl-1.22.8/deps/glib/gtypes.h
Examining data/cogl-1.22.8/deps/glib/gstdio.h
Examining data/cogl-1.22.8/deps/glib/gstrfuncs.h
Examining data/cogl-1.22.8/deps/glib/gmem.h
Examining data/cogl-1.22.8/deps/glib/gstrfuncs.c
Examining data/cogl-1.22.8/deps/glib/ghash.c
Examining data/cogl-1.22.8/deps/glib/gfileutils.c
Examining data/cogl-1.22.8/deps/glib/gslice.c
Examining data/cogl-1.22.8/deps/glib/gstring.c
Examining data/cogl-1.22.8/deps/glib/gquark.h
Examining data/cogl-1.22.8/deps/glib/gmessages.c
Examining data/cogl-1.22.8/deps/glib/gerror.h
Examining data/cogl-1.22.8/deps/glib/gfileutils.h
Examining data/cogl-1.22.8/deps/glib/gslice.h
Examining data/cogl-1.22.8/deps/glib/gatomic.h
Examining data/cogl-1.22.8/deps/glib/gprintf.h
Examining data/cogl-1.22.8/deps/glib/gconvert.c
Examining data/cogl-1.22.8/deps/glib/gthread.c
Examining data/cogl-1.22.8/deps/glib/gstring.h
Examining data/cogl-1.22.8/deps/glib/gqueue.h
Examining data/cogl-1.22.8/deps/glib/gutils.c
Examining data/cogl-1.22.8/deps/glib/gmain.h
Examining data/cogl-1.22.8/deps/glib/gi18n-lib.h
Examining data/cogl-1.22.8/deps/glib/gdataset.h
Examining data/cogl-1.22.8/deps/glib/gmacros.h
Examining data/cogl-1.22.8/deps/glib/garray.c
Examining data/cogl-1.22.8/deps/glib/gbacktrace.h
Examining data/cogl-1.22.8/deps/glib/glib_trace.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-display-list.c
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-pipeline-cache.c
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-render.c
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-pipeline-cache.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-glyph-cache.c
Examining data/cogl-1.22.8/cogl-pango/cogl-pango.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-display-list.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-private.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-glyph-cache.h
Examining data/cogl-1.22.8/cogl-pango/cogl-pango-fontmap.c
Examining data/cogl-1.22.8/tests/unit/test-unit-main.c
Examining data/cogl-1.22.8/tests/conform/test-copy-replace-texture.c
Examining data/cogl-1.22.8/tests/conform/test-pipeline-uniforms.c
Examining data/cogl-1.22.8/tests/conform/test-depth-test.c
Examining data/cogl-1.22.8/tests/conform/test-sparse-pipeline.c
Examining data/cogl-1.22.8/tests/conform/test-conform-main.c
Examining data/cogl-1.22.8/tests/conform/test-map-buffer-range.c
Examining data/cogl-1.22.8/tests/conform/test-wrap-rectangle-textures.c
Examining data/cogl-1.22.8/tests/conform/test-offscreen.c
Examining data/cogl-1.22.8/tests/conform/test-texture-no-allocate.c
Examining data/cogl-1.22.8/tests/conform/test-just-vertex-shader.c
Examining data/cogl-1.22.8/tests/conform/test-custom-attributes.c
Examining data/cogl-1.22.8/tests/conform/test-alpha-textures.c
Examining data/cogl-1.22.8/tests/conform/test-point-sprite.c
Examining data/cogl-1.22.8/tests/conform/test-pipeline-user-matrix.c
Examining data/cogl-1.22.8/tests/conform/test-color-hsl.c
Examining data/cogl-1.22.8/tests/conform/test-no-gl-header.c
Examining data/cogl-1.22.8/tests/conform/test-primitive.c
Examining data/cogl-1.22.8/tests/conform/test-texture-get-set-data.c
Examining data/cogl-1.22.8/tests/conform/test-point-size.c
Examining data/cogl-1.22.8/tests/conform/test-sub-texture.c
Examining data/cogl-1.22.8/tests/conform/test-point-size-attribute.c
Examining data/cogl-1.22.8/tests/conform/test-snippets.c
Examining data/cogl-1.22.8/tests/conform/test-read-texture-formats.c
Examining data/cogl-1.22.8/tests/conform/test-path-clip.c
Examining data/cogl-1.22.8/tests/conform/test-layer-remove.c
Examining data/cogl-1.22.8/tests/conform/test-texture-3d.c
Examining data/cogl-1.22.8/tests/conform/test-gles2-context.c
Examining data/cogl-1.22.8/tests/conform/test-blend-strings.c
Examining data/cogl-1.22.8/tests/conform/test-premult.c
Examining data/cogl-1.22.8/tests/conform/test-framebuffer-get-bits.c
Examining data/cogl-1.22.8/tests/conform/test-npot-texture.c
Examining data/cogl-1.22.8/tests/conform/test-alpha-test.c
Examining data/cogl-1.22.8/tests/conform/test-pipeline-shader-state.c
Examining data/cogl-1.22.8/tests/conform/test-blend.c
Examining data/cogl-1.22.8/tests/conform/test-color-mask.c
Examining data/cogl-1.22.8/tests/conform/test-wrap-modes.c
Examining data/cogl-1.22.8/tests/conform/test-pipeline-cache-unrefs-texture.c
Examining data/cogl-1.22.8/tests/conform/test-write-texture-formats.c
Examining data/cogl-1.22.8/tests/conform/test-euler-quaternion.c
Examining data/cogl-1.22.8/tests/conform/test-fence.c
Examining data/cogl-1.22.8/tests/conform/test-atlas-migration.c
Examining data/cogl-1.22.8/tests/conform/test-pixel-buffer.c
Examining data/cogl-1.22.8/tests/conform/test-primitive-and-journal.c
Examining data/cogl-1.22.8/tests/conform/test-backface-culling.c
Examining data/cogl-1.22.8/tests/conform/test-texture-rg.c
Examining data/cogl-1.22.8/tests/conform/test-version.c
Examining data/cogl-1.22.8/tests/conform/test-path.c
Examining data/cogl-1.22.8/tests/micro-perf/test-journal.c
Examining data/cogl-1.22.8/examples/cogl-x11-tfp.c
Examining data/cogl-1.22.8/examples/emscripten-example-js.h
Examining data/cogl-1.22.8/examples/cogl-stereo.c
Examining data/cogl-1.22.8/examples/cogl-crate.c
Examining data/cogl-1.22.8/examples/cogl-gles2-gears.c
Examining data/cogl-1.22.8/examples/cogl-point-sprites.c
Examining data/cogl-1.22.8/examples/cogl-basic-video-player.c
Examining data/cogl-1.22.8/examples/cogl-msaa.c
Examining data/cogl-1.22.8/examples/cogl-gles2-context.c
Examining data/cogl-1.22.8/examples/cogl-x11-foreign.c
Examining data/cogl-1.22.8/examples/cogl-info.c
Examining data/cogl-1.22.8/examples/cogland.c
Examining data/cogl-1.22.8/examples/cogl-sdl2-hello.c
Examining data/cogl-1.22.8/examples/cogl-emscripten-hello.c
Examining data/cogl-1.22.8/examples/cogl-hello.c
Examining data/cogl-1.22.8/examples/cogl-sdl-hello.c
Examining data/cogl-1.22.8/examples/android/hello/jni/main.c
Examining data/cogl-1.22.8/cogl-gst/cogl-gst-video-sink.c
Examining data/cogl-1.22.8/cogl-gst/cogl-gst-plugin.c
Examining data/cogl-1.22.8/cogl-gst/cogl-gst.h
Examining data/cogl-1.22.8/cogl-gst/cogl-gst-video-sink.h
Examining data/cogl-1.22.8/config-custom.h
Examining data/cogl-1.22.8/cogl-path/cogl-path-types.h
Examining data/cogl-1.22.8/cogl-path/cogl1-path-functions.h
Examining data/cogl-1.22.8/cogl-path/cogl-path.c
Examining data/cogl-1.22.8/cogl-path/cogl-path.h
Examining data/cogl-1.22.8/cogl-path/cogl2-path-functions.h
Examining data/cogl-1.22.8/cogl-path/tesselator/tessmono.h
Examining data/cogl-1.22.8/cogl-path/tesselator/GL/glu.h
Examining data/cogl-1.22.8/cogl-path/tesselator/mesh.h
Examining data/cogl-1.22.8/cogl-path/tesselator/normal.c
Examining data/cogl-1.22.8/cogl-path/tesselator/dict.c
Examining data/cogl-1.22.8/cogl-path/tesselator/priorityq.c
Examining data/cogl-1.22.8/cogl-path/tesselator/render.c
Examining data/cogl-1.22.8/cogl-path/tesselator/geom.h
Examining data/cogl-1.22.8/cogl-path/tesselator/sweep.c
Examining data/cogl-1.22.8/cogl-path/tesselator/dict-list.h
Examining data/cogl-1.22.8/cogl-path/tesselator/sweep.h
Examining data/cogl-1.22.8/cogl-path/tesselator/render.h
Examining data/cogl-1.22.8/cogl-path/tesselator/memalloc.h
Examining data/cogl-1.22.8/cogl-path/tesselator/priorityq-sort.h
Examining data/cogl-1.22.8/cogl-path/tesselator/tesselator.h
Examining data/cogl-1.22.8/cogl-path/tesselator/tess.h
Examining data/cogl-1.22.8/cogl-path/tesselator/tessmono.c
Examining data/cogl-1.22.8/cogl-path/tesselator/priorityq-heap.h
Examining data/cogl-1.22.8/cogl-path/tesselator/dict.h
Examining data/cogl-1.22.8/cogl-path/tesselator/tess.c
Examining data/cogl-1.22.8/cogl-path/tesselator/mesh.c
Examining data/cogl-1.22.8/cogl-path/tesselator/gluos.h
Examining data/cogl-1.22.8/cogl-path/tesselator/normal.h
Examining data/cogl-1.22.8/cogl-path/tesselator/priorityq-heap.c
Examining data/cogl-1.22.8/cogl-path/tesselator/geom.c
Examining data/cogl-1.22.8/cogl-path/tesselator/priorityq.h
Examining data/cogl-1.22.8/cogl-path/cogl1-path.c
Examining data/cogl-1.22.8/cogl-path/cogl-path-private.h
Examining data/cogl-1.22.8/cogl/cogl-quaternion.c
Examining data/cogl-1.22.8/cogl/cogl-poll.c
Examining data/cogl-1.22.8/cogl/cogl-util.c
Examining data/cogl-1.22.8/cogl/cogl-indices.c
Examining data/cogl-1.22.8/cogl/cogl-bitmap-packing.h
Examining data/cogl-1.22.8/cogl/cogl-swap-chain.c
Examining data/cogl-1.22.8/cogl/cogl-point-in-poly-private.h
Examining data/cogl-1.22.8/cogl/cogl-onscreen.c
Examining data/cogl-1.22.8/cogl/cogl-object.h
Examining data/cogl-1.22.8/cogl/cogl-meta-texture.c
Examining data/cogl-1.22.8/cogl/cogl-snippet.c
Examining data/cogl-1.22.8/cogl/cogl-journal-private.h
Examining data/cogl-1.22.8/cogl/cogl-i18n-private.h
Examining data/cogl-1.22.8/cogl/cogl-closure-list-private.h
Examining data/cogl-1.22.8/cogl/cogl-blit.c
Examining data/cogl-1.22.8/cogl/cogl-profile.c
Examining data/cogl-1.22.8/cogl/cogl-context.h
Examining data/cogl-1.22.8/cogl/cogl-fence-private.h
Examining data/cogl-1.22.8/cogl/cogl-debug-options.h
Examining data/cogl-1.22.8/cogl/cogl-glsl-shader-boilerplate.h
Examining data/cogl-1.22.8/cogl/cogl-pixel-buffer.h
Examining data/cogl-1.22.8/cogl/cogl-onscreen-template.h
Examining data/cogl-1.22.8/cogl/cogl-display.c
Examining data/cogl-1.22.8/cogl/cogl-magazine-private.h
Examining data/cogl-1.22.8/cogl/cogl-onscreen-template-private.h
Examining data/cogl-1.22.8/cogl/cogl-primitive-private.h
Examining data/cogl-1.22.8/cogl/cogl-display-private.h
Examining data/cogl-1.22.8/cogl/cogl-magazine.c
Examining data/cogl-1.22.8/cogl/cogl-bitmap-pixbuf.c
Examining data/cogl-1.22.8/cogl/cogl-attribute.h
Examining data/cogl-1.22.8/cogl/cogl-index-buffer.c
Examining data/cogl-1.22.8/cogl/cogl-matrix-stack.c
Examining data/cogl-1.22.8/cogl/cogl.h
Examining data/cogl-1.22.8/cogl/cogl-blend-string.h
Examining data/cogl-1.22.8/cogl/cogl-buffer-private.h
Examining data/cogl-1.22.8/cogl/cogl-attribute-buffer.c
Examining data/cogl-1.22.8/cogl/cogl-object.c
Examining data/cogl-1.22.8/cogl/cogl-boxed-value.c
Examining data/cogl-1.22.8/cogl/cogl-poll.h
Examining data/cogl-1.22.8/cogl/cogl-poll-private.h
Examining data/cogl-1.22.8/cogl/cogl-quaternion.h
Examining data/cogl-1.22.8/cogl/cogl-x11-renderer-private.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-cache.h
Examining data/cogl-1.22.8/cogl/cogl-memory-stack.c
Examining data/cogl-1.22.8/cogl/cogl-bitmask.c
Examining data/cogl-1.22.8/cogl/cogl-framebuffer.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline.c
Examining data/cogl-1.22.8/cogl/cogl-clip-stack.c
Examining data/cogl-1.22.8/cogl/cogl-glx-renderer-private.h
Examining data/cogl-1.22.8/cogl/cogl-euler.h
Examining data/cogl-1.22.8/cogl/cogl-rectangle-map.h
Examining data/cogl-1.22.8/cogl/cogl-glsl-shader.c
Examining data/cogl-1.22.8/cogl/cogl-texture-3d.c
Examining data/cogl-1.22.8/cogl/cogl-pixel-buffer.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-state.c
Examining data/cogl-1.22.8/cogl/cogl-depth-state.h
Examining data/cogl-1.22.8/cogl/cogl-glib-source.h
Examining data/cogl-1.22.8/cogl/cogl-win32-renderer.c
Examining data/cogl-1.22.8/cogl/cogl-util.h
Examining data/cogl-1.22.8/cogl/cogl-depth-state.c
Examining data/cogl-1.22.8/cogl/cogl-fence.c
Examining data/cogl-1.22.8/cogl/cogl-error.h
Examining data/cogl-1.22.8/cogl/cogl-vector.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-snippet-private.h
Examining data/cogl-1.22.8/cogl/cogl-bitmap-conversion.c
Examining data/cogl-1.22.8/cogl/cogl-rectangle-map.c
Examining data/cogl-1.22.8/cogl/cogl-matrix.h
Examining data/cogl-1.22.8/cogl/cogl-sub-texture.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-layer-state.h
Examining data/cogl-1.22.8/cogl/cogl-gles2.h
Examining data/cogl-1.22.8/cogl/cogl-primitive-texture.c
Examining data/cogl-1.22.8/cogl/cogl-atlas.h
Examining data/cogl-1.22.8/cogl/cogl-texture-driver.h
Examining data/cogl-1.22.8/cogl/cogl-primitive.c
Examining data/cogl-1.22.8/cogl/cogl-list.h
Examining data/cogl-1.22.8/cogl/cogl-macros.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-android-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-texture-pixmap-x11.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-sdl-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-wgl.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-gdl.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-sdl2.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-android.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-null-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-null.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-x11.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx-feature-functions.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-mir-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-stub.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-gdl-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-wgl-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-mir.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-feature-functions.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-texture-pixmap-x11-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-x11-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-wayland-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-stub-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-wgl-feature-functions.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-wayland.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-texture-pixmap-x11.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms-private.h
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-sdl.c
Examining data/cogl-1.22.8/cogl/winsys/cogl-winsys-private.h
Examining data/cogl-1.22.8/cogl/cogl-primitives.h
Examining data/cogl-1.22.8/cogl/cogl-context-private.h
Examining data/cogl-1.22.8/cogl/cogl-node-private.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-snippet.c
Examining data/cogl-1.22.8/cogl/cogl-xlib.c
Examining data/cogl-1.22.8/cogl/cogl-gles2-types.h
Examining data/cogl-1.22.8/cogl/cogl-sdl.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-fixed.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-program.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-program-private.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-texture-deprecated.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-material-compat.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-framebuffer-deprecated.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-clip-state.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-fixed.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-type-casts.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-auto-texture.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-framebuffer-deprecated.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-auto-texture.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-shader.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-clutter-xlib.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-shader.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-clutter.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-shader-private.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-material-compat.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-texture-deprecated.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-clip-state.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer-private.h
Examining data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c
Examining data/cogl-1.22.8/cogl/deprecated/cogl-clutter.c
Examining data/cogl-1.22.8/cogl/cogl-onscreen-template.c
Examining data/cogl-1.22.8/cogl/cogl-atlas-texture.c
Examining data/cogl-1.22.8/cogl/cogl-frame-info.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-hash-table.c
Examining data/cogl-1.22.8/cogl/cogl-sampler-cache-private.h
Examining data/cogl-1.22.8/cogl/cogl-matrix-stack.h
Examining data/cogl-1.22.8/cogl/cogl-color.c
Examining data/cogl-1.22.8/cogl/cogl-gpu-info-private.h
Examining data/cogl-1.22.8/cogl/cogl-framebuffer-private.h
Examining data/cogl-1.22.8/cogl/cogl-texture-3d-private.h
Examining data/cogl-1.22.8/cogl/cogl-index-buffer-private.h
Examining data/cogl-1.22.8/cogl/cogl-sub-texture-private.h
Examining data/cogl-1.22.8/cogl/cogl-closure-list.c
Examining data/cogl-1.22.8/cogl/cogl-clip-stack.h
Examining data/cogl-1.22.8/cogl/cogl-wayland-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-private.h
Examining data/cogl-1.22.8/cogl/cogl-snippet-private.h
Examining data/cogl-1.22.8/cogl/cogl-sub-texture.h
Examining data/cogl-1.22.8/cogl/cogl-renderer.c
Examining data/cogl-1.22.8/cogl/cogl-output.h
Examining data/cogl-1.22.8/cogl/cogl-gtype.c
Examining data/cogl-1.22.8/cogl/cogl-xlib-renderer-private.h
Examining data/cogl-1.22.8/cogl/cogl-depth-state-private.h
Examining data/cogl-1.22.8/cogl/cogl-bitmap.h
Examining data/cogl-1.22.8/cogl/cogl-config.c
Examining data/cogl-1.22.8/cogl/cogl1-context.h
Examining data/cogl-1.22.8/cogl/cogl-display.h
Examining data/cogl-1.22.8/cogl/cogl-mir-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-cache.c
Examining data/cogl-1.22.8/cogl/cogl-glx-display-private.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d-sliced.h
Examining data/cogl-1.22.8/cogl/cogl-list.c
Examining data/cogl-1.22.8/cogl/cogl-attribute-private.h
Examining data/cogl-1.22.8/cogl/cogl-journal.c
Examining data/cogl-1.22.8/cogl/cogl-buffer.h
Examining data/cogl-1.22.8/cogl/cogl-onscreen.h
Examining data/cogl-1.22.8/cogl/cogl-pixel-buffer-private.h
Examining data/cogl-1.22.8/cogl/cogl-fence.h
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-attribute-nop.c
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-texture-2d-nop.c
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-framebuffer-nop.c
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-attribute-nop-private.h
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-driver-nop.c
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-clip-stack-nop-private.h
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-framebuffer-nop-private.h
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-texture-2d-nop-private.h
Examining data/cogl-1.22.8/cogl/driver/nop/cogl-clip-stack-nop.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-glsl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-progend-fixed.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-vertend-glsl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-texture-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-vertend-fixed-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-progend-glsl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-texture-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-util-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-fixed.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-vertend-fixed.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-progend-fixed-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-vertend-glsl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-attribute-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-attribute-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-glsl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-clip-stack-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-progend-glsl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-opengl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-texture-2d-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-texture-2d-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-util-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/gles/cogl-texture-driver-gles.c
Examining data/cogl-1.22.8/cogl/driver/gl/gles/cogl-driver-gles.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-opengl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-clip-stack-gl-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-driver-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-pipeline-fragend-arbfp-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-pipeline-fragend-arbfp.c
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-pipeline-progend-fixed-arbfp-private.h
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-texture-driver-gl.c
Examining data/cogl-1.22.8/cogl/driver/gl/gl/cogl-pipeline-progend-fixed-arbfp.c
Examining data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-fixed-private.h
Examining data/cogl-1.22.8/cogl/cogl.c
Examining data/cogl-1.22.8/cogl/cogl-profile.h
Examining data/cogl-1.22.8/cogl/cogl-pango.h
Examining data/cogl-1.22.8/cogl/cogl-sdl.c
Examining data/cogl-1.22.8/cogl/cogl-attribute.c
Examining data/cogl-1.22.8/cogl/cogl-deprecated.h
Examining data/cogl-1.22.8/cogl/cogl-texture-rectangle-private.h
Examining data/cogl-1.22.8/cogl/cogl-blend-string.c
Examining data/cogl-1.22.8/cogl/cogl-attribute-buffer-private.h
Examining data/cogl-1.22.8/cogl/cogl-framebuffer.h
Examining data/cogl-1.22.8/cogl/cogl-texture-rectangle.c
Examining data/cogl-1.22.8/cogl/cogl-texture.h
Examining data/cogl-1.22.8/cogl/stb_image.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-layer-state-private.h
Examining data/cogl-1.22.8/cogl/cogl-output.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-layer-state.c
Examining data/cogl-1.22.8/cogl/cogl-attribute-buffer.h
Examining data/cogl-1.22.8/cogl/cogl-onscreen-private.h
Examining data/cogl-1.22.8/cogl/cogl-feature-private.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-state.h
Examining data/cogl-1.22.8/cogl/cogl-meta-texture.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d-sliced.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline.h
Examining data/cogl-1.22.8/cogl/cogl-output-private.h
Examining data/cogl-1.22.8/cogl/cogl-sampler-cache.c
Examining data/cogl-1.22.8/cogl/cogl-index-buffer.h
Examining data/cogl-1.22.8/cogl/cogl-types.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d-sliced-private.h
Examining data/cogl-1.22.8/cogl/cogl-bitmap.c
Examining data/cogl-1.22.8/cogl/cogl-matrix.c
Examining data/cogl-1.22.8/cogl/cogl-offscreen.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-debug.c
Examining data/cogl-1.22.8/cogl/cogl-kms-display.h
Examining data/cogl-1.22.8/cogl/cogl-glib-source.c
Examining data/cogl-1.22.8/cogl/cogl-primitive-texture.h
Examining data/cogl-1.22.8/cogl/cogl-primitives.c
Examining data/cogl-1.22.8/cogl/cogl-euler.c
Examining data/cogl-1.22.8/cogl/cogl-xlib-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-snippet.h
Examining data/cogl-1.22.8/cogl/cogl-xlib-private.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-hash-table.h
Examining data/cogl-1.22.8/cogl/cogl-matrix-private.h
Examining data/cogl-1.22.8/cogl/cogl-version.h
Examining data/cogl-1.22.8/cogl/cogl-egl.h
Examining data/cogl-1.22.8/cogl/cogl-node.c
Examining data/cogl-1.22.8/cogl/cogl-gles2-context.c
Examining data/cogl-1.22.8/cogl/cogl-primitives-private.h
Examining data/cogl-1.22.8/cogl/cogl-kms-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-flags.h
Examining data/cogl-1.22.8/cogl/cogl-error-private.h
Examining data/cogl-1.22.8/cogl/cogl-atlas-texture.h
Examining data/cogl-1.22.8/cogl/cogl-memory-stack-private.h
Examining data/cogl-1.22.8/cogl/cogl-indices-private.h
Examining data/cogl-1.22.8/cogl/cogl-win32-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-context.c
Examining data/cogl-1.22.8/cogl/cogl-gpu-info.c
Examining data/cogl-1.22.8/cogl/cogl-texture-private.h
Examining data/cogl-1.22.8/cogl/cogl-boxed-value.h
Examining data/cogl-1.22.8/cogl/cogl-frame-info.c
Examining data/cogl-1.22.8/cogl/cogl-swap-chain-private.h
Examining data/cogl-1.22.8/cogl/cogl-feature-private.c
Examining data/cogl-1.22.8/cogl/cogl-frame-info-private.h
Examining data/cogl-1.22.8/cogl/cogl-wayland-client.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d-private.h
Examining data/cogl-1.22.8/cogl/cogl-indices.h
Examining data/cogl-1.22.8/cogl/cogl-gles2-context-private.h
Examining data/cogl-1.22.8/cogl/cogl-glx.h
Examining data/cogl-1.22.8/cogl/cogl-atlas.c
Examining data/cogl-1.22.8/cogl/cogl-vector.h
Examining data/cogl-1.22.8/cogl/cogl-spans.h
Examining data/cogl-1.22.8/cogl/cogl-driver.h
Examining data/cogl-1.22.8/cogl/cogl-swap-chain.h
Examining data/cogl-1.22.8/cogl/cogl-renderer.h
Examining data/cogl-1.22.8/cogl/cogl-debug.h
Examining data/cogl-1.22.8/cogl/cogl-color.h
Examining data/cogl-1.22.8/cogl/cogl-quaternion-private.h
Examining data/cogl-1.22.8/cogl/cogl-error.c
Examining data/cogl-1.22.8/cogl/cogl-object-private.h
Examining data/cogl-1.22.8/cogl/cogl-primitive.h
Examining data/cogl-1.22.8/cogl/cogl-point-in-poly.c
Examining data/cogl-1.22.8/cogl/cogl-debug.c
Examining data/cogl-1.22.8/cogl/cogl-color-private.h
Examining data/cogl-1.22.8/cogl/cogl-gtype-private.h
Examining data/cogl-1.22.8/cogl/cogl-wayland-server.h
Examining data/cogl-1.22.8/cogl/cogl-config-private.h
Examining data/cogl-1.22.8/cogl/cogl-bitmask.h
Examining data/cogl-1.22.8/cogl/cogl-xlib-renderer.c
Examining data/cogl-1.22.8/cogl/cogl-texture.c
Examining data/cogl-1.22.8/cogl/cogl-pipeline-private.h
Examining data/cogl-1.22.8/cogl/cogl-buffer.c
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-all-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-in-gles2-core-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-core-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-in-gles1-core-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-fixed-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-gles1-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-gles2-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-glsl-functions.h
Examining data/cogl-1.22.8/cogl/gl-prototypes/cogl-in-gles-core-functions.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-layer.c
Examining data/cogl-1.22.8/cogl/cogl-egl-private.h
Examining data/cogl-1.22.8/cogl/cogl2-experimental.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-state-private.h
Examining data/cogl-1.22.8/cogl/cogl-matrix-stack-private.h
Examining data/cogl-1.22.8/cogl/cogl-bitmap-private.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d-gl.h
Examining data/cogl-1.22.8/cogl/cogl-xlib.h
Examining data/cogl-1.22.8/cogl/cogl-blit.h
Examining data/cogl-1.22.8/cogl/cogl-renderer-private.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d.c
Examining data/cogl-1.22.8/cogl/cogl-spans.c
Examining data/cogl-1.22.8/cogl/cogl-texture-3d.h
Examining data/cogl-1.22.8/cogl/cogl-texture-2d.h
Examining data/cogl-1.22.8/cogl/cogl-atlas-texture-private.h
Examining data/cogl-1.22.8/cogl/cogl-pipeline-layer-private.h
Examining data/cogl-1.22.8/cogl/cogl-glsl-shader-private.h
Examining data/cogl-1.22.8/cogl/cogl-texture-rectangle.h
Examining data/cogl-1.22.8/test-fixtures/test-unit.h
Examining data/cogl-1.22.8/test-fixtures/test-utils.h
Examining data/cogl-1.22.8/test-fixtures/test-utils.c

FINAL RESULTS:

data/cogl-1.22.8/deps/glib/gfileutils.c:2203:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      read_size = readlink (filename, buffer, size);
data/cogl-1.22.8/deps/glib/gstdio.c:155:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  return chmod (filename, mode);
data/cogl-1.22.8/deps/glib/gstdio.h:64:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#define g_chmod   chmod
data/cogl-1.22.8/cogl-gles2/GLES2/gl2ext.h:764: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/cogl-1.22.8/cogl-gles2/GLES2/gl2ext.h:768: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/cogl-1.22.8/cogl/cogl-bitmap-private.h:185:36:  [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.
                  CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-bitmap-private.h:203:40:  [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.
                      CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-bitmap.c:399:36:  [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.
                  CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-bitmap.c:405:50:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return _cogl_bitmap_map (bitmap->shared_bmp, access, hints, error);
data/cogl-1.22.8/cogl/cogl-bitmap.c:412:41:  [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.
                                        access,
data/cogl-1.22.8/cogl/cogl-bitmap.c:456:40:  [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.
                      CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-bitmap.c:463:25:  [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.
  g_return_val_if_fail (access & (COGL_BUFFER_ACCESS_READ |
data/cogl-1.22.8/cogl/cogl-bitmap.c:469:54:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return _cogl_bitmap_gl_bind (bitmap->shared_bmp, access, hints, error);
data/cogl-1.22.8/cogl/cogl-bitmap.c:477:49:  [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.
      uint8_t *data = _cogl_bitmap_map (bitmap, access, hints, error);
data/cogl-1.22.8/cogl/cogl-buffer-private.h:54:42:  [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.
                        CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer-private.h:141:50:  [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.
_cogl_buffer_access_to_gl_enum (CoglBufferAccess access);
data/cogl-1.22.8/cogl/cogl-buffer-private.h:158:36:  [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.
                  CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.c:91:36:  [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.
                  CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.c:226:36:  [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.
                  CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.c:232:58:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return cogl_buffer_map_range (buffer, 0, buffer->size, access, hints, error);
data/cogl-1.22.8/cogl/cogl-buffer.c:237:35:  [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.
                 CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.c:242:53:  [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.
    cogl_buffer_map_range (buffer, 0, buffer->size, access, hints,
data/cogl-1.22.8/cogl/cogl-buffer.c:253:41:  [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.
                       CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.c:266:44:  [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.
                                           access,
data/cogl-1.22.8/cogl/cogl-buffer.h:245:35:  [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.
                 CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-buffer.h:284:41:  [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.
                       CoglBufferAccess access,
data/cogl-1.22.8/cogl/cogl-driver.h:237:42:  [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.
                        CoglBufferAccess access,
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl-private.h:52:45:  [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.
                           CoglBufferAccess access,
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:169:50:  [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.
_cogl_buffer_access_to_gl_enum (CoglBufferAccess access)
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:171:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if ((access & COGL_BUFFER_ACCESS_READ_WRITE) == COGL_BUFFER_ACCESS_READ_WRITE)
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:173:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  else if (access & COGL_BUFFER_ACCESS_WRITE)
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:211:45:  [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.
                           CoglBufferAccess access,
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:221:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (((access & COGL_BUFFER_ACCESS_READ) &&
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:223:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      ((access & COGL_BUFFER_ACCESS_WRITE) &&
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:251:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if ((access & COGL_BUFFER_ACCESS_READ))
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:253:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if ((access & COGL_BUFFER_ACCESS_WRITE))
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:266:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          if ((access & COGL_BUFFER_ACCESS_READ))
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:272:18:  [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.
               !(access & COGL_BUFFER_ACCESS_READ))
data/cogl-1.22.8/cogl/driver/gl/cogl-buffer-gl.c:321: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.
                               _cogl_buffer_access_to_gl_enum (access));
data/cogl-1.22.8/cogl/gl-prototypes/cogl-all-functions.h:111:30:  [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.
                    GLenum		 access))
data/cogl-1.22.8/cogl/gl-prototypes/cogl-all-functions.h:305:32:  [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.
                    GLbitfield access))
data/cogl-1.22.8/deps/glib/gfileutils.c:277:39:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if ((test & G_FILE_TEST_EXISTS) && (access (filename, F_OK) == 0))
data/cogl-1.22.8/deps/glib/gfileutils.c:280:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if ((test & G_FILE_TEST_IS_EXECUTABLE) && (access (filename, X_OK) == 0))
data/cogl-1.22.8/deps/glib/gprintfint.h:32:22:  [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 _g_printf    printf
data/cogl-1.22.8/deps/glib/gprintfint.h:33:22:  [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 _g_fprintf   fprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:34:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define _g_sprintf   sprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:35:22:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define _g_snprintf  snprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:37:22:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define _g_vprintf   vprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:38:22:  [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.
#define _g_vfprintf  vfprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:39:22:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define _g_vsprintf  vsprintf
data/cogl-1.22.8/deps/glib/gprintfint.h:40:22:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define _g_vsnprintf vsnprintf
data/cogl-1.22.8/deps/glib/gslice.c:1216:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, args);
data/cogl-1.22.8/deps/glib/gstdio.c:49:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#error Please port this to your operating system
data/cogl-1.22.8/deps/glib/gstdio.c:108:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return access (filename, mode);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3026:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (tmp, msgctxtid);
data/cogl-1.22.8/deps/glib/gtestutils.c:162:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (__glib_assert_msg, s);
data/cogl-1.22.8/deps/glib/gutils.c:1091:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (base, file_name);
data/cogl-1.22.8/deps/gmodule/gmodule-dyld.c:55:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	  if (access (file_name, F_OK) == 0)
data/cogl-1.22.8/examples/cogl-x11-tfp.c:35:5:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execlp ("glxgears", "glxgears",
data/cogl-1.22.8/cogl-path/tesselator/geom.c:192:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    a = 1.2 * drand48() - 0.1;
data/cogl-1.22.8/cogl-path/tesselator/normal.c:174:36:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define S_UNIT_X	(RandomSweep ? (2*drand48()-1) : 1.0)
data/cogl-1.22.8/cogl-path/tesselator/normal.c:175:36:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define S_UNIT_Y	(RandomSweep ? (2*drand48()-1) : 0.0)
data/cogl-1.22.8/cogl/cogl-context.c:273:8:  [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.
      !getenv ("COGL_DISABLE_INTEL_VIEWPORT_SCISSORT_WORKAROUND"))
data/cogl-1.22.8/cogl/cogl-onscreen-template.c:71:17:  [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.
  user_config = getenv ("COGL_POINT_SAMPLES_PER_PIXEL");
data/cogl-1.22.8/cogl/cogl-profile.c:36:7:  [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.
  if (getenv ("COGL_PROFILE_OUTPUT_REPORT"))
data/cogl-1.22.8/cogl/cogl-renderer.c:659: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 *user_choice = getenv ("COGL_RENDERER");
data/cogl-1.22.8/cogl/cogl-xlib-renderer.c:520:7:  [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.
  if (getenv ("COGL_X11_SYNC"))
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:471:7:  [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.
  if (getenv (connector_env_name))
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:473: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.
      unsigned long id = strtoul (getenv (connector_env_name), NULL, 10);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:519:7:  [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.
  if (getenv (mode_env_name))
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:521: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.
      const char *name = getenv (mode_env_name);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:685:7:  [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.
  if (getenv ("COGL_KMS_MIRROR"))
data/cogl-1.22.8/deps/glib/gfileutils.c:1433:12:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmpdir = g_get_tmp_dir ();
data/cogl-1.22.8/deps/glib/gutils.c:1162:9:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
  dir = getwd (buffer);
data/cogl-1.22.8/deps/glib/gutils.c:1217:10:  [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.
  return getenv (variable);
data/cogl-1.22.8/deps/glib/gutils.c:1303:25:  [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 gchar *retval = getenv (variable);
data/cogl-1.22.8/deps/glib/gutils.c:1353:21:  [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.
  if (!overwrite && getenv (variable) != NULL)
data/cogl-1.22.8/deps/glib/gutils.c:2031:1:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_home_dir (void)
data/cogl-1.22.8/deps/glib/gutils.c:2050:1:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_tmp_dir (void)
data/cogl-1.22.8/deps/glib/gutils.c:2424: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.
      runtime_dir = g_strdup (getenv ("XDG_RUNTIME_DIR"));
data/cogl-1.22.8/deps/glib/gutils.c:3854:8:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
#undef g_get_home_dir
data/cogl-1.22.8/deps/glib/gutils.c:3857:1:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_home_dir (void)
data/cogl-1.22.8/deps/glib/gutils.c:3863:8:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
#undef g_get_tmp_dir
data/cogl-1.22.8/deps/glib/gutils.c:3866:1:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_tmp_dir (void)
data/cogl-1.22.8/deps/glib/gutils.h:115:9:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
#define g_get_home_dir g_get_home_dir_utf8
data/cogl-1.22.8/deps/glib/gutils.h:116:9:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
#define g_get_tmp_dir g_get_tmp_dir_utf8
data/cogl-1.22.8/deps/glib/gutils.h:122:23:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *         g_get_home_dir         (void);
data/cogl-1.22.8/deps/glib/gutils.h:123:23:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *         g_get_tmp_dir          (void);
data/cogl-1.22.8/examples/cogl-gles2-context.c:40:26:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    gles2->glClearColor (g_random_double (),
data/cogl-1.22.8/examples/cogl-gles2-context.c:41:26:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                         g_random_double (),
data/cogl-1.22.8/examples/cogl-gles2-context.c:42:26:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                         g_random_double (),
data/cogl-1.22.8/examples/cogl-point-sprites.c:108:28:  [3] (random) g_random_double_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          firework->size = g_random_double_range (0.001f, 0.1f);
data/cogl-1.22.8/examples/cogl-point-sprites.c:111:42:  [3] (random) g_random_double_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          firework->initial_x_velocity = g_random_double_range (-0.1f, -2.0f);
data/cogl-1.22.8/examples/cogl-point-sprites.c:112:42:  [3] (random) g_random_double_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          firework->initial_y_velocity = g_random_double_range (0.1f, 4.0f);
data/cogl-1.22.8/examples/cogl-point-sprites.c:116:15:  [3] (random) g_random_boolean:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          if (g_random_boolean ())
data/cogl-1.22.8/examples/cogl-point-sprites.c:119:46:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
              ((uint8_t *) &firework->color)[g_random_int_range (0, 3)] = 255;
data/cogl-1.22.8/examples/cogl-point-sprites.c:124:46:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
              ((uint8_t *) &firework->color)[g_random_int_range (0, 3)] = 0;
data/cogl-1.22.8/examples/cogl-point-sprites.c:129:15:  [3] (random) g_random_boolean:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          if (g_random_boolean ())
data/cogl-1.22.8/examples/cogl-point-sprites.c:156:23:  [3] (random) g_random_double_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                      g_random_double_range (-firework->size / 2.0f,
data/cogl-1.22.8/examples/cogl-point-sprites.c:159:23:  [3] (random) g_random_double_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                      g_random_double_range (-firework->size / 2.0f,
data/cogl-1.22.8/examples/cogl-x11-tfp.c:376:13:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            g_random_int_range (0, 255) << 24 |
data/cogl-1.22.8/examples/cogl-x11-tfp.c:377:13:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            g_random_int_range (0, 255) << 16 |
data/cogl-1.22.8/examples/cogl-x11-tfp.c:378:13:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            g_random_int_range (0, 255) << 8;
data/cogl-1.22.8/examples/cogl-x11-tfp.c:379:11:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          g_random_int_range (0, 255);
data/cogl-1.22.8/test-fixtures/test-utils.c:108: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.
  char *val = getenv (variable);
data/cogl-1.22.8/cogl-gst/cogl-gst-video-sink.c:184:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new, src, sizeof (CoglGstRectangle));
data/cogl-1.22.8/cogl/cogl-bitmap.c:154:15:  [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 (dstdata, srcdata, width * bpp);
data/cogl-1.22.8/cogl/cogl-blend-string.c:141:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (rgb, statement, sizeof (CoglBlendStringStatement));
data/cogl-1.22.8/cogl/cogl-blend-string.c:142:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (a, statement, sizeof (CoglBlendStringStatement));
data/cogl-1.22.8/cogl/cogl-boxed-value.c:151: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 (bv->v.float_value, value, value_size);
data/cogl-1.22.8/cogl/cogl-boxed-value.c:180: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 (bv->v.array, value, count * value_size);
data/cogl-1.22.8/cogl/cogl-buffer.c:112:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buffer->data + offset, data, size);
data/cogl-1.22.8/cogl/cogl-color.c:322:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dest, color, 4);
data/cogl-1.22.8/cogl/cogl-euler.c:186:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new, src, sizeof (float) * 3);
data/cogl-1.22.8/cogl/cogl-gles2-context.c:173: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 (token_pos, replacement, token_length);
data/cogl-1.22.8/cogl/cogl-gles2-context.c:569:15:  [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 (temprow,
data/cogl-1.22.8/cogl/cogl-gles2-context.c:572:15:  [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 (bytes + y * stride,
data/cogl-1.22.8/cogl/cogl-gles2-context.c:575:15:  [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 (bytes + (height - y - 1) * stride,
data/cogl-1.22.8/cogl/cogl-glsl-shader.c:156:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (strings + count, strings_in, sizeof (char *) * count_in);
data/cogl-1.22.8/cogl/cogl-glsl-shader.c:158: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 (lengths + count, lengths_in, sizeof (GLint) * count_in);
data/cogl-1.22.8/cogl/cogl-journal.c:507:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  name = layer_number < 8 ? (char *)names[layer_number] :
data/cogl-1.22.8/cogl/cogl-journal.c:1122: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 (vout + vb_stride * i + POS_STRIDE, vin, 4);
data/cogl-1.22.8/cogl/cogl-journal.c:1504:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (v, position, sizeof (float) * 2);
data/cogl-1.22.8/cogl/cogl-journal.c:1505:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (v + stride, position + 2, sizeof (float) * 2);
data/cogl-1.22.8/cogl/cogl-journal.c:1513:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (t, tex_coords + i * 4, sizeof (float) * 2);
data/cogl-1.22.8/cogl/cogl-journal.c:1514:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (t + stride, tex_coords + i * 4 + 2, sizeof (float) * 2);
data/cogl-1.22.8/cogl/cogl-matrix.c:369:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
print_matrix_floats (const char *prefix, const float m[16])
data/cogl-1.22.8/cogl/cogl-matrix.c:674:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (out, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:717:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (out, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:756:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (matrix->inv, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:779:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (out, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:814:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (out, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:838:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy( out, identity, 16 * sizeof(float) );
data/cogl-1.22.8/cogl/cogl-matrix.c:1130:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (matrix->inv, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:1179:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (m, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:1621:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (matrix, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:1648:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (matrix, identity, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:1720:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (matrix, array, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-matrix.c:1735:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (matrix, src, 16 * sizeof (float));
data/cogl-1.22.8/cogl/cogl-pipeline-layer-state.c:1345:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (layer->big_state->texture_combine_constant,
data/cogl-1.22.8/cogl/cogl-pipeline-layer-state.c:1386:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (constant, authority->big_state->texture_combine_constant,
data/cogl-1.22.8/cogl/cogl-pipeline-state.c:1567:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (uniforms_state->override_values,
data/cogl-1.22.8/cogl/cogl-pipeline-state.c:1570:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (uniforms_state->override_values + override_index + 1,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1018:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->lighting_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1033:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->blend_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1049:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->depth_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1056:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->fog_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1072:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->logic_ops_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1079:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&big_state->cull_face_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1164: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 (&pipeline->big_state->lighting_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1171: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 (&pipeline->big_state->blend_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1178: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 (&pipeline->big_state->depth_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1185: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 (&pipeline->big_state->fog_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1192: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 (&pipeline->big_state->logic_ops_state,
data/cogl-1.22.8/cogl/cogl-pipeline.c:1199: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 (&pipeline->big_state->cull_face_state,
data/cogl-1.22.8/cogl/cogl-primitive.c:459:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (primitive->attributes, attributes,
data/cogl-1.22.8/cogl/cogl-primitives.c:334:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (out_tex_coords, in_tex_coords, sizeof (float) * 4);
data/cogl-1.22.8/cogl/cogl-quaternion.c:243:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (quaternion, src, sizeof (float) * 4);
data/cogl-1.22.8/cogl/cogl-quaternion.c:353:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new, src, sizeof (float) * 4);
data/cogl-1.22.8/cogl/cogl-texture-2d-sliced.c:241:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (dst, src, bpp);
data/cogl-1.22.8/cogl/cogl-texture-2d-sliced.c:299:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (dst, src, intersect_width * bpp);
data/cogl-1.22.8/cogl/cogl-texture-2d-sliced.c:304:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (dst, dst - bpp, bpp);
data/cogl-1.22.8/cogl/cogl-texture-3d.c:258:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (bmp_data + (z * bmp_rowstride * height +
data/cogl-1.22.8/cogl/cogl-texture-3d.c:477:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (tex_3d->first_pixel.data, data,
data/cogl-1.22.8/cogl/cogl-texture.c:927:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (dst, src, bpp * width);
data/cogl-1.22.8/cogl/cogl-util.c:116:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const unsigned char
data/cogl-1.22.8/cogl/cogl-util.h:180:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const unsigned char _cogl_util_popcount_table[256];
data/cogl-1.22.8/cogl/cogl-util.h:256:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { char Compile_Time_Assertion[(EXPRESSION) ? 1 : -1]; } \
data/cogl-1.22.8/cogl/deprecated/cogl-shader.c:288:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buffer[512];
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:1013:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf + offset, attribute->u.pointer, attribute_size);
data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl.c:1331:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (dst, src, to_copy);
data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl.c:1600:15:  [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 (temprow,
data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl.c:1602:15:  [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 (pixels + y * rowstride,
data/cogl-1.22.8/cogl/driver/gl/cogl-framebuffer-gl.c:1604:15:  [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 (pixels + (height - y - 1) * rowstride,
data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:514: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 alpha_swizzle[5] = "aaaa";
data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:1004:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *source_strings[2];
data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:422:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *source_strings[2];
data/cogl-1.22.8/cogl/driver/gl/cogl-texture-2d-gl.c:239:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (tex_2d->first_pixel.data, data,
data/cogl-1.22.8/cogl/driver/gl/cogl-texture-2d-gl.c:687:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (tex_2d->first_pixel.data,
data/cogl-1.22.8/cogl/driver/gl/gl/cogl-pipeline-fragend-arbfp.c:386:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *tmp_name[3] = { "tmp0", "tmp1", "tmp2" };
data/cogl-1.22.8/cogl/stb_image.c:382:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char validate_uint32_t[sizeof(uint32_t)==4];
data/cogl-1.22.8/cogl/stb_image.c:453:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:519:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:571:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:718:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(buffer, s->img_buffer, n);
data/cogl-1.22.8/cogl/stb_image.c:1829:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:2156:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(a->zout, a->zbuffer, len);
data/cogl-1.22.8/cogl/stb_image.c:2459:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(final + (j*yspc[p]+yorig[p])*a->s.img_x*out_n + (i*xspc[p]+xorig[p])*out_n,
data/cogl-1.22.8/cogl/stb_image.c:2626:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(z->idata+ioff, s->img_buffer, c.length);
data/cogl-1.22.8/cogl/stb_image.c:2717:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:2757:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:3049:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:3133:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char raw_data[4];
data/cogl-1.22.8/cogl/stb_image.c:3134:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char trans_data[4];
data/cogl-1.22.8/cogl/stb_image.c:3339:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:3553:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "rb");
data/cogl-1.22.8/cogl/stb_image.c:3662:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[HDR_BUFLEN];
data/cogl-1.22.8/cogl/stb_image.c:3856:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *f = fopen(filename, "wb");
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:324:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      kms_renderer->opened_fd = open (device_name, O_RDWR);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:505:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (modes, connector->modes,
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-kms.c:514:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (modes, connector->modes,
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-x11.c:387:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char message[1000];
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-x11.c:464:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char message[1000];
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:785:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (rectangles, user_rectangles, sizeof (int) * n_rectangles * 4);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:833:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (flipped, rectangles, size);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx.c:1328:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char message[1000];
data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx.c:1400:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char message[1000];
data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx.c:1745:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (rectangles, user_rectangles, sizeof (int) * n_rectangles * 4);
data/cogl-1.22.8/deps/glib/garray.c:355:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (g_array_elt_pos (array, array->len), data, 
data/cogl-1.22.8/deps/glib/garray.c:410:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (g_array_elt_pos (array, 0), data, g_array_elt_len (array, len));
data/cogl-1.22.8/deps/glib/garray.c:458:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (g_array_elt_pos (array, index_), data, g_array_elt_len (array, len));
data/cogl-1.22.8/deps/glib/garray.c:557:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (g_array_elt_pos (array, index_), 
data/cogl-1.22.8/deps/glib/gdataset.c:1164:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (copy, string, len);
data/cogl-1.22.8/deps/glib/gdataset.c:1282:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (g_quarks_new, g_quarks, sizeof (char *) * g_quark_seq_id);
data/cogl-1.22.8/deps/glib/gfileutils.c:564:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (str + total_bytes, buf, bytes);
data/cogl-1.22.8/deps/glib/gfileutils.c:696: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, O_RDONLY|O_BINARY);
data/cogl-1.22.8/deps/glib/gfileutils.c:1407:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char c[2];
data/cogl-1.22.8/deps/glib/gfileutils.c:2297:49:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return get_tmp_file (tmpl, (GTmpFileCallback) open,
data/cogl-1.22.8/deps/glib/gmacros.h:151:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
data/cogl-1.22.8/deps/glib/gmacros.h:153:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __LINE__)[(expr) ? 1 : -1]
data/cogl-1.22.8/deps/glib/gmem.c:725:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (local_data, profile_data, 
data/cogl-1.22.8/deps/glib/gmessages.c:140:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (fatal_msg_ptr, buf, len);
data/cogl-1.22.8/deps/glib/gmessages.c:614: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 *s, lstr[32];
data/cogl-1.22.8/deps/glib/gmessages.c:738:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "ERROR");
data/cogl-1.22.8/deps/glib/gmessages.c:742:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "CRITICAL");
data/cogl-1.22.8/deps/glib/gmessages.c:746:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "WARNING");
data/cogl-1.22.8/deps/glib/gmessages.c:750:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "Message");
data/cogl-1.22.8/deps/glib/gmessages.c:754:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "INFO");
data/cogl-1.22.8/deps/glib/gmessages.c:757:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (level_prefix, "DEBUG");
data/cogl-1.22.8/deps/glib/gmessages.c:762:4:  [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 (level_prefix, "LOG-");
data/cogl-1.22.8/deps/glib/gmessages.c:766:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (level_prefix, "LOG");
data/cogl-1.22.8/deps/glib/gmessages.c:770:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (level_prefix, " (recursed)");
data/cogl-1.22.8/deps/glib/gmessages.c:772:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (level_prefix, " **");
data/cogl-1.22.8/deps/glib/gslice.c:866: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 (mem, mem_block, mem_size);
data/cogl-1.22.8/deps/glib/gstdio.c:212:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return open (filename, flags, mode);
data/cogl-1.22.8/deps/glib/gstdio.c:731: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).
  return fopen (filename, mode);
data/cogl-1.22.8/deps/glib/gstdio.h:65: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).
#define g_open    open
data/cogl-1.22.8/deps/glib/gstdio.h:72:19:  [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).
#define g_fopen   fopen
data/cogl-1.22.8/deps/glib/gstrfuncs.c:101:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_str, str, length);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:129:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_mem, mem, byte_size);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:519:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (c, nptr, decimal_point_pos - nptr);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:521:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (c, decimal_point, decimal_point_len);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:523:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (c, decimal_point_pos + 1, end - (decimal_point_pos + 1));
data/cogl-1.22.8/deps/glib/gstrfuncs.c:547:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (copy, nptr, end - nptr);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3076:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3078:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/cogl-1.22.8/deps/glib/gstring.c:385:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (pos, string, size);
data/cogl-1.22.8/deps/glib/gstring.c:730:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (string->str + pos, val, precount);
data/cogl-1.22.8/deps/glib/gstring.c:735: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 (string->str + pos + precount,
data/cogl-1.22.8/deps/glib/gstring.c:753: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 (string->str + pos, val, len);
data/cogl-1.22.8/deps/glib/gstring.c:1139:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (string->str + pos, val, len);
data/cogl-1.22.8/deps/glib/gstring.c:1347:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (string->str + string->len, buf, len + 1);
data/cogl-1.22.8/deps/glib/gtestutils.c:144: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 lstr[32];
data/cogl-1.22.8/deps/glib/gtestutils.c:289:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[STRING_BUFFER_SIZE];
data/cogl-1.22.8/deps/glib/gtestutils.c:380:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&aligned_int64, *ipointer, 8);
data/cogl-1.22.8/deps/glib/gtestutils.c:390:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&aligned_int, *ipointer, 4);
data/cogl-1.22.8/deps/glib/gutils.c:216:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t wc_fn[MAX_PATH];
data/cogl-1.22.8/deps/glib/gutils.c:321:7:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      bcopy (src, dest, len);
data/cogl-1.22.8/deps/glib/gutils.c:456:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (decorated_program, program, program_length);
data/cogl-1.22.8/deps/glib/gutils.c:457:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (decorated_program+program_length, p, q-p);
data/cogl-1.22.8/deps/glib/gutils.c:518:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t wfilename[MAXPATHLEN], wsysdir[MAXPATHLEN],
data/cogl-1.22.8/deps/glib/gutils.c:618:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (name + pathlen + 1, program, len);
data/cogl-1.22.8/deps/glib/gutils.c:637:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        startp = memcpy (name - (p - path), path, p - path);
data/cogl-1.22.8/deps/glib/gutils.c:845:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (retval, file_name + base + 1, len);
data/cogl-1.22.8/deps/glib/gutils.c:1131:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t dummy[2], *wdir;
data/cogl-1.22.8/deps/glib/gutils.c:1223:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t dummy[2], *wname, *wvalue;
data/cogl-1.22.8/deps/glib/gutils.c:1650:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t path[MAX_PATH+1];
data/cogl-1.22.8/deps/glib/gutils.c:1670:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t wwindowsdir[MAX_PATH];
data/cogl-1.22.8/deps/glib/gutils.c:1890:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t buffer[UNLEN+1];
data/cogl-1.22.8/deps/glib/gutils.c:2112:4:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  wchar_t buf[MAX_PATH+1];
data/cogl-1.22.8/deps/glib/gutils.c:3118:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/cogl-1.22.8/deps/glib/gutils.c:3122:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (file,"r");
data/cogl-1.22.8/deps/glib/gutils.h:509:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t wcbfr[1000];							\
data/cogl-1.22.8/examples/cogl-gles2-gears.c:328:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (m, &tmp, sizeof tmp);
data/cogl-1.22.8/examples/cogl-gles2-gears.c:391:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (m, t, sizeof(t));
data/cogl-1.22.8/examples/cogl-gles2-gears.c:408:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (m, t, sizeof(t));
data/cogl-1.22.8/examples/cogl-gles2-gears.c:471:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (m, tmp, sizeof(tmp));
data/cogl-1.22.8/examples/cogl-gles2-gears.c:708:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[512];
data/cogl-1.22.8/tests/conform/test-gles2-context.c:390:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512];
data/cogl-1.22.8/tests/conform/test-gles2-context.c:422:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512];
data/cogl-1.22.8/tests/conform/test-npot-texture.c:85:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (p, p - TEXTURE_SIZE, TEXTURE_SIZE * 4);
data/cogl-1.22.8/tests/conform/test-pipeline-uniforms.c:244: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 (matrix_floats + i * 16,
data/cogl-1.22.8/tests/conform/test-sub-texture.c:49:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (p, &color, 4);
data/cogl-1.22.8/cogl/cogl-attribute.c:94:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strncmp (name, "tex_coord", strlen ("tex_coord")) == 0)
data/cogl-1.22.8/cogl/cogl-bitmap-pixbuf.c:84:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                 strlen (filename),
data/cogl-1.22.8/cogl/cogl-blend-string.c:560:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    strtoul (&mark[strlen ("TEXTURE_")], &endp, 10);
data/cogl-1.22.8/cogl/cogl-blend-string.c:664: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).
              if (len >= strlen ("SRC_ALPHA_SATURATE") &&
data/cogl-1.22.8/cogl/cogl-feature-private.c:100:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           namespace += strlen (namespace) + 1)
data/cogl-1.22.8/cogl/cogl-feature-private.c:114: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).
              namespace_len = strlen (namespace);
data/cogl-1.22.8/cogl/cogl-feature-private.c:120:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               extension += strlen (extension) + 1)
data/cogl-1.22.8/cogl/cogl-gles2-context.c:159:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int token_length = strlen (token);
data/cogl-1.22.8/cogl/cogl-gles2-context.c:856: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).
            string_length = strlen (string[i]);
data/cogl-1.22.8/cogl/cogl-glsl-shader.c:117: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).
      lengths[count++] = strlen (vertex_boilerplate);
data/cogl-1.22.8/cogl/cogl-glsl-shader.c:122: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).
      lengths[count++] = strlen (fragment_boilerplate);
data/cogl-1.22.8/cogl/cogl-gpu-info.c:132:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (phrase);
data/cogl-1.22.8/cogl/deprecated/cogl-clutter.c:62: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).
  end = (char*)(ext + strlen(ext));
data/cogl-1.22.8/cogl/deprecated/cogl-clutter.c:64: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).
  name_len = strlen(name);
data/cogl-1.22.8/cogl/deprecated/cogl-shader.c:221: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 (shader->source),
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:178:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen (gl_attribute);
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:198:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen ("MultiTexCoord")) == 0)
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:247:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen (cogl_attribute);
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:268:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen ("cogl_tex_coord")) == 0)
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:320:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen (attribute_name);
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:408: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).
      name_len = strlen (attribute_name);
data/cogl-1.22.8/cogl/deprecated/cogl-vertex-buffer.c:418:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen ("MultiTexCoord")) == 0)
data/cogl-1.22.8/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:529: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).
      alpha_swizzle[strlen (swizzle)] = '\0';
data/cogl-1.22.8/cogl/stb_image.c:653:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int c = fgetc(s->img_file);
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl-private.h:176:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                               EGLSurface read,
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:291:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                               EGLSurface read,
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:299:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      egl_display->current_read_surface == read &&
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:305:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        read,
data/cogl-1.22.8/cogl/winsys/cogl-winsys-egl.c:309:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  egl_display->current_read_surface = read;
data/cogl-1.22.8/cogl/winsys/cogl-winsys-glx-feature-functions.h:84:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                               GLXDrawable read, GLXContext ctx))
data/cogl-1.22.8/cogl/winsys/cogl-winsys-wgl.c:462: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).
  class_name_wchar = g_malloc ((strlen (class_name_ascii) + 1) *
data/cogl-1.22.8/deps/glib/gdataset.c:1149:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (string) + 1;
data/cogl-1.22.8/deps/glib/gfileutils.c:249:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      extlen = strlen (lastdot);
data/cogl-1.22.8/deps/glib/gfileutils.c:256: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).
	    q = p + strlen (p);
data/cogl-1.22.8/deps/glib/gfileutils.c:642:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      rc = read (fd, buf + bytes_read, size - bytes_read);
data/cogl-1.22.8/deps/glib/gfileutils.c:1110: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 (contents);
data/cogl-1.22.8/deps/glib/gfileutils.c:1435:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (G_IS_DIR_SEPARATOR (tmpdir [strlen (tmpdir) - 1]))
data/cogl-1.22.8/deps/glib/gfileutils.c:1561: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).
  gint separator_len = strlen (separator);
data/cogl-1.22.8/deps/glib/gfileutils.c:1605: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).
      end = start + strlen (start);
data/cogl-1.22.8/deps/glib/gfileutils.c:1793: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).
      end = start + strlen (start);
data/cogl-1.22.8/deps/glib/gi18n-lib.h:35:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define C_(Context,String) g_dpgettext (GETTEXT_PACKAGE, Context "\004" String, strlen (Context) + 1)
data/cogl-1.22.8/deps/glib/glibintl.h:18:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define C_(Context,String) glib_pgettext (Context "\004" String, strlen (Context) + 1)
data/cogl-1.22.8/deps/glib/gmessages.c:158: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).
  write (fd, string, strlen (string));
data/cogl-1.22.8/deps/glib/gslice.c:1161:20:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
  aligned_memory = memalign (alignment, memsize);
data/cogl-1.22.8/deps/glib/gstdio.c:484:9:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = wcslen (wfilename);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:99:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length = strlen (str) + 1;
data/cogl-1.22.8/deps/glib/gstrfuncs.c:165:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (new_str, str, n);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:315:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l = 1 + strlen (string1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:320:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      l += strlen (s);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:445: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).
  decimal_point_len = strlen (decimal_point);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:637: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).
  format_char = format[strlen (format) - 1];
data/cogl-1.22.8/deps/glib/gstrfuncs.c:659: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).
  decimal_point_len = strlen (decimal_point);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:683: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).
              rest_len = strlen (p + (decimal_point_len-1));
data/cogl-1.22.8/deps/glib/gstrfuncs.c:1668: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).
    return dlength + strlen (s);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:1707:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (str);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:1738:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (str);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:1832:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      t = string + strlen (string) - 1;
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2178:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  gchar *dest = g_malloc (strlen (source) + 1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2246: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).
  q = dest = g_malloc (strlen (source) * 4 + 1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2325: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).
  g_memmove (string, start, strlen ((gchar *) start) + 1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2337:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (string);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2393: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).
      gsize delimiter_len = strlen (delimiter);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2612: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).
      separator_len = strlen (separator);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2614:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = 1 + strlen (str_array[0]);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2616:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen (str_array[i]);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2659:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  separator_len = strlen (separator);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2668:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = 1 + strlen (s);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2673:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          len += separator_len + strlen (s);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2731: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).
      gsize needle_len = strlen (needle);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2782:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  needle_len = strlen (needle);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2783: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).
  haystack_len = strlen (haystack);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2833: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).
      gsize needle_len = strlen (needle);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2884:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  str_len = strlen (str);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2885:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  suffix_len = strlen (suffix);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2914:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  str_len = strlen (str);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:2915:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  prefix_len = strlen (prefix);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3025:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          gchar *tmp = g_alloca (strlen (msgctxtid) + 1);
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3069:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/cogl-1.22.8/deps/glib/gstrfuncs.c:3070: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 msgid_len = strlen (msgid) + 1;
data/cogl-1.22.8/deps/glib/gstring.c:366:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen (string);
data/cogl-1.22.8/deps/glib/gstring.c:451:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (init);
data/cogl-1.22.8/deps/glib/gstring.c:702:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (val);
data/cogl-1.22.8/deps/glib/gstring.c:1098:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return g_string_overwrite_len (string, pos, val, strlen (val));
data/cogl-1.22.8/deps/glib/gstring.c:1132:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (val);
data/cogl-1.22.8/deps/glib/gtestutils.c:161: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).
  __glib_assert_msg = (char*) malloc (strlen (s) + 1);
data/cogl-1.22.8/deps/glib/gtestutils.c:292:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bytes = read (fd, buf, sizeof (buf));
data/cogl-1.22.8/deps/glib/gtestutils.c:364:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      guint l = strlen (msg->strings[ui]);
data/cogl-1.22.8/deps/glib/gutils.c:441:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const gint program_length = strlen (program);
data/cogl-1.22.8/deps/glib/gutils.c:613:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (program) + 1;
data/cogl-1.22.8/deps/glib/gutils.c:614:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pathlen = strlen (path);
data/cogl-1.22.8/deps/glib/gutils.c:735: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).
	    q = p + strlen(p);
data/cogl-1.22.8/deps/glib/gutils.c:818:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  last_nonslash = strlen (file_name) - 1;
data/cogl-1.22.8/deps/glib/gutils.c:1089: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).
	  len = (guint) strlen (file_name) + 1;
data/cogl-1.22.8/deps/glib/gutils.c:1306:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gint l = strlen (retval);
data/cogl-1.22.8/deps/glib/gutils.c:1309:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (buffer, retval, l);
data/cogl-1.22.8/deps/glib/gutils.c:1452:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (variable);
data/cogl-1.22.8/deps/glib/gutils.c:1546:9:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  q += wcslen (q) + 1;
data/cogl-1.22.8/deps/glib/gutils.c:1568:12:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q += wcslen (q) + 1;
data/cogl-1.22.8/deps/glib/gutils.c:1605:32:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (n = 0; strings[n]; n += wcslen (strings + n) + 1);
data/cogl-1.22.8/deps/glib/gutils.c:1607:32:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (i = 0; strings[i]; i += wcslen (strings + i) + 1)
data/cogl-1.22.8/deps/glib/gutils.c:1716:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      k = strlen (g_tmp_dir);
data/cogl-1.22.8/deps/glib/gutils.c:2624:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (buffer);
data/cogl-1.22.8/deps/glib/gutils.c:2632:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncmp (p, "XDG_DESKTOP_DIR", strlen ("XDG_DESKTOP_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2635:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_DESKTOP_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2637:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strncmp (p, "XDG_DOCUMENTS_DIR", strlen ("XDG_DOCUMENTS_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2640:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_DOCUMENTS_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2642: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).
      else if (strncmp (p, "XDG_DOWNLOAD_DIR", strlen ("XDG_DOWNLOAD_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2645:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_DOWNLOAD_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2647:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strncmp (p, "XDG_MUSIC_DIR", strlen ("XDG_MUSIC_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2650:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_MUSIC_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2652: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).
      else if (strncmp (p, "XDG_PICTURES_DIR", strlen ("XDG_PICTURES_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2655:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_PICTURES_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2657:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strncmp (p, "XDG_PUBLICSHARE_DIR", strlen ("XDG_PUBLICSHARE_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2660:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_PUBLICSHARE_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2662:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strncmp (p, "XDG_TEMPLATES_DIR", strlen ("XDG_TEMPLATES_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2665:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_TEMPLATES_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2667: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).
      else if (strncmp (p, "XDG_VIDEOS_DIR", strlen ("XDG_VIDEOS_DIR")) == 0)
data/cogl-1.22.8/deps/glib/gutils.c:2670:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          p += strlen ("XDG_VIDEOS_DIR");
data/cogl-1.22.8/deps/glib/gutils.c:2705:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (d);
data/cogl-1.22.8/deps/glib/gutils.c:3231: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).
    at_pos = locale + strlen (locale);
data/cogl-1.22.8/deps/glib/gutils.c:3667: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).
      const char *p = GLIB_LOCALE_DIR + strlen (GLIB_LOCALE_DIR);
data/cogl-1.22.8/deps/gmodule/gmodule-win32.c:173:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  k = strlen (module_name);
data/cogl-1.22.8/deps/gmodule/gmodule.c:209: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).
  gsize string_len = strlen (string);    
data/cogl-1.22.8/deps/gmodule/gmodule.c:210: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).
  gsize suffix_len = strlen (suffix);    
data/cogl-1.22.8/tests/conform/test-gles2-context.c:381:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int length = strlen (source);

ANALYSIS SUMMARY:

Hits = 408
Lines analyzed = 195779 in approximately 4.77 seconds (41011 lines/second)
Physical Source Lines of Code (SLOC) = 113592
Hits@level = [0]  61 [1] 125 [2] 178 [3]  46 [4]  56 [5]   3
Hits@level+ = [0+] 469 [1+] 408 [2+] 283 [3+] 105 [4+]  59 [5+]   3
Hits/KSLOC@level+ = [0+] 4.12881 [1+] 3.5918 [2+] 2.49137 [3+] 0.924361 [4+] 0.519403 [5+] 0.0264103
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.