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/anbox-0.0~git20200526/android/audio/audio_hw.cpp Examining data/anbox-0.0~git20200526/android/camera/CallbackNotifier.cpp Examining data/anbox-0.0~git20200526/android/camera/CallbackNotifier.h Examining data/anbox-0.0~git20200526/android/camera/Converters.cpp Examining data/anbox-0.0~git20200526/android/camera/Converters.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedBaseCamera.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedBaseCamera.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera2.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera2.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera3.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCamera3.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraCommon.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraDevice.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraDevice.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraHal.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera2.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera2.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera3.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera3.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCameraDevice.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedFakeCameraDevice.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera2.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera2.h Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCameraDevice.cpp Examining data/anbox-0.0~git20200526/android/camera/EmulatedQemuCameraDevice.h Examining data/anbox-0.0~git20200526/android/camera/JpegCompressor.cpp Examining data/anbox-0.0~git20200526/android/camera/JpegCompressor.h Examining data/anbox-0.0~git20200526/android/camera/JpegStub.cpp Examining data/anbox-0.0~git20200526/android/camera/JpegStub.h Examining data/anbox-0.0~git20200526/android/camera/PreviewWindow.cpp Examining data/anbox-0.0~git20200526/android/camera/PreviewWindow.h Examining data/anbox-0.0~git20200526/android/camera/QemuClient.cpp Examining data/anbox-0.0~git20200526/android/camera/QemuClient.h Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/Base.h Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/JpegCompressor.cpp Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/JpegCompressor.h Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/Scene.cpp Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/Scene.h Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/Sensor.cpp Examining data/anbox-0.0~git20200526/android/camera/fake-pipeline2/Sensor.h Examining data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c Examining data/anbox-0.0~git20200526/android/gps/gps_qemu.c Examining data/anbox-0.0~git20200526/android/hwcomposer/hwcomposer.cpp Examining data/anbox-0.0~git20200526/android/lights/lights_qemu.c Examining data/anbox-0.0~git20200526/android/opengl/host/include/libOpenglRender/IOStream.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ErrorLog.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/FixedBuffer.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLClientState.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLClientState.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLSharedGroup.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/SmartPtr.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/SocketStream.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/SocketStream.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/TcpStream.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/TcpStream.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/codec_defs.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.h Examining data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/gl_base_types.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1/gl.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/GLEncoder.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/GLEncoder.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/GLEncoderUtils.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/GLEncoderUtils.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_client_context.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_client_context.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_client_proc.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_entry.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_opcodes.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_types.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2/gl2.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2Encoder.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2Encoder.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2EncoderUtils.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2EncoderUtils.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_client_context.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_client_context.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_client_proc.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_entry.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_opcodes.h Examining data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_types.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/EGLClientIface.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/EGLImage.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/HostConnection.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/HostConnection.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/ThreadInfo.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/ThreadInfo.h Examining data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/gralloc_cb.h Examining data/anbox-0.0~git20200526/android/opengl/system/egl/ClientAPIExts.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/egl/ClientAPIExts.h Examining data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/egl/eglContext.h Examining data/anbox-0.0~git20200526/android/opengl/system/egl/eglDisplay.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/egl/eglDisplay.h Examining data/anbox-0.0~git20200526/android/opengl/system/egl/egl_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_client_base.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_client_context.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_client_context.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_client_proc.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_entry.cpp Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_opcodes.h Examining data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_types.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ApiInitializer.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ServerConnection.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ServerConnection.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ThreadInfo.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ThreadInfo.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl_dispatch.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl_dispatch.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl_proc.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles_dispatch.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles_dispatch.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles_ftable.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles_proc.h Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/glesv1_emul_ifc.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/glesv2_emul_ifc.cpp Examining data/anbox-0.0~git20200526/android/opengl/tests/ut_rendercontrol_enc/ut_rendercontrol_types.h Examining data/anbox-0.0~git20200526/android/power/power_qemu.c Examining data/anbox-0.0~git20200526/android/qemu-props/qemu-props.c Examining data/anbox-0.0~git20200526/android/qemud/qemud.c Examining data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c Examining data/anbox-0.0~git20200526/android/service/activity_manager_interface.cpp Examining data/anbox-0.0~git20200526/android/service/activity_manager_interface.h Examining data/anbox-0.0~git20200526/android/service/android_api_skeleton.cpp Examining data/anbox-0.0~git20200526/android/service/android_api_skeleton.h Examining data/anbox-0.0~git20200526/android/service/daemon.cpp Examining data/anbox-0.0~git20200526/android/service/daemon.h Examining data/anbox-0.0~git20200526/android/service/host_connector.cpp Examining data/anbox-0.0~git20200526/android/service/host_connector.h Examining data/anbox-0.0~git20200526/android/service/local_socket_connection.cpp Examining data/anbox-0.0~git20200526/android/service/local_socket_connection.h Examining data/anbox-0.0~git20200526/android/service/main.cpp Examining data/anbox-0.0~git20200526/android/service/message_processor.cpp Examining data/anbox-0.0~git20200526/android/service/message_processor.h Examining data/anbox-0.0~git20200526/android/service/platform_api_stub.cpp Examining data/anbox-0.0~git20200526/android/service/platform_api_stub.h Examining data/anbox-0.0~git20200526/android/service/platform_server_proxy.cpp Examining data/anbox-0.0~git20200526/android/service/platform_server_proxy.h Examining data/anbox-0.0~git20200526/android/service/platform_service.cpp Examining data/anbox-0.0~git20200526/android/service/platform_service.h Examining data/anbox-0.0~git20200526/android/service/platform_service_interface.cpp Examining data/anbox-0.0~git20200526/android/service/platform_service_interface.h Examining data/anbox-0.0~git20200526/android/vibrator/vibrator_qemu.c Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/ETC1/etc1.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/GLES/gl.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/GLES/glext.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/GLES/glplatform.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/OpenGLESDispatch/EGLDispatch.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/OpenGLESDispatch/GLESv1Dispatch.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/OpenGLESDispatch/GLESv2Dispatch.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/OpenGLESDispatch/gldefs.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/OpenGLESDispatch/gles_functions.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/include/libOpenglRender/IOStream.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv1_dec/GLESv1Decoder.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv1_dec/GLESv1Decoder.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv1_dec/gles1_types.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv2_dec/GLESv2Decoder.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv2_dec/GLESv2Decoder.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/GLESv2_dec/gles2_types.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/EGLDispatch.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv1Dispatch.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv2Dispatch.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/libs/renderControl_dec/renderControl_types.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/EntryPoint.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/EntryPoint.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/Parser.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/Parser.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/Parser_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/TypeFactory.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/TypeFactory.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/Var.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/VarType.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/errors.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/getopt.c Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/getopt.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/main.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/strUtils.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/strUtils.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_dec.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_dec.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_opcodes.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_server_context.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_server_context.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_server_proc.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_client_context.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_client_context.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_client_proc.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_entry.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_ftable.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_opcodes.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/wrapper/foo_wrapper_context.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/wrapper/foo_wrapper_context.h Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/wrapper/foo_wrapper_entry.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/wrapper/foo_wrapper_proc.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ErrorLog.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/GLDecoderContextData.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ProtocolUtils.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/glUtils.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/glUtils.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/gl_base_types.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/condition_variable.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/condition_variable_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/condition_variable_win32.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/crash_reporter.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/crash_reporter.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/id_to_object_map.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/id_to_object_map.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/id_to_object_map_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/lazy_instance.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/lazy_instance.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/lazy_instance_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/logging.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/logging.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/message_channel.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/message_channel.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/message_channel_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/mutex.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/mutex_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/pod_vector.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/pod_vector.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/pod_vector_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/scoped_pointer_vector.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/smart_ptr.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/smart_ptr.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/smart_ptr_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/sockets.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/sockets.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/testing/test_shared_library.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/testing/test_thread.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_pthread.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_unittest.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_win32.cpp Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/unique_integer_map.h Examining data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/unique_integer_map_unittest.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/backward.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/_test_main.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/rectrace.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/select_signals.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/stacktrace.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/suicide.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/test.cpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test/test.hpp Examining data/anbox-0.0~git20200526/external/backward-cpp/test_package/main.cpp Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpu_features_macros.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_aarch64.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_arm.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_mips.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_ppc.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_x86.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/bit_utils.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/cpuid_x86.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/filesystem.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/hwcaps.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/linux_features_aggregator.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/stack_line_reader.h Examining data/anbox-0.0~git20200526/external/cpu_features/include/internal/string_view.h Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuid_x86_clang_gcc.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuid_x86_msvc.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_aarch64.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_arm.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_mips.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_ppc.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_x86.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/filesystem.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/hwcaps.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/linux_features_aggregator.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/string_view.c Examining data/anbox-0.0~git20200526/external/cpu_features/src/utils/list_cpu_features.c Examining data/anbox-0.0~git20200526/external/cpu_features/test/bit_utils_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_aarch64_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_arm_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_mips_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_ppc_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_x86_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.h Examining data/anbox-0.0~git20200526/external/cpu_features/test/hwcaps_for_testing.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/hwcaps_for_testing.h Examining data/anbox-0.0~git20200526/external/cpu_features/test/linux_features_aggregator_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/stack_line_reader_test.cc Examining data/anbox-0.0~git20200526/external/cpu_features/test/string_view_test.cc Examining data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/connection.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/child_process.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/exec.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/exit.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/fork.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/linux/proc/process/oom_adj.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/linux/proc/process/oom_score.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/linux/proc/process/oom_score_adj.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/linux/proc/process/stat.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/linux/proc/process/state.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/process.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/process_group.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/signal.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/signalable.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/standard_stream.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/this_process.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/visibility.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/wait.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/signal.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/testing/cross_process_sync.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/testing/fork_and_run.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/backtrace.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/backtrace.h Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/child_process.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/exec.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/oom_adj.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/oom_score.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/oom_score_adj.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/stat.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/state.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/process.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/process_group.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/signal.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/signalable.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/standard_stream.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/this_process.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/wait.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/fork.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/testing/cross_process_sync.cpp Examining data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/testing/fork_and_run.cpp Examining data/anbox-0.0~git20200526/external/xdg/xdg.h Examining data/anbox-0.0~git20200526/external/xdg/xdg_test.cpp Examining data/anbox-0.0~git20200526/external/xdg/xdg.cpp Examining data/anbox-0.0~git20200526/src/anbox/android/intent.cpp Examining data/anbox-0.0~git20200526/src/anbox/android/intent.h Examining data/anbox-0.0~git20200526/src/anbox/android/ip_config_builder.cpp Examining data/anbox-0.0~git20200526/src/anbox/android/ip_config_builder.h Examining data/anbox-0.0~git20200526/src/anbox/application/database.cpp Examining data/anbox-0.0~git20200526/src/anbox/application/database.h Examining data/anbox-0.0~git20200526/src/anbox/application/launcher_storage.cpp Examining data/anbox-0.0~git20200526/src/anbox/application/launcher_storage.h Examining data/anbox-0.0~git20200526/src/anbox/application/manager.h Examining data/anbox-0.0~git20200526/src/anbox/audio/client_info.h Examining data/anbox-0.0~git20200526/src/anbox/audio/server.cpp Examining data/anbox-0.0~git20200526/src/anbox/audio/server.h Examining data/anbox-0.0~git20200526/src/anbox/audio/sink.h Examining data/anbox-0.0~git20200526/src/anbox/audio/source.h Examining data/anbox-0.0~git20200526/src/anbox/bridge/android_api_stub.cpp Examining data/anbox-0.0~git20200526/src/anbox/bridge/android_api_stub.h Examining data/anbox-0.0~git20200526/src/anbox/bridge/platform_api_skeleton.cpp Examining data/anbox-0.0~git20200526/src/anbox/bridge/platform_api_skeleton.h Examining data/anbox-0.0~git20200526/src/anbox/bridge/platform_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/bridge/platform_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/cli.cpp Examining data/anbox-0.0~git20200526/src/anbox/cli.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/check_features.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/check_features.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/container_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/container_manager.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/install.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/install.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/launch.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/launch.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/session_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/session_manager.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/system_info.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/system_info.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/version.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/version.h Examining data/anbox-0.0~git20200526/src/anbox/cmds/wait_ready.cpp Examining data/anbox-0.0~git20200526/src/anbox/cmds/wait_ready.h Examining data/anbox-0.0~git20200526/src/anbox/common/binary_writer.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/binary_writer.h Examining data/anbox-0.0~git20200526/src/anbox/common/binder_device.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/binder_device.h Examining data/anbox-0.0~git20200526/src/anbox/common/binder_device_allocator.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/binder_device_allocator.h Examining data/anbox-0.0~git20200526/src/anbox/common/binderfs.h Examining data/anbox-0.0~git20200526/src/anbox/common/dispatcher.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/dispatcher.h Examining data/anbox-0.0~git20200526/src/anbox/common/fd.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/fd.h Examining data/anbox-0.0~git20200526/src/anbox/common/fd_sets.h Examining data/anbox-0.0~git20200526/src/anbox/common/loop_device.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/loop_device.h Examining data/anbox-0.0~git20200526/src/anbox/common/loop_device_allocator.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/loop_device_allocator.h Examining data/anbox-0.0~git20200526/src/anbox/common/message_channel.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/message_channel.h Examining data/anbox-0.0~git20200526/src/anbox/common/mount_entry.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/mount_entry.h Examining data/anbox-0.0~git20200526/src/anbox/common/scope_ptr.h Examining data/anbox-0.0~git20200526/src/anbox/common/small_vector.h Examining data/anbox-0.0~git20200526/src/anbox/common/type_traits.h Examining data/anbox-0.0~git20200526/src/anbox/common/variable_length_array.h Examining data/anbox-0.0~git20200526/src/anbox/common/wait_handle.cpp Examining data/anbox-0.0~git20200526/src/anbox/common/wait_handle.h Examining data/anbox-0.0~git20200526/src/anbox/container/client.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/client.h Examining data/anbox-0.0~git20200526/src/anbox/container/configuration.h Examining data/anbox-0.0~git20200526/src/anbox/container/container.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/container.h Examining data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/lxc_container.h Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_skeleton.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_skeleton.h Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_stub.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/management_api_stub.h Examining data/anbox-0.0~git20200526/src/anbox/container/service.cpp Examining data/anbox-0.0~git20200526/src/anbox/container/service.h Examining data/anbox-0.0~git20200526/src/anbox/daemon.cpp Examining data/anbox-0.0~git20200526/src/anbox/daemon.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/bus.cpp Examining data/anbox-0.0~git20200526/src/anbox/dbus/bus.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/codecs.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/interface.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/sd_bus_helpers.c Examining data/anbox-0.0~git20200526/src/anbox/dbus/sd_bus_helpers.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/sd_bus_helpers.hpp Examining data/anbox-0.0~git20200526/src/anbox/dbus/skeleton/application_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/dbus/skeleton/application_manager.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/skeleton/service.cpp Examining data/anbox-0.0~git20200526/src/anbox/dbus/skeleton/service.h Examining data/anbox-0.0~git20200526/src/anbox/dbus/stub/application_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/dbus/stub/application_manager.h Examining data/anbox-0.0~git20200526/src/anbox/defer_action.h Examining data/anbox-0.0~git20200526/src/anbox/do_not_copy_or_move.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/buffer_queue.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/buffer_queue.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/buffered_io_stream.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/buffered_io_stream.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/density.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/density.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/ColorBuffer.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/ColorBuffer.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/DispatchTables.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/DisplayManager.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/DisplayManager.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/ReadBuffer.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/ReadBuffer.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderApi.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderApi.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderContext.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderContext.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderControl.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderControl.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderThread.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderThread.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderThreadInfo.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderThreadInfo.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderable.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderable.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TextureDraw.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TextureDraw.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TextureResize.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TextureResize.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TimeUtils.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TimeUtils.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/WindowSurface.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/emugl/WindowSurface.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/gl_extensions.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/gl_renderer_server.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/gl_renderer_server.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/layer_composer.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/layer_composer.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/multi_window_composer_strategy.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/multi_window_composer_strategy.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/opengles_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/opengles_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/primitives.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/program_family.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/program_family.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/rect.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/rect.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/renderer.h Examining data/anbox-0.0~git20200526/src/anbox/graphics/single_window_composer_strategy.cpp Examining data/anbox-0.0~git20200526/src/anbox/graphics/single_window_composer_strategy.h Examining data/anbox-0.0~git20200526/src/anbox/input/device.cpp Examining data/anbox-0.0~git20200526/src/anbox/input/device.h Examining data/anbox-0.0~git20200526/src/anbox/input/manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/input/manager.h Examining data/anbox-0.0~git20200526/src/anbox/logger.cpp Examining data/anbox-0.0~git20200526/src/anbox/logger.h Examining data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.h Examining data/anbox-0.0~git20200526/src/anbox/network/connection_context.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/connection_context.h Examining data/anbox-0.0~git20200526/src/anbox/network/connection_creator.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/connection_creator.h Examining data/anbox-0.0~git20200526/src/anbox/network/connections.h Examining data/anbox-0.0~git20200526/src/anbox/network/connector.h Examining data/anbox-0.0~git20200526/src/anbox/network/credentials.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/credentials.h Examining data/anbox-0.0~git20200526/src/anbox/network/delegate_connection_creator.h Examining data/anbox-0.0~git20200526/src/anbox/network/delegate_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/delegate_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/network/fd_socket_transmission.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/fd_socket_transmission.h Examining data/anbox-0.0~git20200526/src/anbox/network/local_socket_messenger.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/local_socket_messenger.h Examining data/anbox-0.0~git20200526/src/anbox/network/message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/network/message_receiver.h Examining data/anbox-0.0~git20200526/src/anbox/network/message_sender.h Examining data/anbox-0.0~git20200526/src/anbox/network/published_socket_connector.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/published_socket_connector.h Examining data/anbox-0.0~git20200526/src/anbox/network/socket_connection.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/socket_connection.h Examining data/anbox-0.0~git20200526/src/anbox/network/socket_helper.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/socket_helper.h Examining data/anbox-0.0~git20200526/src/anbox/network/socket_messenger.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/socket_messenger.h Examining data/anbox-0.0~git20200526/src/anbox/network/stream_socket_transport.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/stream_socket_transport.h Examining data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.h Examining data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_messenger.cpp Examining data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_messenger.h Examining data/anbox-0.0~git20200526/src/anbox/not_reachable.cpp Examining data/anbox-0.0~git20200526/src/anbox/not_reachable.h Examining data/anbox-0.0~git20200526/src/anbox/optional.h Examining data/anbox-0.0~git20200526/src/anbox/platform/base_platform.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/base_platform.h Examining data/anbox-0.0~git20200526/src/anbox/platform/null/platform.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/null/platform.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/audio_sink.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/audio_sink.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/keycode_converter.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/keycode_converter.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/mir_display_connection.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/mir_display_connection.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/platform.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/platform.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/sdl_wrapper.h Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/window.cpp Examining data/anbox-0.0~git20200526/src/anbox/platform/sdl/window.h Examining data/anbox-0.0~git20200526/src/anbox/protobuf/google_protobuf_guard.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/adb_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/adb_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/at_parser.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/at_parser.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/boot_properties_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/boot_properties_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/bootanimation_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/bootanimation_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/camera_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/camera_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/fingerprint_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/fingerprint_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/gsm_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/gsm_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/hwcontrol_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/hwcontrol_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/null_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/null_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/pipe_connection_creator.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/pipe_connection_creator.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/qemud_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/qemud_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/sensors_message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/sensors_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/qemu/telephony_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/qemu/telephony_manager.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/channel.cpp Examining data/anbox-0.0~git20200526/src/anbox/rpc/channel.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/connection_creator.cpp Examining data/anbox-0.0~git20200526/src/anbox/rpc/connection_creator.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/constants.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/make_protobuf_object.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/message_processor.cpp Examining data/anbox-0.0~git20200526/src/anbox/rpc/message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/pending_call_cache.cpp Examining data/anbox-0.0~git20200526/src/anbox/rpc/pending_call_cache.h Examining data/anbox-0.0~git20200526/src/anbox/rpc/template_message_processor.h Examining data/anbox-0.0~git20200526/src/anbox/runtime.cpp Examining data/anbox-0.0~git20200526/src/anbox/runtime.h Examining data/anbox-0.0~git20200526/src/anbox/system_configuration.cpp Examining data/anbox-0.0~git20200526/src/anbox/system_configuration.h Examining data/anbox-0.0~git20200526/src/anbox/testing/gtest_utils.h Examining data/anbox-0.0~git20200526/src/anbox/ui/splash_screen.cpp Examining data/anbox-0.0~git20200526/src/anbox/ui/splash_screen.h Examining data/anbox-0.0~git20200526/src/anbox/utils.cpp Examining data/anbox-0.0~git20200526/src/anbox/utils.h Examining data/anbox-0.0~git20200526/src/anbox/utils/environment_file.cpp Examining data/anbox-0.0~git20200526/src/anbox/utils/environment_file.h Examining data/anbox-0.0~git20200526/src/anbox/wm/display.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/display.h Examining data/anbox-0.0~git20200526/src/anbox/wm/manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/manager.h Examining data/anbox-0.0~git20200526/src/anbox/wm/multi_window_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/multi_window_manager.h Examining data/anbox-0.0~git20200526/src/anbox/wm/single_window_manager.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/single_window_manager.h Examining data/anbox-0.0~git20200526/src/anbox/wm/stack.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/stack.h Examining data/anbox-0.0~git20200526/src/anbox/wm/task.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/task.h Examining data/anbox-0.0~git20200526/src/anbox/wm/window.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/window.h Examining data/anbox-0.0~git20200526/src/anbox/wm/window_state.cpp Examining data/anbox-0.0~git20200526/src/anbox/wm/window_state.h Examining data/anbox-0.0~git20200526/src/main.cpp Examining data/anbox-0.0~git20200526/tests/anbox/android/intent_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/application/restricted_manager_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/common/binary_writer_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/common/message_channel_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/common/scope_ptr_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/common/small_vector_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/common/type_traits_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/graphics/buffer_queue_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/graphics/layer_composer_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/graphics/render_control_tests.cpp Examining data/anbox-0.0~git20200526/tests/anbox/support/at_parser_tests.cpp FINAL RESULTS: data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:911:20: [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. ssize_t len = ::readlink(symlink_path.c_str(), &*path.begin(), path.size()); data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:1656:20: [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. ssize_t len = ::readlink(symlink_path.c_str(), data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c:82:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. ret = chmod(&fpath[ftw->base], st->st_mode); data/anbox-0.0~git20200526/src/anbox/audio/server.cpp:61:5: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. ::chmod(socket_file_.c_str(), 0777); data/anbox-0.0~git20200526/src/anbox/cmds/container_manager.cpp:233:13: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (::chown(src_dir_path.c_str(), unprivileged_user_id, unprivileged_user_id) != 0) { data/anbox-0.0~git20200526/src/anbox/common/binder_device.cpp:40:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (::chmod(path.c_str(), 0666) < 0) data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp:213:11: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (::chown(path.c_str(), unprivileged_uid, unprivileged_uid) < 0) data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp:264:7: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. r = chown(new_device_path.c_str(), shifted_uid, shifted_gid); data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp:272:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. r = chmod(new_device_path.c_str(), mode); data/anbox-0.0~git20200526/src/anbox/container/service.cpp:55:5: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. ::chmod(container_socket_path.c_str(), S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); data/anbox-0.0~git20200526/src/anbox/input/device.cpp:43:5: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. ::chmod(path.c_str(), S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); data/anbox-0.0~git20200526/src/anbox/input/manager.cpp:34:5: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. ::chmod(dir.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:112:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(mQuery, "%s %s", name, param); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:234:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(connection_str, "qemud:%s:%s", mCameraServiceName, param); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.h:27:34: [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 LOG_CHECKSUMHELPER(x...) fprintf(stderr, x) data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ErrorLog.h:29:25: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define ERR(...) fprintf(stderr, __VA_ARGS__) data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ErrorLog.h:31:29: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define DBG(...) fprintf(stderr, __VA_ARGS__) data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:450:17: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(p, strings[i]); data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_entry.cpp:240: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. void* glMapBufferOES(GLenum target, GLenum access); data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_entry.cpp:1703: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. void* glMapBufferOES(GLenum target, GLenum access) data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_entry.cpp:1706: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. return ctx->glMapBufferOES(ctx, target, access); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_entry.cpp:155: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. void* glMapBufferOES(GLenum target, GLenum access); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_entry.cpp:1110: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. void* glMapBufferOES(GLenum target, GLenum access) data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_entry.cpp:1113: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. return ctx->glMapBufferOES(ctx, target, access); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles.cpp:1116: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. void* glMapBufferOES(GLenum target, GLenum access) data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/gles.cpp:1118:51: [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 getDispatch()->glMapBufferOES(target, access); data/anbox-0.0~git20200526/android/qemud/qemud.c:113: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, args); data/anbox-0.0~git20200526/external/android-emugl/host/include/GLES/glext.h:685:64: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. GL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); data/anbox-0.0~git20200526/external/android-emugl/host/include/GLES/glext.h:689: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/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_dec.cpp:26:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. # define SET_LASTCALL(name) sprintf(lastCall, #name) data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.h:27:33: [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 LOG_CHECKSUMHELPER(...) fprintf(stderr, __VA_ARGS__) data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ErrorLog.h:20:21: [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 ERR(...) fprintf(stderr, __VA_ARGS__) data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ErrorLog.h:23:25: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define DBG(...) fprintf(stderr, __VA_ARGS__) data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp:30:68: [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 D(...) do { printf("%s:%d: ", __FUNCTION__, __LINE__); printf(__VA_ARGS__); fflush(stdout); } while (0) data/anbox-0.0~git20200526/external/backward-cpp/test/_test_main.cpp:42:2: [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/anbox-0.0~git20200526/external/cpu_features/src/hwcaps.c:29:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(__VA_ARGS__); \ data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/linux/proc/process/stat.cpp:59:21: [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. >> stat.time.system data/anbox-0.0~git20200526/src/anbox/cmds/session_manager.cpp:250:64: [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. appmgr_start_timer.async_wait([&](const boost::system::error_code &err) { data/anbox-0.0~git20200526/src/anbox/cmds/session_manager.cpp:251:37: [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. if (err != boost::system::errc::success) data/anbox-0.0~git20200526/src/anbox/container/client.cpp:28:23: [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. namespace bs = boost::system; data/anbox-0.0~git20200526/src/anbox/container/client.cpp:69:40: [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. void Client::on_read_size(const boost::system::error_code &error, data/anbox-0.0~git20200526/src/anbox/container/client.h:49:34: [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. void on_read_size(const boost::system::error_code &ec, data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RenderControl.cpp:96: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(static_cast<char*>(buffer), result.c_str()); data/anbox-0.0~git20200526/src/anbox/graphics/gl_renderer_server.cpp:43:3: [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(message, sizeof(message) - 1, format, args); data/anbox-0.0~git20200526/src/anbox/logger.cpp:70:67: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. boost::log::keywords::facility = boost::log::sinks::syslog::user, data/anbox-0.0~git20200526/src/anbox/logger.cpp:71:67: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. boost::log::keywords::use_impl = boost::log::sinks::syslog::native)); data/anbox-0.0~git20200526/src/anbox/logger.cpp:72:55: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. backend->set_severity_mapper(boost::log::sinks::syslog::direct_severity_mapping<int>("Severity")); data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.cpp:30:23: [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. namespace bs = boost::system; data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.cpp:97:27: [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. } catch (const boost::system::system_error& err) { data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.h:45:10: [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. boost::system::error_code receive_msg( data/anbox-0.0~git20200526/src/anbox/network/local_socket_messenger.cpp:35:10: [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. boost::system::error_code err; data/anbox-0.0~git20200526/src/anbox/network/message_receiver.h:34:37: [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. typedef std::function<void(boost::system::error_code const&, size_t)> data/anbox-0.0~git20200526/src/anbox/network/message_receiver.h:39:18: [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. virtual boost::system::error_code receive_msg( data/anbox-0.0~git20200526/src/anbox/network/published_socket_connector.cpp:42:48: [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. [this, socket](boost::system::error_code const& err) { data/anbox-0.0~git20200526/src/anbox/network/published_socket_connector.cpp:48:57: [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. boost::system::error_code const& err) { data/anbox-0.0~git20200526/src/anbox/network/published_socket_connector.h:45:14: [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. boost::system::error_code const& err); data/anbox-0.0~git20200526/src/anbox/network/socket_connection.cpp:34:23: [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. namespace bs = boost::system; data/anbox-0.0~git20200526/src/anbox/network/socket_connection.cpp:60:50: [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. void SocketConnection::on_read_size(const boost::system::error_code& error, std::size_t bytes_read) { data/anbox-0.0~git20200526/src/anbox/network/socket_connection.h:51:34: [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. void on_read_size(const boost::system::error_code& ec, data/anbox-0.0~git20200526/src/anbox/network/stream_socket_transport.cpp:64:55: [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. void StreamSocketTransport::on_read_size(const boost::system::error_code& ec, data/anbox-0.0~git20200526/src/anbox/network/stream_socket_transport.h:55:34: [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. void on_read_size(const boost::system::error_code& ec, data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.cpp:44:48: [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. [this, socket](boost::system::error_code const& err) { data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.cpp:51:12: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. boost::system::error_code const& err) { data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.cpp:53:17: [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. case boost::system::errc::success: data/anbox-0.0~git20200526/src/anbox/network/tcp_socket_connector.h:46:14: [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. boost::system::error_code const &err); data/anbox-0.0~git20200526/src/anbox/qemu/adb_message_processor.cpp:160:58: [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. void AdbMessageProcessor::on_host_read_size(const boost::system::error_code &error, std::size_t bytes_read) { data/anbox-0.0~git20200526/src/anbox/qemu/adb_message_processor.cpp:167:25: [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. if (error == boost::system::errc::operation_canceled) data/anbox-0.0~git20200526/src/anbox/qemu/adb_message_processor.h:59:39: [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. void on_host_read_size(const boost::system::error_code &error, data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:43:36: [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. MOCK_METHOD1(receive_msg, boost::system::error_code(boost::asio::mutable_buffers_1 const&)); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/ServerConnection.cpp:96:19: [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 *s = getenv(ENV_RGL_SERVER); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/EGLDispatch.cpp:39:27: [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 *libName = getenv(egl_lib_env_var); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv1Dispatch.cpp:62:27: [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* libName = getenv(glesv1_lib_env_var); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv2Dispatch.cpp:46:27: [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 *libName = getenv(glesv2_lib_env_var); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/getopt.c:13:5: [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 argc, char* const argv[], const char* ostr) { data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/getopt.h:12:5: [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 argc, char* const argv[], const char* ostr); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/main.cpp:50:16: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((c = getopt(argc, argv, "TE:D:i:hW:")) != -1) { data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/mutex.h:35:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(&mLock); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/mutex.h:53:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::EnterCriticalSection(&mLock); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:40:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. HMODULE lib = LoadLibrary(libraryName); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp:69:9: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&mSection); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp:80:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&mSection); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp:100:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&mSection); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_store.cpp:150:17: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&mSection); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_win32.cpp:26:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(mSection); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_win32.cpp:43:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&mLock); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/thread_win32.cpp:110:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&self->mLock); data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c:115:23: [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. while ((opt = getopt_long(argc, argv, "hugbrv", long_opts, NULL)) >= 0) { data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/this_process.cpp:72: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. auto result = ::getenv(key.c_str()); data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/this_process.cpp:89: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. auto result = ::getenv(key.c_str()); data/anbox-0.0~git20200526/external/xdg/xdg.cpp:40:27: [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 (auto value = std::getenv(key.c_str())) data/anbox-0.0~git20200526/external/xdg/xdg.cpp:47:27: [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 (auto value = std::getenv(key.c_str())) data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:283: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. m_fpsStats = getenv("SHOW_FPS_STATS") != NULL; data/anbox-0.0~git20200526/src/anbox/platform/sdl/mir_display_connection.cpp:52:28: [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. auto xdg_runtime_dir = ::getenv("XDG_RUNTIME_DIR"); data/anbox-0.0~git20200526/src/anbox/utils.cpp:151: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. char *value = getenv(name.c_str()); data/anbox-0.0~git20200526/src/anbox/utils.cpp:157: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(name.c_str()) != nullptr; data/anbox-0.0~git20200526/src/anbox/utils.cpp:198:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. std::string path = std::string(getenv("PATH")); data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:122: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 value[32]; data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:149: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 value[256]; data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:257: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 value[32]; data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:285: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 value[256]; data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:596: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 buffer[SIZE]; data/anbox-0.0~git20200526/android/camera/CallbackNotifier.cpp:218:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); data/anbox-0.0~git20200526/android/camera/CallbackNotifier.cpp:232:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:87:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char preview_formats[1024]; data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:138:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char supported_white_balance[1024]; data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:236:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info->orientation = atoi(valstr); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:997: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(ret, param, len1); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:999: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(ret + len1 + 1, val, len2); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:1013:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[2048]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:291:52: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return gEmulatedCameraFactory.cameraDeviceOpen(atoi(name), device); data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:445:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:458:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:476:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:489:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:539:5: [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). open: EmulatedCameraFactory::device_open data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:148: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 buffer[EVENT_BUF_LEN]; data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:231:17: [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). open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:341:17: [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). open(filePath.string(), O_RDONLY, /*mode*/0)); data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:348:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[1]; data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera3.cpp:1017:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera3.cpp:2137: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 afStateString[100] = {0,}; data/anbox-0.0~git20200526/android/camera/EmulatedFakeCamera3.cpp:2143: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 afNewStateString[100] = {0,}; data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp:80:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char first_dim[128]; data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp:87:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(first_dim, frame_dims, c - frame_dims); data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp:103:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). const int x = atoi(first_dim); data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp:104:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). const int y = atoi(sep + 1); data/anbox-0.0~git20200526/android/camera/EmulatedQemuCameraDevice.cpp:51:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char connect_str[256]; data/anbox-0.0~git20200526/android/camera/EmulatedQemuCameraDevice.cpp:223: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(buffer, mPreviewFrame, mTotalPixels * 4); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:114: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(mQuery, name, name_len + 1); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:226: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 pipe_name[512]; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:294:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char payload_size_str[9]; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:407: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(*list, query.mReplyData, query.mReplyDataSize); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:478:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_str[256]; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:514:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_str[256]; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:536:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(vframe, frame, vframe_size); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:547:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pframe, frame + cur_offset, pframe_size); data/anbox-0.0~git20200526/android/camera/QemuClient.h:188:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char mQueryPrealloc[256]; data/anbox-0.0~git20200526/android/camera/fake-pipeline2/JpegCompressor.cpp:227: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 errBuffer[JMSG_LENGTH_MAX]; data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:73:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fp_filename[PATH_MAX]; data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:74:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char authid_filename[PATH_MAX]; data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:138:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* fp = fopen(filename, "r+"); // write but don't truncate data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:140: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(filename, "w"); data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:177:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* fp = fopen(authid_filename, "r"); data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:201:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* fp = fopen(listener->fp_filename, "r"); data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:685: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 buffer[MAX_COMM_CHARS] = {0}; data/anbox-0.0~git20200526/android/gps/gps_qemu.c:159:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[16]; data/anbox-0.0~git20200526/android/gps/gps_qemu.c:164: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( temp, p, len ); data/anbox-0.0~git20200526/android/gps/gps_qemu.c:188:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in[ NMEA_MAX_SIZE+1 ]; data/anbox-0.0~git20200526/android/gps/gps_qemu.c:505: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 temp[256]; data/anbox-0.0~git20200526/android/gps/gps_qemu.c:743:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[32]; data/anbox-0.0~git20200526/android/lights/lights_qemu.c:85:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:104:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(checksumPtr, &val, sizeof(val)); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:105:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(checksumPtr+sizeof(val), &m_numWrite, sizeof(m_numWrite)); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:131:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char sChecksumBuffer[kMaxChecksumSize]; data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:135:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(sChecksumBuffer, &val, sizeof(val)); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:136:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(sChecksumBuffer+sizeof(val), &m_numRead, sizeof(m_numRead)); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp:35: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. if (data) memcpy(buffer, data, size); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp:280:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)buf->m_fixedBuffer.ptr() + offset, data, size); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:343:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, datalen); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:346:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, vsize); data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/GLEncoder.cpp:82:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, compressedTextureFormats, data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:36:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:37: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:39: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:40: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:62:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearColor;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:63: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:65: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:66: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:67: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:68: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:90:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearDepthf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:91: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:93: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:116:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:117: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:119: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(ptr, &plane, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:121: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(ptr, equation, __size_equation);ptr += __size_equation; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:143:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColor4f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:144: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:146: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:147: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:148: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:149: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:171:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthRangef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:172: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:174: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:175: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:197:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:198: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:200: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:201: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:224:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:225: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:227: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:229: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:251:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrustumf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:252: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:254: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:255: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:256: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:257: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:258: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:259: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:282:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:283: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:285: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:319:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFloatv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:320: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:356:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetLightfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:357: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:359: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:360: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:394:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetMaterialfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:395: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:397: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:398: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:432:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexEnvfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:433: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:435: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(ptr, &env, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:436: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:470:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameterfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:471: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:473: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:474: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:507:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:508: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:510: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:511: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:534:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:535: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:537: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:539: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:561:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:562: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:564: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:565: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:566: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:589:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:590: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:592: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:593: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:595: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:617:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLineWidth;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:618: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:620: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:643:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLoadMatrixf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:644: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:647: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:669:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:670: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:672: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:673: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:697:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:698: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:700: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:701: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:703: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:726:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultMatrixf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:727: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:730: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:752:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultiTexCoord4f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:753: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:755: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, &s, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:757: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(ptr, &t, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:758: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(ptr, &r, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:759: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(ptr, &q, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:781:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glNormal3f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:782: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:784: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(ptr, &nx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, &ny, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:786: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(ptr, &nz, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:808:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glOrthof;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:809: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:811: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:812: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:813: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:815: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:816: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:838:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:839: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:841: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:842: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:865:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:866: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:868: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:870: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:892:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointSize;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:893: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:895: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:917:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPolygonOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:918: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:920: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(ptr, &factor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:921: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(ptr, &units, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:943:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRotatef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:944: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:946: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(ptr, &angle, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:947: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:948: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:949: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:971:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glScalef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:972: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:974: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:975: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:976: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:998:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:999: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1001: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1002: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1003: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1026:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1027: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1029: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1030: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1032: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1054:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1055: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1057: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1058: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1059: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1082:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1083: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1085: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1086: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1088: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1110:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTranslatef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1111: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1113: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1114: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1115: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1137:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1138: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1140: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1162:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glAlphaFuncx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1163: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1165: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1166: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1188:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1189: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1191: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1192: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(ptr, &buffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1214:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1215: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1217: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1218: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1240:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1241: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1243: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(ptr, &sfactor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1244: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(ptr, &dfactor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1267:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBufferData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1268: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1270: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1271: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1273:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (data != NULL) memcpy(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1274: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(ptr, &usage, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1297:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBufferSubData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1298: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1300: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1301: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1302: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1304:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (data != NULL) memcpy(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1326:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClear;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1327: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1329: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1351:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearColorx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1352: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1354: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1355: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1356: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1357: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1379:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearDepthx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1380: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1382: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1404:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearStencil;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1405: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1407: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(ptr, &s, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1429:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClientActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1430: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1432: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1454:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColor4ub;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1455: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1457: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(ptr, &red, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1458: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(ptr, &green, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1459: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(ptr, &blue, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1460: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(ptr, &alpha, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1482:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColor4x;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1483: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1485: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1486: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1487: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1488: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1510:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColorMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1511: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1513: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(ptr, &red, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1514: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(ptr, &green, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1515: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(ptr, &blue, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1516: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(ptr, &alpha, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1539:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1540: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1542: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1543: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1544: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1545: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1546: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1547: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1548: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1550:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (data != NULL) memcpy(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1573:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1574: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1576: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1577: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1578: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1579: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1580: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1581: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1582: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1583: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1585:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (data != NULL) memcpy(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1607:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCopyTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1608: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1610: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1611: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1612: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1613: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1614: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1615: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1616: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1617: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1639:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCopyTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1640: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1642: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1643: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1644: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1645: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1646: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1647: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1649: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1671:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCullFace;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1672: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1674: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1697:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteBuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1698: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1700: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1702: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(ptr, buffers, __size_buffers);ptr += __size_buffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1725:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteTextures;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1726: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1728: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1730: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(ptr, textures, __size_textures);ptr += __size_textures; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1752:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1753: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1755: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1777:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1778: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1780: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(ptr, &flag, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1802:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthRangex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1803: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1805: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1806: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1828:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDisable;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1829: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1831: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1853:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDisableClientState;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1854: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1856: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1878:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawArrays;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1879: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1881: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1882: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(ptr, &first, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1883: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1905:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEnable;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1906: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1908: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1930:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEnableClientState;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1931: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1933: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1955:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFinish;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1956: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1979:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFlush;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:1980: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2003:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2004: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2006: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2007: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2030:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2031: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2033: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2035: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2057:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrontFace;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2058: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2060: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2082:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrustumx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2083: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2085: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2086: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2087: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2088: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2089: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2090: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2113:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetBooleanv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2114: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2116: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2150:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetBufferParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2151: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2153: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2154: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2188:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2189: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2191: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2193: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(ptr, eqn, __size_eqn);ptr += __size_eqn; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2216:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenBuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2217: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2219: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2253:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenTextures;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2254: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2256: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2289:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetError;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2290: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2327:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFixedv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2328: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2330: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2364:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetIntegerv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2365: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2367: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2401:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetLightxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2402: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2404: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2405: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2439:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetMaterialxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2440: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2442: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2443: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2477:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexEnviv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2478: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2480: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(ptr, &env, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2481: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2515:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexEnvxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2516: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2518: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(ptr, &env, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2519: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2553:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2554: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2556: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2557: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2591:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameterxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2592: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2594: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2595: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2628:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glHint;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2629: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2631: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2632: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2654:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2655: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2657: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(ptr, &buffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2692:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsEnabled;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2693: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2695: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2730:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2731: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2733: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2768:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2769: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2771: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2772: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2795:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2796: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2798: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2800: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2822:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2823: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2825: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2826: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2827: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2850:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2851: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2853: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2854: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2856: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2878:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLineWidthx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2879: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2881: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2903:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLoadIdentity;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2904: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2928:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLoadMatrixx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2929: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2932: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2954:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLogicOp;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2955: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2957: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(ptr, &opcode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2979:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2980: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2982: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2983: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:2984: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3007:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3008: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3010: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3011: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3013: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3035:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMatrixMode;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3036: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3038: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3061:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultMatrixx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3062: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3065: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3087:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultiTexCoord4x;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3088: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3090: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3091: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(ptr, &s, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3092: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(ptr, &t, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3093: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(ptr, &r, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3094: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(ptr, &q, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3116:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glNormal3x;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3117: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3119: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(ptr, &nx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3120: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(ptr, &ny, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3121: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(ptr, &nz, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3143:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glOrthox;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3144: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3146: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3147: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3148: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3149: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3150: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3151: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3173:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPixelStorei;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3174: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3176: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3177: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3199:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3200: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3202: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3203: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3226:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3227: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3229: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3231: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3253:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointSizex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3254: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3256: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3278:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPolygonOffsetx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3279: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3281: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(ptr, &factor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3282: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(ptr, &units, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3304:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPopMatrix;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3305: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3328:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPushMatrix;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3329: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3353:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glReadPixels;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3354: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3356: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3357: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3358: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3359: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3360: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3361: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3394:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRotatex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3395: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3397: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(ptr, &angle, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3398: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3399: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3400: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3422:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glSampleCoverage;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3423: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3425: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(ptr, &value, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3426: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(ptr, &invert, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3448:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glSampleCoveragex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3449: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3451: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(ptr, &value, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3452: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(ptr, &invert, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3474:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glScalex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3475: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3477: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3478: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3479: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3501:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glScissor;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3502: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3504: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3505: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3506: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3507: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3529:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glShadeModel;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3530: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3532: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3554:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3555: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3557: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3558: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3559: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3581:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3582: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3584: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3606:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilOp;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3607: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3609: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(ptr, &fail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3610: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(ptr, &zfail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3611: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(ptr, &zpass, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3633:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvi;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3634: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3636: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3637: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3638: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3660:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3661: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3663: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3664: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3665: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3688:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnviv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3689: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3691: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3692: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3694: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3717:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3718: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3720: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3721: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3723: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3746:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3747: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3749: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3750: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3751: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3752: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3753: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3754: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3755: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3756: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3786:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameteri;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3787: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3789: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3790: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3791: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3813:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterx;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3814: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3816: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3817: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3818: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3841:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3842: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3844: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3845: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3847: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3870:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterxv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3871: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3873: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3874: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3876: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3899:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3900: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3902: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3903: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3904: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3905: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3906: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3907: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3908: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3909: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3939:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTranslatex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3940: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3942: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3943: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3944: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3966:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glViewport;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3967: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3969: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3970: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3971: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3972: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3994:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3995: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3997: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3998: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:3999: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4000: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4022:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColorPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4023: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4025: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4026: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4027: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4028: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4050:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glNormalPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4051: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4053: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4054: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4055: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4077:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointSizePointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4078: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4080: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4081: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4082: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4104:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexCoordPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4105: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4107: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4108: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4109: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4110: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4132:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glWeightPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4133: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4135: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4136: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4137: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4138: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4160:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMatrixIndexPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4161: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4163: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4164: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4165: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4166: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4189:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4190: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4192: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4193: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4194: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4197: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4220:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColorPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4221: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4223: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4224: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4225: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4228: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4251:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glNormalPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4252: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4254: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4255: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4258: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4281:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexCoordPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4282: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4284: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(ptr, &unit, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4285: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4286: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4287: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4290: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4313:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointSizePointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4314: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4316: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4317: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4320: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4343:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glWeightPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4344: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4346: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4347: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4348: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4351: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4374:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMatrixIndexPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4375: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4377: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4378: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4379: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4382: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4404:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawElementsOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4405: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4407: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4408: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4409: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4410: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4433:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawElementsData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4434: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4436: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4437: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4438: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4440: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(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4441: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4464:45: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetCompressedTextureFormats;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4465: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4467: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4500:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFinishRoundTrip;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4501: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4537:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendEquationSeparateOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4538: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4540: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(ptr, &modeRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4541: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(ptr, &modeAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4563:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendFuncSeparateOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4564: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4566: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(ptr, &srcRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4567: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(ptr, &dstRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4568: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(ptr, &srcAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4569: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(ptr, &dstAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4591:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendEquationOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4592: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4594: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4616:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexsOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4617: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4619: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(ptr, &x, 2); ptr += 2; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4620: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(ptr, &y, 2); ptr += 2; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4621: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(ptr, &z, 2); ptr += 2; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4622: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(ptr, &width, 2); ptr += 2; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4623: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(ptr, &height, 2); ptr += 2; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4645:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexiOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4646: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4648: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4649: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4650: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4651: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4652: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4674:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4675: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4677: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4678: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4679: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4680: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4681: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4704:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexsvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4705: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4708: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(ptr, coords, __size_coords);ptr += __size_coords; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4731:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexivOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4732: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4735: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(ptr, coords, __size_coords);ptr += __size_coords; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4758:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4759: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4762: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(ptr, coords, __size_coords);ptr += __size_coords; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4784:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexfOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4785: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4787: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4788: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4789: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4790: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4791: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4814:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawTexfvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4815: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4818: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(ptr, coords, __size_coords);ptr += __size_coords; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4840:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEGLImageTargetTexture2DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4841: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4843: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4844: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(ptr, &image, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4866:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEGLImageTargetRenderbufferStorageOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4867: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4869: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4870: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(ptr, &image, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4892:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glAlphaFuncxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4893: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4895: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4896: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4918:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearColorxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4919: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4921: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4922: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4923: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4924: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4946:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearDepthxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4947: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4949: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4972:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4973: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4975: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(ptr, &plane, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:4977: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(ptr, equation, __size_equation);ptr += __size_equation; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5000:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanexIMG;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5001: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5003: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(ptr, &plane, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5005: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(ptr, equation, __size_equation);ptr += __size_equation; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5027:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColor4xOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5028: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5030: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5031: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5032: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5033: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5055:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthRangexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5056: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5058: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5059: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5081:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5082: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5084: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5085: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5108:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFogxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5109: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5111: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5113: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5135:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrustumxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5136: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5138: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5139: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5140: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5141: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5142: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5143: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5166:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetClipPlanexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5167: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5169: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5203:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetClipPlanex;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5204: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5206: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5240:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFixedvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5241: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5243: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5277:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetLightxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5278: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5280: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5281: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5315:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetMaterialxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5316: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5318: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5319: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5353:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexEnvxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5354: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5356: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(ptr, &env, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5357: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5391:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameterxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5392: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5394: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5395: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5428:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5429: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5431: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5432: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5455:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightModelxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5456: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5458: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5460: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5482:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5483: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5485: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5486: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5487: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5510:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLightxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5511: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5513: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(ptr, &light, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5514: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5516: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5538:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLineWidthxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5539: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5541: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5564:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLoadMatrixxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5565: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5568: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5590:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5591: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5593: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5594: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5595: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5618:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMaterialxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5619: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5621: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5622: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5624: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5647:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultMatrixxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5648: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5651: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(ptr, m, __size_m);ptr += __size_m; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5673:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glMultiTexCoord4xOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5674: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5676: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5677: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(ptr, &s, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5678: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(ptr, &t, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5679: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(ptr, &r, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5680: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(ptr, &q, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5702:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glNormal3xOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5703: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5705: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(ptr, &nx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5706: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(ptr, &ny, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5707: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(ptr, &nz, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5729:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glOrthoxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5730: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5732: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5733: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5734: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5735: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5736: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5737: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5759:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5760: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5762: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5763: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5786:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointParameterxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5787: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5789: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5791: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5813:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPointSizexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5814: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5816: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5838:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPolygonOffsetxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5839: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5841: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(ptr, &factor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5842: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(ptr, &units, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5864:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRotatexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5865: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5867: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(ptr, &angle, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5868: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5869: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5870: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5892:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glSampleCoveragexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5893: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5895: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(ptr, &value, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5896: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(ptr, &invert, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5918:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glScalexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5919: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5921: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5922: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5923: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5945:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5946: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5948: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5949: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5950: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5973:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexEnvxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5974: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5976: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5977: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:5979: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6001:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6002: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6004: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6005: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6006: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6029:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6030: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6032: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6033: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6035: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6057:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTranslatexOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6058: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6060: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6061: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6062: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6084:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsRenderbufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6085: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6087: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6122:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindRenderbufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6123: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6125: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6126: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6149:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteRenderbuffersOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6150: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6152: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6154: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(ptr, renderbuffers, __size_renderbuffers);ptr += __size_renderbuffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6177:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenRenderbuffersOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6178: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6180: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6213:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRenderbufferStorageOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6214: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6216: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6217: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6218: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6219: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6242:47: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetRenderbufferParameterivOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6243: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6245: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6246: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6279:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsFramebufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6280: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6282: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(ptr, &framebuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6317:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindFramebufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6318: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6320: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6321: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(ptr, &framebuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6344:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteFramebuffersOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6345: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6347: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6349: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(ptr, framebuffers, __size_framebuffers);ptr += __size_framebuffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6372:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenFramebuffersOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6373: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6375: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6408:43: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCheckFramebufferStatusOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6409: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6411: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6446:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferRenderbufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6447: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6449: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6450: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6451: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(ptr, &renderbuffertarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6452: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6474:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferTexture2DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6475: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6477: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6478: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6479: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(ptr, &textarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6480: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6481: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6504:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFramebufferAttachmentParameterivOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6505: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6507: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6508: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6509: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6542:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenerateMipmapOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6543: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6545: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6567:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUnmapBufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6568: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6570: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6605:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCurrentPaletteMatrixOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6606: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6608: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(ptr, &matrixpaletteindex, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6630:51: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLoadPaletteFromModelViewMatrixOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6631: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6656:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glQueryMatrixxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6657: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6699:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthRangefOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6700: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6702: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6703: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6725:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrustumfOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6726: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6728: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6729: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6730: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6731: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6732: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6733: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6755:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glOrthofOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6756: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6758: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(ptr, &left, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6759: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(ptr, &right, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6760: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(ptr, &bottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6761: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(ptr, &top, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6762: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6763: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6786:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanefOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6787: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6789: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(ptr, &plane, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6791: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(ptr, equation, __size_equation);ptr += __size_equation; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6814:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClipPlanefIMG;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6815: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6817: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(ptr, &plane, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6819: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(ptr, equation, __size_equation);ptr += __size_equation; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6842:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetClipPlanefOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6843: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6845: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6878:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearDepthfOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6879: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6881: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6903:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGenfOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6904: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6906: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6907: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6908: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6931:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGenfvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6932: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6934: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6935: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6937: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6959:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGeniOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6960: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6962: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6963: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6964: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6987:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGenivOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6988: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6990: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6991: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:6993: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7015:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGenxOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7016: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7018: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7019: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7020: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7043:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexGenxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7044: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7046: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7047: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7049: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7072:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexGenfvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7073: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7075: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7076: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7078: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7101:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexGenivOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7102: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7104: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7105: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7107: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7130:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexGenxvOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7131: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7133: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(ptr, &coord, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7134: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7136: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7158:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindVertexArrayOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7159: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7161: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7184:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteVertexArraysOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7185: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7187: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7189: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(ptr, arrays, __size_arrays);ptr += __size_arrays; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7212:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenVertexArraysOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7213: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7215: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7248:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsVertexArrayOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7249: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7251: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7287:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDiscardFramebufferEXT;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7288: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7290: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7291: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(ptr, &numAttachments, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7293: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(ptr, attachments, __size_attachments);ptr += __size_attachments; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7315:51: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRenderbufferStorageMultisampleIMG;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7316: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7318: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7319: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(ptr, &samples, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7320: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7321: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7322: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7344:52: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferTexture2DMultisampleIMG;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7345: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7347: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7348: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7349: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(ptr, &textarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7350: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7351: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7352: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(ptr, &samples, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7375:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteFencesNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7376: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7378: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7380: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(ptr, fences, __size_fences);ptr += __size_fences; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7403:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenFencesNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7404: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7406: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7408: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(ptr, fences, __size_fences);ptr += __size_fences; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7430:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsFenceNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7431: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7433: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(ptr, &fence, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7468:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTestFenceNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7469: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7471: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(ptr, &fence, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7507:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFenceivNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7508: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7510: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(ptr, &fence, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7511: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7544:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFinishFenceNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7545: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7547: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(ptr, &fence, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7569:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glSetFenceNV;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7570: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7572: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(ptr, &fence, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7573: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(ptr, &condition, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7597:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetDriverControlsQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7598: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7601: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7638:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetDriverControlStringQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7639: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7641: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(ptr, &driverControl, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7642: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(ptr, &bufSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7678:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEnableDriverControlQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7679: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7681: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(ptr, &driverControl, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7703:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDisableDriverControlQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7704: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7706: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(ptr, &driverControl, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7730:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetTexturesQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7731: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7734: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(ptr, &maxTextures, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7771:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetBuffersQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7772: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7775: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(ptr, &maxBuffers, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7812:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetRenderbuffersQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7813: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7816: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(ptr, &maxRenderbuffers, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7853:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetFramebuffersQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7854: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7857: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(ptr, &maxFramebuffers, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7893:47: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetTexLevelParameterivQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7894: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7896: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7897: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7898: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7899: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7932:48: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtTexObjectStateOverrideiQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7933: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7935: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7936: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7937: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7960:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetTexSubImageQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7961: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7963: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7964: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7965: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7966: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7967: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(ptr, &zoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7968: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7969: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7970: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7971: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:7972: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8007:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetShadersQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8008: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8011: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(ptr, &maxShaders, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8048:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtGetProgramsQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8049: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8052: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(ptr, &maxPrograms, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8087:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glExtIsProgramBinaryQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8088: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8090: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8125:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStartTilingQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8126: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8128: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8129: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8130: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8131: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8132: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(ptr, &preserveMask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8154:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEndTilingQCOM;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8155: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv1_enc/gl_enc.cpp:8157: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(ptr, &preserveMask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2Encoder.cpp:260:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, compressedTextureFormats, data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2Encoder.cpp:760: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(sampler_start, STR_SAMPLER2D_SPACE, sizeof(STR_SAMPLER2D_SPACE)-1); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:36:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:37: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:39: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:61:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glAttachShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:62: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:64: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:65: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:88:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindAttribLocation;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:89: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:91: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:92: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:94: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(ptr, name, __size_name);ptr += __size_name; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:116:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:117: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:119: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:120: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(ptr, &buffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:142:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindFramebuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:143: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:145: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:146: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(ptr, &framebuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:168:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:169: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:171: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:172: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:194:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:195: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:197: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:198: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:220:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendColor;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:221: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:223: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:224: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:225: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:226: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:248:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendEquation;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:249: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:251: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:273:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendEquationSeparate;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:274: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:276: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(ptr, &modeRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:277: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(ptr, &modeAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:299:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:300: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:302: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(ptr, &sfactor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:303: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(ptr, &dfactor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:325:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBlendFuncSeparate;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:326: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:328: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(ptr, &srcRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:329: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(ptr, &dstRGB, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:330: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(ptr, &srcAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:331: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(ptr, &dstAlpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:354:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBufferData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:355: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:357: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:358: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:370: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(ptr, &usage, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:394:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBufferSubData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:395: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:397: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:398: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:399: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:429:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCheckFramebufferStatus;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:430: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:432: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:467:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClear;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:468: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:470: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:492:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearColor;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:493: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:495: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(ptr, &red, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:496: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(ptr, &green, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:497: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(ptr, &blue, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:498: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:520:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearDepthf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:521: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:523: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:545:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glClearStencil;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:546: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:548: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(ptr, &s, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:570:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glColorMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:571: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:573: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(ptr, &red, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:574: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(ptr, &green, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:575: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(ptr, &blue, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:576: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(ptr, &alpha, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:598:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompileShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:599: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:601: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:624:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:625: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:627: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:628: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:629: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:630: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:631: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:632: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:633: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:664:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:665: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:667: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:668: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:669: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:670: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:671: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:672: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:673: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:704:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCopyTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:705: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:707: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:708: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:709: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:710: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:711: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:712: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:713: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:714: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:736:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCopyTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:737: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:739: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:740: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:741: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:742: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:743: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:744: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:745: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:746: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:768:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCreateProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:769: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:805:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCreateShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:806: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:808: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:843:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCullFace;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:844: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:846: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:869:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteBuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:870: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:872: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:874: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(ptr, buffers, __size_buffers);ptr += __size_buffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:897:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteFramebuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:898: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:900: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:902: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(ptr, framebuffers, __size_framebuffers);ptr += __size_framebuffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:924:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:925: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:927: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:950:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteRenderbuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:951: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:953: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:955: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(ptr, renderbuffers, __size_renderbuffers);ptr += __size_renderbuffers; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:977:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:978: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:980: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1003:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteTextures;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1004: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1006: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1008: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(ptr, textures, __size_textures);ptr += __size_textures; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1030:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1031: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1033: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1055:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1056: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1058: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(ptr, &flag, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1080:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDepthRangef;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1081: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1083: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(ptr, &zNear, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1084: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(ptr, &zFar, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1106:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDetachShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1107: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1109: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1110: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1132:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDisable;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1133: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1135: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1157:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDisableVertexAttribArray;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1158: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1160: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1182:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawArrays;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1183: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1185: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1186: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(ptr, &first, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1187: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1209:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEnable;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1210: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1212: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1234:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEnableVertexAttribArray;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1235: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1237: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1259:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFinish;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1260: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1283:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFlush;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1284: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1307:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1308: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1310: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1311: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1312: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(ptr, &renderbuffertarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1313: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1335:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferTexture2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1336: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1338: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1339: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1340: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(ptr, &textarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1341: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1342: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1364:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFrontFace;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1365: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1367: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1390:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenBuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1391: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1393: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1426:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenerateMipmap;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1427: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1429: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1452:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenFramebuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1453: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1455: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1489:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenRenderbuffers;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1490: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1492: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1526:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenTextures;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1527: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1529: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1566:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetActiveAttrib;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1567: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1569: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1570: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1571: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(ptr, &bufsize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1625:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetActiveUniform;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1626: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1628: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1629: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1630: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(ptr, &bufsize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1682:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetAttachedShaders;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1683: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1685: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1686: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(ptr, &maxcount, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1725:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetAttribLocation;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1726: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1728: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1730: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(ptr, name, __size_name);ptr += __size_name; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1766:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetBooleanv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1767: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1769: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1803:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetBufferParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1804: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1806: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1807: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1840:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetError;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1841: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1878:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFloatv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1879: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1881: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1915:53: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetFramebufferAttachmentParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1916: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1918: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1919: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1920: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1954:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetIntegerv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1955: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1957: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1991:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetProgramiv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1992: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1994: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1995: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2030:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetProgramInfoLog;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2031: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2033: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2034: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(ptr, &bufsize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2073:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetRenderbufferParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2074: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2076: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2077: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2111:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetShaderiv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2112: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2114: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2115: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2150:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetShaderInfoLog;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2151: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2153: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2154: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(ptr, &bufsize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2194:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetShaderPrecisionFormat;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2195: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2197: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(ptr, &shadertype, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2198: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(ptr, &precisiontype, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2236:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetShaderSource;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2237: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2239: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2240: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(ptr, &bufsize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2279:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameterfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2280: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2282: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2283: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2317:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetTexParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2318: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2320: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2321: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2355:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetUniformfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2356: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2358: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2359: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2393:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetUniformiv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2394: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2396: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2397: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2431:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetUniformLocation;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2432: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2434: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2436: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(ptr, name, __size_name);ptr += __size_name; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2472:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetVertexAttribfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2473: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2475: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2476: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2510:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetVertexAttribiv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2511: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2513: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(ptr, &index, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2514: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2547:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glHint;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2548: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2550: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2551: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2573:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2574: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2576: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(ptr, &buffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2611:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsEnabled;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2612: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2614: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(ptr, &cap, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2649:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsFramebuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2650: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2652: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(ptr, &framebuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2687:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2688: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2690: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2725:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2726: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2728: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(ptr, &renderbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2763:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsShader;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2764: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2766: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2801:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2802: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2804: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2839:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLineWidth;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2840: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2842: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2864:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glLinkProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2865: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2867: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2889:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPixelStorei;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2890: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2892: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2893: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2915:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glPolygonOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2916: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2918: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(ptr, &factor, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2919: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(ptr, &units, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2942:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glReadPixels;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2943: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2945: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2946: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2947: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2948: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2949: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2950: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2983:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glReleaseShaderCompiler;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2984: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3007:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glRenderbufferStorage;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3008: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3010: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3011: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3012: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3013: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3035:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glSampleCoverage;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3036: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3038: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(ptr, &value, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3039: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(ptr, &invert, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3061:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glScissor;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3062: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3064: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3065: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3066: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3067: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3089:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3090: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3092: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3093: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3094: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3116:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilFuncSeparate;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3117: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3119: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3120: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3121: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3122: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3144:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilMask;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3145: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3147: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3169:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilMaskSeparate;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3170: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3172: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3173: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(ptr, &mask, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3195:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilOp;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3196: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3198: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(ptr, &fail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3199: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(ptr, &zfail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3200: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(ptr, &zpass, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3222:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glStencilOpSeparate;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3223: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3225: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(ptr, &face, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3226: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(ptr, &fail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3227: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(ptr, &zfail, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3228: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(ptr, &zpass, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3251:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3252: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3254: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3255: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3256: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3257: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3258: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3259: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3260: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3261: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3291:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterf;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3292: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3294: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3295: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3296: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3319:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameterfv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3320: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3322: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3323: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3325: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3347:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameteri;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3348: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3350: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3351: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3352: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3375:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexParameteriv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3376: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3378: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3379: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(ptr, &pname, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3381: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(ptr, params, __size_params);ptr += __size_params; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3404:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexSubImage2D;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3405: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3407: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3408: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3409: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3410: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3411: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3412: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3413: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3414: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3444:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform1f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3445: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3447: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3448: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3471:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform1fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3472: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3474: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3475: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3477: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3499:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform1i;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3500: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3502: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3503: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3526:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform1iv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3527: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3529: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3530: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3532: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3554:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform2f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3555: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3557: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3558: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3559: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3582:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform2fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3583: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3585: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3586: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3588: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3610:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform2i;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3611: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3613: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3614: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3615: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3638:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform2iv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3639: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3641: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3642: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3644: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3666:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform3f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3667: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3669: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3670: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3671: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3672: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3695:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform3fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3696: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3698: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3699: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3701: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3723:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform3i;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3724: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3726: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3727: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3728: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3729: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3752:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform3iv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3753: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3755: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3756: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3758: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3780:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform4f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3781: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3783: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3784: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3785: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3786: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3787: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(ptr, &w, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3810:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform4fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3811: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3813: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3814: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3816: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3838:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform4i;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3839: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3841: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3842: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3843: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3844: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3845: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(ptr, &w, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3868:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniform4iv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3869: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3871: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3872: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3874: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(ptr, v, __size_v);ptr += __size_v; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3897:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniformMatrix2fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3898: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3900: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3901: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3902: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(ptr, &transpose, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3904: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(ptr, value, __size_value);ptr += __size_value; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3927:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniformMatrix3fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3928: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3930: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3931: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3932: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(ptr, &transpose, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3934: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(ptr, value, __size_value);ptr += __size_value; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3957:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUniformMatrix4fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3958: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3960: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(ptr, &location, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3961: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3962: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(ptr, &transpose, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3964: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(ptr, value, __size_value);ptr += __size_value; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3986:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUseProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3987: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:3989: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4011:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glValidateProgram;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4012: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4014: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(ptr, &program, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4036:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib1f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4037: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4039: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4040: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4063:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib1fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4064: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4066: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4068: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(ptr, values, __size_values);ptr += __size_values; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4090:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib2f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4091: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4093: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4094: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4095: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4118:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib2fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4119: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4121: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4123: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(ptr, values, __size_values);ptr += __size_values; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4145:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib3f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4146: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4148: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4149: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4150: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4151: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4174:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib3fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4175: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4177: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4179: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(ptr, values, __size_values);ptr += __size_values; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4201:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib4f;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4202: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4204: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4205: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4206: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4207: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(ptr, &z, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4208: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(ptr, &w, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4231:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttrib4fv;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4232: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4234: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4236: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(ptr, values, __size_values);ptr += __size_values; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4258:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glViewport;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4259: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4261: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4262: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4263: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4264: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4286:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEGLImageTargetTexture2DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4287: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4289: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4290: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(ptr, &image, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4312:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glEGLImageTargetRenderbufferStorageOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4313: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4315: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4316: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(ptr, &image, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4338:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glUnmapBufferOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4339: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4341: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4377:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexImage3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4378: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4380: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4381: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4382: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4383: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4384: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4385: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4386: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4387: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4388: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4419:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glTexSubImage3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4420: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4422: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4423: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4424: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4425: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4426: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(ptr, &zoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4427: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4428: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4429: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4430: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4431: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4461:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCopyTexSubImage3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4462: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4464: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4465: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4466: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4467: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4468: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(ptr, &zoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4469: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4470: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4471: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4472: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4495:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexImage3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4496: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4498: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4499: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4500: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(ptr, &internalformat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4501: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4502: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4503: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4504: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(ptr, &border, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4505: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4536:44: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glCompressedTexSubImage3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4537: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4539: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4540: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4541: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(ptr, &xoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4542: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(ptr, &yoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4543: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(ptr, &zoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4544: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4545: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4546: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(ptr, &depth, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4547: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4548: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(ptr, &imageSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4578:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFramebufferTexture3DOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4579: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4581: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4582: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(ptr, &attachment, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4583: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(ptr, &textarget, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4584: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(ptr, &texture, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4585: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(ptr, &level, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4586: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(ptr, &zoffset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4608:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glBindVertexArrayOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4609: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4611: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4634:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDeleteVertexArraysOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4635: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4637: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4639: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(ptr, arrays, __size_arrays);ptr += __size_arrays; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4662:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGenVertexArraysOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4663: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4665: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(ptr, &n, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4698:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glIsVertexArrayOES;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4699: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4701: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(ptr, &array, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4737:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDiscardFramebufferEXT;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4738: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4740: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4741: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(ptr, &numAttachments, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4743: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(ptr, attachments, __size_attachments);ptr += __size_attachments; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4766:41: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttribPointerData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4767: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4769: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4770: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4771: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4772: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(ptr, &normalized, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4773: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4776: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4798:43: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glVertexAttribPointerOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4799: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4801: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(ptr, &indx, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4802: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(ptr, &size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4803: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4804: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(ptr, &normalized, 1); ptr += 1; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4805: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(ptr, &stride, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4806: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4828:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawElementsOffset;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4829: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4831: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4832: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4833: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4834: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(ptr, &offset, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4857:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glDrawElementsData;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4858: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4860: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(ptr, &mode, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4861: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4862: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4864: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(ptr, data, __size_data);ptr += __size_data; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4865: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(ptr, &datalen, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4888:45: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glGetCompressedTextureFormats;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4889: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4891: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(ptr, &count, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4925:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glShaderString;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4926: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4928: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(ptr, &shader, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4930: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(ptr, string, __size_string);ptr += __size_string; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4931: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(ptr, &len, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4953:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_glFinishRoundTrip;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:4954: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/egl/eglDisplay.cpp:185: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(m_configs, tmp_buf + m_numConfigAttribs, m_numConfigs*m_numConfigAttribs*sizeof(EGLint)); data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp:757:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, dst_line_len); data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp:896:43: [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 sFallback->common.methods->open(&sFallback->common, name, device); data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp:1000:9: [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). open: gralloc_device_open data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp:1034:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prop[PROPERTY_VALUE_MAX]; data/anbox-0.0~git20200526/android/opengl/system/gralloc/gralloc.cpp:1041:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (atoi(prop) == 1) { data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:36:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetRendererVersion;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:37: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:75:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetEGLVersion;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:76: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:119:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcQueryEGLString;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:120: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:122: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(ptr, &name, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:124: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(ptr, &bufferSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:162:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetGLString;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:163: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:165: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(ptr, &name, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:167: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(ptr, &bufferSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:205:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetNumConfigs;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:206: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:246:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetConfigs;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:247: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:249: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(ptr, &bufSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:289:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcChooseConfig;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:290: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:293: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(ptr, attribs, __size_attribs);ptr += __size_attribs; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:294: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(ptr, &attribs_size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:296: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(ptr, &configs_size, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:335:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetFBParam;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:336: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:338: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:373:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcCreateContext;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:374: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:376: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(ptr, &config, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:377: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(ptr, &share, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:378: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(ptr, &glVersion, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:413:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcDestroyContext;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:414: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:416: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(ptr, &context, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:438:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcCreateWindowSurface;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:439: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:441: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(ptr, &config, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:442: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:443: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:478:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcDestroyWindowSurface;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:479: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:481: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(ptr, &windowSurface, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:503:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcCreateColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:504: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:506: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:507: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:508: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(ptr, &internalFormat, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:543:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcOpenColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:544: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:546: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:568:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcCloseColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:569: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:571: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:594:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcSetWindowColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:595: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:597: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(ptr, &windowSurface, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:598: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(ptr, &colorBuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:620:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcFlushWindowColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:621: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:623: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(ptr, &windowSurface, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:658:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcMakeCurrent;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:659: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:661: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(ptr, &context, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:662: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(ptr, &drawSurf, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:663: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(ptr, &readSurf, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:698:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcFBPost;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:699: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:701: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(ptr, &colorBuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:723:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcFBSetSwapInterval;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:724: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:726: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(ptr, &interval, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:748:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:749: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:751: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(ptr, &colorBuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:773:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcBindRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:774: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:776: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(ptr, &colorBuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:798:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcColorBufferCacheFlush;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:799: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:801: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:802: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(ptr, &postCount, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:803: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(ptr, &forRead, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:839:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcReadColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:840: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:842: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:843: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:844: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:846: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:847: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:848: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:882:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcUpdateColorBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:883: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:885: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:886: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(ptr, &x, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:887: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(ptr, &y, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:888: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(ptr, &width, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:889: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(ptr, &height, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:890: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(ptr, &format, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:891: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(ptr, &type, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:932:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcOpenColorBuffer2;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:933: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:935: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(ptr, &colorbuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:970:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcCreateClientImage;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:971: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:973: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(ptr, &context, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:974: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(ptr, &target, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:975: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(ptr, &buffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1010:36: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcDestroyClientImage;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1011: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1013: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(ptr, &image, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1048:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcSelectChecksumCalculator;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1049: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1051: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(ptr, &newProtocol, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1052: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(ptr, &reserved, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1074:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetNumDisplays;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1075: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1111:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetDisplayWidth;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1112: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1114: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(ptr, &displayId, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1149:34: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetDisplayHeight;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1150: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1152: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(ptr, &displayId, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1187:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetDisplayDpiX;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1188: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1190: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(ptr, &displayId, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1225:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetDisplayDpiY;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1226: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1228: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(ptr, &displayId, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1263:39: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcGetDisplayVsyncPeriod;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1264: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1266: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(ptr, &displayId, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1302:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcPostLayer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1303: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1306: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(ptr, name, __size_name);ptr += __size_name; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1307: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(ptr, &colorBuffer, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1308: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(ptr, &alpha, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1309: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(ptr, &sourceCropLeft, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1310: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(ptr, &sourceCropTop, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1311: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(ptr, &sourceCropRight, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1312: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(ptr, &sourceCropBottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1313: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(ptr, &displayFrameLeft, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1314: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(ptr, &displayFrameTop, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1315: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(ptr, &displayFrameRight, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1316: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(ptr, &displayFrameBottom, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1338:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_rcPostAllLayersDone;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1339: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:113:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen("/proc/self/cmdline", "rt"); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:119:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1000]; data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:160:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(GLES_EMUL_TARGETS_FILE, "rt"); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[100]; data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:307:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(attribs, attrib_list, nAttribs * sizeof(EGLint)); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:479: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(attrib, attrib_list, nAttribs * sizeof(EGLint)); data/anbox-0.0~git20200526/android/qemu-props/qemu-props.c:85: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 temp[BUFF_SIZE]; data/anbox-0.0~git20200526/android/qemud/qemud.c:202:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char hexchars[16] = "0123456789abcdef"; data/anbox-0.0~git20200526/android/qemud/qemud.c:600:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buff+count, "<TAB>", 5); data/anbox-0.0~git20200526/android/qemud/qemud.c:607:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buff+count, "<LN>", 4); data/anbox-0.0~git20200526/android/qemud/qemud.c:614:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buff+count, "<CR>", 4); data/anbox-0.0~git20200526/android/qemud/qemud.c:1110:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( inp->data + inpos, p->data + rpos, avail ); data/anbox-0.0~git20200526/android/qemud/qemud.c:1135:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( inp->data + inpos, p->data + rpos, avail ); data/anbox-0.0~git20200526/android/qemud/qemud.c:1354: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( p->data, "KO", 2 ); data/anbox-0.0~git20200526/android/qemud/qemud.c:1358: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( p->data, "OK", 2 ); data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:269: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 buff[256]; data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:509: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 command[64]; data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:537:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[64]; data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:661:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[12]; data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:684:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mask = atoi(buffer); data/anbox-0.0~git20200526/android/service/local_socket_connection.cpp:43: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(socket_address.sun_path, path.data(), path.size()); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/EGLDispatch.cpp: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 error[256]; data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/EGLDispatch.cpp:46:55: [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). emugl::SharedLibrary *lib = emugl::SharedLibrary::open(libName, error, sizeof(error)); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv1Dispatch.cpp:68:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[256]; data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv1Dispatch.cpp:69:41: [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). s_gles1_lib = emugl::SharedLibrary::open(libName, error, sizeof(error)); data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv2Dispatch.cpp:52:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[256]; data/anbox-0.0~git20200526/external/android-emugl/host/libs/libOpenGLESDispatch/GLESv2Dispatch.cpp:53:41: [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). s_gles2_lib = emugl::SharedLibrary::open(libName, error, sizeof(error)); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:59:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:103:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:134:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:198:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:269:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:289:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:308:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:457:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:503: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 buff[256]; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:742:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:790:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:820:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "wt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:1267:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *specfp = fopen(filename.c_str(), "rt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:1272:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1000]; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:1290:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(attribFilename.c_str(), "rt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:1295:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1000]; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/ApiGen.cpp:1352:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). setBaseOpcode(atoi(str.c_str())); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/TypeFactory.cpp:57:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename.c_str(), "rt"); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/TypeFactory.cpp:62:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1000]; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/TypeFactory.cpp:119:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t bitSize = atoi(size.c_str()); data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/getopt.c:62:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. optarg = (char *)argv[optind]; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/decoder/foo_dec.cpp:41:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char lastCall[256] = {0}; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:36:28: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_fooAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:37: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:39: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(ptr, &func, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:40: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(ptr, &ref, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:63:27: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_fooIsBuffer;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:64: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:67: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(ptr, stuff, __size_stuff);ptr += __size_stuff; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:102:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_fooDoEncoderFlush;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:103: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:105: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(ptr, ¶m, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:129:43: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. int tmp = OP_fooTakeConstVoidPtrConstPtr;memcpy(ptr, &tmp, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:130: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(ptr, &totalSize, 4); ptr += 4; data/anbox-0.0~git20200526/external/android-emugl/host/tools/emugen/tests/t.001/expected/encoder/foo_enc.cpp:133: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(ptr, param, __size_param);ptr += __size_param; data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:104:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(checksumPtr, &val, sizeof(val)); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:105:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(checksumPtr+sizeof(val), &m_numWrite, sizeof(m_numWrite)); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:131:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char sChecksumBuffer[kMaxChecksumSize]; data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:135:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(sChecksumBuffer, &val, sizeof(val)); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculator.cpp:136:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(sChecksumBuffer+sizeof(val), &m_numRead, sizeof(m_numRead)); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ProtocolUtils.h:124:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newBuff, input, size); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/ProtocolUtils.h:182:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mOrgBuff, mBuff, mSize); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/glUtils.cpp:340:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, datalen); data/anbox-0.0~git20200526/external/android-emugl/shared/OpenglCodecCommon/glUtils.cpp:343:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, vsize); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/lazy_instance.h:138: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. mutable char mStorage[sizeof(T)]; data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/pod_vector.cpp:58: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(mBegin, from, fromLen); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:29:31: [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). SharedLibrary* SharedLibrary::open(const char* libraryName) { data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:30:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[1]; data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:31:12: [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(libraryName, error, sizeof(error)); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:37:31: [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). SharedLibrary* SharedLibrary::open(const char* libraryName, data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:101:31: [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). SharedLibrary* SharedLibrary::open(const char* libraryName, data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.h:53:27: [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). static SharedLibrary* open(const char* libraryName); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.h:62:27: [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). static SharedLibrary* open(const char* libraryName, data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:116:44: [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). ScopedSharedLibrary lib(SharedLibrary::open(library_path())); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:121:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error[256]; data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:123:41: [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). SharedLibrary* lib = SharedLibrary::open("/tmp/does/not/exists", data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:136:55: [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). ScopedSharedLibrary libNoExtension(SharedLibrary::open(path.c_str())); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:151:44: [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). ScopedSharedLibrary lib(SharedLibrary::open(path.c_str())); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:158:44: [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). ScopedSharedLibrary lib(SharedLibrary::open(library)); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library_unittest.cpp:164:44: [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). ScopedSharedLibrary lib(SharedLibrary::open(library_path())); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/sockets.cpp:113: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(this->local.sun_path, path, pathLen + 1U); data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:1135:12: [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). int fd = open(filename_object.c_str(), O_RDONLY); data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:1924:21: [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). file_handle.reset(open(filename_object.c_str(), O_RDONLY)); data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:2042:25: [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). debuglink_file.reset(open(debuglink.c_str(), O_RDONLY)); data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_ppc.h:77: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 platform[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_ppc.h:78: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 model[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_ppc.h:79: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 machine[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_ppc.h:80: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 cpu[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_x86.h:67: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 vendor[13]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/cpuinfo_x86.h:107:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void FillX86BrandString(char brand_string[49]); data/anbox-0.0~git20200526/external/cpu_features/include/internal/hwcaps.h:123: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 platform[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/internal/hwcaps.h:124: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 base_platform[64]; // 0 terminated string data/anbox-0.0~git20200526/external/cpu_features/include/internal/stack_line_reader.h:28: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 buffer[STACK_LINE_READER_BUFFER_SIZE]; data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_x86.c:247: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, &leaf, sizeof(Leaf)); data/anbox-0.0~git20200526/external/cpu_features/src/cpuinfo_x86.c:250:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void FillX86BrandString(char brand_string[49]) { data/anbox-0.0~git20200526/external/cpu_features/src/filesystem.c:41: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). result = open(filename, O_RDONLY); data/anbox-0.0~git20200526/external/cpu_features/src/string_view.c:141:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src.ptr, copy_size); data/anbox-0.0~git20200526/external/cpu_features/src/utils/list_cpu_features.c:161: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 brand_string[49]; data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_x86_test.cc:135: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 brand_string[49]; data/anbox-0.0~git20200526/external/cpu_features/test/cpuinfo_x86_test.cc:162: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 brand_string[49]; data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc:45: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(buf, content_.data() + head_index_, read); data/anbox-0.0~git20200526/external/cpu_features/test/string_view_test.cc:95: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[4]; data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c:140:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). srcid = atoi(argv[1]); data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c:141:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dstid = atoi(argv[2]); data/anbox-0.0~git20200526/external/nsexec/uidmapshift.c:142:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). range = atoi(argv[3]); data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/child_process.h:142:25: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. friend ChildProcess vfork(const std::function<posix::exit::Status()>&, const StandardStream&); data/anbox-0.0~git20200526/external/process-cpp-minimal/include/core/posix/fork.h:49:36: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. CORE_POSIX_DLL_PUBLIC ChildProcess vfork(const std::function<posix::exit::Status()>& main, data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/fork.cpp:126:14: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. ChildProcess vfork(const std::function<posix::exit::Status()>& main, data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/fork.cpp:131:19: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. pid_t pid = ::vfork(); data/anbox-0.0~git20200526/src/anbox/cmds/check_features.cpp:72:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char brand_string[49]; data/anbox-0.0~git20200526/src/anbox/cmds/launch.cpp:44: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). if ((fd2 = open("/dev/null", flags)) < 0) data/anbox-0.0~git20200526/src/anbox/cmds/system_info.cpp:133: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 brand_string[49]; data/anbox-0.0~git20200526/src/anbox/common/binary_writer.cpp:62: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(&(*current_), &v, sizeof(std::uint16_t)); data/anbox-0.0~git20200526/src/anbox/common/binary_writer.cpp:81: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(&(*current_), &v, sizeof(std::uint32_t)); data/anbox-0.0~git20200526/src/anbox/common/binary_writer.cpp:89: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(&(*current_), s, size); data/anbox-0.0~git20200526/src/anbox/common/binder_device_allocator.cpp:51:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const auto ctl_fd = ::open(binderfs_control_path, O_RDWR); data/anbox-0.0~git20200526/src/anbox/common/binder_device_allocator.cpp:68:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(dev.name, device_name.c_str(), device_name.length()); data/anbox-0.0~git20200526/src/anbox/common/binderfs.h:34:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[BINDERFS_MAX_NAME + 1]; data/anbox-0.0~git20200526/src/anbox/common/loop_device.cpp:31:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const auto fd = ::open(path.c_str(), O_RDWR); data/anbox-0.0~git20200526/src/anbox/common/loop_device.cpp:53: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). int file_fd = ::open(file_path.c_str(), O_RDONLY); data/anbox-0.0~git20200526/src/anbox/common/loop_device_allocator.cpp:42:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const auto ctl_fd = ::open(loop_control_path, O_RDWR); data/anbox-0.0~git20200526/src/anbox/common/variable_length_array.h:52:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char builtin_buffer[BuiltInBufferSize]; data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp:168:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ip_prefix_length = atoi(tokens[1].c_str()); data/anbox-0.0~git20200526/src/anbox/container/lxc_container.cpp:454: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). default_props.open(new_default_prop_path.string(), std::ios_base::out); data/anbox-0.0~git20200526/src/anbox/graphics/buffered_io_stream.cpp:66: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(dst + count, data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.cpp:154: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(newAttribs, attribs, numAttribs * sizeof(GLint)); data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.cpp:165: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(newAttribs, attribs, numAttribs * sizeof(GLint)); data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.cpp:231: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, kConfigAttributes, kConfigAttributesLen * kGLuintSize); data/anbox-0.0~git20200526/src/anbox/graphics/emugl/RendererConfig.cpp:234: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(buffer + (i + 1) * kConfigAttributesLen, mConfigs[i]->mAttribValues, data/anbox-0.0~git20200526/src/anbox/graphics/gl_renderer_server.cpp:39: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 message[2048]; data/anbox-0.0~git20200526/src/anbox/input/device.h:77:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[80]; data/anbox-0.0~git20200526/src/anbox/input/device.h:80:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char physical_location[80]; data/anbox-0.0~git20200526/src/anbox/input/device.h:81:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char unique_id[80]; data/anbox-0.0~git20200526/src/anbox/platform/sdl/audio_sink.cpp:82: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(dst + count, data/anbox-0.0~git20200526/src/anbox/qemu/camera_message_processor.cpp:59: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[5]; data/anbox-0.0~git20200526/src/anbox/qemu/fingerprint_message_processor.cpp:34: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[12]; data/anbox-0.0~git20200526/src/anbox/qemu/pipe_connection_creator.cpp:102:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char byte[1] = {0}; data/anbox-0.0~git20200526/src/anbox/qemu/qemud_message_processor.cpp:48:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char header[header_size] = {0}; data/anbox-0.0~git20200526/src/anbox/qemu/qemud_message_processor.cpp:49: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(header, buffer_.data(), header_size); data/anbox-0.0~git20200526/src/anbox/qemu/qemud_message_processor.cpp:80: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 header[header_size + 1]; data/anbox-0.0~git20200526/src/anbox/qemu/sensors_message_processor.cpp:36: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[12]; data/anbox-0.0~git20200526/src/anbox/rpc/channel.cpp:76: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. const unsigned char header_bytes[header_size] = { data/anbox-0.0~git20200526/src/anbox/rpc/message_processor.cpp:104: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. const unsigned char header_bytes[header_size] = { data/anbox-0.0~git20200526/src/anbox/utils.cpp:50: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). file.open(file_path, std::ifstream::in); data/anbox-0.0~git20200526/src/anbox/utils.cpp:58:6: [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). of.open(file_path, std::ofstream::out); data/anbox-0.0~git20200526/src/anbox/utils.cpp:113:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buff[17]; data/anbox-0.0~git20200526/tests/anbox/common/type_traits_tests.cpp:72:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char arr[100]; data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:313:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bytes = read(in->fd, buffer, bytes); data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:342:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(addr.sun_path, AUDIO_DEVICE_NAME, sizeof(addr.sun_path)); data/anbox-0.0~git20200526/android/audio/audio_hw.cpp:358:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto bytes_read = ::read(fd, &client_info, sizeof(client_info)); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:491:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ret_str, params.string(), params.length()+1); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:992: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). const size_t len1 = strlen(param); data/anbox-0.0~git20200526/android/camera/EmulatedCamera.cpp:993: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). const size_t len2 = strlen(val); data/anbox-0.0~git20200526/android/camera/EmulatedCameraDevice.cpp:391:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). res = TEMP_FAILURE_RETRY(read(mControlFD, &msg, sizeof(msg))); data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:397: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). name_start += strlen(lListNameToken); data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:398: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). dim_start += strlen(lListDimsToken); data/anbox-0.0~git20200526/android/camera/EmulatedCameraFactory.cpp:399: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). dir_start += strlen(lListDirToken); data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:150:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(mInotifyFd, buffer, EVENT_BUF_LEN)); data/anbox-0.0~git20200526/android/camera/EmulatedCameraHotplugThread.cpp:352:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(fd, buffer, sizeof(buffer))); data/anbox-0.0~git20200526/android/camera/EmulatedQemuCamera.cpp:84:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(first_dim, frame_dims, sizeof(first_dim)); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:95:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t name_len = strlen(name); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:96: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). const size_t param_len = (param != NULL) ? strlen(param) : 0; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:97:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t required = strlen(name) + (param_len ? (param_len + 2) : 1); data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:232:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* connection_str = new char[strlen(mCameraServiceName) + data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:233: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). strlen(param) + 8]; data/anbox-0.0~git20200526/android/camera/QemuClient.cpp:342:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). status_t res = sendMessage(query->mQuery, strlen(query->mQuery) + 1); data/anbox-0.0~git20200526/android/fingerprint/fingerprint.c:672: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). if (qemud_channel_send(qdev->qchanfd, cmd, strlen(cmd)) < 0) { data/anbox-0.0~git20200526/android/gps/gps_qemu.c:719:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read( fd, &cmd, 1 ); data/anbox-0.0~git20200526/android/gps/gps_qemu.c:748:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read( fd, buff, sizeof(buff) ); data/anbox-0.0~git20200526/android/opengl/host/include/libOpenglRender/IOStream.h:36:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual const unsigned char *read( void *buf, size_t *inout_len) = 0; data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/SocketStream.cpp:134:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const unsigned char *SocketStream::read( void *buf, size_t *inout_len) data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/SocketStream.h:36:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual const unsigned char *read(void *buf, size_t *inout_len); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:449: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). l = strlen(strings[i]); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:453:17: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(p, strings[i], l); data/anbox-0.0~git20200526/android/opengl/shared/OpenglCodecCommon/glUtils.cpp:467: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). l = strings[i]!=NULL ? strlen(strings[i]) : 0; data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/GL2Encoder.cpp:956: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). int namelen = strlen(name); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:80:37: [1] (buffer) strlen: Does not handle 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 unsigned int __size_name = (strlen(name) + 1); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:1717:37: [1] (buffer) strlen: Does not handle 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 unsigned int __size_name = (strlen(name) + 1); data/anbox-0.0~git20200526/android/opengl/system/GLESv2_enc/gl2_enc.cpp:2423:37: [1] (buffer) strlen: Does not handle 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 unsigned int __size_name = (strlen(name) + 1); data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/HostConnection.cpp:177:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sscanf(glProtocolStr+strlen(checksumPrefix), "%d", &checksumVersion); data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp:143:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, res); data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp:164:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const unsigned char *QemuPipeStream::read( void *buf, size_t *inout_len) data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp:190:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int res = ::read(m_sock, p, len); data/anbox-0.0~git20200526/android/opengl/system/OpenglSystemCommon/QemuPipeStream.h:37:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual const unsigned char *read( void *buf, size_t *inout_len); data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:137:5: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(EGL_NO_SURFACE), data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:973:71: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:977:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). VALIDATE_SURFACE_RETURN(read, EGL_FALSE); data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:981:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT)) data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:988:61: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). egl_surface_t * readSurf = static_cast<egl_surface_t *>(read); data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:998:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (context && context->draw == draw && context->read == read))) { data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:1024:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). context->read = read; data/anbox-0.0~git20200526/android/opengl/system/egl/egl.cpp:1089:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return context->read; data/anbox-0.0~git20200526/android/opengl/system/egl/eglContext.h:34:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EGLSurface read; data/anbox-0.0~git20200526/android/opengl/system/egl/eglDisplay.cpp:268:21: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(str, " "); data/anbox-0.0~git20200526/android/opengl/system/egl/eglDisplay.cpp:306: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). int n = strlen(hostExt); data/anbox-0.0~git20200526/android/opengl/system/renderControl_enc/renderControl_enc.cpp:1294:37: [1] (buffer) strlen: Does not handle 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 unsigned int __size_name = (strlen(name) + 1); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:168: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). size_t procnameLen = strlen(procname); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:171:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(line) >= procnameLen && data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:527:71: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:532:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EGLBoolean res = getDispatch()->eglMakeCurrent(dpy, draw, read, aglContext); data/anbox-0.0~git20200526/android/opengl/tests/gles_android_wrapper/egl.cpp:541:90: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (uint32_t) (read == EGL_NO_SURFACE ? 0 : read), data/anbox-0.0~git20200526/android/qemud/qemud.c:215:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read(fd, to, len); data/anbox-0.0~git20200526/android/qemud/qemud.c:1633:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(addr.sun_path, serial_dev, sizeof(addr.sun_path)); data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:199:37: [1] (buffer) strlen: Does not handle 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 (qemud_channel_send(fd, cmd, strlen(cmd)) < 0) { data/anbox-0.0~git20200526/android/sensors/sensors_qemu.c:232:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100000); data/anbox-0.0~git20200526/external/android-emugl/host/include/libOpenglRender/IOStream.h:32:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual const unsigned char *read(void *buf, size_t *inout_len) = 0; data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/shared_library.cpp:119:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t pathLen = strlen(libraryName) + sizeof(kDllExtension); data/anbox-0.0~git20200526/external/android-emugl/shared/emugl/common/sockets.cpp:107:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t pathLen = ::strlen(path); data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:3141: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). char* p = filename + strlen(filename) - 1; data/anbox-0.0~git20200526/external/backward-cpp/backward.hpp:3162:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). filename_end = filename + strlen(filename); data/anbox-0.0~git20200526/external/backward-cpp/test/test.hpp:60:37: [1] (buffer) strlen: Does not handle 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* basename = filename + strlen(filename); data/anbox-0.0~git20200526/external/cpu_features/include/internal/string_view.h:46: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). static inline StringView str(const char* str) { return view(str, strlen(str)); } data/anbox-0.0~git20200526/external/cpu_features/src/filesystem.c:52:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = read(file_descriptor, buffer, buffer_size); data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:33:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). assert(read >= 0); data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:35:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->view.size = read; data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:36:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:44:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). assert(read >= 0); data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:45:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). assert(read <= (int)size_to_read); data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:46:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->view.size += read; data/anbox-0.0~git20200526/external/cpu_features/src/stack_line_reader.c:47:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc:45:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). memcpy(buf, content_.data() + head_index_, read); data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc:46:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). head_index_ += read; data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc:47:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). assert(read < INT_MAX); data/anbox-0.0~git20200526/external/cpu_features/test/filesystem_for_testing.cc:48:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/signal.cpp:156:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto result = ::read(scope.signal_fd, signal_info, sizeof(signal_info)); data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/posix/signal.cpp:174:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto result = ::read(event_fd, &value, sizeof(value)); data/anbox-0.0~git20200526/external/process-cpp-minimal/src/core/testing/cross_process_sync.cpp:90:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (sizeof(value) != read(fds[read_fd], std::addressof(value), sizeof(value))) data/anbox-0.0~git20200526/src/anbox/cmds/launch.cpp:98:7: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(0077); data/anbox-0.0~git20200526/src/anbox/dbus/skeleton/application_manager.cpp:111: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). if (stack && strlen(stack) > 0) { data/anbox-0.0~git20200526/src/anbox/graphics/buffered_io_stream.cpp:58:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const unsigned char *BufferedIOStream::read(void *buf, size_t *inout_len) { data/anbox-0.0~git20200526/src/anbox/graphics/buffered_io_stream.h:43:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const unsigned char *read(void *buf, size_t *inout_len) override; data/anbox-0.0~git20200526/src/anbox/graphics/emugl/ReadBuffer.cpp:58:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (NULL != stream->read(m_buf + m_validData, &len)) { data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:621:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). WindowSurfacePtr draw(NULL), read(NULL); data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:656:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read ? read->getEGLSurface() : EGL_NO_SURFACE, data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:667:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!draw && !read) { data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:673:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bindRead = read; data/anbox-0.0~git20200526/src/anbox/graphics/emugl/Renderer.cpp:690:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tinfo->currReadSurf = read; data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TextureDraw.cpp:43:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const GLint textLen = ::strlen(shaderText); data/anbox-0.0~git20200526/src/anbox/graphics/emugl/TimeUtils.cpp:31:32: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. void TimeSleepMS(int p_mili) { usleep(p_mili * 1000); } data/anbox-0.0~git20200526/src/anbox/graphics/gl_extensions.h:38: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 const len = strlen(ext); data/anbox-0.0~git20200526/src/anbox/network/base_socket_messenger.cpp:119:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). boost::asio::read(*socket, ba::mutable_buffers_1{buffer + nread}, e); data/anbox-0.0~git20200526/src/anbox/qemu/bootanimation_message_processor.cpp:40:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (icon_file.read(buffer.data(), buffer.size())) { data/anbox-0.0~git20200526/src/anbox/qemu/camera_message_processor.cpp:61: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). messenger_->send(buf, strlen(buf)); data/anbox-0.0~git20200526/src/anbox/qemu/fingerprint_message_processor.cpp:36:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). send_header(strlen(buf)); data/anbox-0.0~git20200526/src/anbox/qemu/fingerprint_message_processor.cpp:37: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). messenger_->send(buf, strlen(buf)); data/anbox-0.0~git20200526/src/anbox/qemu/sensors_message_processor.cpp:38:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). send_header(strlen(buf)); data/anbox-0.0~git20200526/src/anbox/qemu/sensors_message_processor.cpp:39: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). messenger_->send(buf, strlen(buf)); data/anbox-0.0~git20200526/src/anbox/utils.cpp:87:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (content) res = write_to_fd(fd, content, strlen(content)); data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:107:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_NE(nullptr, stream.read(read_data, &size)); data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:111:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_NE(nullptr, stream.read(read_data, &size)); data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:136:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_NE(nullptr, stream.read(read_data, &read)); data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:136:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_NE(nullptr, stream.read(read_data, &read)); data/anbox-0.0~git20200526/tests/anbox/graphics/buffered_io_stream_tests.cpp:137:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(2, read); ANALYSIS SUMMARY: Hits = 2542 Lines analyzed = 113235 in approximately 2.98 seconds (38036 lines/second) Physical Source Lines of Code (SLOC) = 78096 Hits@level = [0] 453 [1] 106 [2] 2340 [3] 27 [4] 57 [5] 12 Hits@level+ = [0+] 2995 [1+] 2542 [2+] 2436 [3+] 96 [4+] 69 [5+] 12 Hits/KSLOC@level+ = [0+] 38.3502 [1+] 32.5497 [2+] 31.1924 [3+] 1.22926 [4+] 0.883528 [5+] 0.153657 Dot directories skipped = 3 (--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.