gstreamer1-plugins-base-1.22.9-1.fc40

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsa.c:319:11: warning[deadcode.DeadStores]: Value stored to 'channel_mask' is never read
#  317|             break;
#  318|           default:
#  319|->           channel_mask = 0;
#  320|             g_assert_not_reached ();
#  321|             break;

Error: CPPCHECK_WARNING: [#def3]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsamidisrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsasink.c:495:13: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
#  493|        */
#  494|       if (alsa->buffer_time != -1 && alsa->period_time != -1) {
#  495|->       if (((err = snd_pcm_hw_params_set_period_time_near (alsa->handle,
#  496|                         params, &alsa->period_time, NULL)) >= 0)
#  497|             && ((err =

Error: CLANG_WARNING: [#def5]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsasink.c:497:16: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
#  495|         if (((err = snd_pcm_hw_params_set_period_time_near (alsa->handle,
#  496|                         params, &alsa->period_time, NULL)) >= 0)
#  497|->           && ((err =
#  498|                     snd_pcm_hw_params_set_buffer_time_near (alsa->handle,
#  499|                         params, &alsa->buffer_time, NULL)) >= 0)) {

Error: CLANG_WARNING: [#def6]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsasink.c:507:13: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
#  505|            have partial settings from the order that was tried unsuccessfully */
#  506|         snd_pcm_hw_params_copy (params, params_copy);
#  507|->       if (((err = snd_pcm_hw_params_set_buffer_time_near (alsa->handle,
#  508|                         params, &alsa->buffer_time, NULL)) >= 0)
#  509|             && ((err =

Error: CLANG_WARNING: [#def7]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsasink.c:509:16: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
#  507|         if (((err = snd_pcm_hw_params_set_buffer_time_near (alsa->handle,
#  508|                         params, &alsa->buffer_time, NULL)) >= 0)
#  509|->           && ((err =
#  510|                     snd_pcm_hw_params_set_period_time_near (alsa->handle,
#  511|                         params, &alsa->period_time, NULL)) >= 0)) {

Error: CPPCHECK_WARNING: [#def8]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/alsa/gstalsasrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def9]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gltestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglalpha.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
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: CPPCHECK_WARNING: [#def12]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglcolorbalance.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgldeinterlace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgldifferencematte.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgldifferencematte.c: scope_hint: In function ‘gst_gl_differencematte_loader’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgldifferencematte.c:571:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rows’
#  569|   
#  570|     for (y = 0; y < height; ++y)
#  571|->     rows[y] = (guchar *) (differencematte->pixbuf + y * width * 4);
#  572|   
#  573|     png_read_image (png_ptr, rows);

Error: CLANG_WARNING: [#def16]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgldownloadelement.c:1207:21: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
# 1205|       gboolean match = TRUE;
# 1206|       for (i = 0; i < gst_buffer_n_memory (inbuf); i++) {
# 1207|->       if (offset[i] != out_info.offset[i] || stride[i] != out_info.stride[i]) {
# 1208|           match = FALSE;
# 1209|           break;

Error: CPPCHECK_WARNING: [#def17]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglfiltershader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def18]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglimagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def19]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglmixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def20]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglmixerbin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def21]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglmosaic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def22]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgloverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgloverlay.c: scope_hint: In function ‘gst_gl_overlay_load_png’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgloverlay.c:838:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rows’
#  836|   
#  837|     for (y = 0; y < height; ++y)
#  838|->     rows[y] = (guchar *) (map_info.data + y * width * 4);
#  839|   
#  840|     png_read_image (png_ptr, rows);

Error: CPPCHECK_WARNING: [#def24]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstgloverlaycompositorelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def25]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglstereomix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def26]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglvideomixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def27]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/gl/gstglvideomixer.c:1340:5: warning[deadcode.DeadStores]: Value stored to 'best_fps' is never read
# 1338|       best_fps_n = 25;
# 1339|       best_fps_d = 1;
# 1340|->     best_fps = 25.0;
# 1341|     }
# 1342|   

Error: CPPCHECK_WARNING: [#def28]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/dirac_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def29]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggdemux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def30]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggmux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def31]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def32]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggparse.c:667:15: warning[deadcode.DeadStores]: Value stored to 'keyframe' is never read
#  665|                 GST_BUFFER_FLAG_SET (pagebuffer, GST_BUFFER_FLAG_DELTA_UNIT);
#  666|               } else {
#  667|->               keyframe = FALSE;
#  668|               }
#  669|   

Error: CPPCHECK_WARNING: [#def33]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggstream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def34]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggstream.c: scope_hint: In function ‘gst_ogg_stream_setup_map’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggstream.c:2696:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/galloca.h:35: 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/ext/ogg/gstoggstream.h:27: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/gstoggstream.c:25: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null
# 2694|       if (packet->bytes >= mappers[i].min_packet_size &&
# 2695|           packet->bytes >= mappers[i].id_length &&
# 2696|->         memcmp (packet->packet, mappers[i].id, mappers[i].id_length) == 0) {
# 2697|   
# 2698|         GST_DEBUG ("found mapper for '%s'", mappers[i].id);

Error: CPPCHECK_WARNING: [#def35]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/ogg/vorbis_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def36]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/opus/gstopusdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def37]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/opus/gstopusdec.c:640:37: warning[core.NullDereference]: Access to field 'duration' results in a dereference of a null pointer (loaded from variable 'bufd')
#  638|       GstClockTime const opus_plc_alignment = 2500 * GST_USECOND;
#  639|       GstClockTime aligned_missing_duration;
#  640|->     GstClockTime missing_duration = GST_BUFFER_DURATION (bufd);
#  641|   
#  642|       if (!GST_CLOCK_TIME_IS_VALID (missing_duration) || missing_duration == 0) {

Error: CLANG_WARNING: [#def38]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/opus/gstopusdec.c:774:3: warning[deadcode.DeadStores]: Value stored to 'samples' is never read
#  772|     gst_buffer_set_size (outbuf, n * 2 * dec->n_channels);
#  773|     GST_BUFFER_DURATION (outbuf) = samples * GST_SECOND / dec->sample_rate;
#  774|->   samples = n;
#  775|   
#  776|     cmeta = gst_buffer_get_audio_clipping_meta (buf);

Error: CPPCHECK_WARNING: [#def39]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/opus/gstopusenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/pango/gstbasetextoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def41]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/pango/gstbasetextoverlay.c:2917:9: warning[deadcode.DeadStores]: Value stored to 'pop_text' is never read
# 2915|           /* text buffer too old, get rid of it and do nothing  */
# 2916|           GST_LOG_OBJECT (overlay, "text buffer too old, popping");
# 2917|->         pop_text = FALSE;
# 2918|           gst_base_text_overlay_pop_text (overlay);
# 2919|           GST_BASE_TEXT_OVERLAY_UNLOCK (overlay);

Error: CPPCHECK_WARNING: [#def42]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/pango/gsttextrender.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def43]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/pango/gsttextrender.c:560:3: warning[deadcode.DeadStores]: Value stored to 'size' is never read
#  558|     gst_buffer_map (outbuf, &map, GST_MAP_WRITE);
#  559|     data = map.data;
#  560|->   size = map.size;
#  561|   
#  562|     if (render->use_ARGB) {

Error: CPPCHECK_WARNING: [#def44]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c: scope_hint: In function ‘theora_handle_image’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:698:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame’
/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/ext/theora/gsttheoradec.h:30: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:46: 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’
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’
#  696|         GstVideoCropMeta *cmeta;
#  697|   
#  698|->       vmeta = gst_buffer_get_video_meta (frame->output_buffer);
#  699|         /* If the buffer pool didn't add the meta already
#  700|          * we add it ourselves here */

Error: CLANG_WARNING: [#def46]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoradec.c:698:42: warning[core.NullDereference]: Access to field 'output_buffer' results in a dereference of a null pointer (loaded from variable 'frame')
#  696|         GstVideoCropMeta *cmeta;
#  697|   
#  698|->       vmeta = gst_buffer_get_video_meta (frame->output_buffer);
#  699|         /* If the buffer pool didn't add the meta already
#  700|          * we add it ourselves here */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
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: [#def48]
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: CPPCHECK_WARNING: [#def49]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoraenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def50]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoraenc.c:996: error[legacyUninitvar]: Uninitialized variable: ycbcr
#  994|       gst_video_frame_map (&vframe, &enc->input_state->info, frame->input_buffer,
#  995|           GST_MAP_READ);
#  996|->     theora_enc_init_buffer (ycbcr, &vframe);
#  997|   
#  998|       res = th_encode_ycbcr_in (enc->encoder, ycbcr);

Error: COMPILER_WARNING: [#def51]
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: [#def52]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/theora/gsttheoraparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def53]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/vorbis/gstvorbisdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def54]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/vorbis/gstvorbisdec.c:214: warning[uninitvar]: Uninitialized variable: position
#  212|           position[i] = GST_AUDIO_CHANNEL_POSITION_NONE;
#  213|         gst_audio_info_set_format (&info, GST_VORBIS_AUDIO_FORMAT, vd->vi.rate,
#  214|->           vd->vi.channels, position);
#  215|         break;
#  216|       }

Error: CLANG_WARNING: [#def55]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/vorbis/gstvorbisdec.c:494:3: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  492|   
#  493|     /* assume all goes well here */
#  494|->   result = GST_FLOW_OK;
#  495|   
#  496|     /* count samples ready for reading */

Error: CPPCHECK_WARNING: [#def56]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/vorbis/gstvorbisenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def57]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/ext/vorbis/gstvorbisparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def58]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/app/gstappsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def59]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/app/gstappsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def60]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def61]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-channel-mixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def62]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-channels.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def63]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-converter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def64]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-converter.c:482:59: warning[core.NullDereference]: Array access (from variable 'tmp') results in a null pointer dereference
#  480|       } else {
#  481|         for (i = 0; i < chain->blocks; i++) {
#  482|->         gst_audio_format_info_fill_silence (chain->finfo, tmp[i],
#  483|               num_samples * chain->inc);
#  484|         }

Error: CPPCHECK_WARNING: [#def65]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def66]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def67]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def68]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-resampler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-131): [#def69]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-resampler.c: scope_hint: In function ‘alloc_cache_mem’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio-resampler.c:1012:28: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 1010|     resampler->cached_taps =
# 1011|         MEM_ALIGN ((gint8 *) resampler->cached_taps_mem + phases_size, ALIGN);
# 1012|->   resampler->cached_phases = resampler->cached_taps_mem;
# 1013|   }
# 1014|   

Error: CPPCHECK_WARNING: [#def70]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/audio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def71]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioaggregator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def72]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioaggregator.c:2485:5: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2483|   
# 2484|     for (i = 0; i < n_sinkpads; i++) {
# 2485|->     GstAudioAggregatorPad *pad = (GstAudioAggregatorPad *) sinkpads[i];
# 2486|       GstAggregatorPad *aggpad = (GstAggregatorPad *) sinkpads[i];
# 2487|   

Error: CPPCHECK_WARNING: [#def73]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudiobasesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def74]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudiocdsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def75]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudiodecoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def76]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def77]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioencoder.c:1082:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1080|       if (buf)
# 1081|         gst_buffer_unref (buf);
# 1082|->     ret = GST_FLOW_ERROR;
# 1083|       /* no way we can let this pass */
# 1084|       g_assert_not_reached ();

Error: CPPCHECK_WARNING: [#def78]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioiec61937.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def79]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudiometa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def80]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioringbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def81]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudiostreamalign.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def82]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/audio/gstaudioutilsprivate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def83]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/fft/kiss_fft_f32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def84]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/fft/kiss_fft_f64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def85]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/fft/kiss_fft_s16.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def86]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/fft/kiss_fft_s32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def87]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/egl/gsteglimage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def88]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/egl/gstglcontext_egl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def89]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/egl/gstgldisplay_egl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def90]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/egl/gstglmemoryegl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def91]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gbm/gstglwindow_gbm_egl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def92]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglapi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def93]
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: [#def94]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglbasememory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def95]
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: CPPCHECK_WARNING: [#def96]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglbufferpool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def97]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglcolorconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def98]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglcolorconvert.c:1474: warning[uninitvar]: Uninitialized variable: target
# 1472|       gst_structure_set (outs, "format", G_TYPE_STRING,
# 1473|           GST_VIDEO_FORMAT_INFO_NAME (out_info), NULL);
# 1474|->   if (target)
# 1475|       gst_structure_set (outs, "texture-target", G_TYPE_STRING,
# 1476|           gst_gl_texture_target_to_string (target), NULL);

Error: CPPCHECK_WARNING: [#def99]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def100]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglcontextquirks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def101]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstgldebug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def102]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstgldisplay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def103]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglfeature.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def104]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def105]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglformat.c:235:7: warning[deadcode.DeadStores]: Value stored to 'n_plane_components' is never read
#  233|         return GST_GL_R8;
#  234|       default:
#  235|->       n_plane_components = 4;
#  236|         g_assert_not_reached ();
#  237|         break;

Error: CPPCHECK_WARNING: [#def106]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglframebuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def107]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglframebuffer.c:389: error[legacyUninitvar]: Uninitialized variable: width
#  387|       }
#  388|   
#  389|->     if (width < min_width)
#  390|         min_width = width;
#  391|       if (height < min_height)

Error: CPPCHECK_WARNING (CWE-457): [#def108]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglframebuffer.c:391: error[legacyUninitvar]: Uninitialized variable: height
#  389|       if (width < min_width)
#  390|         min_width = width;
#  391|->     if (height < min_height)
#  392|         min_height = height;
#  393|     }

Error: CPPCHECK_WARNING: [#def109]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglmemory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def110]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglmemorypbo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def111]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstgloverlaycompositor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def112]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def113]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglrenderbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def114]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglshader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def115]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def116]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglslstage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def117]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglsyncmeta.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def118]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglupload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def119]
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: CPPCHECK_WARNING: [#def120]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def121]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglviewconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def122]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/gstglwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def123]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def124]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/x11/gstglcontext_glx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def125]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/gl/x11/gstglwindow_x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def126]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/codec-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def127]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/descriptions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def128]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/encoding-profile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def129]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/encoding-target.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def130]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstaudiovisualizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def131]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c: scope_hint: In function ‘gst_discoverer_info_copy_int’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:127:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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-libs/gst/pbutils/pbutils.h:23: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:25: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:417:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:423:14: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c: scope_hint: In function ‘gst_discoverer_info_copy_int’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/gstenumtypes.h:6: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/gst.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/pbutils.h:31: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/glib/gasyncqueue.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:34: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’
/usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:202:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’
/usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’
/usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:202:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’
/usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’
/usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:109:22: note: in expansion of macro ‘GST_TYPE_DISCOVERER_AUDIO_INFO’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’
#  125|     if (info->next) {
#  126|       ret->next = gst_discoverer_info_copy_int (info->next, stream_map);
#  127|->     ret->next->previous = ret;
#  128|     }
#  129|   

Error: CPPCHECK_WARNING: [#def133]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def134]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:1403:42: warning[core.NullDereference]: Access to field 'duration' results in a dereference of a null pointer (loaded from field 'current_info')
# 1401|         if (gst_element_query_duration (pipeline, GST_FORMAT_TIME, &dur)) {
# 1402|           GST_DEBUG ("Got duration %" GST_TIME_FORMAT, GST_TIME_ARGS (dur));
# 1403|->         dc->priv->current_info->duration = (guint64) dur;
# 1404|         } else if (dc->priv->current_info->result != GST_DISCOVERER_ERROR) {
# 1405|           GstStateChangeReturn sret;

Error: CLANG_WARNING: [#def135]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:1404:18: warning[core.NullDereference]: Access to field 'result' results in a dereference of a null pointer (loaded from field 'current_info')
# 1402|           GST_DEBUG ("Got duration %" GST_TIME_FORMAT, GST_TIME_ARGS (dur));
# 1403|           dc->priv->current_info->duration = (guint64) dur;
# 1404|->       } else if (dc->priv->current_info->result != GST_DISCOVERER_ERROR) {
# 1405|           GstStateChangeReturn sret;
# 1406|           /* Note: We don't switch to PLAYING if we previously saw an ERROR since

Error: CLANG_WARNING: [#def136]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:1488:30: warning[core.NullDereference]: Access to field 'cachefile' results in a dereference of a null pointer (loaded from field 'current_info')
# 1486|     }
# 1487|   
# 1488|->   if (dc->priv->use_cache && dc->priv->current_info->cachefile &&
# 1489|         dc->priv->current_info->result == GST_DISCOVERER_OK) {
# 1490|       GVariant *variant = gst_discoverer_info_to_variant (dc->priv->current_info,

Error: CPPCHECK_WARNING (CWE-457): [#def137]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:2213: error[legacyUninitvar]: Uninitialized variable: *&maybe
# 2211|     const gchar *ret = NULL;
# 2212|     GVariant *maybe;
# 2213|->   GET_FROM_TUPLE (tuple, maybe, index, &maybe);
# 2214|     if (maybe) {
# 2215|       ret = g_variant_get_string (maybe, NULL);

Error: CPPCHECK_WARNING (CWE-457): [#def138]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:2266: error[legacyUninitvar]: Uninitialized variable: *&nextv
# 2264|       GVariant *nextv;
# 2265|   
# 2266|->     GET_FROM_TUPLE (common, variant, 4, &nextv);
# 2267|       if (g_variant_n_children (nextv) > 0) {
# 2268|         sinfo->next = _parse_discovery (nextv, info);

Error: CPPCHECK_WARNING (CWE-457): [#def139]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:2700: error[legacyUninitvar]: Uninitialized variable: *&info_specific_variant
# 2698|     GVariant *wrapped;
# 2699|   
# 2700|->   GET_FROM_TUPLE (info_variant, variant, 0, &info_specific_variant);
# 2701|     GET_FROM_TUPLE (info_variant, variant, 1, &wrapped);
# 2702|   

Error: CPPCHECK_WARNING (CWE-457): [#def140]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/gstdiscoverer.c:2701: error[legacyUninitvar]: Uninitialized variable: *&wrapped
# 2699|   
# 2700|     GET_FROM_TUPLE (info_variant, variant, 0, &info_specific_variant);
# 2701|->   GET_FROM_TUPLE (info_variant, variant, 1, &wrapped);
# 2702|   
# 2703|     _parse_info (info, info_specific_variant);

Error: CPPCHECK_WARNING: [#def141]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/install-plugins.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def142]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/install-plugins.c:575: error[legacyUninitvar]: Uninitialized variable: ret
#  573|     }
#  574|   
#  575|->   if (!ret) {
#  576|       GST_ERROR ("Error spawning plugin install helper: %s", err->message);
#  577|       g_error_free (err);

Error: CPPCHECK_WARNING: [#def143]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/pbutils/missing-plugins.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def144]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/riff/riff-media.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def145]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/riff/riff-read.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def146]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtcpbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def147]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def148]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtpbasedepayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def149]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtpbasepayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def150]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtpbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def151]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtphdrext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def152]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtp/gstrtpmeta.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def153]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def154]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1394:35: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value
# 1392|   
# 1393|       /* skip vectors that have been written in full */
# 1394|->     while (written > 0 && written >= vectors[0].size) {
# 1395|         written -= vectors[0].size;
# 1396|         ++vectors;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def155]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_connection_send_messages_usec’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2069:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1980:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: 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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: note: in expansion of macro ‘G_UNLIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2069:25: note: write of 8 bytes to beyond the end of the region
# 2067|   
# 2068|       if (serialized_messages[i].body_data) {
# 2069|->       vectors[j].buffer = serialized_messages[i].body_data;
# 2070|         vectors[j].size = serialized_messages[i].body_data_size;
# 2071|         bytes_to_write += vectors[j].size;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def156]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2070:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1980:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: 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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: note: in expansion of macro ‘G_UNLIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2070:23: note: write of 8 bytes to beyond the end of the region
# 2068|       if (serialized_messages[i].body_data) {
# 2069|         vectors[j].buffer = serialized_messages[i].body_data;
# 2070|->       vectors[j].size = serialized_messages[i].body_data_size;
# 2071|         bytes_to_write += vectors[j].size;
# 2072|         j++;

Error: CLANG_WARNING: [#def157]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2082:29: warning[core.NullDereference]: Dereference of null pointer
# 2080|   
# 2081|           gst_memory_map (mem, &map_infos[k], GST_MAP_READ);
# 2082|->         vectors[j].buffer = map_infos[k].data;
# 2083|           vectors[j].size = map_infos[k].size;
# 2084|           bytes_to_write += vectors[j].size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2082:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1980:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:1981:3: note: in expansion of macro ‘g_return_val_if_fail’
/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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: 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/gst-libs/gst/rtsp/gstrtspconnection.c:1989:9: note: in expansion of macro ‘G_UNLIKELY’
# 2080|   
# 2081|           gst_memory_map (mem, &map_infos[k], GST_MAP_READ);
# 2082|->         vectors[j].buffer = map_infos[k].data;
# 2083|           vectors[j].size = map_infos[k].size;
# 2084|           bytes_to_write += vectors[j].size;

Error: CPPCHECK_WARNING (CWE-457): [#def159]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2200: warning[uninitvar]: Uninitialized variable: rversion
# 2198|   
# 2199|     if (res == GST_RTSP_OK)
# 2200|->     *version = rversion;
# 2201|   
# 2202|     return res;

Error: CLANG_WARNING: [#def160]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:2465:10: warning[deadcode.DeadStores]: Although the value stored to 'res' is used in the enclosing expression, the value is never actually read from 'res'
# 2463|     if (message->type == GST_RTSP_MESSAGE_RESPONSE ||
# 2464|         message->type == GST_RTSP_MESSAGE_REQUEST) {
# 2465|->     if ((res = gst_rtsp_message_get_header (message, GST_RTSP_HDR_CSEQ,
# 2466|                   &cseq_header, 0)) != GST_RTSP_OK) {
# 2467|         /* rfc2326 This field MUST be present in all RTSP req and resp */

Error: CLANG_WARNING: [#def161]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:3918:9: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 3916|         /* and signal that we lost our tunnel */
# 3917|         if (watch->funcs.tunnel_lost)
# 3918|->         res = watch->funcs.tunnel_lost (watch, watch->user_data);
# 3919|         /* we add read source on the write socket able to detect when client closes get channel in tunneled mode */
# 3920|         g_mutex_lock (&watch->mutex);

Error: CLANG_WARNING: [#def162]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4178:31: warning[core.NullDereference]: Dereference of null pointer
# 4176|   
# 4177|             gst_memory_map (mem, &map_infos[n_mmap], GST_MAP_READ);
# 4178|->           vectors[j].buffer = map_infos[n_mmap].data + off;
# 4179|             vectors[j].size = map_infos[n_mmap].size - off;
# 4180|             bytes_to_write += vectors[j].size;

Error: CLANG_WARNING: [#def163]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4209:18: warning[core.NullDereference]: Array access (from variable 'ids') results in a null pointer dereference
# 4207|         while ((msg = gst_queue_array_pop_head_struct (watch->messages))) {
# 4208|           if (msg->id) {
# 4209|->           ids[l] = msg->id;
# 4210|             l++;
# 4211|           }

Error: CLANG_WARNING: [#def164]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4248:22: warning[core.NullDereference]: Array access (from variable 'ids') results in a null pointer dereference
# 4246|   
# 4247|               if (msg->id) {
# 4248|->               ids[l] = msg->id;
# 4249|                 l++;
# 4250|               }

Error: CLANG_WARNING: [#def165]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4623:31: warning[core.NullDereference]: Dereference of null pointer
# 4621|   
# 4622|             gst_memory_map (mem, &map_infos[k], GST_MAP_READ);
# 4623|->           vectors[j].buffer = map_infos[k].data;
# 4624|             vectors[j].size = map_infos[k].size;
# 4625|             bytes_to_write += vectors[j].size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_watch_write_serialized_messages’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4623:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4897:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4898:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4898:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4575:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4576:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4576:3: note: in expansion of macro ‘g_return_val_if_fail’
# 4621|   
# 4622|             gst_memory_map (mem, &map_infos[k], GST_MAP_READ);
# 4623|->           vectors[j].buffer = map_infos[k].data;
# 4624|             vectors[j].size = map_infos[k].size;
# 4625|             bytes_to_write += vectors[j].size;

Error: CLANG_WARNING: [#def167]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4647:7: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 4645|       /* First of all unmap all memories. This simplifies the code below */
# 4646|       for (k = 0; k < n_memories; k++) {
# 4647|->       gst_memory_unmap (map_infos[k].memory, &map_infos[k]);
# 4648|       }
# 4649|   

Error: CLANG_WARNING: [#def168]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4656:19: warning[deadcode.DeadStores]: Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'
# 4654|   
# 4655|         /* free everything */
# 4656|->       for (i = 0, k = 0; i < n_messages; i++) {
# 4657|           gst_rtsp_serialized_message_clear (&messages[i]);
# 4658|         }

Error: CLANG_WARNING: [#def169]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspconnection.c:4664:17: warning[deadcode.DeadStores]: Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'
# 4662|   
# 4663|       /* not done, let's skip all messages that were sent already and free them */
# 4664|->     for (i = 0, k = 0, drop_messages = 0; i < n_messages; i++) {
# 4665|         if (bytes_written >= messages[i].data_size) {
# 4666|           guint body_size;

Error: CPPCHECK_WARNING: [#def170]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def171]
/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-libs/gst/rtsp/gstrtspdefs.h:46: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:59: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c: scope_hint: In function ‘auth_digest_compute_a1_md5’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:555:9: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c: scope_hint: In function ‘auth_digest_compute_a1_md5’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  554|     g_checksum_update (md5_context, (const guchar *) password, strlen (password));
#  555|     ret = g_strdup (g_checksum_get_string (md5_context));
#  556|->   g_assert (strlen (ret) == 32);
#  557|     g_checksum_free (md5_context);
#  558|   

Error: CPPCHECK_WARNING: [#def172]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def173]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:351:20: warning[-Wanalyzer-null-argument]: use of NULL ‘header’ where non-null expected
/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/gstutils.h:28: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:59: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:287:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:289:12: note: in expansion of macro ‘g_new0’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:316:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:479:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:325:36: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:707:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:707:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:717:32: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  349|   
#  350|           header = g_strdup (header);
#  351|->         if ((pos = strchr (header, ';'))) {
#  352|             *pos = '\0';
#  353|           }

Error: CPPCHECK_WARNING: [#def174]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtsprange.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def175]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/rtsp/gstrtsptransport.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def176]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-835): [#def177]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘payloads_from_bytes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:1757:23: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1755|     GstMIKEYPayload *p;
# 1756|   
# 1757|->   while (next_payload != GST_MIKEY_PT_LAST) {
# 1758|       p = NULL;
# 1759|       switch (next_payload) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘gst_mikey_message_to_caps’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:2410:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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-libs/gst/sdp/gstmikey.h:25: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:38: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:984:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:985:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:985:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:990:11: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:1166:9: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:1166:9: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:1166:9: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:1166:9: note: in expansion of macro ‘g_array_index’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:446:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:447:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:447:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:470:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:471:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstmikey.c:471:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2408|             gst_mikey_payload_sp_get_param (payload, i);
# 2409|   
# 2410|->       switch (param->type) {
# 2411|           case GST_MIKEY_SP_SRTP_ENC_ALG:
# 2412|             enc_alg = param->val[0];

Error: CPPCHECK_WARNING: [#def179]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_copy’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:1935:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:61: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:1912:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2173:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2410:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2427:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2430:11: note: in expansion of macro ‘g_array_index’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2427:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1933|           gst_sdp_media_get_connection (media, i);
# 1934|       gst_sdp_media_add_connection (cp, connection->nettype, connection->addrtype,
# 1935|->         connection->address, connection->ttl, connection->addr_number);
# 1936|     }
# 1937|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_as_text’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:1993:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:1969:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2173:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2410:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2427:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2430:11: note: in expansion of macro ‘g_array_index’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2410:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2427:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2428:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1991|       const GstSDPConnection *conn = gst_sdp_media_get_connection (media, i);
# 1992|   
# 1993|->     if (conn->nettype && conn->addrtype && conn->address) {
# 1994|         g_string_append_printf (lines, "c=%s %s %s", conn->nettype,
# 1995|             conn->addrtype, conn->address);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2025:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:1969:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2173:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2410:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2560:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2742:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2784:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2785:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2785:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2787:11: note: in expansion of macro ‘g_array_index’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2742:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2784:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:2785:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2023|       const GstSDPAttribute *attr = gst_sdp_media_get_attribute (media, i);
# 2024|   
# 2025|->     if (attr->key) {
# 2026|         g_string_append_printf (lines, "a=%s", attr->key);
# 2027|         if (attr->value && attr->value[0] != '\0')

Error: GCC_ANALYZER_WARNING (CWE-688): [#def183]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_message_parse_buffer’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3184:5: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3142:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3143:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3143:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3144:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3144:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3161:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3167:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3167:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3173:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3182|         bufsize = len + 1;
# 3183|       }
# 3184|->     memcpy (buffer, s, len);
# 3185|       buffer[len] = '\0';
# 3186|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def184]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3380:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3424:3: note: in expansion of macro ‘PARSE_INT’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3422:20: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3424:3: note: in expansion of macro ‘PARSE_INT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3424:3: note: in expansion of macro ‘PARSE_INT’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 3378|   G_STMT_START {                          \
# 3379|     gchar *t = p;                         \
# 3380|->   p = strstr (p, del);                  \
# 3381|     if (p == NULL)                        \
# 3382|       res = -1;                           \

Error: GCC_ANALYZER_WARNING (CWE-688): [#def185]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3396:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4450:5: note: in expansion of macro ‘PARSE_STRING’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4430:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4431:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4431:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4432:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4432:25: note: in expansion of macro ‘gst_caps_is_writable’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4432:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4441:13: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4448:19: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4450:5: note: in expansion of macro ‘PARSE_STRING’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4450:5: note: in expansion of macro ‘PARSE_STRING’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 3394|   G_STMT_START {                          \
# 3395|     gchar *t = p;                         \
# 3396|->   p = strstr (p, del);                  \
# 3397|     if (p == NULL) {                      \
# 3398|       res = NULL;                         \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:3409:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4110:3: note: in expansion of macro ‘SKIP_SPACES’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4108:20: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4110:3: note: in expansion of macro ‘SKIP_SPACES’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4110:3: note: in expansion of macro ‘SKIP_SPACES’
# 3407|   
# 3408|   #define SKIP_SPACES(p)                  \
# 3409|->   while (*p && g_ascii_isspace (*p))    \
# 3410|       p++;
# 3411|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def187]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4274:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4256:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4257:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4257:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4265:13: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4272:19: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:58: included_from: Included from here.
/usr/include/stdlib.h:181:26: note: argument 1 of ‘strtoul’ must be non-null
# 4272|       to_free = p = g_strdup (extmap);
# 4273|   
# 4274|->     id = strtoul (p, &tmp, 10);
# 4275|       if (id == 0 || id == 15 || id > 9999 || (*tmp != ' ' && *tmp != '/')) {
# 4276|         GST_ERROR ("Invalid extmap '%s'", to_free);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def188]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_ssrc_attributes’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4383:12: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4362:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4363:3: note: in expansion of macro ‘g_return_val_if_fail’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4363:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4374:13: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c:4381:19: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_ssrc_attributes’
/usr/include/stdlib.h:181:26: note: argument 1 of ‘strtoul’ must be non-null
# 4381|       to_free = p = g_strdup (value);
# 4382|   
# 4383|->     ssrc = strtoul (p, &tmp, 10);
# 4384|       if (*tmp != ' ') {
# 4385|         GST_ERROR ("Invalid ssrc attribute '%s'", to_free);

Error: CPPCHECK_WARNING: [#def189]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gstexiftag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def190]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gstid3tag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def191]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gsttagdemux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def192]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gsttagmux.c:432:3: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  430|   
#  431|     mux = GST_TAG_MUX (parent);
#  432|->   result = FALSE;
#  433|   
#  434|     switch (GST_EVENT_TYPE (event)) {

Error: CPPCHECK_WARNING: [#def193]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gstvorbistag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def194]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/gstxmptag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def195]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/id3v2frames.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def196]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/lang.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def197]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/licenses.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def198]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-823): [#def199]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:208: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds.
#  206|       g_error ("Unexpected tag '%s'\n", element_name);
#  207|   
#  208|->   if (tag_map[i].attribute == NULL)
#  209|       return;
#  210|   

Error: CPPCHECK_WARNING (CWE-823): [#def200]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:212: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds.
#  210|   
#  211|     if (!g_markup_collect_attributes (element_name, attr_names, attr_vals,
#  212|->           err, G_MARKUP_COLLECT_STRING, tag_map[i].attribute, &ref,
#  213|             G_MARKUP_COLLECT_INVALID)) {
#  214|       return;

Error: CPPCHECK_WARNING (CWE-823): [#def201]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:330: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds.
#  328|       g_error ("Unexpected tag '%s'\n", element_name);
#  329|   
#  330|->   switch (tag_map[i].element_tag) {
#  331|       case TAG_CC_LICENSE:
#  332|       case TAG_CC_JURISDICTION:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def202]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘parse_text’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:364:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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-libs/gst/tag/tag.h:25: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:31: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:362:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:363:26: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘parse_text’
<built-in>: note: argument 2 of ‘__builtin_strstr’ must be non-null
#  362|         g_assert (license->version == NULL);
#  363|         license->version = g_strdup (text);
#  364|->       found = strstr (known_versions, license->version);
#  365|         if (found == NULL || found[strlen (license->version)] != '/')
#  366|           g_error ("Unexpected version '%s', please add to table.", text);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘write_translations_dictionary’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:696:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dict_filename, "wb")’
#  694|   
#  695|     f = fopen (dict_filename, "wb");
#  696|->   if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) {
#  697|       g_error ("failed to write dict to file: %s", g_strerror (errno));
#  698|     }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:696:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dict_filename, "wb")’
#  694|   
#  695|     f = fopen (dict_filename, "wb");
#  696|->   if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) {
#  697|       g_error ("failed to write dict to file: %s", g_strerror (errno));
#  698|     }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def205]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:696:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(dict_filename, "wb")’ where non-null expected
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/mklicensestables.c:35: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#  694|   
#  695|     f = fopen (dict_filename, "wb");
#  696|->   if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) {
#  697|       g_error ("failed to write dict to file: %s", g_strerror (errno));
#  698|     }

Error: CPPCHECK_WARNING: [#def206]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/tag/tags.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def207]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/convertframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def208]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideoaggregator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def209]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideoaggregator.c:1202:5: warning[deadcode.DeadStores]: Value stored to 'best_fps' is never read
# 1200|       best_fps_n = 25;
# 1201|       best_fps_d = 1;
# 1202|->     best_fps = 25.0;
# 1203|     }
# 1204|   

Error: CLANG_WARNING: [#def210]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideoaggregator.c:2073:12: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 2071|       return TRUE;
# 2072|     } else {
# 2073|->     return vaggpad_class->prepare_frame (vpad, GST_VIDEO_AGGREGATOR_CAST (agg),
# 2074|           vpad->priv->buffer, &vpad->priv->prepared_frame);
# 2075|     }

Error: CPPCHECK_WARNING: [#def211]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideodecoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def212]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideoencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def213]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideofilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def214]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideometa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def215]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideopool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def216]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideosink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def217]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideotimecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def218]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideotimecode.c:691:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'tc'
#  689|     tc = gst_video_time_code_new_from_string (tc_str);
#  690|     g_value_take_boxed (tc_val, tc);
#  691|-> }
#  692|   
#  693|   static void

Error: CLANG_WARNING: [#def219]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideotimecode.c:720:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'tc'
#  718|   
#  719|     g_value_take_boxed (dest, tc);
#  720|->   return TRUE;
#  721|   }
#  722|   

Error: CPPCHECK_WARNING: [#def220]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/gstvideoutilsprivate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def221]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/navigation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def222]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-anc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def223]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-blend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def224]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-chroma.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def225]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-converter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def226]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-dither.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def227]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-event.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def228]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def229]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-frame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def230]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def231]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def232]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1290:3: warning[deadcode.DeadStores]: Value stored to 'format' is never read
# 1288|     width = GST_VIDEO_INFO_WIDTH (&conv_rect->info);
# 1289|     height = GST_VIDEO_INFO_HEIGHT (&conv_rect->info);
# 1290|->   format = GST_VIDEO_INFO_FORMAT (&conv_rect->info);
# 1291|   
# 1292|     /* not cached yet, do the preprocessing and put the result into our cache */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def233]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c: scope_hint: In function ‘gst_video_overlay_rectangle_get_pixels_raw_internal.part.0’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1343:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video.h:29: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.h:26: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:61: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-format.h:653:52: note: in definition of macro ‘GST_VIDEO_FORMAT_INFO_FORMAT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1201:12: note: in expansion of macro ‘GST_VIDEO_INFO_FORMAT’
# 1341|     GST_RECTANGLE_LOCK (rectangle);
# 1342|     if (apply_global_alpha
# 1343|->       && scaled_rect->applied_global_alpha != rectangle->global_alpha) {
# 1344|       gst_video_overlay_rectangle_apply_global_alpha (scaled_rect,
# 1345|           rectangle->global_alpha);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def234]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1353:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-format.h:653:52: note: in definition of macro ‘GST_VIDEO_FORMAT_INFO_FORMAT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1201:12: note: in expansion of macro ‘GST_VIDEO_INFO_FORMAT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-overlay-composition.c:1351:3: note: in expansion of macro ‘GST_RECTANGLE_UNLOCK’
# 1351|     GST_RECTANGLE_UNLOCK (rectangle);
# 1352|   
# 1353|->   return scaled_rect->pixels;
# 1354|   }
# 1355|   

Error: CPPCHECK_WARNING: [#def235]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-resampler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def236]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-resampler.c:263:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  261|   
#  262|         for (l = 0; l < sh; l++) {
#  263|->         taps[sh] += taps[l];
#  264|         }
#  265|         for (l = 0; l < max_taps - sh; l++) {

Error: CLANG_WARNING: [#def237]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-resampler.c:266:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  264|         }
#  265|         for (l = 0; l < max_taps - sh; l++) {
#  266|->         taps[l] = taps[sh + l];
#  267|         }
#  268|         for (; l < max_taps; l++) {

Error: CLANG_WARNING: [#def238]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-resampler.c:280:32: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  278|         }
#  279|         for (l = 0; l < max_taps - sh; l++) {
#  280|->         taps[max_taps - 1 - l] = taps[max_taps - 1 - sh - l];
#  281|         }
#  282|         for (l = 0; l < sh; l++) {

Error: CPPCHECK_WARNING: [#def239]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-scaler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def240]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-scaler.c:1497:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1495|         /* only horizontal scaling */
# 1496|         for (i = y; i < height; i++) {
# 1497|->         hfunc (hscale, LINE (src, src_stride, i), LINE (dest, dest_stride, i),
# 1498|               x, width, n_elems);
# 1499|         }

Error: CLANG_WARNING: [#def241]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video-scaler.c:1528:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 1526|           }
# 1527|   
# 1528|->         vfunc (vscale, lines, LINE (dest, dest_stride, i), i, width, n_elems);
# 1529|         }
# 1530|       } else {

Error: CPPCHECK_WARNING: [#def242]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/video.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def243]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/adder/gstadder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def244]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/audioconvert/gstaudioconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def245]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/audiorate/gstaudiorate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def246]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/audioresample/gstaudioresample.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def247]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/audiotestsrc/gstaudiotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def248]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/compositor/blend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def249]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/compositor/compositor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def250]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/compositor/compositor.c:1231:5: warning[deadcode.DeadStores]: Value stored to 'best_fps' is never read
# 1229|       best_fps_n = 25;
# 1230|       best_fps_d = 1;
# 1231|->     best_fps = 25.0;
# 1232|     }
# 1233|   

Error: CPPCHECK_WARNING: [#def251]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/encoding/gstencodebasebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def252]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/encoding/gstsmartencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def253]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/gio/gstgiobasesrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def254]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/gio/gstgioelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def255]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/gio/gstgiosink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def256]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/gio/gstgiosrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def257]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/overlaycomposition/gstoverlaycomposition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def258]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
/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): [#def260]
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: CPPCHECK_WARNING: [#def261]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstdecodebin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def262]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstparsebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def263]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaybackutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def264]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaybin2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def265]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaybin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def266]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def267]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:1731: warning[nullPointer]: Possible null pointer dereference: channel
# 1729|       /* Convert to channel range */
# 1730|       new_val =
# 1731|->         channel->min_value + new_val * ((gdouble) channel->max_value -
# 1732|           (gdouble) channel->min_value);
# 1733|   

Error: CPPCHECK_WARNING (CWE-476): [#def268]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:1732: warning[nullPointer]: Possible null pointer dereference: channel
# 1730|       new_val =
# 1731|           channel->min_value + new_val * ((gdouble) channel->max_value -
# 1732|->         (gdouble) channel->min_value);
# 1733|   
# 1734|       gst_color_balance_set_value (balance, channel, (gint) (new_val + 0.5));

Error: CLANG_WARNING: [#def269]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:1792:3: warning[deadcode.DeadStores]: Value stored to 'head' is never read
# 1790|     if (chain->sink == NULL)
# 1791|       goto no_sinks;
# 1792|->   head = chain->sink;
# 1793|   
# 1794|     /* if we can disable async behaviour of the sink, we can avoid adding a

Error: CLANG_WARNING: [#def270]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:4881:12: warning[deadcode.DeadStores]: Although the value stored to 'res' is used in the enclosing expression, the value is never actually read from 'res'
# 4879|       if (playsink->textchain && playsink->textchain->sink) {
# 4880|         gst_event_ref (event);
# 4881|->       if ((res =
# 4882|                 gst_element_send_event (playsink->textchain->chain.bin, event))) {
# 4883|           GST_DEBUG_OBJECT (playsink, "Sent event successfully to text sink");

Error: CLANG_WARNING: [#def271]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:4982:9: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 4980|         /* block all pads here */
# 4981|         if (!gst_play_sink_reconfigure (playsink)) {
# 4982|->         ret = GST_STATE_CHANGE_FAILURE;
# 4983|           goto activate_failed;
# 4984|         }

Error: CPPCHECK_WARNING (CWE-476): [#def272]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:5536: warning[nullPointer]: Possible null pointer dereference: channel
# 5534|         /* Convert to channel range */
# 5535|         new_val =
# 5536|->           channel->min_value + new_val * ((gdouble) channel->max_value -
# 5537|             (gdouble) channel->min_value);
# 5538|   

Error: CPPCHECK_WARNING (CWE-476): [#def273]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysink.c:5537: warning[nullPointer]: Possible null pointer dereference: channel
# 5535|         new_val =
# 5536|             channel->min_value + new_val * ((gdouble) channel->max_value -
# 5537|->           (gdouble) channel->min_value);
# 5538|   
# 5539|         gst_color_balance_set_value (balance_element, channel,

Error: CPPCHECK_WARNING: [#def274]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysinkaudioconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def275]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysinkaudioconvert.c:85:5: warning[deadcode.DeadStores]: Value stored to 'prev' is never read
#   83|           goto link_failed;
#   84|       }
#   85|->     prev = el;
#   86|     }
#   87|   

Error: CPPCHECK_WARNING: [#def276]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysinkconvertbin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def277]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysinkvideoconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def278]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstplaysinkvideoconvert.c:95:7: warning[deadcode.DeadStores]: Value stored to 'prev' is never read
#   93|       }
#   94|       if (el)
#   95|->       prev = el;
#   96|     }
#   97|   

Error: CPPCHECK_WARNING: [#def279]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gststreamsynchronizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def280]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstsubtitleoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def281]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gstsubtitleoverlay.c:554: warning[nullPointer]: Possible null pointer dereference: (struct GstObject*)((struct GstPluginFeature*)(factory))
#  552|     } else {
#  553|       factory_name =
#  554|->         gst_plugin_feature_get_name (GST_PLUGIN_FEATURE_CAST (factory));
#  555|       elt = gst_element_factory_create (factory, element_name);
#  556|     }

Error: CPPCHECK_WARNING: [#def282]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def283]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
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): [#def285]
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: [#def286]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1958:40: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'play_items')
# 1956|     }
# 1957|   
# 1958|->   dec->output_item = dec->input_item = dec->play_items->data;
# 1959|     dec->output_item->posted_about_to_finish = FALSE;
# 1960|     PLAY_ITEMS_UNLOCK (dec);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘purge_play_items’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturidecodebin3.c:1958:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1956|     }
# 1957|   
# 1958|->   dec->output_item = dec->input_item = dec->play_items->data;
# 1959|     dec->output_item->posted_about_to_finish = FALSE;
# 1960|     PLAY_ITEMS_UNLOCK (dec);

Error: CPPCHECK_WARNING: [#def288]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c: scope_hint: In function ‘new_demuxer_pad_added_cb’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:768:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  766|        as-is directly. We still add an event probe to deal with EOS */
#  767|     slot = new_output_slot (info, pad);
#  768|->   output_pad = gst_object_ref (slot->output_pad);
#  769|   
#  770|     slot->demuxer_event_probe_id =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c: scope_hint: In function ‘handle_new_pad’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:1992:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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/gsturisourcebin.c:41: 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/gsturisourcebin.c:1989:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’
# 1990|           ", exposing", caps);
# 1991|       slot = new_output_slot (info, srcpad);
# 1992|->     output_pad = gst_object_ref (slot->output_pad);
# 1993|       GST_URI_SOURCE_BIN_UNLOCK (urisrc);
# 1994|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def291]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:2047:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:2045:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’
# 2045|         GST_URI_SOURCE_BIN_LOCK (urisrc);
# 2046|         slot = new_output_slot (info, srcpad);
# 2047|->       output_pad = gst_object_ref (slot->output_pad);
# 2048|         GST_URI_SOURCE_BIN_UNLOCK (urisrc);
# 2049|         expose_output_pad (urisrc, output_pad);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:2079:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/playback/gsturisourcebin.c:2073:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’
# 2077|             pre_queue_event_probe, urisrc, NULL);
# 2078|   
# 2079|->       output_pad = gst_object_ref (slot->output_pad);
# 2080|         GST_URI_SOURCE_BIN_UNLOCK (urisrc);
# 2081|   

Error: CPPCHECK_WARNING: [#def293]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/rawparse/gstrawaudioparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def294]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/rawparse/gstrawbaseparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def295]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/rawparse/gstrawvideoparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def296]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstssaparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def297]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c:1142:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘read’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c:32: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c:1329:13: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparse.c:1330:7: note: in expansion of macro ‘g_string_truncate’
# 1140|      * of the subviewer format uses this for newlines */
# 1141|   
# 1142|->   if (read[0] == '\0' || read[1] == '\0' || read[2] == '\0' || read[3] == '\0')
# 1143|       return;
# 1144|   

Error: CPPCHECK_WARNING: [#def299]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/gstsubparseelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def300]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/mpl2parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def301]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/qttextparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def302]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/samiparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def303]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/samiparse.c:543:9: warning[core.NullDereference]: Array access (from variable 'next') results in a null pointer dereference
#  541|     next = ctxt->buf->str;
#  542|     while (TRUE) {
#  543|->     if (next[0] == '<') {
#  544|         gchar *element = NULL;
#  545|         /* find <blahblah> */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/samiparse.c: scope_hint: In function ‘html_context_parse’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/subparse/samiparse.c:543:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’
#  541|     next = ctxt->buf->str;
#  542|     while (TRUE) {
#  543|->     if (next[0] == '<') {
#  544|         gchar *element = NULL;
#  545|         /* find <blahblah> */

Error: CPPCHECK_WARNING: [#def305]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gstmultifdsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def306]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gstmultihandlesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def307]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gstmultihandlesink.c:1639:3: warning[deadcode.DeadStores]: Value stored to 'cookie' is never read
# 1637|   
# 1638|     /* then loop over the clients and update the positions */
# 1639|->   cookie = mhsink->clients_cookie;
# 1640|     for (clients = mhsink->clients; clients; clients = clients->next) {
# 1641|       GstMultiHandleClient *mhclient = clients->data;

Error: CPPCHECK_WARNING: [#def308]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gstmultisocketsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def309]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gstsocketsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def310]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/tcp/gsttcpelements.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def311]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/typefind/gsttypefindfunctions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def312]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videoconvertscale/gstvideoconvertscale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def313]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videorate/gstvideorate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def314]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videorate/gstvideorate.c:560:8: warning[deadcode.DeadStores]: Although the value stored to 'par' is used in the enclosing expression, the value is never actually read from 'par'
#  558|     gst_structure_fixate_field_nearest_fraction (s, "framerate", num, denom);
#  559|   
#  560|->   if ((par = gst_structure_get_value (s, "pixel-aspect-ratio")))
#  561|       gst_structure_fixate_field_nearest_fraction (s, "pixel-aspect-ratio", 1, 1);
#  562|   

Error: CLANG_WARNING: [#def315]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videorate/gstvideorate.c:1070:11: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 1068|             /* allow the duration to be invalid as there is no way to infer it if we
# 1069|              * received a single buffer and not output framerate was set. */
# 1070|->           res =
# 1071|                 gst_video_rate_flush_prev (videorate, FALSE, GST_CLOCK_TIME_NONE,
# 1072|                 TRUE);

Error: CLANG_WARNING: [#def316]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videorate/gstvideorate.c:1867:9: warning[deadcode.DeadStores]: Value stored to 'next_ts' is never read
# 1865|   
# 1866|           base_ts_in_segment = videorate->segment.stop - videorate->base_ts;
# 1867|->         next_ts = base_ts_in_segment - (
# 1868|               (base_ts_in_segment - next_ts) * videorate->rate);
# 1869|           next_end_ts = base_ts_in_segment - (MAX (0,

Error: CPPCHECK_WARNING: [#def317]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videotestsrc/gstvideotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def318]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/videotestsrc/videotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def319]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst/volume/gstvolume.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def320]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect1f7oyhpa/GstAllocators-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def321]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect1f7oyhpa/GstAllocators-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def322]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect3yiby55j/GstRtsp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def323]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect3yiby55j/GstRtsp-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def324]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect41f1xjlp/GstGLX11-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def325]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect41f1xjlp/GstGLX11-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def326]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect4ubqgaqf/GstVideo-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def327]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect4ubqgaqf/GstVideo-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def328]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect733ok2b0/GstGL-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def329]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect733ok2b0/GstGL-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def330]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect95i169un/GstAudio-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def331]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect95i169un/GstAudio-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def332]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect9fv_27k9/GstGLEGL-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def333]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspect9fv_27k9/GstGLEGL-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def334]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectd52smyar/GstRtp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def335]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectd52smyar/GstRtp-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def336]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectf44qfefy/GstApp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def337]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectf44qfefy/GstApp-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def338]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspecthn5ttwq3/GstPbutils-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def339]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspecthn5ttwq3/GstPbutils-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def340]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectyj92lci4/GstSdp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def341]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectyj92lci4/GstSdp-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def342]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectynnyi558/GstGLWayland-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def343]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectynnyi558/GstGLWayland-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def344]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectzc79z1t3/GstTag-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def345]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/redhat-linux-build/tmp-introspectzc79z1t3/GstTag-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def346]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagepool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def347]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def348]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c: scope_hint: In function ‘gst_x_image_sink_xwindow_select_touch_events’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:524:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp.abs_pressure’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/gst-libs/gst/video/videooverlay.h:26: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:105: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:1922:9: note: in expansion of macro ‘GST_VIDEO_SINK_WIDTH’
/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-libs/gst/video/navigation.h:26: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:104: 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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:549:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:549:25: note: in expansion of macro ‘GST_IS_X_IMAGE_SINK’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:549:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:549:25: note: in expansion of macro ‘GST_IS_X_IMAGE_SINK’
/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:1355:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:518:7: note: in expansion of macro ‘GST_DEBUG’
#  522|   
#  523|         device = g_new (GstXTouchDevice, 1);
#  524|->       *device = temp;
#  525|         device->name = g_strdup (device->name);
#  526|         ximagesink->touch_devices =

Error: CLANG_WARNING: [#def349]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/ximage/ximagesink.c:526:33: warning[unix.Malloc]: Potential leak of memory pointed to by 'device'
#  524|         *device = temp;
#  525|         device->name = g_strdup (device->name);
#  526|->       ximagesink->touch_devices =
#  527|             g_array_append_vals (ximagesink->touch_devices, device, 1);
#  528|   

Error: CLANG_WARNING: [#def350]
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);

Error: CPPCHECK_WARNING: [#def351]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def352]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c:325:9: warning[deadcode.DeadStores]: Value stored to 'vformat' is never read
#  323|         }
#  324|         default:
#  325|->         vformat = GST_VIDEO_FORMAT_UNKNOWN;
#  326|           g_assert_not_reached ();
#  327|           break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def353]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c: scope_hint: In function ‘gst_xwindow_select_touch_events’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c:1197:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp.abs_pressure’
/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-libs/gst/video/video.h:23: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.h:43: included_from: Included from here.
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c:28: 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:1355:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvcontext.c:1192:7: note: in expansion of macro ‘GST_DEBUG’
# 1195|             temp.id, temp.name);
# 1196|   
# 1197|->       GstXvTouchDevice device = temp;
# 1198|         device.name = g_strdup (temp.name);
# 1199|   

Error: CPPCHECK_WARNING: [#def354]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimageallocator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimageallocator.c: scope_hint: In function ‘gst_xvimage_memory_copy.part.0’
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimageallocator.c:264:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  262|         mem->xvimage->height, &mem->crop, NULL);
#  263|   
#  264|->   memcpy (copy->xvimage->data + copy->parent.offset,
#  265|         mem->xvimage->data + mem->parent.offset, mem->xvimage->data_size);
#  266|   

Error: CLANG_WARNING: [#def356]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimageallocator.c:438:13: warning[core.CallAndMessage]: 9th function call argument is an uninitialized value
#  436|   
#  437|             for (plane = 0; plane < mem->xvimage->num_planes; plane++) {
#  438|->             GST_DEBUG_OBJECT (allocator,
#  439|                   "Plane %u has a expected pitch of %d bytes, " "offset of %d",
#  440|                   plane, pitches[plane], offsets[plane]);

Error: CPPCHECK_WARNING: [#def357]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-909): [#def358]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c:318: error[uninitStructMember]: Uninitialized struct member: s.x
#  316|       dst.h = xwindow->render_rect.h;
#  317|   
#  318|->     gst_video_sink_center_rect (s, dst, &result, TRUE);
#  319|       result.x += xwindow->render_rect.x;
#  320|       result.y += xwindow->render_rect.y;

Error: CPPCHECK_WARNING (CWE-909): [#def359]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c:318: error[uninitStructMember]: Uninitialized struct member: s.y
#  316|       dst.h = xwindow->render_rect.h;
#  317|   
#  318|->     gst_video_sink_center_rect (s, dst, &result, TRUE);
#  319|       result.x += xwindow->render_rect.x;
#  320|       result.y += xwindow->render_rect.y;

Error: CPPCHECK_WARNING (CWE-457): [#def360]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c:318: error[uninitvar]: Uninitialized variables: s.x, s.y
#  316|       dst.h = xwindow->render_rect.h;
#  317|   
#  318|->     gst_video_sink_center_rect (s, dst, &result, TRUE);
#  319|       result.x += xwindow->render_rect.x;
#  320|       result.y += xwindow->render_rect.y;

Error: CLANG_WARNING: [#def361]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c:318:5: warning[core.CallAndMessage]: Passed-by-value struct argument contains uninitialized data (e.g., field: 'x')
#  316|       dst.h = xwindow->render_rect.h;
#  317|   
#  318|->     gst_video_sink_center_rect (s, dst, &result, TRUE);
#  319|       result.x += xwindow->render_rect.x;
#  320|       result.y += xwindow->render_rect.y;

Error: CLANG_WARNING: [#def362]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/sys/xvimage/xvimagesink.c:634:27: warning[core.NullDereference]: Access to field 'touch_devices' results in a dereference of a null pointer (loaded from variable 'xwindow')
#  632|             /* find device that the event belongs to */
#  633|             device_found = FALSE;
#  634|->           for (i = 0; i < xwindow->touch_devices->len; i++) {
#  635|               device = g_array_index (xwindow->touch_devices,
#  636|                   GstXvTouchDevice, i);

Error: CPPCHECK_WARNING: [#def363]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/tools/gst-device-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def364]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/tools/gst-discoverer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def365]
gstreamer1-plugins-base-1.22.9-build/gst-plugins-base-1.22.9/tools/gst-play.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-187.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegstreamer1-plugins-base-1.22.9-1.fc40
store-results-to/tmp/tmpvc0tlt42/gstreamer1-plugins-base-1.22.9-1.fc40.tar.xz
time-created2024-07-03 13:02:07
time-finished2024-07-03 13:09:59
toolcsmock
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-versioncsmock-3.5.3-1.el9