Error: CPPCHECK_WARNING: [#def1] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglbasemixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:729:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:729:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:774:7: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c: scope_hint: In function ‘theora_handle_image’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1340:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:624:7: note: in expansion of macro ‘GST_LOG_OBJECT’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:786:14: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:790:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:793:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:803:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:803:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:806:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:806:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:666:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:729:7: note: in expansion of macro ‘G_UNLIKELY’ # 727| "doing unavoidable video frame copy"); # 728| # 729|-> if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->uncropped_info, # 730| frame->output_buffer, GST_MAP_WRITE))) # 731| goto invalid_frame; Error: CLANG_WARNING: [#def3] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:730:15: warning[core.NullDereference]: Access to field 'output_buffer' results in a dereference of a null pointer (loaded from variable 'frame') # 728| # 729| if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->uncropped_info, # 730|-> frame->output_buffer, GST_MAP_WRITE))) # 731| goto invalid_frame; # 732| Error: COMPILER_WARNING: [#def4] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoraenc.c:1055:1: warning[-Wenum-int-mismatch]: conflicting types for ‘theora_enc_finish’ due to enum/integer mismatch; have ‘gboolean(GstVideoEncoder *)’ {aka ‘int(struct _GstVideoEncoder *)’} # 1055 | theora_enc_finish (GstVideoEncoder * benc) # | ^~~~~~~~~~~~~~~~~ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoraenc.c:191:22: note: previous declaration of ‘theora_enc_finish’ with type ‘GstFlowReturn(GstVideoEncoder *)’ {aka ‘GstFlowReturn(struct _GstVideoEncoder *)’} # 191 | static GstFlowReturn theora_enc_finish (GstVideoEncoder * enc); # | ^~~~~~~~~~~~~~~~~ # 1053| # 1054| static gboolean # 1055|-> theora_enc_finish (GstVideoEncoder * benc) # 1056| { # 1057| GstTheoraEnc *enc; Error: CPPCHECK_WARNING: [#def5] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglbasefilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def6] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglbasesrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def7] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglupload.c:753:27: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 751| # 752| /* check if one is cached */ # 753|-> dmabuf->eglimage[i] = _get_cached_eglimage (mems[i], cache_id); # 754| if (dmabuf->eglimage[i]) { # 755| dmabuf->formats[i] = dmabuf->eglimage[i]->format; Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] /usr/include/gstreamer-1.0/gst/gst.h:56: included_from: Included from here. gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3.c:30: included_from: Included from here. gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c: scope_hint: In function ‘remove_input_stream’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:412:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream’ /usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:411:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3.c:521: included_from: Included from here. /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3.c:27: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:411:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:411:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:411:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 410| # 411| GST_DEBUG_OBJECT (dbin, "Removing input stream %p (%s)", stream, # 412|-> stream->active_stream ? gst_stream_get_stream_id (stream->active_stream) : # 413| "<NONE>"); # 414| Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:418:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3-parse.c:411:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 416| # 417| /* Unlink from slot */ # 418|-> if (stream->srcpad) { # 419| GstPad *peer; # 420| peer = gst_pad_get_peer (stream->srcpad); Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1138:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘**handler.play_item.main_item’ /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1285:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 1136| # 1137| /* Finally propagate pending buffering message */ # 1138|-> if (new_item->main_item->handler->pending_buffering_msg) { # 1139| GstMessage *msg = new_item->main_item->handler->pending_buffering_msg; # 1140| new_item->main_item->handler->pending_buffering_msg = NULL; Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘switch_and_activate_input_locked’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1138:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘**uridecodebin.input_item.main_item’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:34: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/gstreamer-1.0/gst/gstinfo.h:725:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/gstreamer-1.0/gst/gstinfo.h:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1285:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 1136| # 1137| /* Finally propagate pending buffering message */ # 1138|-> if (new_item->main_item->handler->pending_buffering_msg) { # 1139| GstMessage *msg = new_item->main_item->handler->pending_buffering_msg; # 1140| new_item->main_item->handler->pending_buffering_msg = NULL; Error: CLANG_WARNING: [#def12] gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:591:7: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage # 589| gst_x_image_sink_xwindow_select_touch_events (ximagesink, xwindow); # 590| # 591|-> XISetMask (mask, XI_HierarchyChanged); # 592| mask_data.deviceid = XIAllDevices; # 593| mask_data.mask_len = sizeof (mask);
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-187.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | gstreamer1-plugins-base-1.24.5-1.fc41 |
diffbase-store-results-to | /tmp/tmpa97kmsvx/gstreamer1-plugins-base-1.24.5-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 13:10:21 |
diffbase-time-finished | 2024-07-03 13:18:02 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpa97kmsvx/gstreamer1-plugins-base-1.24.5-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpa97kmsvx/gstreamer1-plugins-base-1.24.5-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-187.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gstreamer1-plugins-base-1.22.9-1.fc40 |
store-results-to | /tmp/tmpvc0tlt42/gstreamer1-plugins-base-1.22.9-1.fc40.tar.xz |
time-created | 2024-07-03 13:02:07 |
time-finished | 2024-07-03 13:09:59 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpvc0tlt42/gstreamer1-plugins-base-1.22.9-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpvc0tlt42/gstreamer1-plugins-base-1.22.9-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |