Error: GCC_ANALYZER_WARNING (CWE-457): [#def1] 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): [#def2] 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): [#def3] 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): [#def4] 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): [#def5] 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): [#def6] 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|
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.86.0 |
diffbase-analyzer-version-cppcheck | 2.17.1 |
diffbase-analyzer-version-gcc | 15.0.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-114.us-west-2.compute.internal |
diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
diffbase-mock-config | fedora-rawhide-x86_64 |
diffbase-project-name | svt-av1-2.3.0-1.fc43 |
diffbase-store-results-to | /tmp/tmp5ketp6qa/svt-av1-2.3.0-1.fc43.tar.xz |
diffbase-time-created | 2025-04-25 15:48:10 |
diffbase-time-finished | 2025-04-25 15:54:48 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp5ketp6qa/svt-av1-2.3.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5ketp6qa/svt-av1-2.3.0-1.fc43.src.rpm' |
diffbase-tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-114.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | svt-av1-2.3.0-1.fc42 |
store-results-to | /tmp/tmpc6we9_7o/svt-av1-2.3.0-1.fc42.tar.xz |
time-created | 2025-04-25 15:40:36 |
time-finished | 2025-04-25 15:47:32 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpc6we9_7o/svt-av1-2.3.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpc6we9_7o/svt-av1-2.3.0-1.fc42.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |