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/waffle-1.6.1/examples/gl_basic.c
Examining data/waffle-1.6.1/examples/simple-x11-egl.c
Examining data/waffle-1.6.1/include/c99_compat.h
Examining data/waffle-1.6.1/include/waffle/waffle.h
Examining data/waffle-1.6.1/include/waffle/waffle_gbm.h
Examining data/waffle-1.6.1/include/waffle/waffle_glx.h
Examining data/waffle-1.6.1/include/waffle/waffle_wayland.h
Examining data/waffle-1.6.1/include/waffle/waffle_x11_egl.h
Examining data/waffle-1.6.1/src/utils/wflinfo.c
Examining data/waffle-1.6.1/src/waffle/android/droid_display.c
Examining data/waffle-1.6.1/src/waffle/android/droid_display.h
Examining data/waffle-1.6.1/src/waffle/android/droid_platform.c
Examining data/waffle-1.6.1/src/waffle/android/droid_platform.h
Examining data/waffle-1.6.1/src/waffle/android/droid_surfaceflingerlink.cpp
Examining data/waffle-1.6.1/src/waffle/android/droid_surfaceflingerlink.h
Examining data/waffle-1.6.1/src/waffle/android/droid_window.c
Examining data/waffle-1.6.1/src/waffle/android/droid_window.h
Examining data/waffle-1.6.1/src/waffle/api/api_object.h
Examining data/waffle-1.6.1/src/waffle/api/api_priv.c
Examining data/waffle-1.6.1/src/waffle/api/api_priv.h
Examining data/waffle-1.6.1/src/waffle/api/waffle_attrib_list.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_config.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_context.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_display.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_dl.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_enum.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_error.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_gl_misc.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_init.c
Examining data/waffle-1.6.1/src/waffle/api/waffle_window.c
Examining data/waffle-1.6.1/src/waffle/cgl/WaffleGLView.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_config.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_context.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_display.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_dl.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_error.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_platform.h
Examining data/waffle-1.6.1/src/waffle/cgl/cgl_window.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_attrib_list.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_attrib_list.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_attrib_list_unittest.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_config.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_config_attrs.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_config_attrs.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_config_attrs_unittest.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_context.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_display.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_display.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_error.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_error.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_error_unittest.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_platform.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_tinfo.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_tinfo.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_util.c
Examining data/waffle-1.6.1/src/waffle/core/wcore_util.h
Examining data/waffle-1.6.1/src/waffle/core/wcore_window.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_config.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_config.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_context.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_context.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_display.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_display.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_imports.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_platform.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_platform.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_surface.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_surface.h
Examining data/waffle-1.6.1/src/waffle/egl/wegl_util.c
Examining data/waffle-1.6.1/src/waffle/egl/wegl_util.h
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_config.c
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_config.h
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_display.c
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_display.h
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_platform.c
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_platform.h
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_window.c
Examining data/waffle-1.6.1/src/waffle/gbm/wgbm_window.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_config.c
Examining data/waffle-1.6.1/src/waffle/glx/glx_config.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_context.c
Examining data/waffle-1.6.1/src/waffle/glx/glx_context.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_display.c
Examining data/waffle-1.6.1/src/waffle/glx/glx_display.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_platform.c
Examining data/waffle-1.6.1/src/waffle/glx/glx_platform.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_window.c
Examining data/waffle-1.6.1/src/waffle/glx/glx_window.h
Examining data/waffle-1.6.1/src/waffle/glx/glx_wrappers.h
Examining data/waffle-1.6.1/src/waffle/linux/linux_dl.c
Examining data/waffle-1.6.1/src/waffle/linux/linux_dl.h
Examining data/waffle-1.6.1/src/waffle/linux/linux_platform.c
Examining data/waffle-1.6.1/src/waffle/linux/linux_platform.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_config.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_config.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_container.cpp
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_container.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_context.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_context.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_display.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_display.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_dl.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_dl.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_platform.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_platform.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_swap_thread.h
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_window.c
Examining data/waffle-1.6.1/src/waffle/nacl/nacl_window.h
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_display.c
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_display.h
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_platform.c
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_platform.h
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_window.c
Examining data/waffle-1.6.1/src/waffle/surfaceless_egl/sl_window.h
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_display.c
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_display.h
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_platform.c
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_platform.h
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_sym.h
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_window.c
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_window.h
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_wrapper.c
Examining data/waffle-1.6.1/src/waffle/wayland/wayland_wrapper.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_config.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_config.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_context.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_context.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_display.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_display.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_dl.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_dl.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_error.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_error.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_platform.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_platform.h
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_window.c
Examining data/waffle-1.6.1/src/waffle/wgl/wgl_window.h
Examining data/waffle-1.6.1/src/waffle/x11/x11_display.c
Examining data/waffle-1.6.1/src/waffle/x11/x11_display.h
Examining data/waffle-1.6.1/src/waffle/x11/x11_window.c
Examining data/waffle-1.6.1/src/waffle/x11/x11_window.h
Examining data/waffle-1.6.1/src/waffle/x11/x11_wrappers.h
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_display.c
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_display.h
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_platform.c
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_platform.h
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_window.c
Examining data/waffle-1.6.1/src/waffle/xegl/xegl_window.h
Examining data/waffle-1.6.1/subprojects/opengl_headers/GL/wglext.h
Examining data/waffle-1.6.1/tests/functional/gl_basic_cocoa.h
Examining data/waffle-1.6.1/tests/functional/gl_basic_test.c
Examining data/waffle-1.6.1/third_party/cmocka/coverity/coverity_assert_model.c
Examining data/waffle-1.6.1/third_party/cmocka/coverity/coverity_internal_model.c
Examining data/waffle-1.6.1/third_party/cmocka/example/allocate_module.c
Examining data/waffle-1.6.1/third_party/cmocka/example/allocate_module_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_macro.c
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_macro.h
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_macro_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_module.c
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_module.h
Examining data/waffle-1.6.1/third_party/cmocka/example/assert_module_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/calculator.c
Examining data/waffle-1.6.1/third_party/cmocka/example/calculator_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/chef_wrap/chef.c
Examining data/waffle-1.6.1/third_party/cmocka/example/chef_wrap/chef.h
Examining data/waffle-1.6.1/third_party/cmocka/example/chef_wrap/waiter_test_wrap.c
Examining data/waffle-1.6.1/third_party/cmocka/example/chef_wrap/waiter_test_wrap.h
Examining data/waffle-1.6.1/third_party/cmocka/example/customer_database.c
Examining data/waffle-1.6.1/third_party/cmocka/example/customer_database_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/database.h
Examining data/waffle-1.6.1/third_party/cmocka/example/fixture_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/key_value.c
Examining data/waffle-1.6.1/third_party/cmocka/example/key_value.h
Examining data/waffle-1.6.1/third_party/cmocka/example/key_value_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/product_database.c
Examining data/waffle-1.6.1/third_party/cmocka/example/product_database_test.c
Examining data/waffle-1.6.1/third_party/cmocka/example/run_tests.c
Examining data/waffle-1.6.1/third_party/cmocka/example/simple_test.c
Examining data/waffle-1.6.1/third_party/cmocka/include/cmocka.h
Examining data/waffle-1.6.1/third_party/cmocka/include/cmocka_pbc.h
Examining data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h
Examining data/waffle-1.6.1/third_party/cmocka/include/cmockery/cmockery.h
Examining data/waffle-1.6.1/third_party/cmocka/include/cmockery/pbc.h
Examining data/waffle-1.6.1/third_party/cmocka/src/cmocka.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_alloc.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_assert_macros.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_assert_macros_fail.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_basics.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_cmockery.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_exception_handler.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_fixtures.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_group_fixtures.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_group_setup_fail.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_setup_fail.c
Examining data/waffle-1.6.1/third_party/cmocka/tests/test_skip.c
Examining data/waffle-1.6.1/third_party/getopt/getopt.h
Examining data/waffle-1.6.1/third_party/getopt/getopt_long.c
Examining data/waffle-1.6.1/third_party/threads/threads.h
Examining data/waffle-1.6.1/third_party/threads/threads_posix.c
Examining data/waffle-1.6.1/third_party/threads/threads_win32.c

FINAL RESULTS:

data/waffle-1.6.1/examples/gl_basic.c:144:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, ap);
data/waffle-1.6.1/examples/gl_basic.c:161:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stderr, fmt, ap);
data/waffle-1.6.1/include/c99_compat.h:68:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf c99_snprintf
data/waffle-1.6.1/include/c99_compat.h:69:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf c99_vsnprintf
data/waffle-1.6.1/src/utils/wflinfo.c:156:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, ap);
data/waffle-1.6.1/src/utils/wflinfo.c:178:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stderr, fmt, ap);
data/waffle-1.6.1/src/waffle/core/wcore_error.c:133:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(t->message, WCORE_ERROR_MESSAGE_BUFSIZE - 1, format, ap);
data/waffle-1.6.1/src/waffle/core/wcore_error.c:156:18:  [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.
       printed = vsnprintf(cur, end - cur, format, ap);
data/waffle-1.6.1/src/waffle/core/wcore_error.c:207:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        printed = vsnprintf(cur, end - cur, format, ap);
data/waffle-1.6.1/subprojects/opengl_headers/GL/wglext.h:641:122:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
data/waffle-1.6.1/subprojects/opengl_headers/GL/wglext.h:643:76:  [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 BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
data/waffle-1.6.1/subprojects/opengl_headers/GL/wglext.h:650:103:  [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.
HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
data/waffle-1.6.1/subprojects/opengl_headers/GL/wglext.h:652:57:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:449:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(profile_str, "%d.%d%s", major, minor, profile_suffix);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:993:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stderr, fmt, ap);
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:35:8:  [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.
#ifdef printf
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:36:8:  [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.
#undef printf
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:39:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printf example_test_printf
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:45:8:  [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.
#ifdef fprintf
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:46:8:  [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.
#undef fprintf
data/waffle-1.6.1/third_party/cmocka/example/calculator.c:48:9:  [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 fprintf example_test_fprintf
data/waffle-1.6.1/third_party/cmocka/example/calculator_test.c:24:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/waffle-1.6.1/third_party/cmocka/example/calculator_test.c:69:17:  [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.
	return_value = vsnprintf(temporary_buffer, sizeof(temporary_buffer),
data/waffle-1.6.1/third_party/cmocka/example/calculator_test.c:82:17:  [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.
	return_value = vsnprintf(temporary_buffer, sizeof(temporary_buffer),
data/waffle-1.6.1/third_party/cmocka/example/customer_database.c:20:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/waffle-1.6.1/third_party/cmocka/example/customer_database.c:20:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:43:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   undef snprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:44:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define snprintf(d, n, ...) _snprintf_s((d), (n), _TRUNCATE, __VA_ARGS__)
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:47:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#     undef snprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:48:14:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#     define snprintf _snprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:48:23:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#     define snprintf _snprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:57:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   undef vsnprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:58:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define vsnprintf(s, n, f, v) _vsnprintf_s((s), (n), _TRUNCATE, (f), (v))
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:61:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    undef vsnprintf
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:62:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    define vsnprintf _vsnprintf
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1539:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buffer, sizeof(buffer), format, args);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1570:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(cm_error_message + msg_len, len, format, ap);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1839:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buffer, sizeof(buffer), format, args);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1850:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buffer, sizeof(buffer), format, args);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:201:5:  [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.
				fprintf(stderr, ambig, (int)current_argv_len,
data/waffle-1.6.1/third_party/getopt/getopt_long.c:211:5:  [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.
				fprintf(stderr, noarg, (int)current_argv_len,
data/waffle-1.6.1/third_party/getopt/getopt_long.c:241:5:  [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.
				fprintf(stderr, recargstring,
data/waffle-1.6.1/third_party/getopt/getopt_long.c:259:4:  [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.
			fprintf(stderr, illoptstring, current_argv);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:421:4:  [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.
			fprintf(stderr, illoptchar, optchar);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:432:5:  [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.
				fprintf(stderr, recargchar, optchar);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:453:6:  [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.
					fprintf(stderr, recargchar, optchar);
data/waffle-1.6.1/examples/gl_basic.c:315:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int opt = getopt_long(argc, argv, "", get_opts, NULL);
data/waffle-1.6.1/src/utils/wflinfo.c:361:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int opt = getopt_long(argc, argv, "a:f:hp:vV:", get_opts, NULL);
data/waffle-1.6.1/src/waffle/gbm/wgbm_display.c:131:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        name = getenv("WAFFLE_GBM_DEVICE");
data/waffle-1.6.1/tests/functional/gl_basic_test.c:1056:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int opt = getopt_long(argc, argv, "hp:", get_opts, NULL);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:346:30:  [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 *abort_test = getenv("CMOCKA_TEST_ABORT");
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1880:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env = getenv("CMOCKA_MESSAGE_OUTPUT");
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1917:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    env = getenv("CMOCKA_XML_FILE");
data/waffle-1.6.1/third_party/getopt/getopt.h:61:6:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int	 getopt_long(int, char * const *, const char *,
data/waffle-1.6.1/third_party/getopt/getopt.h:67:6:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int	 getopt(int, char * const *, const char *);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:292:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		posixly_correct = (getenv("POSIXLY_CORRECT") != NULL);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:473:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt(int nargc, char * const *nargv, const char *options)
data/waffle-1.6.1/third_party/getopt/getopt_long.c:492:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long(int nargc, char * const *nargv, const char *options,
data/waffle-1.6.1/third_party/threads/threads_win32.c:116:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&cond->monitor);
data/waffle-1.6.1/third_party/threads/threads_win32.c:166:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&cond->monitor);
data/waffle-1.6.1/third_party/threads/threads_win32.c:298:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&cond->monitor);
data/waffle-1.6.1/third_party/threads/threads_win32.c:358:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&mtx->cs);
data/waffle-1.6.1/third_party/threads/threads_win32.c:366:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&mtx->cs);
data/waffle-1.6.1/src/utils/wflinfo.c:947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exts[BUF_LEN];
data/waffle-1.6.1/src/utils/wflinfo.c:954: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(exts, exts_orig, BUF_LEN);
data/waffle-1.6.1/src/waffle/core/wcore_attrib_list.c:195: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(copy, attrib_list, size);
data/waffle-1.6.1/src/waffle/core/wcore_config.h:72: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(&self->attrs, attrs, sizeof(*attrs));
data/waffle-1.6.1/src/waffle/core/wcore_error.c:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[WCORE_ERROR_MESSAGE_BUFSIZE];
data/waffle-1.6.1/src/waffle/core/wcore_error_unittest.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char error_location[1024];
data/waffle-1.6.1/src/waffle/gbm/wgbm_display.c:88:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(filename, O_RDWR | O_CLOEXEC);
data/waffle-1.6.1/src/waffle/gbm/wgbm_display.c:135:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(name, O_RDWR | O_CLOEXEC);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:448:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char profile_str[30]; // 30 should be enough ;-)
data/waffle-1.6.1/third_party/cmocka/example/calculator_test.c:60:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char temporary_buffer[256];
data/waffle-1.6.1/third_party/cmocka/example/customer_database.c:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char query_string[256];
data/waffle-1.6.1/third_party/cmocka/example/key_value_test.c:33:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(items, key_values, sizeof(key_values));
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1032: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(set, values, number_of_values * sizeof(values[0]));
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1230: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, memory, size);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1534:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1567: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(cm_error_message + msg_len, buffer, len + 1);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1639:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char *guards[2] = {block - MALLOC_GUARD_SIZE,
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1699: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(new, ptr, block_size);
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1838:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1849:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1919:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024];
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1922: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).
        fp = fopen(buf, "r");
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1924:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fp = fopen(buf, "w");
data/waffle-1.6.1/third_party/cmocka/tests/test_assert_macros_fail.c:29: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).
    fd = open("this_file_doesnt_exist.cmocka", 0);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:146:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((char **) nargv)[pos] = nargv[cstart];
data/waffle-1.6.1/third_party/getopt/getopt_long.c:148:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((char **)nargv)[cstart] = swap;
data/waffle-1.6.1/third_party/threads/threads_win32.c:83: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(&pack, p, sizeof(struct impl_thrd_param));
data/waffle-1.6.1/examples/gl_basic.c:289: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).
        if (!strncmp(s, i->s, strlen(i->s) + 1)) {
data/waffle-1.6.1/src/utils/wflinfo.c:318: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).
        if (!strncmp(s, i->s, strlen(i->s) + 1)) {
data/waffle-1.6.1/src/waffle/api/waffle_gl_misc.c:52: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).
    name_length = strlen(extension_name);
data/waffle-1.6.1/src/waffle/core/wcore_error.c:231:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    info->user_info.message_length = strlen(info->message);
data/waffle-1.6.1/src/waffle/egl/wegl_platform.h:59:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                 EGLSurface read, EGLContext ctx);
data/waffle-1.6.1/src/waffle/nacl/nacl_dl.c:111: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).
    uint32_t len = strlen(src) + strlen(prefix);
data/waffle-1.6.1/src/waffle/nacl/nacl_dl.c:111: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).
    uint32_t len = strlen(src) + strlen(prefix);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:413: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).
    const size_t version_str_len = strlen(expected_version_str);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:451: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).
    const size_t profile_str_len = strlen(profile_str);
data/waffle-1.6.1/tests/functional/gl_basic_test.c:1031: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).
        if (!strncmp(s, i->s, strlen(i->s) + 1)) {
data/waffle-1.6.1/third_party/cmocka/include/cmocka_private.h:142:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define BURN_STRING(x) do { if ((x) != NULL) memset((x), 'X', strlen((x))); } while(0)
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:825:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) {
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:829:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/waffle-1.6.1/third_party/cmocka/src/cmocka.c:1557: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).
        msg_len = strlen(cm_error_message);
data/waffle-1.6.1/third_party/cmocka/tests/test_alloc.c:28: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/waffle-1.6.1/third_party/cmocka/tests/test_alloc.c:50: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/waffle-1.6.1/third_party/cmocka/tests/test_alloc.c:58: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/waffle-1.6.1/third_party/getopt/getopt_long.c:176: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).
		current_argv_len = strlen(current_argv);
data/waffle-1.6.1/third_party/getopt/getopt_long.c:184: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).
		if (strlen(long_options[i].name) == current_argv_len) {

ANALYSIS SUMMARY:

Hits = 109
Lines analyzed = 31515 in approximately 0.67 seconds (46747 lines/second)
Physical Source Lines of Code (SLOC) = 19811
Hits@level = [0]  96 [1]  19 [2]  27 [3]  17 [4]  46 [5]   0
Hits@level+ = [0+] 205 [1+] 109 [2+]  90 [3+]  63 [4+]  46 [5+]   0
Hits/KSLOC@level+ = [0+] 10.3478 [1+] 5.50199 [2+] 4.54293 [3+] 3.18005 [4+] 2.32194 [5+]   0
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.