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/aom-1.0.0.errata1/aom/aom.h Examining data/aom-1.0.0.errata1/aom/aom_codec.h Examining data/aom-1.0.0.errata1/aom/aom_decoder.h Examining data/aom-1.0.0.errata1/aom/aom_encoder.h Examining data/aom-1.0.0.errata1/aom/aom_frame_buffer.h Examining data/aom-1.0.0.errata1/aom/aom_image.h Examining data/aom-1.0.0.errata1/aom/aom_integer.h Examining data/aom-1.0.0.errata1/aom/aomcx.h Examining data/aom-1.0.0.errata1/aom/aomdx.h Examining data/aom-1.0.0.errata1/aom/internal/aom_codec_internal.h Examining data/aom-1.0.0.errata1/aom/src/aom_codec.c Examining data/aom-1.0.0.errata1/aom/src/aom_decoder.c Examining data/aom-1.0.0.errata1/aom/src/aom_encoder.c Examining data/aom-1.0.0.errata1/aom/src/aom_image.c Examining data/aom-1.0.0.errata1/aom/src/aom_integer.c Examining data/aom-1.0.0.errata1/aom_dsp/add_noise.c Examining data/aom-1.0.0.errata1/aom_dsp/aom_convolve.c Examining data/aom-1.0.0.errata1/aom_dsp/aom_convolve.h Examining data/aom-1.0.0.errata1/aom_dsp/aom_dsp_common.h Examining data/aom-1.0.0.errata1/aom_dsp/aom_dsp_rtcd.c Examining data/aom-1.0.0.errata1/aom_dsp/aom_filter.h Examining data/aom-1.0.0.errata1/aom_dsp/aom_simd.h Examining data/aom-1.0.0.errata1/aom_dsp/aom_simd_inline.h Examining data/aom-1.0.0.errata1/aom_dsp/arm/blend_a64_mask_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/fwd_txfm_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/intrapred_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/loopfilter_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/sad4d_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/sad_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/subpel_variance_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/subtract_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/arm/variance_neon.c Examining data/aom-1.0.0.errata1/aom_dsp/binary_codes_reader.c Examining data/aom-1.0.0.errata1/aom_dsp/binary_codes_reader.h Examining data/aom-1.0.0.errata1/aom_dsp/binary_codes_writer.c Examining data/aom-1.0.0.errata1/aom_dsp/binary_codes_writer.h Examining data/aom-1.0.0.errata1/aom_dsp/bitreader.h Examining data/aom-1.0.0.errata1/aom_dsp/bitreader_buffer.c Examining data/aom-1.0.0.errata1/aom_dsp/bitreader_buffer.h Examining data/aom-1.0.0.errata1/aom_dsp/bitwriter.h Examining data/aom-1.0.0.errata1/aom_dsp/bitwriter_buffer.c Examining data/aom-1.0.0.errata1/aom_dsp/bitwriter_buffer.h Examining data/aom-1.0.0.errata1/aom_dsp/blend.h Examining data/aom-1.0.0.errata1/aom_dsp/blend_a64_hmask.c Examining data/aom-1.0.0.errata1/aom_dsp/blend_a64_mask.c Examining data/aom-1.0.0.errata1/aom_dsp/blend_a64_vmask.c Examining data/aom-1.0.0.errata1/aom_dsp/buf_ans.c Examining data/aom-1.0.0.errata1/aom_dsp/buf_ans.h Examining data/aom-1.0.0.errata1/aom_dsp/daalaboolreader.c Examining data/aom-1.0.0.errata1/aom_dsp/daalaboolreader.h Examining data/aom-1.0.0.errata1/aom_dsp/daalaboolwriter.c Examining data/aom-1.0.0.errata1/aom_dsp/daalaboolwriter.h Examining data/aom-1.0.0.errata1/aom_dsp/entcode.c Examining data/aom-1.0.0.errata1/aom_dsp/entcode.h Examining data/aom-1.0.0.errata1/aom_dsp/entdec.c Examining data/aom-1.0.0.errata1/aom_dsp/entdec.h Examining data/aom-1.0.0.errata1/aom_dsp/entenc.c Examining data/aom-1.0.0.errata1/aom_dsp/entenc.h Examining data/aom-1.0.0.errata1/aom_dsp/fastssim.c Examining data/aom-1.0.0.errata1/aom_dsp/fft.c Examining data/aom-1.0.0.errata1/aom_dsp/fft_common.h Examining data/aom-1.0.0.errata1/aom_dsp/fwd_txfm.c Examining data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c Examining data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.h Examining data/aom-1.0.0.errata1/aom_dsp/grain_table.c Examining data/aom-1.0.0.errata1/aom_dsp/grain_table.h Examining data/aom-1.0.0.errata1/aom_dsp/intrapred.c Examining data/aom-1.0.0.errata1/aom_dsp/intrapred_common.h Examining data/aom-1.0.0.errata1/aom_dsp/loopfilter.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/add_noise_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/aom_convolve8_horiz_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/aom_convolve8_vert_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/aom_convolve_copy_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/aom_convolve_msa.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/common_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/common_dspr2.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve2_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve2_horiz_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve2_vert_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve8_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve8_horiz_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve8_vert_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/convolve_common_dspr2.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/intrapred16_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/intrapred4_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/intrapred8_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/intrapred_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_16_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_4_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_8_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_macros_dspr2.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_masks_dspr2.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_horiz_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_vert_dspr2.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_msa.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/macros_msa.h Examining data/aom-1.0.0.errata1/aom_dsp/mips/sad_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/sub_pixel_variance_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/subtract_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/mips/variance_msa.c Examining data/aom-1.0.0.errata1/aom_dsp/noise_model.c Examining data/aom-1.0.0.errata1/aom_dsp/noise_model.h Examining data/aom-1.0.0.errata1/aom_dsp/noise_util.c Examining data/aom-1.0.0.errata1/aom_dsp/noise_util.h Examining data/aom-1.0.0.errata1/aom_dsp/postproc.h Examining data/aom-1.0.0.errata1/aom_dsp/prob.h Examining data/aom-1.0.0.errata1/aom_dsp/psnr.c Examining data/aom-1.0.0.errata1/aom_dsp/psnr.h Examining data/aom-1.0.0.errata1/aom_dsp/psnrhvs.c Examining data/aom-1.0.0.errata1/aom_dsp/quantize.c Examining data/aom-1.0.0.errata1/aom_dsp/quantize.h Examining data/aom-1.0.0.errata1/aom_dsp/sad.c Examining data/aom-1.0.0.errata1/aom_dsp/sad_av1.c Examining data/aom-1.0.0.errata1/aom_dsp/simd/v128_intrinsics.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v128_intrinsics_arm.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v128_intrinsics_c.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v128_intrinsics_x86.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v256_intrinsics.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v256_intrinsics_arm.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v256_intrinsics_c.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v256_intrinsics_v128.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v256_intrinsics_x86.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v64_intrinsics.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v64_intrinsics_arm.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v64_intrinsics_c.h Examining data/aom-1.0.0.errata1/aom_dsp/simd/v64_intrinsics_x86.h Examining data/aom-1.0.0.errata1/aom_dsp/ssim.c Examining data/aom-1.0.0.errata1/aom_dsp/ssim.h Examining data/aom-1.0.0.errata1/aom_dsp/subtract.c Examining data/aom-1.0.0.errata1/aom_dsp/sum_squares.c Examining data/aom-1.0.0.errata1/aom_dsp/txfm_common.h Examining data/aom-1.0.0.errata1/aom_dsp/variance.c Examining data/aom-1.0.0.errata1/aom_dsp/variance.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/aom_asm_stubs.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/blend_a64_hmask_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/blend_a64_mask_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/blend_a64_vmask_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/blend_sse4.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/common_avx2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/convolve.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/convolve_avx2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/convolve_common_intrin.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/convolve_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/convolve_sse4_1.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/fft_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/fft_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/fwd_txfm_impl_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/fwd_txfm_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/fwd_txfm_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/halfpix_variance_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_convolve_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_convolve_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_intrapred_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_loopfilter_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_loopfilter_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_quantize_intrin_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_quantize_intrin_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_subtract_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_variance_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/highbd_variance_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/intrapred_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/intrapred_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/intrapred_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/jnt_sad_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/jnt_variance_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/loopfilter_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/loopfilter_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/lpf_common_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/masked_sad_intrin_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/masked_variance_intrin_ssse3.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/masked_variance_intrin_ssse3.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/mem_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/obmc_intrinsic_ssse3.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/obmc_sad_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/obmc_variance_sse4.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/quantize_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/sad4d_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/sad_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/sad_highbd_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/sad_impl_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/sum_squares_sse2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/synonyms.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/synonyms_avx2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/transpose_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/txfm_common_sse2.h Examining data/aom-1.0.0.errata1/aom_dsp/x86/variance_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/variance_impl_avx2.c Examining data/aom-1.0.0.errata1/aom_dsp/x86/variance_sse2.c Examining data/aom-1.0.0.errata1/aom_mem/aom_mem.c Examining data/aom-1.0.0.errata1/aom_mem/aom_mem.h Examining data/aom-1.0.0.errata1/aom_mem/include/aom_mem_intrnl.h Examining data/aom-1.0.0.errata1/aom_ports/aom_once.h Examining data/aom-1.0.0.errata1/aom_ports/aom_timer.h Examining data/aom-1.0.0.errata1/aom_ports/arm.h Examining data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c Examining data/aom-1.0.0.errata1/aom_ports/bitops.h Examining data/aom-1.0.0.errata1/aom_ports/emmintrin_compat.h Examining data/aom-1.0.0.errata1/aom_ports/mem.h Examining data/aom-1.0.0.errata1/aom_ports/mem_ops.h Examining data/aom-1.0.0.errata1/aom_ports/mem_ops_aligned.h Examining data/aom-1.0.0.errata1/aom_ports/msvc.h Examining data/aom-1.0.0.errata1/aom_ports/ppc.h Examining data/aom-1.0.0.errata1/aom_ports/ppc_cpudetect.c Examining data/aom-1.0.0.errata1/aom_ports/sanitizer.h Examining data/aom-1.0.0.errata1/aom_ports/system_state.h Examining data/aom-1.0.0.errata1/aom_ports/x86.h Examining data/aom-1.0.0.errata1/aom_scale/aom_scale.h Examining data/aom-1.0.0.errata1/aom_scale/aom_scale_rtcd.c Examining data/aom-1.0.0.errata1/aom_scale/generic/aom_scale.c Examining data/aom-1.0.0.errata1/aom_scale/generic/gen_scalers.c Examining data/aom-1.0.0.errata1/aom_scale/generic/yv12config.c Examining data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c Examining data/aom-1.0.0.errata1/aom_scale/mips/dspr2/yv12extend_dspr2.c Examining data/aom-1.0.0.errata1/aom_scale/yv12config.h Examining data/aom-1.0.0.errata1/aom_util/aom_thread.c Examining data/aom-1.0.0.errata1/aom_util/aom_thread.h Examining data/aom-1.0.0.errata1/aom_util/debug_util.c Examining data/aom-1.0.0.errata1/aom_util/debug_util.h Examining data/aom-1.0.0.errata1/aom_util/endian_inl.h Examining data/aom-1.0.0.errata1/apps/aomdec.c Examining data/aom-1.0.0.errata1/apps/aomenc.c Examining data/aom-1.0.0.errata1/apps/aomenc.h Examining data/aom-1.0.0.errata1/av1/av1_cx_iface.c Examining data/aom-1.0.0.errata1/av1/av1_dx_iface.c Examining data/aom-1.0.0.errata1/av1/av1_iface_common.h Examining data/aom-1.0.0.errata1/av1/common/alloccommon.c Examining data/aom-1.0.0.errata1/av1/common/alloccommon.h Examining data/aom-1.0.0.errata1/av1/common/arm/av1_txfm_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/blend_a64_hmask_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/blend_a64_vmask_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/cfl_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/convolve_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/convolve_neon.h Examining data/aom-1.0.0.errata1/av1/common/arm/intrapred_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/jnt_convolve_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h Examining data/aom-1.0.0.errata1/av1/common/arm/reconinter_neon.c Examining data/aom-1.0.0.errata1/av1/common/arm/transpose_neon.h Examining data/aom-1.0.0.errata1/av1/common/arm/wiener_convolve_neon.c Examining data/aom-1.0.0.errata1/av1/common/av1_inv_txfm1d.c Examining data/aom-1.0.0.errata1/av1/common/av1_inv_txfm1d.h Examining data/aom-1.0.0.errata1/av1/common/av1_inv_txfm1d_cfg.h Examining data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c Examining data/aom-1.0.0.errata1/av1/common/av1_loopfilter.c Examining data/aom-1.0.0.errata1/av1/common/av1_loopfilter.h Examining data/aom-1.0.0.errata1/av1/common/av1_rtcd.c Examining data/aom-1.0.0.errata1/av1/common/av1_txfm.c Examining data/aom-1.0.0.errata1/av1/common/av1_txfm.h Examining data/aom-1.0.0.errata1/av1/common/blockd.c Examining data/aom-1.0.0.errata1/av1/common/blockd.h Examining data/aom-1.0.0.errata1/av1/common/cdef.c Examining data/aom-1.0.0.errata1/av1/common/cdef.h Examining data/aom-1.0.0.errata1/av1/common/cdef_block.c Examining data/aom-1.0.0.errata1/av1/common/cdef_block.h Examining data/aom-1.0.0.errata1/av1/common/cdef_block_avx2.c Examining data/aom-1.0.0.errata1/av1/common/cdef_block_neon.c Examining data/aom-1.0.0.errata1/av1/common/cdef_block_simd.h Examining data/aom-1.0.0.errata1/av1/common/cdef_block_sse2.c Examining data/aom-1.0.0.errata1/av1/common/cdef_block_sse4.c Examining data/aom-1.0.0.errata1/av1/common/cdef_block_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/cfl.c Examining data/aom-1.0.0.errata1/av1/common/cfl.h Examining data/aom-1.0.0.errata1/av1/common/common.h Examining data/aom-1.0.0.errata1/av1/common/common_data.h Examining data/aom-1.0.0.errata1/av1/common/convolve.c Examining data/aom-1.0.0.errata1/av1/common/convolve.h Examining data/aom-1.0.0.errata1/av1/common/debugmodes.c Examining data/aom-1.0.0.errata1/av1/common/entropy.c Examining data/aom-1.0.0.errata1/av1/common/entropy.h Examining data/aom-1.0.0.errata1/av1/common/entropymode.c Examining data/aom-1.0.0.errata1/av1/common/entropymode.h Examining data/aom-1.0.0.errata1/av1/common/entropymv.c Examining data/aom-1.0.0.errata1/av1/common/entropymv.h Examining data/aom-1.0.0.errata1/av1/common/enums.h Examining data/aom-1.0.0.errata1/av1/common/filter.c Examining data/aom-1.0.0.errata1/av1/common/filter.h Examining data/aom-1.0.0.errata1/av1/common/frame_buffers.c Examining data/aom-1.0.0.errata1/av1/common/frame_buffers.h Examining data/aom-1.0.0.errata1/av1/common/idct.c Examining data/aom-1.0.0.errata1/av1/common/idct.h Examining data/aom-1.0.0.errata1/av1/common/mv.h Examining data/aom-1.0.0.errata1/av1/common/mvref_common.c Examining data/aom-1.0.0.errata1/av1/common/mvref_common.h Examining data/aom-1.0.0.errata1/av1/common/obmc.h Examining data/aom-1.0.0.errata1/av1/common/odintrin.c Examining data/aom-1.0.0.errata1/av1/common/odintrin.h Examining data/aom-1.0.0.errata1/av1/common/onyxc_int.h Examining data/aom-1.0.0.errata1/av1/common/ppc/cfl_ppc.c Examining data/aom-1.0.0.errata1/av1/common/pred_common.c Examining data/aom-1.0.0.errata1/av1/common/pred_common.h Examining data/aom-1.0.0.errata1/av1/common/quant_common.c Examining data/aom-1.0.0.errata1/av1/common/quant_common.h Examining data/aom-1.0.0.errata1/av1/common/reconinter.c Examining data/aom-1.0.0.errata1/av1/common/reconinter.h Examining data/aom-1.0.0.errata1/av1/common/reconintra.c Examining data/aom-1.0.0.errata1/av1/common/reconintra.h Examining data/aom-1.0.0.errata1/av1/common/resize.c Examining data/aom-1.0.0.errata1/av1/common/resize.h Examining data/aom-1.0.0.errata1/av1/common/restoration.c Examining data/aom-1.0.0.errata1/av1/common/restoration.h Examining data/aom-1.0.0.errata1/av1/common/scale.c Examining data/aom-1.0.0.errata1/av1/common/scale.h Examining data/aom-1.0.0.errata1/av1/common/scan.c Examining data/aom-1.0.0.errata1/av1/common/scan.h Examining data/aom-1.0.0.errata1/av1/common/seg_common.c Examining data/aom-1.0.0.errata1/av1/common/seg_common.h Examining data/aom-1.0.0.errata1/av1/common/thread_common.c Examining data/aom-1.0.0.errata1/av1/common/thread_common.h Examining data/aom-1.0.0.errata1/av1/common/tile_common.c Examining data/aom-1.0.0.errata1/av1/common/tile_common.h Examining data/aom-1.0.0.errata1/av1/common/timing.c Examining data/aom-1.0.0.errata1/av1/common/timing.h Examining data/aom-1.0.0.errata1/av1/common/token_cdfs.h Examining data/aom-1.0.0.errata1/av1/common/txb_common.c Examining data/aom-1.0.0.errata1/av1/common/txb_common.h Examining data/aom-1.0.0.errata1/av1/common/warped_motion.c Examining data/aom-1.0.0.errata1/av1/common/warped_motion.h Examining data/aom-1.0.0.errata1/av1/common/x86/av1_convolve_horiz_rs_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_convolve_scale_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_highbd_convolve_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_inv_txfm_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_inv_txfm_avx2.h Examining data/aom-1.0.0.errata1/av1/common/x86/av1_inv_txfm_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_inv_txfm_ssse3.h Examining data/aom-1.0.0.errata1/av1/common/x86/av1_txfm_sse2.h Examining data/aom-1.0.0.errata1/av1/common/x86/av1_txfm_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/av1_txfm_sse4.h Examining data/aom-1.0.0.errata1/av1/common/x86/cfl_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/cfl_simd.h Examining data/aom-1.0.0.errata1/av1/common/x86/cfl_sse2.c Examining data/aom-1.0.0.errata1/av1/common/x86/cfl_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_sse2.c Examining data/aom-1.0.0.errata1/av1/common/x86/convolve_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/convolve_sse2.c Examining data/aom-1.0.0.errata1/av1/common/x86/filterintra_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_sse2.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_inv_txfm_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_inv_txfm_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_jnt_convolve_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_jnt_convolve_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_txfm_utility_sse4.h Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_warp_plane_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_wiener_convolve_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/highbd_wiener_convolve_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/intra_edge_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/jnt_convolve_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/jnt_convolve_sse2.c Examining data/aom-1.0.0.errata1/av1/common/x86/jnt_convolve_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/reconinter_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/reconinter_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/reconinter_ssse3.c Examining data/aom-1.0.0.errata1/av1/common/x86/selfguided_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/selfguided_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/warp_plane_sse4.c Examining data/aom-1.0.0.errata1/av1/common/x86/wiener_convolve_avx2.c Examining data/aom-1.0.0.errata1/av1/common/x86/wiener_convolve_sse2.c Examining data/aom-1.0.0.errata1/av1/decoder/accounting.c Examining data/aom-1.0.0.errata1/av1/decoder/accounting.h Examining data/aom-1.0.0.errata1/av1/decoder/decodeframe.c Examining data/aom-1.0.0.errata1/av1/decoder/decodeframe.h Examining data/aom-1.0.0.errata1/av1/decoder/decodemv.c Examining data/aom-1.0.0.errata1/av1/decoder/decodemv.h Examining data/aom-1.0.0.errata1/av1/decoder/decoder.c Examining data/aom-1.0.0.errata1/av1/decoder/decoder.h Examining data/aom-1.0.0.errata1/av1/decoder/decodetxb.c Examining data/aom-1.0.0.errata1/av1/decoder/decodetxb.h Examining data/aom-1.0.0.errata1/av1/decoder/detokenize.c Examining data/aom-1.0.0.errata1/av1/decoder/detokenize.h Examining data/aom-1.0.0.errata1/av1/decoder/dthread.c Examining data/aom-1.0.0.errata1/av1/decoder/dthread.h Examining data/aom-1.0.0.errata1/av1/decoder/inspection.c Examining data/aom-1.0.0.errata1/av1/decoder/inspection.h Examining data/aom-1.0.0.errata1/av1/decoder/obu.c Examining data/aom-1.0.0.errata1/av1/decoder/obu.h Examining data/aom-1.0.0.errata1/av1/encoder/ab_partition_model_weights.h Examining data/aom-1.0.0.errata1/av1/encoder/aq_complexity.c Examining data/aom-1.0.0.errata1/av1/encoder/aq_complexity.h Examining data/aom-1.0.0.errata1/av1/encoder/aq_cyclicrefresh.c Examining data/aom-1.0.0.errata1/av1/encoder/aq_cyclicrefresh.h Examining data/aom-1.0.0.errata1/av1/encoder/aq_variance.c Examining data/aom-1.0.0.errata1/av1/encoder/aq_variance.h Examining data/aom-1.0.0.errata1/av1/encoder/arm/neon/quantize_neon.c Examining data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm1d.c Examining data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm1d.h Examining data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm1d_cfg.h Examining data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm2d.c Examining data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c Examining data/aom-1.0.0.errata1/av1/encoder/av1_quantize.h Examining data/aom-1.0.0.errata1/av1/encoder/bitstream.c Examining data/aom-1.0.0.errata1/av1/encoder/bitstream.h Examining data/aom-1.0.0.errata1/av1/encoder/block.h Examining data/aom-1.0.0.errata1/av1/encoder/blockiness.c Examining data/aom-1.0.0.errata1/av1/encoder/context_tree.c Examining data/aom-1.0.0.errata1/av1/encoder/context_tree.h Examining data/aom-1.0.0.errata1/av1/encoder/corner_detect.c Examining data/aom-1.0.0.errata1/av1/encoder/corner_detect.h Examining data/aom-1.0.0.errata1/av1/encoder/corner_match.c Examining data/aom-1.0.0.errata1/av1/encoder/corner_match.h Examining data/aom-1.0.0.errata1/av1/encoder/cost.c Examining data/aom-1.0.0.errata1/av1/encoder/cost.h Examining data/aom-1.0.0.errata1/av1/encoder/dwt.c Examining data/aom-1.0.0.errata1/av1/encoder/dwt.h Examining data/aom-1.0.0.errata1/av1/encoder/encodeframe.c Examining data/aom-1.0.0.errata1/av1/encoder/encodeframe.h Examining data/aom-1.0.0.errata1/av1/encoder/encodemb.c Examining data/aom-1.0.0.errata1/av1/encoder/encodemb.h Examining data/aom-1.0.0.errata1/av1/encoder/encodemv.c Examining data/aom-1.0.0.errata1/av1/encoder/encodemv.h Examining data/aom-1.0.0.errata1/av1/encoder/encoder.c Examining data/aom-1.0.0.errata1/av1/encoder/encoder.h Examining data/aom-1.0.0.errata1/av1/encoder/encodetxb.c Examining data/aom-1.0.0.errata1/av1/encoder/encodetxb.h Examining data/aom-1.0.0.errata1/av1/encoder/ethread.c Examining data/aom-1.0.0.errata1/av1/encoder/ethread.h Examining data/aom-1.0.0.errata1/av1/encoder/extend.c Examining data/aom-1.0.0.errata1/av1/encoder/extend.h Examining data/aom-1.0.0.errata1/av1/encoder/firstpass.c Examining data/aom-1.0.0.errata1/av1/encoder/firstpass.h Examining data/aom-1.0.0.errata1/av1/encoder/global_motion.c Examining data/aom-1.0.0.errata1/av1/encoder/global_motion.h Examining data/aom-1.0.0.errata1/av1/encoder/grain_test_vectors.h Examining data/aom-1.0.0.errata1/av1/encoder/hash.c Examining data/aom-1.0.0.errata1/av1/encoder/hash.h Examining data/aom-1.0.0.errata1/av1/encoder/hash_motion.c Examining data/aom-1.0.0.errata1/av1/encoder/hash_motion.h Examining data/aom-1.0.0.errata1/av1/encoder/hybrid_fwd_txfm.c Examining data/aom-1.0.0.errata1/av1/encoder/hybrid_fwd_txfm.h Examining data/aom-1.0.0.errata1/av1/encoder/k_means_template.h Examining data/aom-1.0.0.errata1/av1/encoder/lookahead.c Examining data/aom-1.0.0.errata1/av1/encoder/lookahead.h Examining data/aom-1.0.0.errata1/av1/encoder/mathutils.h Examining data/aom-1.0.0.errata1/av1/encoder/mbgraph.c Examining data/aom-1.0.0.errata1/av1/encoder/mbgraph.h Examining data/aom-1.0.0.errata1/av1/encoder/mcomp.c Examining data/aom-1.0.0.errata1/av1/encoder/mcomp.h Examining data/aom-1.0.0.errata1/av1/encoder/mips/msa/error_msa.c Examining data/aom-1.0.0.errata1/av1/encoder/mips/msa/fdct4x4_msa.c Examining data/aom-1.0.0.errata1/av1/encoder/mips/msa/temporal_filter_msa.c Examining data/aom-1.0.0.errata1/av1/encoder/ml.c Examining data/aom-1.0.0.errata1/av1/encoder/ml.h Examining data/aom-1.0.0.errata1/av1/encoder/palette.c Examining data/aom-1.0.0.errata1/av1/encoder/palette.h Examining data/aom-1.0.0.errata1/av1/encoder/pickcdef.c Examining data/aom-1.0.0.errata1/av1/encoder/picklpf.c Examining data/aom-1.0.0.errata1/av1/encoder/picklpf.h Examining data/aom-1.0.0.errata1/av1/encoder/pickrst.c Examining data/aom-1.0.0.errata1/av1/encoder/pickrst.h Examining data/aom-1.0.0.errata1/av1/encoder/pustats.h Examining data/aom-1.0.0.errata1/av1/encoder/random.h Examining data/aom-1.0.0.errata1/av1/encoder/ransac.c Examining data/aom-1.0.0.errata1/av1/encoder/ransac.h Examining data/aom-1.0.0.errata1/av1/encoder/ratectrl.c Examining data/aom-1.0.0.errata1/av1/encoder/ratectrl.h Examining data/aom-1.0.0.errata1/av1/encoder/ratectrl_xiph.c Examining data/aom-1.0.0.errata1/av1/encoder/ratectrl_xiph.h Examining data/aom-1.0.0.errata1/av1/encoder/rd.c Examining data/aom-1.0.0.errata1/av1/encoder/rd.h Examining data/aom-1.0.0.errata1/av1/encoder/rdopt.c Examining data/aom-1.0.0.errata1/av1/encoder/rdopt.h Examining data/aom-1.0.0.errata1/av1/encoder/segmentation.c Examining data/aom-1.0.0.errata1/av1/encoder/segmentation.h Examining data/aom-1.0.0.errata1/av1/encoder/speed_features.c Examining data/aom-1.0.0.errata1/av1/encoder/speed_features.h Examining data/aom-1.0.0.errata1/av1/encoder/temporal_filter.c Examining data/aom-1.0.0.errata1/av1/encoder/temporal_filter.h Examining data/aom-1.0.0.errata1/av1/encoder/tokenize.c Examining data/aom-1.0.0.errata1/av1/encoder/tokenize.h Examining data/aom-1.0.0.errata1/av1/encoder/tx_prune_model_weights.h Examining data/aom-1.0.0.errata1/av1/encoder/wedge_utils.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_fwd_txfm1d_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_fwd_txfm2d_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_fwd_txfm_sse2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_fwd_txfm_sse2.h Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_highbd_quantize_avx2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_highbd_quantize_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_quantize_avx2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_quantize_sse2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/av1_txfm1d_sse4.h Examining data/aom-1.0.0.errata1/av1/encoder/x86/corner_match_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/encodetxb_sse2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/encodetxb_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/error_intrin_avx2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/hash_sse42.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/highbd_block_error_intrin_sse2.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/highbd_fwd_txfm_sse4.c Examining data/aom-1.0.0.errata1/av1/encoder/x86/wedge_utils_sse2.c Examining data/aom-1.0.0.errata1/common/args.c Examining data/aom-1.0.0.errata1/common/args.h Examining data/aom-1.0.0.errata1/common/ivfdec.c Examining data/aom-1.0.0.errata1/common/ivfdec.h Examining data/aom-1.0.0.errata1/common/ivfenc.c Examining data/aom-1.0.0.errata1/common/ivfenc.h Examining data/aom-1.0.0.errata1/common/md5_utils.c Examining data/aom-1.0.0.errata1/common/md5_utils.h Examining data/aom-1.0.0.errata1/common/obudec.c Examining data/aom-1.0.0.errata1/common/obudec.h Examining data/aom-1.0.0.errata1/common/rawenc.c Examining data/aom-1.0.0.errata1/common/rawenc.h Examining data/aom-1.0.0.errata1/common/tools_common.c Examining data/aom-1.0.0.errata1/common/tools_common.h Examining data/aom-1.0.0.errata1/common/video_common.h Examining data/aom-1.0.0.errata1/common/video_reader.c Examining data/aom-1.0.0.errata1/common/video_reader.h Examining data/aom-1.0.0.errata1/common/video_writer.c Examining data/aom-1.0.0.errata1/common/video_writer.h Examining data/aom-1.0.0.errata1/common/warnings.c Examining data/aom-1.0.0.errata1/common/warnings.h Examining data/aom-1.0.0.errata1/common/webmdec.cc Examining data/aom-1.0.0.errata1/common/webmdec.h Examining data/aom-1.0.0.errata1/common/webmenc.cc Examining data/aom-1.0.0.errata1/common/webmenc.h Examining data/aom-1.0.0.errata1/common/y4menc.c Examining data/aom-1.0.0.errata1/common/y4menc.h Examining data/aom-1.0.0.errata1/common/y4minput.c Examining data/aom-1.0.0.errata1/common/y4minput.h Examining data/aom-1.0.0.errata1/examples/analyzer.cc Examining data/aom-1.0.0.errata1/examples/aom_cx_set_ref.c Examining data/aom-1.0.0.errata1/examples/decode_to_md5.c Examining data/aom-1.0.0.errata1/examples/decode_with_drops.c Examining data/aom-1.0.0.errata1/examples/encoder_util.c Examining data/aom-1.0.0.errata1/examples/encoder_util.h Examining data/aom-1.0.0.errata1/examples/inspect.c Examining data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c Examining data/aom-1.0.0.errata1/examples/lightfield_decoder.c Examining data/aom-1.0.0.errata1/examples/lightfield_encoder.c Examining data/aom-1.0.0.errata1/examples/lightfield_tile_list_decoder.c Examining data/aom-1.0.0.errata1/examples/lossless_encoder.c Examining data/aom-1.0.0.errata1/examples/noise_model.c Examining data/aom-1.0.0.errata1/examples/resize_util.c Examining data/aom-1.0.0.errata1/examples/scalable_decoder.c Examining data/aom-1.0.0.errata1/examples/scalable_encoder.c Examining data/aom-1.0.0.errata1/examples/set_maps.c Examining data/aom-1.0.0.errata1/examples/simple_decoder.c Examining data/aom-1.0.0.errata1/examples/simple_encoder.c Examining data/aom-1.0.0.errata1/examples/twopass_encoder.c Examining data/aom-1.0.0.errata1/stats/aomstats.c Examining data/aom-1.0.0.errata1/stats/aomstats.h Examining data/aom-1.0.0.errata1/stats/rate_hist.c Examining data/aom-1.0.0.errata1/stats/rate_hist.h Examining data/aom-1.0.0.errata1/test/accounting_test.cc Examining data/aom-1.0.0.errata1/test/acm_random.h Examining data/aom-1.0.0.errata1/test/active_map_test.cc Examining data/aom-1.0.0.errata1/test/altref_test.cc Examining data/aom-1.0.0.errata1/test/aom_integer_test.cc Examining data/aom-1.0.0.errata1/test/aq_segment_test.cc Examining data/aom-1.0.0.errata1/test/arf_freq_test.cc Examining data/aom-1.0.0.errata1/test/av1_convolve_2d_test.cc Examining data/aom-1.0.0.errata1/test/av1_convolve_2d_test_util.cc Examining data/aom-1.0.0.errata1/test/av1_convolve_2d_test_util.h Examining data/aom-1.0.0.errata1/test/av1_convolve_scale_test.cc Examining data/aom-1.0.0.errata1/test/av1_ext_tile_test.cc Examining data/aom-1.0.0.errata1/test/av1_fwd_txfm1d_test.cc Examining data/aom-1.0.0.errata1/test/av1_fwd_txfm2d_test.cc Examining data/aom-1.0.0.errata1/test/av1_highbd_iht_test.cc Examining data/aom-1.0.0.errata1/test/av1_horz_only_frame_superres_test.cc Examining data/aom-1.0.0.errata1/test/av1_inv_txfm1d_test.cc Examining data/aom-1.0.0.errata1/test/av1_inv_txfm2d_test.cc Examining data/aom-1.0.0.errata1/test/av1_quantize_test.cc Examining data/aom-1.0.0.errata1/test/av1_round_shift_array_test.cc Examining data/aom-1.0.0.errata1/test/av1_txfm_test.cc Examining data/aom-1.0.0.errata1/test/av1_txfm_test.h Examining data/aom-1.0.0.errata1/test/av1_wedge_utils_test.cc Examining data/aom-1.0.0.errata1/test/binary_codes_test.cc Examining data/aom-1.0.0.errata1/test/blend_a64_mask_1d_test.cc Examining data/aom-1.0.0.errata1/test/blend_a64_mask_test.cc Examining data/aom-1.0.0.errata1/test/boolcoder_test.cc Examining data/aom-1.0.0.errata1/test/borders_test.cc Examining data/aom-1.0.0.errata1/test/cdef_test.cc Examining data/aom-1.0.0.errata1/test/cfl_test.cc Examining data/aom-1.0.0.errata1/test/clear_system_state.h Examining data/aom-1.0.0.errata1/test/codec_factory.h Examining data/aom-1.0.0.errata1/test/coding_path_sync.cc Examining data/aom-1.0.0.errata1/test/comp_avg_pred_test.cc Examining data/aom-1.0.0.errata1/test/comp_avg_pred_test.h Examining data/aom-1.0.0.errata1/test/comp_mask_variance_test.cc Examining data/aom-1.0.0.errata1/test/convolve_round_test.cc Examining data/aom-1.0.0.errata1/test/convolve_test.cc Examining data/aom-1.0.0.errata1/test/corner_match_test.cc Examining data/aom-1.0.0.errata1/test/cpu_speed_test.cc Examining data/aom-1.0.0.errata1/test/datarate_test.cc Examining data/aom-1.0.0.errata1/test/decode_api_test.cc Examining data/aom-1.0.0.errata1/test/decode_multithreaded_test.cc Examining data/aom-1.0.0.errata1/test/decode_perf_test.cc Examining data/aom-1.0.0.errata1/test/decode_test_driver.cc Examining data/aom-1.0.0.errata1/test/decode_test_driver.h Examining data/aom-1.0.0.errata1/test/divu_small_test.cc Examining data/aom-1.0.0.errata1/test/dr_prediction_test.cc Examining data/aom-1.0.0.errata1/test/ec_test.cc Examining data/aom-1.0.0.errata1/test/encode_api_test.cc Examining data/aom-1.0.0.errata1/test/encode_perf_test.cc Examining data/aom-1.0.0.errata1/test/encode_test_driver.cc Examining data/aom-1.0.0.errata1/test/encode_test_driver.h Examining data/aom-1.0.0.errata1/test/encodetxb_test.cc Examining data/aom-1.0.0.errata1/test/end_to_end_test.cc Examining data/aom-1.0.0.errata1/test/error_block_test.cc Examining data/aom-1.0.0.errata1/test/error_resilience_test.cc Examining data/aom-1.0.0.errata1/test/ethread_test.cc Examining data/aom-1.0.0.errata1/test/fft_test.cc Examining data/aom-1.0.0.errata1/test/film_grain_table_test.cc Examining data/aom-1.0.0.errata1/test/filterintra_test.cc Examining data/aom-1.0.0.errata1/test/frame_size_tests.cc Examining data/aom-1.0.0.errata1/test/function_equivalence_test.h Examining data/aom-1.0.0.errata1/test/fwht4x4_test.cc Examining data/aom-1.0.0.errata1/test/hash_test.cc Examining data/aom-1.0.0.errata1/test/hbd_metrics_test.cc Examining data/aom-1.0.0.errata1/test/hiprec_convolve_test.cc Examining data/aom-1.0.0.errata1/test/hiprec_convolve_test_util.cc Examining data/aom-1.0.0.errata1/test/hiprec_convolve_test_util.h Examining data/aom-1.0.0.errata1/test/horz_superres_test.cc Examining data/aom-1.0.0.errata1/test/i420_video_source.h Examining data/aom-1.0.0.errata1/test/intra_edge_test.cc Examining data/aom-1.0.0.errata1/test/intrabc_test.cc Examining data/aom-1.0.0.errata1/test/intrapred_test.cc Examining data/aom-1.0.0.errata1/test/invalid_file_test.cc Examining data/aom-1.0.0.errata1/test/ivf_video_source.h Examining data/aom-1.0.0.errata1/test/lossless_test.cc Examining data/aom-1.0.0.errata1/test/lpf_test.cc Examining data/aom-1.0.0.errata1/test/masked_sad_test.cc Examining data/aom-1.0.0.errata1/test/masked_variance_test.cc Examining data/aom-1.0.0.errata1/test/md5_helper.h Examining data/aom-1.0.0.errata1/test/monochrome_test.cc Examining data/aom-1.0.0.errata1/test/motion_vector_test.cc Examining data/aom-1.0.0.errata1/test/noise_model_test.cc Examining data/aom-1.0.0.errata1/test/obmc_sad_test.cc Examining data/aom-1.0.0.errata1/test/obmc_variance_test.cc Examining data/aom-1.0.0.errata1/test/onyxc_int_test.cc Examining data/aom-1.0.0.errata1/test/qm_test.cc Examining data/aom-1.0.0.errata1/test/quantize_func_test.cc Examining data/aom-1.0.0.errata1/test/reconinter_test.cc Examining data/aom-1.0.0.errata1/test/register_state_check.h Examining data/aom-1.0.0.errata1/test/resize_test.cc Examining data/aom-1.0.0.errata1/test/sad_test.cc Examining data/aom-1.0.0.errata1/test/scalability_test.cc Examining data/aom-1.0.0.errata1/test/scan_test.cc Examining data/aom-1.0.0.errata1/test/segment_binarization_sync.cc Examining data/aom-1.0.0.errata1/test/selfguided_filter_test.cc Examining data/aom-1.0.0.errata1/test/simd_avx2_test.cc Examining data/aom-1.0.0.errata1/test/simd_cmp_avx2.cc Examining data/aom-1.0.0.errata1/test/simd_cmp_impl.h Examining data/aom-1.0.0.errata1/test/simd_cmp_neon.cc Examining data/aom-1.0.0.errata1/test/simd_cmp_sse2.cc Examining data/aom-1.0.0.errata1/test/simd_cmp_sse4.cc Examining data/aom-1.0.0.errata1/test/simd_cmp_ssse3.cc Examining data/aom-1.0.0.errata1/test/simd_impl.h Examining data/aom-1.0.0.errata1/test/simd_neon_test.cc Examining data/aom-1.0.0.errata1/test/simd_sse2_test.cc Examining data/aom-1.0.0.errata1/test/simd_sse4_test.cc Examining data/aom-1.0.0.errata1/test/simd_ssse3_test.cc Examining data/aom-1.0.0.errata1/test/subtract_test.cc Examining data/aom-1.0.0.errata1/test/sum_squares_test.cc Examining data/aom-1.0.0.errata1/test/superframe_test.cc Examining data/aom-1.0.0.errata1/test/test_intra_pred_speed.cc Examining data/aom-1.0.0.errata1/test/test_libaom.cc Examining data/aom-1.0.0.errata1/test/test_vector_test.cc Examining data/aom-1.0.0.errata1/test/test_vectors.cc Examining data/aom-1.0.0.errata1/test/test_vectors.h Examining data/aom-1.0.0.errata1/test/tile_independence_test.cc Examining data/aom-1.0.0.errata1/test/transform_test_base.h Examining data/aom-1.0.0.errata1/test/util.h Examining data/aom-1.0.0.errata1/test/variance_test.cc Examining data/aom-1.0.0.errata1/test/video_source.h Examining data/aom-1.0.0.errata1/test/warp_filter_test.cc Examining data/aom-1.0.0.errata1/test/warp_filter_test_util.cc Examining data/aom-1.0.0.errata1/test/warp_filter_test_util.h Examining data/aom-1.0.0.errata1/test/webm_video_source.h Examining data/aom-1.0.0.errata1/test/y4m_test.cc Examining data/aom-1.0.0.errata1/test/y4m_video_source.h Examining data/aom-1.0.0.errata1/test/yuv_video_source.h Examining data/aom-1.0.0.errata1/third_party/fastfeat/fast.c Examining data/aom-1.0.0.errata1/third_party/fastfeat/fast.h Examining data/aom-1.0.0.errata1/third_party/fastfeat/fast_9.c Examining data/aom-1.0.0.errata1/third_party/fastfeat/nonmax.c Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-death-test.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-message.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-param-test.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-printers.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-spi.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-test-part.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest-typed-test.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest_pred_impl.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest_prod.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/custom/gtest-port.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/custom/gtest-printers.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/custom/gtest.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-death-test-internal.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-filepath.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-linked_ptr.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util-generated.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port-arch.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-string.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-tuple.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-type-util.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-all.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-death-test.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-filepath.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-internal-inl.h Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-printers.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-test-part.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-typed-test.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc Examining data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest_main.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.h Examining data/aom-1.0.0.errata1/third_party/libwebm/common/hdr_util.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/common/hdr_util.h Examining data/aom-1.0.0.errata1/third_party/libwebm/common/webmids.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxertypes.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvwriter.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvwriter.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.h Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvreader.cc Examining data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvreader.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/basic_types.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/compare.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/convert.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/convert_argb.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/convert_from.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/convert_from_argb.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/cpu_id.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/mjpeg_decoder.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/planar_functions.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/rotate.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/rotate_argb.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/rotate_row.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/row.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/scale.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/scale_argb.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/scale_row.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/version.h Examining data/aom-1.0.0.errata1/third_party/libyuv/include/libyuv/video_common.h Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare_common.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare_gcc.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare_neon.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare_neon64.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/compare_win.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_argb.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_from.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_from_argb.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_jpeg.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_to_argb.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/convert_to_i420.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/mjpeg_decoder.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/mjpeg_validate.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/planar_functions.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_any.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_argb.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_common.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_gcc.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_mips.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_neon.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_neon64.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/rotate_win.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_common.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_gcc.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_mips.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_neon.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_neon64.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/row_win.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_any.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_argb.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_common.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_gcc.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_mips.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_neon.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_neon64.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/scale_win.cc Examining data/aom-1.0.0.errata1/third_party/libyuv/source/video_common.cc Examining data/aom-1.0.0.errata1/third_party/vector/vector.c Examining data/aom-1.0.0.errata1/third_party/vector/vector.h Examining data/aom-1.0.0.errata1/tools/aom_entropy_optimizer.c Examining data/aom-1.0.0.errata1/tools/dump_obu.cc Examining data/aom-1.0.0.errata1/tools/obu_parser.cc Examining data/aom-1.0.0.errata1/tools/obu_parser.h Examining data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc Examining data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_graph.cc Examining data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_graph.h Examining data/aom-1.0.0.errata1/debian/tests/library-build.c FINAL RESULTS: data/aom-1.0.0.errata1/aom/src/aom_codec.c:131:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(info->detail, sz - 1, fmt, ap); data/aom-1.0.0.errata1/aom_ports/msvc.h:19:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/aom-1.0.0.errata1/aom_ports/msvc.h:19:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/aom-1.0.0.errata1/apps/aomenc.c:72: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, s, ap); data/aom-1.0.0.errata1/av1/encoder/encoder.c:2787:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINT(H, T) snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T)) data/aom-1.0.0.errata1/av1/encoder/encoder.c:2790:3: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T), (V)) data/aom-1.0.0.errata1/common/tools_common.c:45:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, ap); \ data/aom-1.0.0.errata1/examples/aom_cx_set_ref.c:154:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/lightfield_encoder.c:113:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/lossless_encoder.c:50:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/scalable_encoder.c:111:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/set_maps.c:111:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/simple_encoder.c:136:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/examples/twopass_encoder.c:111:7: [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(keyframe ? "K" : "."); data/aom-1.0.0.errata1/stats/rate_hist.c:228:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, pat1, bucket[i].low, ""); data/aom-1.0.0.errata1/stats/rate_hist.c:230:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, pat2, bucket[i].low, bucket[i].high); data/aom-1.0.0.errata1/stats/rate_hist.c:232:40: [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. for (j = 0; j < HIST_BAR_MAX; j++) fprintf(stderr, j < len ? "=" : " "); data/aom-1.0.0.errata1/test/test_vector_test.cc:58:21: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. const int res = fscanf(md5_file_, "%s %s", expected_md5, junk); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-death-test-internal.h:165:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(\ data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2369:20: [4] (buffer) StrNCpy: 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). inline const char* StrNCpy(char* dest, const char* src, size_t n) { data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2440:26: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ _snprintf data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2442:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ snprintf data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:146:10: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf _vsnprintf data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:2972:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:2992:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:2999:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:50:6: [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). bool StrCpy(const char* src, char** dst_ptr) { data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:68: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(dst, src); // NOLINT data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:917:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(codec_id_, codec_id); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:934:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(language_, language); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:950:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(name_, name); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:1862:47: [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). bool Chapter::set_id(const char* id) { return StrCpy(id, &id_); } data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:1927: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(NULL, &id_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2025: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(NULL, &title_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2026: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(NULL, &language_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2027: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(NULL, &country_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2031:10: [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). return StrCpy(title, &title_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2035:10: [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). return StrCpy(language, &language_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2039:10: [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). return StrCpy(country, &country_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2303: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(NULL, &tag_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2304: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(NULL, &tag_string_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2308:10: [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). return StrCpy(tag_name, &tag_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2312:10: [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). return StrCpy(tag_string, &tag_string_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2906: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(muxing_app_, temp); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3001:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(temp_str, app); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3019:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(temp_str, app); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3611:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(temp, filename); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3650:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(header, chunking_base_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:4006: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(str, chunking_base_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:4007:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(str, ext_chk); data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.cc:4548: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(dst, src); data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c:20:9: [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. #define getenv(x) NULL data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c:26:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS"); data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c:37:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS_MASK"); data/aom-1.0.0.errata1/aom_ports/ppc_cpudetect.c:25:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS"); data/aom-1.0.0.errata1/aom_ports/ppc_cpudetect.c:36:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS_MASK"); data/aom-1.0.0.errata1/aom_ports/x86.h:153:9: [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. #define getenv(x) NULL data/aom-1.0.0.errata1/aom_ports/x86.h:178:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS"); data/aom-1.0.0.errata1/aom_ports/x86.h:182:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv("AOM_SIMD_CAPS_MASK"); data/aom-1.0.0.errata1/aom_util/aom_thread.h:104:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(mutex); data/aom-1.0.0.errata1/aom_util/aom_thread.h:114:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(mutex); data/aom-1.0.0.errata1/test/cfl_test.cc:105:32: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void randData(I (ACMRandom::*random)()) { data/aom-1.0.0.errata1/test/cfl_test.cc:108:33: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const I d = (this->rnd.*random)(); data/aom-1.0.0.errata1/test/cfl_test.cc:227:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. I (ACMRandom::*random)()) { data/aom-1.0.0.errata1/test/cfl_test.cc:232:36: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. CFLTestWithData<I>::randData(random); data/aom-1.0.0.errata1/test/cfl_test.cc:240:60: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void subsampleSpeedTest(T fun, T fun_ref, I (ACMRandom::*random)()) { data/aom-1.0.0.errata1/test/cfl_test.cc:246:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. CFLTestWithData<I>::randData(random); data/aom-1.0.0.errata1/test/decode_perf_test.cc:133:29: [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 *const env = getenv("LIBAOM_TEST_DATA_PATH"); data/aom-1.0.0.errata1/test/ec_test.cc:31:14: [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. seed_str = getenv("EC_TEST_SEED"); data/aom-1.0.0.errata1/test/ec_test.cc:37:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(seed); data/aom-1.0.0.errata1/test/noise_model_test.cc:14:38: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. double randn(libaom_test::ACMRandom *random, double sigma) { data/aom-1.0.0.errata1/test/noise_model_test.cc:32:42: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void noise_synth(libaom_test::ACMRandom *random, int lag, int n, data/aom-1.0.0.errata1/test/noise_model_test.cc:43:40: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. padded[y * padded_w + x] = randn(random, 1.0); data/aom-1.0.0.errata1/test/noise_model_test.cc:1172:28: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. libaom_test::ACMRandom random; data/aom-1.0.0.errata1/test/noise_model_test.cc:1174:18: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. noise_synth(&random, kLag, kLength, kCoords, kCoeffsY, &noise[0], kWidth, data/aom-1.0.0.errata1/test/noise_model_test.cc:1199:27: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. (x + randn(&random, kStd)) * kScaleNoise, 0, kMaxValue); data/aom-1.0.0.errata1/test/video_source.h:37:33: [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 *const data_path = getenv("LIBAOM_TEST_DATA_PATH"); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/gtest.h:925:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleTests(internal::Random* random); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2408: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* const env = getenv(name); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2411: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); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-internal-inl.h:312:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleRange(internal::Random* random, int begin, int end, data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-internal-inl.h:333:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline void Shuffle(internal::Random* random, std::vector<E>* v) { data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-internal-inl.h:334:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random, 0, static_cast<int>(v->size()), v); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-internal-inl.h:792:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. internal::Random* random() { return &random_; } data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:243:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:261:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::EnterCriticalSection(critical_section_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:293:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:194:44: [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* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:2794:47: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void TestCase::ShuffleTests(internal::Random* random) { data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:2795:11: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. Shuffle(random, &test_indices_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:4628:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random()->Reseed(random_seed_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:4942:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:4945:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), last_death_test_case_ + 1, data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:4950:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. test_cases_[i]->ShuffleTests(random()); data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:24:13: [3] (tmpfile) GetTempFileName: Temporary file race condition in certain cases (e.g., if run as SYSTEM in many versions of Windows) (CWE-377). std::string GetTempFileName() { data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:27:24: [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(std::getenv("TEST_TMPDIR") ? std::getenv("TEST_TMPDIR") : data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:27:53: [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(std::getenv("TEST_TMPDIR") ? std::getenv("TEST_TMPDIR") : data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:48:25: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). char* fname_pointer = tmpnam(tmp_file_name); data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:83:51: [3] (tmpfile) GetTempFileName: Temporary file race condition in certain cases (e.g., if run as SYSTEM in many versions of Windows) (CWE-377). TempFileDeleter::TempFileDeleter() { file_name_ = GetTempFileName(); } data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.h:20:13: [3] (tmpfile) GetTempFileName: Temporary file race condition in certain cases (e.g., if run as SYSTEM in many versions of Windows) (CWE-377). std::string GetTempFileName(); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3071:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(seed_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:619:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(*seed); data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:184: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. const char* var = getenv(name); data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:262:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("LIBYUV_DISABLE_MIPS")) { data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:265:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("LIBYUV_DISABLE_MIPS_DSP")) { data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:268:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("LIBYUV_DISABLE_MIPS_DSPR2")) { data/aom-1.0.0.errata1/aom/aom_encoder.h:179:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pad[128 - sizeof(enum aom_codec_cx_pkt_kind)]; /**< fixed sz */ data/aom-1.0.0.errata1/aom/aom_image.h:173: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 *planes[4]; /**< pointer to the top left pixel for each plane */ data/aom-1.0.0.errata1/aom/internal/aom_codec_internal.h:419: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 detail[80]; data/aom-1.0.0.errata1/aom/src/aom_encoder.c:294: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_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, data/aom-1.0.0.errata1/aom_dsp/add_noise.c:21:44: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 aom_plane_add_noise_c(uint8_t *start, char *noise, char blackclamp[16], data/aom-1.0.0.errata1/aom_dsp/add_noise.c:21:57: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 aom_plane_add_noise_c(uint8_t *start, char *noise, char blackclamp[16], data/aom-1.0.0.errata1/aom_dsp/add_noise.c:22:28: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char whiteclamp[16], char bothclamp[16], data/aom-1.0.0.errata1/aom_dsp/add_noise.c:22:49: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char whiteclamp[16], char bothclamp[16], data/aom-1.0.0.errata1/aom_dsp/add_noise.c:48: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 char_dist[256]; data/aom-1.0.0.errata1/aom_dsp/aom_convolve.c:128: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, w); data/aom-1.0.0.errata1/aom_dsp/aom_convolve.c:235: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, w * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_dsp/buf_ans.c: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(new_buf, c->buf, c->size * sizeof(*c->buf)); data/aom-1.0.0.errata1/aom_dsp/daalaboolwriter.c:27:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(br->buffer, daala_data, daala_bytes); data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:802: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, width * sizeof(uint8_t) * hbd_coeff); data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:813: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, width * sizeof(*src)); data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:833:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&dst16[height * dst16_stride], &dst16[(height - 1) * dst16_stride], data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:843: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[height * dst_stride], &dst[(height - 1) * dst_stride], data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:1101: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(scaling_lut_cb, scaling_lut_y, sizeof(*scaling_lut_y) * 256); data/aom-1.0.0.errata1/aom_dsp/grain_synthesis.c:1102: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(scaling_lut_cr, scaling_lut_y, sizeof(*scaling_lut_y) * 256); data/aom-1.0.0.errata1/aom_dsp/grain_table.c:39: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. static const char kFileMagic[8] = "filmgrn1"; data/aom-1.0.0.errata1/aom_dsp/grain_table.c:259: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 *file = fopen(filename, "rb"); data/aom-1.0.0.errata1/aom_dsp/grain_table.c:269: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 magic[9]; data/aom-1.0.0.errata1/aom_dsp/grain_table.c:301: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 *file = fopen(filename, "wb"); data/aom-1.0.0.errata1/aom_dsp/intrapred.c:29: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, above, bw); data/aom-1.0.0.errata1/aom_dsp/intrapred.c:370: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, above, bw * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_dsp/mips/add_noise_msa.c:16:50: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 aom_plane_add_noise_msa(uint8_t *start_ptr, char *noise, data/aom-1.0.0.errata1/aom_dsp/mips/add_noise_msa.c:17:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char blackclamp[16], char whiteclamp[16], data/aom-1.0.0.errata1/aom_dsp/mips/add_noise_msa.c:17:51: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char blackclamp[16], char whiteclamp[16], data/aom-1.0.0.errata1/aom_dsp/mips/add_noise_msa.c:18:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bothclamp[16], uint32_t width, data/aom-1.0.0.errata1/aom_dsp/mips/aom_convolve_copy_msa.c:241: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, w); data/aom-1.0.0.errata1/aom_dsp/noise_model.c:104:3: [2] (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->A, src->A, sizeof(*dst->A) * n * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c: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(dst->x, src->x, sizeof(*dst->x) * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c:106:3: [2] (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->b, src->b, sizeof(*dst->b) * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c:137:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(A, eqns->A, sizeof(*eqns->A) * n * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c:138:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b, eqns->b, sizeof(*eqns->b) * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c: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(A, old_A, sizeof(*A) * n * n); data/aom-1.0.0.errata1/aom_dsp/noise_model.c:692:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&model->params, ¶ms, sizeof(params)); data/aom-1.0.0.errata1/aom_dsp/psnrhvs.c:117:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 double calc_psnrhvs(const unsigned char *src, int _systride, data/aom-1.0.0.errata1/aom_dsp/psnrhvs.c:118:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *dst, int _dystride, double _par, data/aom-1.0.0.errata1/aom_dsp/variance.c:394: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(comp_pred, ref, width * sizeof(*comp_pred)); data/aom-1.0.0.errata1/aom_dsp/variance.c:985: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(comp_pred, ref, width * sizeof(*comp_pred)); data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c:125:9: [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). fin = fopen("/proc/cpuinfo", "r"); data/aom-1.0.0.errata1/aom_ports/arm_cpudetect.c:130:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[512]; data/aom-1.0.0.errata1/aom_ports/ppc_cpudetect.c:55:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open("/proc/self/auxv", O_RDONLY); data/aom-1.0.0.errata1/aom_scale/generic/aom_scale.c:369: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(temp_area, temp_area + source_band_height * dest_pitch, data/aom-1.0.0.errata1/aom_scale/generic/aom_scale.c:425: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(temp_area + i * dest_pitch, temp_area + (i - 1) * dest_pitch, data/aom-1.0.0.errata1/aom_scale/generic/aom_scale.c:437: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_area, temp_area + source_band_height * dest_pitch, dest_pitch); data/aom-1.0.0.errata1/aom_scale/generic/aom_scale.c:502: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->buffers[plane] + i * dst->strides[is_uv], data/aom-1.0.0.errata1/aom_scale/generic/gen_scalers.c:185:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest, source, dest_width); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:52: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_ptr1, src_ptr1, linesize); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:57: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_ptr2, src_ptr2, linesize); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:93: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_ptr1, src_ptr1, linesize * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:98: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_ptr2, src_ptr2, linesize * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:204:3: [2] (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, num * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:244: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(plane_dst, plane_src, src_bc->widths[is_uv]); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:262: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(dst16, src16, src_ybc->y_width * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:270: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, src_ybc->y_width); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:286: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(dst16, src16, src_bc->uv_width * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:294: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, src_bc->uv_width); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:310: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(dst16, src16, src_bc->uv_width * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:318: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, src_bc->uv_width); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:339: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(dst16, src16, (hend1 - hstart1) * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:349: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, (hend1 - hstart1)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:376: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(dst16, src16, (hend1 - hstart1) * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:387: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, (hend1 - hstart1)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:414: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(dst16, src16, (hend1 - hstart1) * sizeof(uint16_t)); data/aom-1.0.0.errata1/aom_scale/generic/yv12extend.c:425: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, (hend1 - hstart1)); data/aom-1.0.0.errata1/aom_scale/mips/dspr2/yv12extend_dspr2.c:95: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(top_dst, top_src, linesize); data/aom-1.0.0.errata1/aom_scale/mips/dspr2/yv12extend_dspr2.c:100: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(bot_dst, bot_src, linesize); data/aom-1.0.0.errata1/aom_util/debug_util.c:61: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(cdf, cdf_queue[queue_r], *nsymbs * sizeof(*cdf)); data/aom-1.0.0.errata1/aom_util/debug_util.c:70: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(cdf_queue[queue_w], cdf, nsymbs * sizeof(*cdf)); data/aom-1.0.0.errata1/apps/aomdec.c:195: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 raw_hdr[RAW_FRAME_HDR_SZ]; data/aom-1.0.0.errata1/apps/aomdec.c:399: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(q, p, copy_len); data/aom-1.0.0.errata1/apps/aomdec.c:421:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void print_md5(unsigned char digest[16], const char *filename) { data/aom-1.0.0.errata1/apps/aomdec.c:433:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *file = fopen(name, "wb"); data/aom-1.0.0.errata1/apps/aomdec.c:482: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 outfile_name[PATH_MAX] = { 0 }; data/aom-1.0.0.errata1/apps/aomdec.c:488: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 md5_digest[16]; data/aom-1.0.0.errata1/apps/aomdec.c:555:25: [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). framestats_file = fopen(arg.val, "w"); data/aom-1.0.0.errata1/apps/aomdec.c:608:30: [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). infile = strcmp(fn, "-") ? fopen(fn, "rb") : set_binary_mode(stdin); data/aom-1.0.0.errata1/apps/aomdec.c:892: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 y4m_buf[Y4M_BUFFER_SIZE] = { 0 }; data/aom-1.0.0.errata1/apps/aomenc.c:112:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static int file_is_y4m(const char detect[4]) { data/aom-1.0.0.errata1/apps/aomenc.c:119:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 int fourcc_is_ivf(const char detect[4]) { data/aom-1.0.0.errata1/apps/aomenc.c:954:48: [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). input->file = strcmp(input->filename, "-") ? fopen(input->filename, "rb") data/aom-1.0.0.errata1/apps/aomenc.c:1013: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(stream, prev, sizeof(*stream)); data/aom-1.0.0.errata1/apps/aomenc.c:1433:36: [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). stream->file = strcmp(fn, "-") ? fopen(fn, "wb") : set_binary_mode(stdout); data/aom-1.0.0.errata1/apps/aomenc.c:2344:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("opsnr.stt", "a"); data/aom-1.0.0.errata1/av1/av1_dx_iface.c:286:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(si, &ctx->si, sizeof(*si)); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:284:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:287:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:290:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:293:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h: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(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:299:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h: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(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:305:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:313:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:316:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:319:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h: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(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h: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(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:333:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 4); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:342:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 2); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:345:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 2); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:388:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 8); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:391:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 8); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h:394:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&a, buf, 8); data/aom-1.0.0.errata1/av1/common/arm/mem_neon.h: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(&a, buf, 8); data/aom-1.0.0.errata1/av1/common/arm/wiener_convolve_neon.c: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(&filter_x_tmp[0], filter_x, sizeof(*filter_x) * FILTER_BITS); data/aom-1.0.0.errata1/av1/common/arm/wiener_convolve_neon.c: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(&filter_y_tmp[0], filter_y, sizeof(*filter_y) * FILTER_BITS); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:199: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(cfg->stage_range_col, iadst4_range, sizeof(iadst4_range)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:203: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(cfg->stage_range_row, iadst4_range, sizeof(iadst4_range)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:418: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(mod_input + row * 64, input + row * 32, 32 * sizeof(*mod_input)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:434: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(mod_input + row * 64, input + row * 32, 32 * sizeof(*mod_input)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:448:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mod_input, input, 32 * 32 * sizeof(*mod_input)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:461:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mod_input, input, 16 * 32 * sizeof(*mod_input)); data/aom-1.0.0.errata1/av1/common/av1_inv_txfm2d.c:475: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(mod_input + row * 64, input + row * 32, 32 * sizeof(*mod_input)); data/aom-1.0.0.errata1/av1/common/cfl.c:49:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->cfl.dc_pred_cache[pred_plane], input_16, width << 1); data/aom-1.0.0.errata1/av1/common/cfl.c:53:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->cfl.dc_pred_cache[pred_plane], input, width); data/aom-1.0.0.errata1/av1/common/cfl.c:59:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, dc_pred_cache, width); data/aom-1.0.0.errata1/av1/common/cfl.c:68: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, dc_pred_cache, num_bytes); data/aom-1.0.0.errata1/av1/common/common.h:35: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(dest, src, sizeof(src)); \ data/aom-1.0.0.errata1/av1/common/common.h:42: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(dest, src, n * sizeof(*(src))); \ data/aom-1.0.0.errata1/av1/common/convolve.c:199: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 + y * dst_stride, src + y * src_stride, w * sizeof(src[0])); data/aom-1.0.0.errata1/av1/common/convolve.c:545: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 + y * dst_stride, src + y * src_stride, w * sizeof(src[0])); data/aom-1.0.0.errata1/av1/common/debugmodes.c:39:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. fprintf(file, "%2d ", *((char *)((char *)(mi[0]) + member_offset))); data/aom-1.0.0.errata1/av1/common/debugmodes.c:39:41: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. fprintf(file, "%2d ", *((char *)((char *)(mi[0]) + member_offset))); data/aom-1.0.0.errata1/av1/common/debugmodes.c:51:15: [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 *mvs = fopen(file, "a"); data/aom-1.0.0.errata1/av1/common/debugmodes.c:94:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *hdrFile = fopen(filename, "w"); data/aom-1.0.0.errata1/av1/common/debugmodes.c:100:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fcFile = fopen(filename, "w"); data/aom-1.0.0.errata1/av1/common/odintrin.h:78:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (memcpy((dst), (src), sizeof(*(dst)) * (n) + 0 * ((dst) - (src)))) data/aom-1.0.0.errata1/av1/common/onyxc_int.h:718: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(xd->plane[i].seg_dequant_QTX, cm->y_dequant_QTX, data/aom-1.0.0.errata1/av1/common/onyxc_int.h:720: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(xd->plane[i].seg_iqmatrix, cm->y_iqmatrix, sizeof(cm->y_iqmatrix)); data/aom-1.0.0.errata1/av1/common/onyxc_int.h:724: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(xd->plane[i].seg_dequant_QTX, cm->u_dequant_QTX, data/aom-1.0.0.errata1/av1/common/onyxc_int.h:726: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(xd->plane[i].seg_iqmatrix, cm->u_iqmatrix, data/aom-1.0.0.errata1/av1/common/onyxc_int.h:729: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(xd->plane[i].seg_dequant_QTX, cm->v_dequant_QTX, data/aom-1.0.0.errata1/av1/common/onyxc_int.h:731: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(xd->plane[i].seg_iqmatrix, cm->v_iqmatrix, data/aom-1.0.0.errata1/av1/common/reconinter.c:51: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(final_warp_params, &mbmi->wm_params[0], data/aom-1.0.0.errata1/av1/common/reconinter.c:56: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(final_warp_params, gm_params, sizeof(*final_warp_params)); data/aom-1.0.0.errata1/av1/common/reconinter.c:121:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst + shift, src, width - shift); data/aom-1.0.0.errata1/av1/common/reconinter.c:125: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 + shift, width - shift); data/aom-1.0.0.errata1/av1/common/reconinter.c:437: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(&wedge_mask_obl[0][WEDGE_VERTICAL][i * stride], data/aom-1.0.0.errata1/av1/common/reconinter.c:440: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(&wedge_mask_obl[0][WEDGE_VERTICAL][(i + 1) * stride], data/aom-1.0.0.errata1/av1/common/reconintra.c:851:3: [2] (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[0], &above[-1], (bw + 1) * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/common/reconintra.c:879: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, &buffer[r + 1][1], bw * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/common/reconintra.c:901:3: [2] (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[0], &above[-1], (bw + 1) * sizeof(buffer[0][0])); data/aom-1.0.0.errata1/av1/common/reconintra.c:930: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, &buffer[r + 1][1], bw * sizeof(dst[0])); data/aom-1.0.0.errata1/av1/common/reconintra.c:1017:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(edge, p, sz * sizeof(*p)); data/aom-1.0.0.errata1/av1/common/reconintra.c:1050:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(edge, p, sz * sizeof(*p)); data/aom-1.0.0.errata1/av1/common/reconintra.c:1222: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(above_row, above_ref, n_top_px * sizeof(above_ref[0])); data/aom-1.0.0.errata1/av1/common/reconintra.c:1226: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(above_row + txwpx, above_ref + txwpx, data/aom-1.0.0.errata1/av1/common/reconintra.c:1407: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(above_row, above_ref, n_top_px); data/aom-1.0.0.errata1/av1/common/reconintra.c:1411: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(above_row + txwpx, above_ref + txwpx, n_topright_px); data/aom-1.0.0.errata1/av1/common/resize.c:509: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(output, input, sizeof(output[0]) * length); data/aom-1.0.0.errata1/av1/common/resize.c:616: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(tmp_left + i * border_cols, in_tl + i * in_stride, border_cols); data/aom-1.0.0.errata1/av1/common/resize.c:624: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(tmp_right + i * border_cols, in_tr + i * in_stride, border_cols); data/aom-1.0.0.errata1/av1/common/resize.c:637: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(in_tl + i * in_stride, tmp_left + i * border_cols, border_cols); data/aom-1.0.0.errata1/av1/common/resize.c:643: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(in_tr + i * in_stride, tmp_right + i * border_cols, border_cols); data/aom-1.0.0.errata1/av1/common/resize.c:855: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(output, input, sizeof(output[0]) * length); data/aom-1.0.0.errata1/av1/common/resize.c:966: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(tmp_left + i * border_cols, in_tl + i * in_stride, border_size); data/aom-1.0.0.errata1/av1/common/resize.c:974: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(tmp_right + i * border_cols, in_tr + i * in_stride, border_size); data/aom-1.0.0.errata1/av1/common/resize.c:988: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(in_tl + i * in_stride, tmp_left + i * border_cols, border_size); data/aom-1.0.0.errata1/av1/common/resize.c:994: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(in_tr + i * in_stride, tmp_right + i * border_cols, border_size); data/aom-1.0.0.errata1/av1/common/restoration.c:148: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(data_p + i * stride, data_p, width + 2 * border_horz); data/aom-1.0.0.errata1/av1/common/restoration.c:151: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(data_p + i * stride, data_p + (height - 1) * stride, data/aom-1.0.0.errata1/av1/common/restoration.c:167: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(data_p + i * stride, data_p, data/aom-1.0.0.errata1/av1/common/restoration.c:171: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(data_p + i * stride, data_p + (height - 1) * stride, data/aom-1.0.0.errata1/av1/common/restoration.c:188: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 + i * dst_stride, src + i * src_stride, width); data/aom-1.0.0.errata1/av1/common/restoration.c:194: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 + i * dst_stride, src + i * src_stride, width * sizeof(*dst)); data/aom-1.0.0.errata1/av1/common/restoration.c:311: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(rlbs->tmp_save_above[i + RESTORATION_BORDER], data/aom-1.0.0.errata1/av1/common/restoration.c:313: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(REAL_PTR(use_highbd, dst8), buf, line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:332: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(rlbs->tmp_save_below[i], REAL_PTR(use_highbd, dst8), line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:333: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(REAL_PTR(use_highbd, dst8), src, line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:343: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(rlbs->tmp_save_above[0], REAL_PTR(use_highbd, dst8), line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:344: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(REAL_PTR(use_highbd, dst8), data/aom-1.0.0.errata1/av1/common/restoration.c:357: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(rlbs->tmp_save_below[2], REAL_PTR(use_highbd, dst8), line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:358: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(REAL_PTR(use_highbd, dst8), data/aom-1.0.0.errata1/av1/common/restoration.c:392: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(REAL_PTR(use_highbd, dst8), data/aom-1.0.0.errata1/av1/common/restoration.c:405: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(REAL_PTR(use_highbd, dst8), rlbs->tmp_save_below[i], line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:414: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(REAL_PTR(use_highbd, dst8), rlbs->tmp_save_above[0], line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:424: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(REAL_PTR(use_highbd, dst8), rlbs->tmp_save_below[2], line_size); data/aom-1.0.0.errata1/av1/common/restoration.c:1487: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(bdry_rows + i * bdry_stride, src_rows + i * src_stride, data/aom-1.0.0.errata1/av1/common/restoration.c:1493: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(bdry_rows + bdry_stride, bdry_rows, line_bytes); data/aom-1.0.0.errata1/av1/common/restoration.c:1528: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(bdry_rows + i * bdry_stride, src_rows, line_bytes); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_avx2.c:200: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_avx2.c:203: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_avx2.c:210: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, src, 4 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_avx2.c:213: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, src, 4 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_sse2.c:259: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_sse2.c:262: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_sse2.c:269: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, src, 4 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/convolve_2d_sse2.c:272: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, src, 4 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/filterintra_sse4.c:35:3: [2] (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[0], &above[-1], (bw + 1) * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/common/x86/filterintra_sse4.c:47: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(p, &buffer[r - 1][c - 1], 5 * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/common/x86/filterintra_sse4.c:72:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, &buffer[r + 1][1], bw * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_avx2.c:242: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/common/x86/highbd_convolve_2d_avx2.c:245: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, src, 2 * sizeof(*src)); data/aom-1.0.0.errata1/av1/decoder/accounting.h:45: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 *(strs[MAX_SYMBOL_TYPES]); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:153:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dqcoeff, pd->dqcoeff_block + xd->cb_offset[plane], data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:336: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(&xd->mi[idx], &xd->mi[0], x_mis * sizeof(xd->mi[0])); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:412: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 (copy) memcpy(dst + left, ref_row + x + left, copy * sizeof(uint16_t)); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:448: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 (copy) memcpy(dst + left, ref_row + x + left, copy); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1721:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ref_wiener_info, wiener_info, sizeof(*wiener_info)); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1757:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ref_sgrproj_info, sgrproj_info, sizeof(*sgrproj_info)); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1816: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(lf->ref_deltas, cm->prev_frame->ref_deltas, REF_FRAMES); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1817: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(lf->mode_deltas, cm->prev_frame->mode_deltas, MAX_MODE_LF_DELTAS); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1851:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cm->cur_frame->ref_deltas, lf->ref_deltas, REF_FRAMES); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:1852:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cm->cur_frame->mode_deltas, lf->mode_deltas, MAX_MODE_LF_DELTAS); data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:3240:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cm->cur_frame->film_grain_params, &cm->film_grain_params, data/aom-1.0.0.errata1/av1/decoder/decodeframe.c:3570:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cm->cur_frame->global_motion, cm->global_motion, data/aom-1.0.0.errata1/av1/decoder/decodemv.c:495: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(pmi->palette_colors, cached_colors, n * sizeof(cached_colors[0])); data/aom-1.0.0.errata1/av1/decoder/decodemv.c:530: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(pmi->palette_colors + PALETTE_MAX_SIZE, cached_colors, data/aom-1.0.0.errata1/av1/decoder/detokenize.c:60:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(color_map + i * plane_block_width, data/aom-1.0.0.errata1/av1/decoder/dthread.c:178:3: [2] (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_cm->lf_info.lfthr, src_cm->lf_info.lfthr, data/aom-1.0.0.errata1/av1/decoder/dthread.c:183:3: [2] (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_cm->lf.ref_deltas, src_cm->lf.ref_deltas, REF_FRAMES); data/aom-1.0.0.errata1/av1/decoder/dthread.c:184:3: [2] (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_cm->lf.mode_deltas, src_cm->lf.mode_deltas, MAX_MODE_LF_DELTAS); data/aom-1.0.0.errata1/av1/decoder/dthread.c:186:3: [2] (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_cm->frame_contexts, src_cm->frame_contexts, data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm2d.c:251: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(output + row * 32, output + row * 64, 32 * sizeof(*output)); data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm2d.c:279: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(output + row * 32, output + row * 64, 32 * sizeof(*output)); data/aom-1.0.0.errata1/av1/encoder/av1_fwd_txfm2d.c:306: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(output + row * 32, output + row * 64, 32 * sizeof(*output)); data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:645:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&xd->plane[0].seg_qmatrix[segment_id], cm->gqmatrix[qmlevel][0], data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:647:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&xd->plane[0].seg_iqmatrix[segment_id], cm->giqmatrix[qmlevel][0], data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:663: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(&xd->plane[1].seg_qmatrix[segment_id], cm->gqmatrix[qmlevel][1], data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:665: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(&xd->plane[1].seg_iqmatrix[segment_id], cm->giqmatrix[qmlevel][1], data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:682: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(&xd->plane[2].seg_qmatrix[segment_id], cm->gqmatrix[qmlevel][2], data/aom-1.0.0.errata1/av1/encoder/av1_quantize.c:684: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(&xd->plane[2].seg_iqmatrix[segment_id], cm->giqmatrix[qmlevel][2], data/aom-1.0.0.errata1/av1/encoder/bitstream.c:1841:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ref_wiener_info, wiener_info, sizeof(*wiener_info)); data/aom-1.0.0.errata1/av1/encoder/bitstream.c:1872:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ref_sgrproj_info, sgrproj_info, sizeof(*sgrproj_info)); data/aom-1.0.0.errata1/av1/encoder/bitstream.c:1961: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(last_ref_deltas, cm->buffer_pool->frame_bufs[buf_idx].ref_deltas, data/aom-1.0.0.errata1/av1/encoder/bitstream.c:1975: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(last_mode_deltas, data/aom-1.0.0.errata1/av1/encoder/bitstream.c:2889:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(frame_refs_copy, cm->frame_refs, data/aom-1.0.0.errata1/av1/encoder/bitstream.c:2925: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(cm->frame_refs, frame_refs_copy, data/aom-1.0.0.errata1/av1/encoder/bitstream.c:3645:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fn[20] = "./fh"; data/aom-1.0.0.errata1/av1/encoder/bitstream.c:3872: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(data, fh_info->frame_header, fh_info->total_length); data/aom-1.0.0.errata1/av1/encoder/block.h:357:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char LUT[BLOCK_SIZES_ALL] = { data/aom-1.0.0.errata1/av1/encoder/context_tree.c: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(dst_ctx->blk_skip, src_ctx->blk_skip, data/aom-1.0.0.errata1/av1/encoder/context_tree.c:210:3: [2] (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_ctx->pred_mv, src_ctx->pred_mv, sizeof(MV) * REF_FRAMES); data/aom-1.0.0.errata1/av1/encoder/corner_detect.c:31: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(points, frm_corners_xy, sizeof(*frm_corners_xy) * num_points); data/aom-1.0.0.errata1/av1/encoder/dwt.c:90: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(buffer, &c[i * pitch_c], nw * sizeof(tran_low_t)); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c: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(x->blk_skip, ctx->blk_skip, sizeof(x->blk_skip[0]) * ctx->num_4x4_blk); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1349: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(xd->above_context[p] + (tx_col >> xd->plane[p].subsampling_x), data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1353: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(xd->left_context[p] + (tx_row >> xd->plane[p].subsampling_y), data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1358:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->above_seg_context + mi_col, ctx->sa, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1360:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->left_seg_context + (mi_row & MAX_MIB_MASK), ctx->sl, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1364:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->above_txfm_context, ctx->ta, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1366:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->left_txfm_context, ctx->tl, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1386: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(ctx->a + num_4x4_blocks_wide * p, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1390: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(ctx->l + num_4x4_blocks_high * p, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1395:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->sa, xd->above_seg_context + mi_col, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1397:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->sl, xd->left_seg_context + (mi_row & MAX_MIB_MASK), data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1399:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->ta, xd->above_txfm_context, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:1401:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->tl, xd->left_txfm_context, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:2164:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->pred_mv, x->pred_mv, sizeof(x->pred_mv)); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4500: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(cm->lf.ref_deltas, cm->prev_frame->ref_deltas, REF_FRAMES); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4501: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(cm->lf.mode_deltas, cm->prev_frame->mode_deltas, MAX_MODE_LF_DELTAS); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c: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(cm->cur_frame->ref_deltas, cm->lf.ref_deltas, REF_FRAMES); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c: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(cm->cur_frame->mode_deltas, cm->lf.mode_deltas, MAX_MODE_LF_DELTAS); data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4540:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cm->global_motion[frame], &cm->global_motion[pframe], data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4561: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(params_by_motion + (MAX_PARAMDIM - 1) * i, kIdentityParams, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4588: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(&(cm->global_motion[frame]), &tmp_wm_params, data/aom-1.0.0.errata1/av1/encoder/encodeframe.c:4630:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cm->cur_frame->global_motion, cm->global_motion, data/aom-1.0.0.errata1/av1/encoder/encoder.c:2519:22: [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). yuv_skinmap_file = fopen("skinmap.yuv", "ab"); data/aom-1.0.0.errata1/av1/encoder/encoder.c:2522:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). yuv_rec_file = fopen("rec.yuv", "wb"); data/aom-1.0.0.errata1/av1/encoder/encoder.c:2807:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("counts.stt", "wb"); data/aom-1.0.0.errata1/av1/encoder/encoder.c:2816:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char headings[512] = { 0 }; data/aom-1.0.0.errata1/av1/encoder/encoder.c:2817:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char results[512] = { 0 }; data/aom-1.0.0.errata1/av1/encoder/encoder.c:2818:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("opsnr.stt", "a"); data/aom-1.0.0.errata1/av1/encoder/encoder.c:3233:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((f_ref = fopen(file_name, "wb")) == NULL) { data/aom-1.0.0.errata1/av1/encoder/encoder.c:3263:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char file_name[256] = ""; data/aom-1.0.0.errata1/av1/encoder/encoder.c:3284: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(cpi->interp_filter_selected[ref_frame + LAST_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3393: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(cpi->interp_filter_selected[LAST_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3403: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(cpi->interp_filter_selected[ALTREF_FRAME + which_arf], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3414: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(cpi->interp_filter_selected[GOLDEN_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3425: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(cpi->interp_filter_selected[BWDREF_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3436: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(cpi->interp_filter_selected[ALTREF2_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3485: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(cpi->interp_filter_selected[LAST_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:3504: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(cpi->interp_filter_selected[LAST_FRAME], data/aom-1.0.0.errata1/av1/encoder/encoder.c:4669: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 file_name[256] = "/tmp/enc_filtered_recon.yuv"; data/aom-1.0.0.errata1/av1/encoder/encoder.c:4673: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). if ((f_recon = fopen(file_name, "wb")) == NULL) { data/aom-1.0.0.errata1/av1/encoder/encoder.c:4678: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). if ((f_recon = fopen(file_name, "ab")) == NULL) { data/aom-1.0.0.errata1/av1/encoder/encoder.c:5036: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(cm->current_frame_seg_map, cm->last_frame_seg_map, data/aom-1.0.0.errata1/av1/encoder/encoder.c:5402:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("q_used.stt", "a"); data/aom-1.0.0.errata1/av1/encoder/encoder.c:5959:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fn[20] = "./fc"; data/aom-1.0.0.errata1/av1/encoder/encodetxb.c:1907:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tcoeff, qcoeff, sizeof(*tcoeff) * seg_eob); data/aom-1.0.0.errata1/av1/encoder/ethread.c:146: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(thread_data->td->counts, &cpi->counts, sizeof(cpi->counts)); data/aom-1.0.0.errata1/av1/encoder/extend.c:33:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst_ptr1 + extend_left, src_ptr1, w); data/aom-1.0.0.errata1/av1/encoder/extend.c:50: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_ptr1, src_ptr1, linesize); data/aom-1.0.0.errata1/av1/encoder/extend.c:55: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_ptr2, src_ptr2, linesize); data/aom-1.0.0.errata1/av1/encoder/extend.c:76: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_ptr1 + extend_left, src_ptr1, w * sizeof(src_ptr1[0])); data/aom-1.0.0.errata1/av1/encoder/extend.c:93: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_ptr1, src_ptr1, linesize * sizeof(src_ptr1[0])); data/aom-1.0.0.errata1/av1/encoder/extend.c:98: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_ptr2, src_ptr2, linesize * sizeof(src_ptr2[0])); data/aom-1.0.0.errata1/av1/encoder/firstpass.c:112: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). fpfile = fopen("firstpass.stt", "a"); data/aom-1.0.0.errata1/av1/encoder/firstpass.c:1085:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char filename[512]; data/aom-1.0.0.errata1/av1/encoder/firstpass.c:1091: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). recon_file = fopen(filename, "wb"); data/aom-1.0.0.errata1/av1/encoder/firstpass.c:1093: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). recon_file = fopen(filename, "ab"); data/aom-1.0.0.errata1/av1/encoder/firstpass.c:3517: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). fpfile = fopen("arf.stt", "a"); data/aom-1.0.0.errata1/av1/encoder/firstpass.h:122: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 arf_src_offset[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:123: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 arf_update_idx[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:124: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 arf_ref_idx[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:125: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 brf_src_offset[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:126: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 bidir_pred_enabled[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:127: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 ref_fb_idx_map[(MAX_LAG_BUFFERS * 2) + 1][REF_FRAMES]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:128: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 refresh_idx[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/firstpass.h:129: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 refresh_flag[(MAX_LAG_BUFFERS * 2) + 1]; data/aom-1.0.0.errata1/av1/encoder/k_means_template.h:70: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(centroids + i * AV1_K_MEANS_DIM, data/aom-1.0.0.errata1/av1/encoder/k_means_template.h:103: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(pre_centroids, centroids, data/aom-1.0.0.errata1/av1/encoder/k_means_template.h:105: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(pre_indices, indices, sizeof(pre_indices[0]) * n); data/aom-1.0.0.errata1/av1/encoder/k_means_template.h:112: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(centroids, pre_centroids, data/aom-1.0.0.errata1/av1/encoder/k_means_template.h:114: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(indices, pre_indices, sizeof(pre_indices[0]) * n); data/aom-1.0.0.errata1/av1/encoder/mathutils.h:339: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(&(nrU[i][0]), matx + N * i, N * sizeof(*matx)); data/aom-1.0.0.errata1/av1/encoder/mcomp.c:962: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(pts, pts0, total_samples * 2 * sizeof(*pts0)); data/aom-1.0.0.errata1/av1/encoder/mcomp.c:963: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(pts_inref, pts_inref0, total_samples * 2 * sizeof(*pts_inref0)); data/aom-1.0.0.errata1/av1/encoder/mcomp.c:1731: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. unsigned char const *block_offset[4]; data/aom-1.0.0.errata1/av1/encoder/pickrst.c:756: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(a, S, wiener_win * sizeof(*a)); data/aom-1.0.0.errata1/av1/encoder/pickrst.c:805: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(b, S, wiener_win * sizeof(*b)); data/aom-1.0.0.errata1/av1/encoder/ransac.c:507: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(worst_kept_motion->inlier_indices, current_motion.inlier_indices, data/aom-1.0.0.errata1/av1/encoder/rd.c: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(t_above, above, sizeof(ENTROPY_CONTEXT) * num_4x4_w); data/aom-1.0.0.errata1/av1/encoder/rd.c: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(t_left, left, sizeof(ENTROPY_CONTEXT) * num_4x4_h); data/aom-1.0.0.errata1/av1/encoder/rd.c:1009:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(rd->thresh_mult_sub8x8, thresh_mult, sizeof(thresh_mult)); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:2030: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(cur_hash_row, cur_diff_row, sizeof(*diff) * txb_w); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:2209: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 *fout = fopen(output_file, "a"); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:2301: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 *fout = fopen(output_file, "a"); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3072: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(best_txk_type, mbmi->txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3074: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(best_blk_skip, x->blk_skip, sizeof(best_blk_skip[0]) * n4); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3082:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mbmi->txk_type, best_txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3084:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, best_blk_skip, sizeof(best_blk_skip[0]) * n4); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3289: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(color_map + j * new_width, color_map + (orig_height - 1) * new_width, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3363:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(best_palette_color_map, color_map, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3366: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(blk_skip, x->blk_skip, sizeof(x->blk_skip[0]) * ctx->num_4x4_blk); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3491: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(color_map, best_palette_color_map, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3538: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(best_txk_type, mbmi->txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3540: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3554: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(mbmi->txk_type, best_txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3593: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(best_txk_type, mbmi->txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3595: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(best_blk_skip, x->blk_skip, sizeof(best_blk_skip[0]) * n4); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3666:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mbmi->txk_type, best_txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3668:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, best_blk_skip, sizeof(best_blk_skip[0]) * n4); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3840: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:3940: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4370: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(av1_tx_size_data_output_file, "a"); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4458: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(tx_above, xd->above_txfm_context, sizeof(TXFM_CONTEXT) * mi_width); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4459: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(tx_left, xd->left_txfm_context, sizeof(TXFM_CONTEXT) * mi_height); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4673: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(tx_above, xd->above_txfm_context, sizeof(TXFM_CONTEXT) * mi_width); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4674: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(tx_left, xd->left_txfm_context, sizeof(TXFM_CONTEXT) * mi_height); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4738:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tx_rd_info->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4750:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, tx_rd_info->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:4836: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(cur_hash_row, cur_diff_row, sizeof(*hash_data) * cur_tx_bw); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:5347: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(best_palette_color_map, color_map, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:5358: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(color_map, best_palette_color_map, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:7531: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(pts, pts0, total_samples * 2 * sizeof(*pts0)); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:7532: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(pts_inref, pts_inref0, total_samples * 2 * sizeof(*pts_inref0)); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:7936: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(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:7954:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, best_blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8410: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(tmp_best_mask_buf, xd->seg_mask, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8433: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(xd->seg_mask, tmp_best_mask_buf, 2 * num_pix * sizeof(uint8_t)); data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8536: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(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8560: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(x->blk_skip, best_blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8731: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(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8748: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(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8756:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, best_blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8791: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(x->blk_skip, ctx->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:8824: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9107: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9349:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x->blk_skip, best_blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9352:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(color_map, best_palette_color_map, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9375: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(pmi->palette_colors + PALETTE_MAX_SIZE, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9403: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(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9663:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9671: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(best_txk_type, mbmi->txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9700: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(best_txk_type, mbmi->txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9702: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(best_blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9712: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(mbmi->txk_type, best_txk_type, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9714: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(x->blk_skip, best_blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:9746: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(pmi->palette_colors + PALETTE_MAX_SIZE, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:10018: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(x->blk_skip_drl, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:10093: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(x->blk_skip_drl, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:10101: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(x->blk_skip, x->blk_skip_drl, data/aom-1.0.0.errata1/av1/encoder/rdopt.c:10142:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->blk_skip, x->blk_skip, data/aom-1.0.0.errata1/av1/encoder/speed_features.c:36:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char good_quality_max_mesh_pct[MAX_MESH_SPEED + 1] = { data/aom-1.0.0.errata1/common/args.c:54:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024 * 10]; data/aom-1.0.0.errata1/common/args.c:55:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen(file, "r"); data/aom-1.0.0.errata1/common/args.c: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(new_argv, argv, argc * sizeof(*argv)); data/aom-1.0.0.errata1/common/args.c:152: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 option_text[40] = { 0 }; data/aom-1.0.0.errata1/common/ivfdec.c:32: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 raw_hdr[32]; data/aom-1.0.0.errata1/common/ivfdec.c:66: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 raw_header[IVF_FRAME_HDR_SZ] = { 0 }; data/aom-1.0.0.errata1/common/ivfenc.c:19: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[32]; data/aom-1.0.0.errata1/common/ivfenc.c: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 header[12]; data/aom-1.0.0.errata1/common/ivfenc.c:48: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[4]; data/aom-1.0.0.errata1/common/md5_utils.c:75: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((md5byte *)ctx->in + 64 - t, buf, len); data/aom-1.0.0.errata1/common/md5_utils.c:80:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((md5byte *)ctx->in + 64 - t, buf, t); data/aom-1.0.0.errata1/common/md5_utils.c:88: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(ctx->in, buf, 64); data/aom-1.0.0.errata1/common/md5_utils.c:96:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ctx->in, buf, len); data/aom-1.0.0.errata1/common/md5_utils.c:130:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(digest, ctx->buf, 16); data/aom-1.0.0.errata1/common/md5_utils.h:42:24: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 MD5Final(unsigned char digest[16], struct MD5Context *context); data/aom-1.0.0.errata1/common/obudec.c:345:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(obu_ctx->buffer, &detect_buf[0], bytes_read); data/aom-1.0.0.errata1/common/obudec.c:452: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, obu_ctx->buffer, tu_size); data/aom-1.0.0.errata1/common/obudec.c:465: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, &tuheader[0], length_of_temporal_unit_size); data/aom-1.0.0.errata1/common/obudec.c:468: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, obu_ctx->buffer, obu_ctx->bytes_buffered); data/aom-1.0.0.errata1/common/tools_common.c:115:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, detect->buf + detect->position, more); data/aom-1.0.0.errata1/common/tools_common.h:88: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/aom-1.0.0.errata1/common/video_reader.c:33:22: [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 *const file = fopen(filename, "rb"); data/aom-1.0.0.errata1/common/video_writer.c:40: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 *const file = fopen(filename, "wb"); data/aom-1.0.0.errata1/common/y4minput.c:100: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(_y4m->chroma_type, p + 1, q - p - 1); data/aom-1.0.0.errata1/common/y4minput.c:112:20: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (!got_chroma) strcpy(_y4m->chroma_type, "420"); data/aom-1.0.0.errata1/common/y4minput.c:782: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[80] = { 0 }; data/aom-1.0.0.errata1/common/y4minput.c:1082: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 frame[6]; data/aom-1.0.0.errata1/common/y4minput.h:43: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 chroma_type[16]; data/aom-1.0.0.errata1/debian/tests/library-build.c:89:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(new_head->buf, packet->data.frame.buf, packet->data.frame.sz); data/aom-1.0.0.errata1/examples/analyzer.cc:58: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). bool open(const wxString &path); data/aom-1.0.0.errata1/examples/analyzer.cc:82:18: [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). bool AV1Decoder::open(const wxString &path) { data/aom-1.0.0.errata1/examples/analyzer.cc:199: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). bool open(const wxString &path); data/aom-1.0.0.errata1/examples/analyzer.cc:407: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). bool AnalyzerPanel::open(const wxString &path) { data/aom-1.0.0.errata1/examples/analyzer.cc:408:16: [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 (!decoder.open(path)) { data/aom-1.0.0.errata1/examples/analyzer.cc:491: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). bool open(const wxString &path); data/aom-1.0.0.errata1/examples/analyzer.cc:582: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(openFileDialog.GetPath()); data/aom-1.0.0.errata1/examples/analyzer.cc:645: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). bool AnalyzerFrame::open(const wxString &path) { data/aom-1.0.0.errata1/examples/analyzer.cc:647: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 (panel->open(path)) { data/aom-1.0.0.errata1/examples/analyzer.cc:713: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). return frame->open(parser.GetParam(0)); data/aom-1.0.0.errata1/examples/aom_cx_set_ref.c:296:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(infile_arg, "rb"))) data/aom-1.0.0.errata1/examples/decode_to_md5.c:43:60: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void get_image_md5(const aom_image_t *img, unsigned char digest[16]) { data/aom-1.0.0.errata1/examples/decode_to_md5.c:64:46: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void print_md5(FILE *stream, unsigned char digest[16]) { data/aom-1.0.0.errata1/examples/decode_to_md5.c:92:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile = fopen(argv[2], "wb"))) data/aom-1.0.0.errata1/examples/decode_to_md5.c:115:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[16]; data/aom-1.0.0.errata1/examples/decode_with_drops.c:91:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile = fopen(argv[2], "wb"))) data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c:172: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(tl, (uint8_t *)tile_data.coded_tile_data, data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c:276: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(frames[f], frame, frame_size); data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c:312: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(frame_hdr_buf, frame, bytes_to_copy); data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c:352:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/aom-1.0.0.errata1/examples/lightfield_bitstream_parsing.c:353:26: [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 *tile_list_fptr = fopen(tile_list_file, "r"); data/aom-1.0.0.errata1/examples/lightfield_decoder.c:87: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_buf, src_buf, w); data/aom-1.0.0.errata1/examples/lightfield_decoder.c:180:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile = fopen(argv[2], "wb"))) data/aom-1.0.0.errata1/examples/lightfield_decoder.c:238:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[1024]; data/aom-1.0.0.errata1/examples/lightfield_decoder.c:241: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 *ref_file = fopen(name, "wb"); data/aom-1.0.0.errata1/examples/lightfield_decoder.c:270: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(frames[f], frame, frame_size); data/aom-1.0.0.errata1/examples/lightfield_decoder.c: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 line[1024]; data/aom-1.0.0.errata1/examples/lightfield_decoder.c:286:26: [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 *tile_list_fptr = fopen(tile_list_file, "r"); data/aom-1.0.0.errata1/examples/lightfield_encoder.c:87: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((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); data/aom-1.0.0.errata1/examples/lightfield_encoder.c:481:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(infile_arg, "rb"))) data/aom-1.0.0.errata1/examples/lightfield_tile_list_decoder.c:121:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile = fopen(argv[2], "wb"))) data/aom-1.0.0.errata1/examples/lightfield_tile_list_decoder.c:180:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[1024]; data/aom-1.0.0.errata1/examples/lightfield_tile_list_decoder.c:183: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 *ref_file = fopen(name, "wb"); data/aom-1.0.0.errata1/examples/lossless_encoder.c:110:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(argv[3], "rb"))) data/aom-1.0.0.errata1/examples/noise_model.c:138: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). noise_args->width = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:140:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). noise_args->height = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:148:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). noise_args->block_size = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:150:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). noise_args->bit_depth = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:152:43: [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). noise_args->run_flat_block_finder = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:162:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). noise_args->skip_frames = atoi(arg.val); data/aom-1.0.0.errata1/examples/noise_model.c:311:12: [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). infile = fopen(args.input, "r"); data/aom-1.0.0.errata1/examples/noise_model.c:335:21: [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). denoised_file = fopen(args.input_denoised, "rb"); data/aom-1.0.0.errata1/examples/noise_model.c:343:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). debug_file = fopen(args.debug_file, "w"); data/aom-1.0.0.errata1/examples/resize_util.c:40:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *width = atoi(v); data/aom-1.0.0.errata1/examples/resize_util.c:41: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). *height = atoi(&x[1]); data/aom-1.0.0.errata1/examples/resize_util.c:78:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fpin = fopen(fin, "rb"); data/aom-1.0.0.errata1/examples/resize_util.c:84:11: [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). fpout = fopen(fout, "wb"); data/aom-1.0.0.errata1/examples/resize_util.c:91:14: [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). frames = atoi(argv[5]); data/aom-1.0.0.errata1/examples/scalable_decoder.c: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 filename[80]; data/aom-1.0.0.errata1/examples/scalable_decoder.c:112:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(inputfile = fopen(argv[1], "rb"))) data/aom-1.0.0.errata1/examples/scalable_decoder.c:141:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile[0] = fopen(filename, "wb"))) data/aom-1.0.0.errata1/examples/scalable_decoder.c:147: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). if (!(outfile[i] = fopen(filename, "wb"))) data/aom-1.0.0.errata1/examples/scalable_encoder.c:202:13: [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). outfile = fopen(outfile_arg, "wb"); data/aom-1.0.0.errata1/examples/scalable_encoder.c:205:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile0 = fopen(infile0_arg, "rb"))) data/aom-1.0.0.errata1/examples/scalable_encoder.c:207:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile1 = fopen(infile1_arg, "rb"))) data/aom-1.0.0.errata1/examples/set_maps.c:175:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(argv[4], "rb"))) data/aom-1.0.0.errata1/examples/simple_decoder.c:107:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(outfile = fopen(argv[2], "wb"))) data/aom-1.0.0.errata1/examples/simple_encoder.c:220:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(infile_arg, "rb"))) data/aom-1.0.0.errata1/examples/twopass_encoder.c:85: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((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); data/aom-1.0.0.errata1/examples/twopass_encoder.c:232:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(infile = fopen(infile_arg, "rb"))) data/aom-1.0.0.errata1/stats/aomstats.c:25:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stats->file = fopen(fpf, "wb"); data/aom-1.0.0.errata1/stats/aomstats.c:32:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stats->file = fopen(fpf, "rb"); data/aom-1.0.0.errata1/stats/aomstats.c:100: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(stats->buf_ptr, pkt, len); data/aom-1.0.0.errata1/test/av1_convolve_scale_test.cc:89: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(filterk, filter0, filter_size); data/aom-1.0.0.errata1/test/av1_convolve_scale_test.cc:196:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + block_elts, data, block_size); data/aom-1.0.0.errata1/test/av1_ext_tile_test.cc:155: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(tile_img_.planes[plane] + data/aom-1.0.0.errata1/test/av1_horz_only_frame_superres_test.cc:126:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + block_elts, data, block_size); data/aom-1.0.0.errata1/test/av1_txfm_test.cc:279:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + row * 32, out + row * 64, 32 * sizeof(*out)); data/aom-1.0.0.errata1/test/av1_txfm_test.cc:292:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + row * 32, out + row * 64, 32 * sizeof(*out)); data/aom-1.0.0.errata1/test/av1_txfm_test.cc:305:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + row * 32, out + row * 64, 32 * sizeof(*out)); data/aom-1.0.0.errata1/test/convolve_test.cc:364: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(output_ref_, output_, kOutputBufferSize); data/aom-1.0.0.errata1/test/convolve_test.cc:366: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(output16_ref_, output16_, sizeof(output16_[0]) * kOutputBufferSize); data/aom-1.0.0.errata1/test/decode_perf_test.cc:136: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). outfile_ = fopen(path_to_source.c_str(), "wb"); data/aom-1.0.0.errata1/test/ec_test.cc:33:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(seed_str); data/aom-1.0.0.errata1/test/encode_perf_test.cc:164:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char thread_count[32]; data/aom-1.0.0.errata1/test/encodetxb_test.cc:144:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(coeff_contexts_ref_, coeff_contexts_, data/aom-1.0.0.errata1/test/md5_helper.h:52: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 hex[16] = { data/aom-1.0.0.errata1/test/md5_helper.h:70: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 res_[33]; data/aom-1.0.0.errata1/test/noise_model_test.cc:60:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + y * w, &padded[0] + y * padded_w, sizeof(*data) * w); data/aom-1.0.0.errata1/test/noise_model_test.cc:1068:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(model.combined_state[0].eqns.x, kInputCoeffsY, sizeof(kInputCoeffsY)); data/aom-1.0.0.errata1/test/noise_model_test.cc:1069:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(model.combined_state[1].eqns.x, kInputCoeffsCB, data/aom-1.0.0.errata1/test/noise_model_test.cc:1071:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(model.combined_state[2].eqns.x, kInputCoeffsCR, data/aom-1.0.0.errata1/test/resize_test.cc:42: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[32]; data/aom-1.0.0.errata1/test/resize_test.cc:62: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[4]; data/aom-1.0.0.errata1/test/resize_test.cc:69: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[12]; data/aom-1.0.0.errata1/test/resize_test.cc:257: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). outfile_ = fopen("av10-2-05-resize.ivf", "wb"); data/aom-1.0.0.errata1/test/resize_test.cc:568: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). outfile_ = fopen("av11-2-05-cspchape.ivf", "wb"); data/aom-1.0.0.errata1/test/superframe_test.cc:69: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(&modified_buf_[0], (uint8_t *)pkt->data.frame.buf + index_sz, data/aom-1.0.0.errata1/test/test_intra_pred_speed.cc:48:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *kAv1IntraPredNames[kNumAv1IntraFuncs] = { data/aom-1.0.0.errata1/test/test_intra_pred_speed.cc:93: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. static const char *const kTxSizeStrings[TX_SIZES_ALL] = { data/aom-1.0.0.errata1/test/test_intra_pred_speed.cc:149: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. static const char *const kSignatures[TX_SIZES_ALL][kNumAv1IntraFuncs] = { data/aom-1.0.0.errata1/test/test_intra_pred_speed.cc:923: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. static const char *const kHighbdSignatures[TX_SIZES_ALL][kNumAv1IntraFuncs] = { data/aom-1.0.0.errata1/test/test_vector_test.cc:54:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expected_md5[33]; data/aom-1.0.0.errata1/test/test_vector_test.cc:55:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char junk[128]; data/aom-1.0.0.errata1/test/test_vector_test.cc:84: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 str[256]; data/aom-1.0.0.errata1/test/video_source.h:57:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return fopen(path_to_source.c_str(), "rb"); data/aom-1.0.0.errata1/test/video_source.h:63: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 fname[MAX_PATH]; data/aom-1.0.0.errata1/test/video_source.h:64: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 tmppath[MAX_PATH]; data/aom-1.0.0.errata1/test/video_source.h:69: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). return fopen(fname, "wb+"); data/aom-1.0.0.errata1/test/video_source.h:75:18: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int fd = mkstemp(name_template); data/aom-1.0.0.errata1/test/y4m_test.cc:145:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[Y4M_BUFFER_SIZE] = { 0 }; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2381:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return fopen(path, mode); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-death-test.cc:325: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[256]; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-death-test.cc:741: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 executable_path[_MAX_PATH + 1]; // NOLINT data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-death-test.cc:1027:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int cwd_fd = open(".", O_RDONLY); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-filepath.cc:105: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-filepath.cc:108: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:139:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open("/proc/self/as", O_RDONLY); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:865:3: [2] (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, regex, len); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:938:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:939:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:976:29: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int captured_fd = mkstemp(name_template); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-printers.cc:65: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 text[5] = ""; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:863:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:866:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:1681: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 error_text[kBufSize] = { '\0' }; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:1765: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 str[5]; // Big enough for the largest valid code point. data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:35:12: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). int fd = mkstemp(temp_file_name_template); data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:44: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 tmp_file_name[_MAX_PATH]; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:230:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(frame_, frame, static_cast<size_t>(length_)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:246:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(additional_, additional, static_cast<size_t>(additional_length_)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc: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(enc_key_id_, id, static_cast<size_t>(length)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:901:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(codec_private_, codec_private, static_cast<size_t>(length)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:1384:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(private_data_, data, static_cast<size_t>(data_length)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2886: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 temp[256]; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3651:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(header, ".hdr"); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3990: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 ext_chk[64]; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:632: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). int fd = open("/dev/urandom", O_RDONLY); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvwriter.cc:50:11: [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_ = fopen(filename, "wb"); data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.cc:241: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 buf[8]; data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.cc:4599: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.codecPrivate, codecPrivate, codecPrivateSize); data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvreader.cc:41:12: [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). m_file = fopen(fileName, "rb"); data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:128: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 cpuinfo_line[512]; data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:129:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* f = fopen(cpuinfo_name, "r"); data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:156: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 cpuinfo_line[512]; data/aom-1.0.0.errata1/third_party/libyuv/source/cpu_id.cc:158:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* f = fopen(file_name, "r"); data/aom-1.0.0.errata1/third_party/libyuv/source/mjpeg_decoder.cc:451: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[JMSG_LENGTH_MAX]; data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:36: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(temp, y_buf + n, r); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:37: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(temp + 64, u_buf + (n >> UVSHIFT), SS(r, UVSHIFT)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:38: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(temp + 128, v_buf + (n >> UVSHIFT), SS(r, UVSHIFT)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:40: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_ptr + (n >> DUVSHIFT) * BPP, temp + 192, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:132: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(temp, y_buf + n * SBPP, r * SBPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:133: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(temp + 64, uv_buf + (n >> UVSHIFT) * SBPP2, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:136: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_ptr + n * BPP, temp + 128, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:234: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(temp, src_ptr + (n >> UVSHIFT) * SBPP, SS(r, UVSHIFT) * SBPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:236: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_ptr + n * BPP, temp + 128, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:412: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(temp, src_ptr + n * SBPP, r * SBPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:414: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_ptr + n * BPP, temp + 64, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:455: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(temp, src_ptr + n * SBPP, r * SBPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:456: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(temp + 64, src_ptr + src_stride_ptr + n * SBPP, r * SBPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:458: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_ptr + n * BPP, temp + 128, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:488: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(temp, src_ptr, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:490: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_ptr + n * BPP, temp + 64 + (MASK + 1 - r) * BPP, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:526: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_ptr + n * BPP, temp, r * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:550: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(temp, src_ptr + (n >> UVSHIFT) * BPP, SS(r, UVSHIFT) * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:552: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(temp + SS(r, UVSHIFT) * BPP, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:556: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_u + (n >> DUVSHIFT), temp + 128, SS(r, DUVSHIFT)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:557: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_v + (n >> DUVSHIFT), temp + 256, SS(r, DUVSHIFT)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:607: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(temp, src_ptr + (n >> UVSHIFT) * BPP, SS(r, UVSHIFT) * BPP); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:608: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(temp + 128, src_ptr + src_stride_ptr + (n >> UVSHIFT) * BPP, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:611: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(temp + SS(r, UVSHIFT) * BPP, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:613: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(temp + 128 + SS(r, UVSHIFT) * BPP, \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:617: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_u + (n >> 1), temp + 256, SS(r, 1)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_any.cc:618: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_v + (n >> 1), temp + 384, SS(r, 1)); \ data/aom-1.0.0.errata1/third_party/libyuv/source/row_common.cc:1707:3: [2] (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, count); data/aom-1.0.0.errata1/third_party/libyuv/source/row_common.cc:1711:3: [2] (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, count * 2); data/aom-1.0.0.errata1/third_party/libyuv/source/row_common.cc:2043: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_ptr, src_ptr, width); data/aom-1.0.0.errata1/third_party/libyuv/source/row_common.cc:2070: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_ptr, src_ptr, width * 2); data/aom-1.0.0.errata1/third_party/vector/vector.c: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(destination->data, source->data, aom_vector_byte_size(source)); data/aom-1.0.0.errata1/third_party/vector/vector.c:185:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(offset, element, vector->element_size); data/aom-1.0.0.errata1/third_party/vector/vector.c: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(offset, element, vector->element_size); data/aom-1.0.0.errata1/third_party/vector/vector.c:529:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(vector->data, old, aom_vector_byte_size(vector)); data/aom-1.0.0.errata1/tools/aom_entropy_optimizer.c:266:27: [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 *const statsfile = fopen(argv[1], "rb"); data/aom-1.0.0.errata1/tools/aom_entropy_optimizer.c:276:27: [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 *const probsfile = fopen("optimized_probs.c", "w"); data/aom-1.0.0.errata1/tools/aom_entropy_optimizer.c:283:13: [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). logfile = fopen("aom_entropy_optimizer_parsed_counts.log", "w"); data/aom-1.0.0.errata1/tools/dump_obu.cc:112:22: [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). FilePtr input_file(fopen(filename.c_str(), "rb"), &fclose); data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:101:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char w0[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:102:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char w1[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:210: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 temp0[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:211: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 temp1[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:266: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 text[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:267: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 text1[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:268: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 text2[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:356:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:357:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:382: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 text[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:383: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 text1[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:447: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 temp0[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:448: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 temp1[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:527:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[100]; data/aom-1.0.0.errata1/tools/txfm_analyzer/txfm_gen_code.cc:528:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[100]; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:33:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:47:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:47:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:118:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:132:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_filters_dspr2.c:132:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:32:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:50:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:50:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:299:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:317:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_dspr2.c:317:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_horiz_dspr2.c:33:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_horiz_dspr2.c:55:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_horiz_dspr2.c:55:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_vert_dspr2.c:31:21: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. uint32_t uflimit, ulimit, uthresh; data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_vert_dspr2.c:53:58: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_dsp/mips/loopfilter_mb_vert_dspr2.c:53:70: [1] (obsolete) ulimit: This C routine is considered obsolete (as opposed to the shell command by the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2), setrlimit(2), and sysconf(3) instead. : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); data/aom-1.0.0.errata1/aom_ports/ppc_cpudetect.c:60:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((count = read(fd, buf, sizeof(buf))) > 0) { data/aom-1.0.0.errata1/aom_util/debug_util.c:203:7: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (mismatch) { data/aom-1.0.0.errata1/aom_util/debug_util.c:249:7: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (mismatch) { data/aom-1.0.0.errata1/apps/aomdec.c:383:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pat_len = strlen(q); data/aom-1.0.0.errata1/apps/aomdec.c:393:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). copy_len = strlen(p); data/aom-1.0.0.errata1/apps/aomdec.c:596: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). if (argi[0][0] == '-' && strlen(argi[0]) > 1) data/aom-1.0.0.errata1/apps/aomenc.c:1116:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t out_fn_len = strlen(config->out_fn); data/aom-1.0.0.errata1/av1/decoder/accounting.c:48:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(str); data/aom-1.0.0.errata1/av1/encoder/encoder.c:2787:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define SNPRINT(H, T) snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T)) data/aom-1.0.0.errata1/av1/encoder/encoder.c:2787:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define SNPRINT(H, T) snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T)) data/aom-1.0.0.errata1/av1/encoder/encoder.c:2790:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T), (V)) data/aom-1.0.0.errata1/av1/encoder/encoder.c:2790: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). snprintf((H) + strlen(H), sizeof(H) - strlen(H), (T), (V)) data/aom-1.0.0.errata1/common/args.c:44: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). char *end = str + strlen(str); data/aom-1.0.0.errata1/common/args.c:61:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t length = strlen(actual_line); data/aom-1.0.0.errata1/common/args.c:104:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (def->short_name && strlen(arg.argv[0]) == strlen(def->short_name) + 1 && data/aom-1.0.0.errata1/common/args.c:104:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (def->short_name && strlen(arg.argv[0]) == strlen(def->short_name) + 1 && data/aom-1.0.0.errata1/common/args.c:110: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(def->long_name); data/aom-1.0.0.errata1/common/args.c:112:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(arg.argv[0]) >= name_len + 2 && arg.argv[0][1] == '-' && data/aom-1.0.0.errata1/common/warnings.c:66:7: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getchar(); data/aom-1.0.0.errata1/test/test_libaom.cc:39: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). for (size_t pos = 0; pos < strlen(search_terminators); ++pos) { data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2370:10: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). return strncpy(dest, src, n); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h:2392:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return static_cast<int>(read(fd, buf, count)); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:599:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t full_regex_len = strlen(regex) + 10; data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:853:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(regex); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-port.cc:1065: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). else if (temp_dir[strlen(temp_dir) - 1] == '\\') data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-printers.cc:325: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). PrintCharsAsStringTo(s, strlen(s), os); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest-printers.cc:342:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, std::wcslen(s), os); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:861:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const int length = strlen(ansi); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:1826:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num_chars = static_cast<int>(wcslen(str)); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:3599:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). segment = next_segment + strlen("]]>"); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:3764:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(str) + 1); data/aom-1.0.0.errata1/third_party/googletest/src/googletest/src/gtest.cc:5003: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 prefix_len = strlen(prefix); data/aom-1.0.0.errata1/third_party/libwebm/common/file_util.cc:78:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(&(*contents)[0], contents->size()); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:62:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t size = strlen(src) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:911:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t length = strlen(codec_id) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:928:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t length = strlen(language) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:944:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t length = strlen(name) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2895: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). const size_t app_len = strlen(temp) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2993:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t length = strlen(app) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3011:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t length = strlen(app) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3603:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t name_length = strlen(filename) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3641:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t header_length = strlen(filename) + strlen(".hdr") + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3641:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t header_length = strlen(filename) + strlen(".hdr") + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3647:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy_s(header, header_length - strlen(".hdr"), chunking_base_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3997: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 length = strlen(chunking_base_name_) + strlen(ext_chk) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:3997:55: [1] (buffer) strlen: Does not handle 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 length = strlen(chunking_base_name_) + strlen(ext_chk) + 1; data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxer.cc:4003: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). strcpy_s(str, length - strlen(ext_chk), chunking_base_name_); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:289: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). ebml_size += strlen(value); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:292:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ebml_size += GetCodedUIntSize(strlen(value)); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:508: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 uint64 length = strlen(value); data/aom-1.0.0.errata1/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:634:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(fd, &temp_num, sizeof(temp_num)); data/aom-1.0.0.errata1/third_party/libwebm/mkvparser/mkvparser.cc:4541:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(src); ANALYSIS SUMMARY: Hits = 774 Lines analyzed = 392915 in approximately 11.30 seconds (34782 lines/second) Physical Source Lines of Code (SLOC) = 310488 Hits@level = [0] 921 [1] 70 [2] 598 [3] 55 [4] 51 [5] 0 Hits@level+ = [0+] 1695 [1+] 774 [2+] 704 [3+] 106 [4+] 51 [5+] 0 Hits/KSLOC@level+ = [0+] 5.45915 [1+] 2.49285 [2+] 2.2674 [3+] 0.341398 [4+] 0.164258 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.