Task #52591 - fixed.err

back to task #52591
download
Error: GCC_ANALYZER_WARNING (CWE-457):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:814:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1344:13: enter_function: entry to ‘build_prediction_by_above_preds’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1374:5: call_function: inlined call to ‘foreach_overlappable_nb_above’ from ‘build_prediction_by_above_preds’
#  812|       src_stride  = ref_pic_list0->stride_y;
#  813|       dst_stride  = prediction_ptr->stride_y;
#  814|->     conv_params = get_conv_params_no_round(0, 0, 0, tmp_dstY, 128, is_compound, bit_depth);
#  815|   
#  816|       ScaleFactors sf;

Error: GCC_ANALYZER_WARNING (CWE-457):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:881:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1344:13: enter_function: entry to ‘build_prediction_by_above_preds’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1374:5: call_function: inlined call to ‘foreach_overlappable_nb_above’ from ‘build_prediction_by_above_preds’
#  879|       src_stride  = ref_pic_list0->stride_cb;
#  880|       dst_stride  = prediction_ptr->stride_cb;
#  881|->     conv_params = get_conv_params_no_round(0, 0, 0, tmp_dstCb, 64, is_compound, bit_depth);
#  882|   
#  883|       ScaleFactors sf;

Error: GCC_ANALYZER_WARNING (CWE-457):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:991:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1344:13: enter_function: entry to ‘build_prediction_by_above_preds’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1374:5: call_function: inlined call to ‘foreach_overlappable_nb_above’ from ‘build_prediction_by_above_preds’
#  989|       dst_stride = prediction_ptr->stride_y;
#  990|   
#  991|->     conv_params = get_conv_params_no_round(0, 0, 0, tmp_dstY, 128, is_compound, EB_EIGHT_BIT);
#  992|       av1_get_convolve_filter_params(interp_filters, &filter_params_x, &filter_params_y, bwidth, bheight);
#  993|   

Error: GCC_ANALYZER_WARNING (CWE-457):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1059:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1344:13: enter_function: entry to ‘build_prediction_by_above_preds’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:1374:5: call_function: inlined call to ‘foreach_overlappable_nb_above’ from ‘build_prediction_by_above_preds’
# 1057|       dst_stride = prediction_ptr->stride_cb;
# 1058|   
# 1059|->     conv_params = get_conv_params_no_round(0, 0, 0, tmp_dstCb, 64, is_compound, EB_EIGHT_BIT);
# 1060|   
# 1061|       av1_get_convolve_filter_params(interp_filters, &filter_params_x, &filter_params_y, bwidth, bheight);

Error: GCC_ANALYZER_WARNING (CWE-476):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:2783:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_pic_list0’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4877:13: enter_function: entry to ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4880:34: release_memory: ‘ref_pic_list0’ is NULL
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4885:5: call_function: inlined call to ‘av1_set_ref_frame’ from ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4887:13: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4888:26: call_function: inlined call to ‘get_list_idx’ from ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4889:13: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4892:56: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4899:5: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4899:5: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4903:8: branch_false: following ‘false’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4942:8: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4942:8: branch_false: following ‘false’ branch (when ‘ref_idx_l0 < 0’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4946:8: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4946:8: branch_false: following ‘false’ branch (when ‘ref_idx_l1 < 0’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4950:9: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4965:8: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4966:36: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4982:12: branch_true: following ‘true’ branch (when ‘bit_depth == 8’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4983:13: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4992:9: release_memory: ‘ref_pic_list0’ is NULL
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4992:9: call_function: calling ‘svt_aom_warped_motion_prediction’ from ‘svt_aom_inter_pu_prediction_av1’
# 2781|               // Y
# 2782|   
# 2783|->             src_ptr_l0 = ref_pic_list0->buffer_y +
# 2784|                   (ref_pic_list0->org_x + ref_pic_list0->org_y * ref_pic_list0->stride_y);
# 2785|               src_ptr_l1 = is_compound

Error: GCC_ANALYZER_WARNING (CWE-476):
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:2801:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_pic_list1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4877:13: enter_function: entry to ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4880:34: release_memory: ‘ref_pic_list0’ is NULL
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4885:5: call_function: inlined call to ‘av1_set_ref_frame’ from ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4887:13: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4888:26: call_function: inlined call to ‘get_list_idx’ from ‘svt_aom_inter_pu_prediction_av1’
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4889:13: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4892:56: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4899:5: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4899:5: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4903:8: branch_false: following ‘false’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4942:8: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4942:8: branch_false: following ‘false’ branch (when ‘ref_idx_l0 < 0’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4946:8: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4946:8: branch_false: following ‘false’ branch (when ‘ref_idx_l1 < 0’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4950:9: branch_false: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4965:8: branch_true: following ‘true’ branch...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4966:36: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4982:12: branch_true: following ‘true’ branch (when ‘bit_depth == 8’)...
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4983:13: branch_true: ...to here
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4992:9: release_memory: ‘ref_pic_list0’ is NULL
SVT-AV1-v2.3.0/Source/Lib/Codec/enc_inter_prediction.c:4992:9: call_function: calling ‘svt_aom_warped_motion_prediction’ from ‘svt_aom_inter_pu_prediction_av1’
# 2799|               // Y
# 2800|   
# 2801|->             src_ptr_l0 = ref_pic_list1->buffer_y +
# 2802|                   (ref_pic_list1->org_x + ref_pic_list1->org_y * ref_pic_list1->stride_y);
# 2803|