Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2070:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2068|     ret = gst_ttml_render_stitch_images (inline_images,
# 2069|         GST_TTML_DIRECTION_INLINE);
# 2070|->   GST_CAT_DEBUG (ttmlrender_debug,
# 2071|         "Stitched line image - x:%d  y:%d  w:%u  h:%u",
# 2072|         ret->x, ret->y, ret->width, ret->height);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2144:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2142|           gst_ttml_render_render_block_elements (render, block,
# 2143|           metrics);
# 2144|->     line->y += (i * metrics.line_height);
# 2145|       g_ptr_array_add (ret, line);
# 2146|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2349:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘image1’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2347|   
# 2348|     /* Work out dimensions of combined image. */
# 2349|->   ret->x = MIN (image1->x, image2->x);
# 2350|     ret->y = MIN (image1->y, image2->y);
# 2351|     ret->width = MAX (image1->x + image1->width, image2->x + image2->width)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2720:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2718|       blocks_image = gst_ttml_render_stitch_images (rendered_blocks,
# 2719|           GST_TTML_DIRECTION_BLOCK);
# 2720|->     blocks_image->x += window_x;
# 2721|   
# 2722|       switch (region->style_set->display_align) {

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-155.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namegstreamer1-plugins-bad-free-1.26.0-1.fc42
diffbase-store-results-to/tmp/tmphgj3t3x0/gstreamer1-plugins-bad-free-1.26.0-1.fc42.tar.xz
diffbase-time-created2025-04-25 12:52:07
diffbase-time-finished2025-04-25 13:05:45
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmphgj3t3x0/gstreamer1-plugins-bad-free-1.26.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphgj3t3x0/gstreamer1-plugins-bad-free-1.26.0-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-155.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namegstreamer1-plugins-bad-free-1.26.0-2.fc43
store-results-to/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.tar.xz
time-created2025-04-25 13:06:15
time-finished2025-04-25 13:18:56
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9