Task #119194 - fixed.err
back to task #119194download
Error: CPPCHECK_WARNING (CWE-823):
libvpx-1.15.0/vp9/encoder/vp9_encoder.h:1479: error[arrayIndexOutOfBounds]: Array 'vp9_level_defs[14]' accessed at index 254, which is out of bounds.
# 1477| const uint32_t pic_breadth = VPXMAX(width, height);
# 1478| for (i = LEVEL_1; i < LEVEL_MAX; ++i) {
# 1479|-> if (vp9_level_defs[i].max_luma_picture_size >= pic_size &&
# 1480| vp9_level_defs[i].max_luma_picture_breadth >= pic_breadth) {
# 1481| return get_msb(vp9_level_defs[i].max_col_tiles);
Error: GCC_ANALYZER_WARNING (CWE-476):
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:1853:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3677:6: enter_function: entry to ‘vp9_rc_get_second_pass_params’
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3695:6: branch_false: following ‘false’ branch...
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3698:7: branch_false: ...to here
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3706:6: branch_false: following ‘false’ branch...
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3730:3: branch_false: ...to here
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3766:14: call_function: inlined call to ‘input_stats’ from ‘vp9_rc_get_second_pass_params’
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3777:5: call_function: calling ‘find_next_key_frame’ from ‘vp9_rc_get_second_pass_params’
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3777:5: return_function: returning to ‘vp9_rc_get_second_pass_params’ from ‘find_next_key_frame’
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3783:6: branch_true: following ‘true’ branch...
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3784:5: branch_true: ...to here
libvpx-1.15.0/vp9/encoder/vp9_firstpass.c:3784:5: call_function: calling ‘define_gf_group’ from ‘vp9_rc_get_second_pass_params’
# 1851| const FIRSTPASS_STATS *stats =
# 1852| fps_get_frame_stats(first_pass_info, show_idx + j);
# 1853|-> if (stats->pcnt_inter - stats->pcnt_motion < 0.999) break;
# 1854| }
# 1855|