Task #492 - gstreamer1-plugins-base-1.24.5-1.fc41/scan-results.err
back to task #492download
Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsa.c:523:11: warning[deadcode.DeadStores]: Value stored to 'channel_mask' is never read # 521| break; # 522| default: # 523|-> channel_mask = 0; # 524| g_assert_not_reached (); # 525| break; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsamidisrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsasink.c:501:13: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' # 499| */ # 500| if (alsa->buffer_time != -1 && alsa->period_time != -1) { # 501|-> if (((err = snd_pcm_hw_params_set_period_time_near (alsa->handle, # 502| params, &alsa->period_time, NULL)) >= 0) # 503| && ((err = Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsasink.c:503:16: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' # 501| if (((err = snd_pcm_hw_params_set_period_time_near (alsa->handle, # 502| params, &alsa->period_time, NULL)) >= 0) # 503|-> && ((err = # 504| snd_pcm_hw_params_set_buffer_time_near (alsa->handle, # 505| params, &alsa->buffer_time, NULL)) >= 0)) { Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsasink.c:513:13: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' # 511| have partial settings from the order that was tried unsuccessfully */ # 512| snd_pcm_hw_params_copy (params, params_copy); # 513|-> if (((err = snd_pcm_hw_params_set_buffer_time_near (alsa->handle, # 514| params, &alsa->buffer_time, NULL)) >= 0) # 515| && ((err = Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsasink.c:515:16: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' # 513| if (((err = snd_pcm_hw_params_set_buffer_time_near (alsa->handle, # 514| params, &alsa->buffer_time, NULL)) >= 0) # 515|-> && ((err = # 516| snd_pcm_hw_params_set_period_time_near (alsa->handle, # 517| params, &alsa->period_time, NULL)) >= 0)) { Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/alsa/gstalsasrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gltestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglalpha.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglcolorbalance.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgldeinterlace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgldifferencematte.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgldifferencematte.c: scope_hint: In function ‘gst_gl_differencematte_loader’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgldownloadelement.c:1208:21: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value # 1206| gboolean match = TRUE; # 1207| for (i = 0; i < gst_buffer_n_memory (inbuf); i++) { # 1208|-> if (offset[i] != out_info.offset[i] || stride[i] != out_info.stride[i]) { # 1209| match = FALSE; # 1210| break; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglfiltershader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglimagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglmixerbin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglmosaic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgloverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgloverlay.c: scope_hint: In function ‘gst_gl_overlay_load_png’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstgloverlaycompositorelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglstereomix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglvideomixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/gl/gstglvideomixer.c:1661:5: warning[deadcode.DeadStores]: Value stored to 'best_fps' is never read # 1659| best_fps_n = 25; # 1660| best_fps_d = 1; # 1661|-> best_fps = 25.0; # 1662| } # 1663| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/dirac_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggdemux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggmux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggstream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggstream.c: scope_hint: In function ‘gst_ogg_stream_setup_map’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/ext/ogg/gstoggstream.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/ogg/vorbis_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/opus/gstopusdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/opus/gstopusenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/pango/gstbasetextoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/pango/gsttextrender.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): /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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.h:30: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:46: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c: scope_hint: In function ‘theora_handle_image’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:681: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:681: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:726:7: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:616: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:738: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:742: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:745: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:755: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:755: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:758: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:758: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:658: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.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:681:7: note: in expansion of macro ‘G_UNLIKELY’ # 679| "doing unavoidable video frame copy"); # 680| # 681|-> if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->output_state->info, # 682| frame->output_buffer, GST_MAP_WRITE))) # 683| goto invalid_frame; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoradec.c:682:15: warning[core.NullDereference]: Access to field 'output_buffer' results in a dereference of a null pointer (loaded from variable 'frame') # 680| # 681| if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->output_state->info, # 682|-> frame->output_buffer, GST_MAP_WRITE))) # 683| goto invalid_frame; # 684| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoraenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/theora/gsttheoraparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/vorbis/gstvorbisdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/vorbis/gstvorbisenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/ext/vorbis/gstvorbisparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/allocators/gstfdmemory.c:74:3: warning[unix.Malloc]: Use of memory after it is freed # 72| g_mutex_clear (&mem->lock); # 73| g_free (mem); # 74|-> GST_DEBUG ("%p: freed", mem); # 75| #endif # 76| } Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/allocators/gstshmallocator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/app/gstappsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/app/gstappsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/app/gstapputils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-channels.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-converter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio-resampler.c: scope_hint: In function ‘alloc_cache_mem’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/audio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioaggregator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioaggregator.c:2489:5: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined # 2487| # 2488| for (i = 0; i < n_sinkpads; i++) { # 2489|-> GstAudioAggregatorPad *pad = (GstAudioAggregatorPad *) sinkpads[i]; # 2490| GstAggregatorPad *aggpad = (GstAggregatorPad *) sinkpads[i]; # 2491| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiobasesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiocdsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiodecoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioiec61937.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiometa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiometa.c:532:38: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value # 530| max_offset = MAX (max_offset, offsets[i]); # 531| for (j = 0; j < info->channels; j++) { # 532|-> if (i != j && !(offsets[j] + plane_size <= offsets[i] # 533| || offsets[i] + plane_size <= offsets[j])) { # 534| g_critical ("GstAudioMeta properties would cause channel memory " Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioringbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudiostreamalign.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstaudioutilsprivate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/audio/gstdsd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/egl/gsteglimage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/egl/gstglmemoryegl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglapi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglbasememory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglbufferpool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglcolorconvert.c:1506: warning[uninitvar]: Uninitialized variable: target # 1504| gst_structure_set (outs, "format", G_TYPE_STRING, # 1505| GST_VIDEO_FORMAT_INFO_NAME (out_info), NULL); # 1506|-> if (target) # 1507| gst_structure_set (outs, "texture-target", G_TYPE_STRING, # 1508| gst_gl_texture_target_to_string (target), NULL); Error: GCC_ANALYZER_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglcolorconvert.c: scope_hint: In function ‘gst_gl_color_convert_fixate_format_target’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglcolorconvert.c:1506:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘target’ # 1504| gst_structure_set (outs, "format", G_TYPE_STRING, # 1505| GST_VIDEO_FORMAT_INFO_NAME (out_info), NULL); # 1506|-> if (target) # 1507| gst_structure_set (outs, "texture-target", G_TYPE_STRING, # 1508| gst_gl_texture_target_to_string (target), NULL); Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglcontextquirks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstgldebug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstgldisplay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglfeature.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglformat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglformat.c:263:7: warning[deadcode.DeadStores]: Value stored to 'n_plane_components' is never read # 261| return GST_GL_R16; # 262| default: # 263|-> n_plane_components = 4; # 264| g_assert_not_reached (); # 265| break; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglmemory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglmemorypbo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglmixer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstgloverlaycompositor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglrenderbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglshader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglslstage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglsyncmeta.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglupload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglupload.c:1614:27: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value # 1612| * entry to avoid repeated lookups if all mems[i] point to the same memory. # 1613| */ # 1614|-> dmabuf->eglimage[i] = gst_egl_image_cache_lookup (dmabuf->eglimage_cache, # 1615| mems[i], i, &previous_mem, &cache_entry); # 1616| if (dmabuf->eglimage[i]) { Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglviewconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/gl/gstglwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/codec-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/descriptions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/encoding-profile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/encoding-target.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstaudiovisualizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c: scope_hint: In function ‘gst_discoverer_info_copy_int’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/pbutils.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:423:14: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/pbutils.h:31: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:1444:42: warning[core.NullDereference]: Access to field 'duration' results in a dereference of a null pointer (loaded from field 'current_info') # 1442| if (gst_element_query_duration (pipeline, GST_FORMAT_TIME, &dur)) { # 1443| GST_DEBUG ("Got duration %" GST_TIME_FORMAT, GST_TIME_ARGS (dur)); # 1444|-> dc->priv->current_info->duration = (guint64) dur; # 1445| } else if (dc->priv->current_info->result != GST_DISCOVERER_ERROR) { # 1446| GstStateChangeReturn sret; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:1445:18: warning[core.NullDereference]: Access to field 'result' results in a dereference of a null pointer (loaded from field 'current_info') # 1443| GST_DEBUG ("Got duration %" GST_TIME_FORMAT, GST_TIME_ARGS (dur)); # 1444| dc->priv->current_info->duration = (guint64) dur; # 1445|-> } else if (dc->priv->current_info->result != GST_DISCOVERER_ERROR) { # 1446| GstStateChangeReturn sret; # 1447| /* Note: We don't switch to PLAYING if we previously saw an ERROR since Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:1529:30: warning[core.NullDereference]: Access to field 'cachefile' results in a dereference of a null pointer (loaded from field 'current_info') # 1527| } # 1528| # 1529|-> if (dc->priv->use_cache && dc->priv->current_info->cachefile && # 1530| dc->priv->current_info->result == GST_DISCOVERER_OK) { # 1531| GVariant *variant = gst_discoverer_info_to_variant (dc->priv->current_info, Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:2273: error[legacyUninitvar]: Uninitialized variable: *&maybe # 2271| const gchar *ret = NULL; # 2272| GVariant *maybe; # 2273|-> GET_FROM_TUPLE (tuple, maybe, index, &maybe); # 2274| if (maybe) { # 2275| ret = g_variant_get_string (maybe, NULL); Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:2326: error[legacyUninitvar]: Uninitialized variable: *&nextv # 2324| GVariant *nextv; # 2325| # 2326|-> GET_FROM_TUPLE (common, variant, 4, &nextv); # 2327| if (g_variant_n_children (nextv) > 0) { # 2328| sinfo->next = _parse_discovery (nextv, info); Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:2766: error[legacyUninitvar]: Uninitialized variable: *&info_specific_variant # 2764| GVariant *wrapped; # 2765| # 2766|-> GET_FROM_TUPLE (info_variant, variant, 0, &info_specific_variant); # 2767| GET_FROM_TUPLE (info_variant, variant, 1, &wrapped); # 2768| Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/gstdiscoverer.c:2767: error[legacyUninitvar]: Uninitialized variable: *&wrapped # 2765| # 2766| GET_FROM_TUPLE (info_variant, variant, 0, &info_specific_variant); # 2767|-> GET_FROM_TUPLE (info_variant, variant, 1, &wrapped); # 2768| # 2769| _parse_info (info, info_specific_variant); Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/pbutils/missing-plugins.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/riff/riff-media.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/riff/riff-read.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtcpbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtpbasedepayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtpbasepayload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtpbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtphdrext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtp/gstrtpmeta.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:1313:5: warning[unix.Malloc]: Attempt to free released memory # 1311| GST_ERROR ("failed to setup tunneling"); # 1312| g_free (connection_uri); # 1313|-> g_free (request_uri); # 1314| return res; # 1315| } Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:1530:35: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value # 1528| # 1529| /* skip vectors that have been written in full */ # 1530|-> while (written > 0 && written >= vectors[0].size) { # 1531| written -= vectors[0].size; # 1532| ++vectors; Error: GCC_ANALYZER_WARNING (CWE-121): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_connection_send_messages_usec’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2205: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2116: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125:9: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2205:25: note: write of 8 bytes to beyond the end of the region # 2203| # 2204| if (serialized_messages[i].body_data) { # 2205|-> vectors[j].buffer = serialized_messages[i].body_data; # 2206| vectors[j].size = serialized_messages[i].body_data_size; # 2207| bytes_to_write += vectors[j].size; Error: GCC_ANALYZER_WARNING (CWE-121): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2206: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2116: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125:9: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2206:23: note: write of 8 bytes to beyond the end of the region # 2204| if (serialized_messages[i].body_data) { # 2205| vectors[j].buffer = serialized_messages[i].body_data; # 2206|-> vectors[j].size = serialized_messages[i].body_data_size; # 2207| bytes_to_write += vectors[j].size; # 2208| j++; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2218:29: warning[core.NullDereference]: Dereference of null pointer # 2216| # 2217| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 2218|-> vectors[j].buffer = map_infos[k].data; # 2219| vectors[j].size = map_infos[k].size; # 2220| bytes_to_write += vectors[j].size; Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2218: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2116: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2117: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2125:9: note: in expansion of macro ‘G_UNLIKELY’ # 2216| # 2217| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 2218|-> vectors[j].buffer = map_infos[k].data; # 2219| vectors[j].size = map_infos[k].size; # 2220| bytes_to_write += vectors[j].size; Error: CPPCHECK_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2336: warning[uninitvar]: Uninitialized variable: rversion # 2334| # 2335| if (res == GST_RTSP_OK) # 2336|-> *version = rversion; # 2337| # 2338| return res; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:2601:10: warning[deadcode.DeadStores]: Although the value stored to 'res' is used in the enclosing expression, the value is never actually read from 'res' # 2599| if (message->type == GST_RTSP_MESSAGE_RESPONSE || # 2600| message->type == GST_RTSP_MESSAGE_REQUEST) { # 2601|-> if ((res = gst_rtsp_message_get_header (message, GST_RTSP_HDR_CSEQ, # 2602| &cseq_header, 0)) != GST_RTSP_OK) { # 2603| /* rfc2326 This field MUST be present in all RTSP req and resp */ Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4088:9: warning[deadcode.DeadStores]: Value stored to 'res' is never read # 4086| /* and signal that we lost our tunnel */ # 4087| if (watch->funcs.tunnel_lost) # 4088|-> res = watch->funcs.tunnel_lost (watch, watch->user_data); # 4089| /* we add read source on the write socket able to detect when client closes get channel in tunneled mode */ # 4090| g_mutex_lock (&watch->mutex); Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4348:31: warning[core.NullDereference]: Dereference of null pointer # 4346| # 4347| gst_memory_map (mem, &map_infos[n_mmap], GST_MAP_READ); # 4348|-> vectors[j].buffer = map_infos[n_mmap].data + off; # 4349| vectors[j].size = map_infos[n_mmap].size - off; # 4350| bytes_to_write += vectors[j].size; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4379:18: warning[core.NullDereference]: Array access (from variable 'ids') results in a null pointer dereference # 4377| while ((msg = gst_queue_array_pop_head_struct (watch->messages))) { # 4378| if (msg->id) { # 4379|-> ids[l] = msg->id; # 4380| l++; # 4381| } Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4418:22: warning[core.NullDereference]: Array access (from variable 'ids') results in a null pointer dereference # 4416| # 4417| if (msg->id) { # 4418|-> ids[l] = msg->id; # 4419| l++; # 4420| } Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4793:31: warning[core.NullDereference]: Dereference of null pointer # 4791| # 4792| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 4793|-> vectors[j].buffer = map_infos[k].data; # 4794| vectors[j].size = map_infos[k].size; # 4795| bytes_to_write += vectors[j].size; Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_watch_write_serialized_messages’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4793: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:5067: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:5068: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:5068: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4745: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4746: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4746:3: note: in expansion of macro ‘g_return_val_if_fail’ # 4791| # 4792| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 4793|-> vectors[j].buffer = map_infos[k].data; # 4794| vectors[j].size = map_infos[k].size; # 4795| bytes_to_write += vectors[j].size; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4817:7: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 4815| /* First of all unmap all memories. This simplifies the code below */ # 4816| for (k = 0; k < n_memories; k++) { # 4817|-> gst_memory_unmap (map_infos[k].memory, &map_infos[k]); # 4818| } # 4819| Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4826:19: warning[deadcode.DeadStores]: Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k' # 4824| # 4825| /* free everything */ # 4826|-> for (i = 0, k = 0; i < n_messages; i++) { # 4827| gst_rtsp_serialized_message_clear (&messages[i]); # 4828| } Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspconnection.c:4834:17: warning[deadcode.DeadStores]: Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k' # 4832| # 4833| /* not done, let's skip all messages that were sent already and free them */ # 4834|-> for (i = 0, k = 0, drop_messages = 0; i < n_messages; i++) { # 4835| if (bytes_written >= messages[i].data_size) { # 4836| guint body_size; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): /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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspdefs.h:46: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspdefs.c:59: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspdefs.c: scope_hint: In function ‘auth_digest_compute_a1_md5’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspdefs.c:555:9: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspmessage.c:325:36: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspmessage.c:717:32: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtsprange.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/rtsp/gstrtsptransport.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘payloads_from_bytes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:1759:23: warning[-Wanalyzer-infinite-loop]: infinite loop # 1757| GstMIKEYPayload *p; # 1758| # 1759|-> while (next_payload != GST_MIKEY_PT_LAST) { # 1760| p = NULL; # 1761| switch (next_payload) { Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘gst_mikey_message_to_caps’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:2412: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.h:25: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:986: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:987: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:987: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:992:11: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:1168: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.24.5-build/gst-plugins-base-1.24.5/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: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:448: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:448: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.24.5-build/gst-plugins-base-1.24.5/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: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:472: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstmikey.c:472:3: note: in expansion of macro ‘g_return_val_if_fail’ # 2410| gst_mikey_payload_sp_get_param (payload, i); # 2411| # 2412|-> switch (param->type) { # 2413| case GST_MIKEY_SP_SRTP_ENC_ALG: # 2414| enc_alg = param->val[0]; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_copy’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:1962: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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:1939: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2200: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2437: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2454: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2457: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2454: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455:3: note: in expansion of macro ‘g_return_val_if_fail’ # 1960| gst_sdp_media_get_connection (media, i); # 1961| gst_sdp_media_add_connection (cp, connection->nettype, connection->addrtype, # 1962|-> connection->address, connection->ttl, connection->addr_number); # 1963| } # 1964| Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_as_text’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2020: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:1996: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2200: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2437: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2454: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2457: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2437: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2454: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2455:3: note: in expansion of macro ‘g_return_val_if_fail’ # 2018| const GstSDPConnection *conn = gst_sdp_media_get_connection (media, i); # 2019| # 2020|-> if (conn->nettype && conn->addrtype && conn->address) { # 2021| g_string_append_printf (lines, "c=%s %s %s", conn->nettype, # 2022| conn->addrtype, conn->address); Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2052: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:1996: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2200: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2437: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2587: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2769: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2811: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2812: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2812:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2814: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2769: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2811: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:2812:3: note: in expansion of macro ‘g_return_val_if_fail’ # 2050| const GstSDPAttribute *attr = gst_sdp_media_get_attribute (media, i); # 2051| # 2052|-> if (attr->key) { # 2053| g_string_append_printf (lines, "a=%s", attr->key); # 2054| if (attr->value && attr->value[0] != '\0') Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_message_parse_buffer’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3211: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3169: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3170: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3170: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3171: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3171:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3188:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3194:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3194:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3200:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 3209| bufsize = len + 1; # 3210| } # 3211|-> memcpy (buffer, s, len); # 3212| buffer[len] = '\0'; # 3213| Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3407:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3451: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3449:20: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3451:3: note: in expansion of macro ‘PARSE_INT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3451:3: note: in expansion of macro ‘PARSE_INT’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 3405| G_STMT_START { \ # 3406| gchar *t = p; \ # 3407|-> p = strstr (p, del); \ # 3408| if (p == NULL) \ # 3409| res = -1; \ Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3423:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4479: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4459: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4460: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4460: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4461:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4461: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4461:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4470:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4477:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4479:5: note: in expansion of macro ‘PARSE_STRING’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4479:5: note: in expansion of macro ‘PARSE_STRING’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 3421| G_STMT_START { \ # 3422| gchar *t = p; \ # 3423|-> p = strstr (p, del); \ # 3424| if (p == NULL) { \ # 3425| res = NULL; \ Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:3436:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4137:3: note: in expansion of macro ‘SKIP_SPACES’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4135:20: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4137:3: note: in expansion of macro ‘SKIP_SPACES’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4137:3: note: in expansion of macro ‘SKIP_SPACES’ # 3434| # 3435| #define SKIP_SPACES(p) \ # 3436|-> while (*p && g_ascii_isspace (*p)) \ # 3437| p++; # 3438| Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4303: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4285: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4286: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4286:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4294:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4301:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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 # 4301| to_free = p = g_strdup (extmap); # 4302| # 4303|-> id = strtoul (p, &tmp, 10); # 4304| if (id == 0 || id == 15 || id > 9999 || (*tmp != ' ' && *tmp != '/')) { # 4305| GST_ERROR ("Invalid extmap '%s'", to_free); Error: GCC_ANALYZER_WARNING (CWE-688): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_ssrc_attributes’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4412: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4391: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4392: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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4392:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4403:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/sdp/gstsdpmessage.c:4410:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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 # 4410| to_free = p = g_strdup (value); # 4411| # 4412|-> ssrc = strtoul (p, &tmp, 10); # 4413| if (*tmp != ' ') { # 4414| GST_ERROR ("Invalid ssrc attribute '%s'", to_free); Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/gstexiftag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/gstid3tag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/gsttagdemux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/gstvorbistag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/gstxmptag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/id3v2frames.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/lang.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/licenses.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘parse_text’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/tag.h:25: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/mklicensestables.c:363:26: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘write_translations_dictionary’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/tag/tags.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/convertframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideoaggregator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideoaggregator.c:2082:12: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 2080| return TRUE; # 2081| } else { # 2082|-> return vaggpad_class->prepare_frame (vpad, GST_VIDEO_AGGREGATOR_CAST (agg), # 2083| vpad->priv->buffer, &vpad->priv->prepared_frame); # 2084| } Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideodecoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideoencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideofilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideometa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideopool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideosink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideotimecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/gstvideoutilsprivate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/navigation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-anc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-blend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-chroma.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-converter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-dither.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-event.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c: scope_hint: In function ‘unpack_TILED’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c:4898:15: 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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c:29: 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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c:8136:3: note: in expansion of macro ‘g_return_val_if_fail’ # 4896| unpack_width = MIN (width - x, tile_width - x); # 4897| # 4898|-> tile_finfo->unpack_func (tile_finfo, flags, line, tdata, tstride, x, y, # 4899| unpack_width); # 4900| Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c: scope_hint: In function ‘pack_TILED’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c:4948:15: 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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.c:8136:3: note: in expansion of macro ‘g_return_val_if_fail’ # 4946| pack_width = MIN (width, tile_width); # 4947| # 4948|-> tile_finfo->pack_func (tile_finfo, flags, line, sstride, tdata, tstride, # 4949| chroma_site, y, pack_width); # 4950| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-frame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-info-dma.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-overlay-composition.c:1343:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video.h:29: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-overlay-composition.h:26: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-overlay-composition.c:61: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.h:872:52: note: in definition of macro ‘GST_VIDEO_FORMAT_INFO_FORMAT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-overlay-composition.c:1353:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-format.h:872:52: note: in definition of macro ‘GST_VIDEO_FORMAT_INFO_FORMAT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-overlay-composition.c:1201:12: note: in expansion of macro ‘GST_VIDEO_INFO_FORMAT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-resampler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video-scaler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/adder/gstadder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/audioconvert/gstaudioconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/audiorate/gstaudiorate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/audioresample/gstaudioresample.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/audiotestsrc/gstaudiotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/compositor/blend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/compositor/compositor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c: scope_hint: In function ‘gst_dsd_convert_transform’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:337:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_dsd_plane_ofs_meta’ /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.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.h:22: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:24: 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.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:283: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.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:284: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.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:284: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’ /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.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:286:3: note: in expansion of macro ‘GST_LOG_OBJECT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.h:24: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:305:7: note: in expansion of macro ‘GST_DSD_INFO_LAYOUT’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/dsd/gstdsdconvert.c:326:7: note: in expansion of macro ‘GST_DSD_INFO_LAYOUT’ # 335| gint channel_idx; # 336| # 337|-> out_dsd_plane_ofs_meta->num_bytes_per_channel = # 338| num_dsd_bytes / num_channels; # 339| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/encoding/gstencodebasebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/encoding/gstsmartencoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/gio/gstgiobasesrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/gio/gstgioelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/gio/gstgiosink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/gio/gstgiosrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/overlaycomposition/gstoverlaycomposition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c:1239: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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c:1879:3: note: in expansion of macro ‘g_return_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’ /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.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c:1881:3: 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’ /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.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c:1233:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 1237| # 1238| /* Unlink from slot */ # 1239|-> if (stream->srcpad) { # 1240| GstPad *peer; # 1241| peer = gst_pad_get_peer (stream->srcpad); Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c: scope_hint: In function ‘gst_decodebin_input_link_to_slot’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstdecodebin3.c:3760:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3758| gst_decodebin_get_slot_for_input_stream_locked (dbin, input_stream); # 3759| # 3760|-> if (slot->input != NULL && slot->input != input_stream) { # 3761| GST_ERROR_OBJECT (slot->dbin, "Input stream is already linked to a slot"); # 3762| return; Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstparsebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaybackutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaybin2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaybin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaysink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaysinkaudioconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaysinkconvertbin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstplaysinkvideoconvert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gststreamsynchronizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gststreamsynchronizer.c:1052:3: warning[unix.Malloc]: Use of memory after it is freed # 1050| gst_stream_synchronizer_release_stream (self, stream); # 1051| # 1052|-> gst_syncstream_unref (stream); # 1053| GST_STREAM_SYNCHRONIZER_UNLOCK (self); # 1054| } Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstsubtitleoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gstsubtitleoverlay.c:562: warning[nullPointer]: Possible null pointer dereference: (struct GstObject*)((struct GstPluginFeature*)(factory)) # 560| } else { # 561| factory_name = # 562|-> gst_plugin_feature_get_name (GST_PLUGIN_FEATURE_CAST (factory)); # 563| elt = gst_element_factory_create (factory, element_name); # 564| } Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘switch_and_activate_input_locked’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c:1222:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*new_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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c:1381:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /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.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c:1210:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 1220| # 1221| pending_about_to_finish = new_item->pending_about_to_finish; # 1222|-> if (new_item->main_item->handler->pending_buffering_msg) { # 1223| pending_buffering_msg = new_item->main_item->handler->pending_buffering_msg; # 1224| new_item->main_item->handler->pending_buffering_msg = NULL; Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c:2070:40: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'play_items') # 2068| } # 2069| # 2070|-> dec->output_item = dec->input_item = dec->play_items->data; # 2071| dec->output_item->posted_about_to_finish = FALSE; # 2072| PLAY_ITEMS_UNLOCK (dec); Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘purge_play_items’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturidecodebin3.c:2070:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 2068| } # 2069| # 2070|-> dec->output_item = dec->input_item = dec->play_items->data; # 2071| dec->output_item->posted_about_to_finish = FALSE; # 2072| PLAY_ITEMS_UNLOCK (dec); Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c: scope_hint: In function ‘new_demuxer_pad_added_cb’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:868:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 866| as-is directly. We still add an event probe to deal with EOS */ # 867| slot = new_output_slot (info, pad); # 868|-> output_pad = gst_object_ref (slot->output_pad); # 869| # 870| slot->demuxer_event_probe_id = Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c: scope_hint: In function ‘handle_new_pad’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2147: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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2144:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 2145| ", exposing", caps); # 2146| slot = new_output_slot (info, srcpad); # 2147|-> output_pad = gst_object_ref (slot->output_pad); # 2148| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2149| Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2202:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2200:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’ # 2200| GST_URI_SOURCE_BIN_LOCK (urisrc); # 2201| slot = new_output_slot (info, srcpad); # 2202|-> output_pad = gst_object_ref (slot->output_pad); # 2203| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2204| expose_output_pad (urisrc, output_pad); Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2234:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/playback/gsturisourcebin.c:2228:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’ # 2232| pre_queue_event_probe, urisrc, NULL); # 2233| # 2234|-> output_pad = gst_object_ref (slot->output_pad); # 2235| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2236| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/rawparse/gstrawaudioparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/rawparse/gstrawbaseparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/rawparse/gstrawvideoparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstssaparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c:1140: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.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c:32: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c:1327:13: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparse.c:1328:7: note: in expansion of macro ‘g_string_truncate’ # 1138| * of the subviewer format uses this for newlines */ # 1139| # 1140|-> if (read[0] == '\0' || read[1] == '\0' || read[2] == '\0' || read[3] == '\0') # 1141| return; # 1142| Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/gstsubparseelement.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/mpl2parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/qttextparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/samiparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/subparse/samiparse.c: scope_hint: In function ‘html_context_parse’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/tcp/gstmultifdsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/tcp/gstmultihandlesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/tcp/gstmultisocketsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/tcp/gstsocketsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/tcp/gsttcpelements.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/typefind/gsttypefindfunctions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videoconvertscale/gstvideoconvertscale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videorate/gstvideorate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videorate/gstvideorate.c:580:8: warning[deadcode.DeadStores]: Although the value stored to 'par' is used in the enclosing expression, the value is never actually read from 'par' # 578| gst_structure_fixate_field_nearest_fraction (s, "framerate", num, denom); # 579| # 580|-> if ((par = gst_structure_get_value (s, "pixel-aspect-ratio"))) # 581| gst_structure_fixate_field_nearest_fraction (s, "pixel-aspect-ratio", 1, 1); # 582| Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videorate/gstvideorate.c:1099:11: warning[deadcode.DeadStores]: Value stored to 'res' is never read # 1097| /* allow the duration to be invalid as there is no way to infer it if we # 1098| * received a single buffer and not output framerate was set. */ # 1099|-> res = # 1100| gst_video_rate_flush_prev (videorate, FALSE, GST_CLOCK_TIME_NONE, # 1101| TRUE); Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videorate/gstvideorate.c:1891:9: warning[deadcode.DeadStores]: Value stored to 'next_ts' is never read # 1889| } # 1890| # 1891|-> next_ts = videorate->base_ts - ( # 1892| (videorate->base_ts - next_ts) * videorate->rate); # 1893| next_end_ts = videorate->base_ts - (MAX (0, Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videotestsrc/gstvideotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/videotestsrc/videotestsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst/volume/gstvolume.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect6pq11zq3/GstAudio-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect6pq11zq3/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect7uususrp/GstGLEGL-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect7uususrp/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect7y9n4iau/GstVideo-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect7y9n4iau/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect9i47v51m/GstSdp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspect9i47v51m/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectd766sp_c/GstRtsp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectd766sp_c/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectex53gptf/GstGLX11-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectex53gptf/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectlotb6xu8/GstGL-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectlotb6xu8/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectm0776fa_/GstTag-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectm0776fa_/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectpetk5rpc/GstRtp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectpetk5rpc/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectqjcrt8zf/GstAllocators-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectqjcrt8zf/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectvzpofcvt/GstApp-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectvzpofcvt/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectx84fa86e/GstGLWayland-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectx84fa86e/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectxhyoh3q2/GstPbutils-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/redhat-linux-build/tmp-introspectxhyoh3q2/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagepool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-457): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.c: scope_hint: In function ‘gst_x_image_sink_xwindow_select_touch_events’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.c:524:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp.abs_pressure’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/videooverlay.h:26: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.c:105: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/navigation.h:26: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvcontext.c: scope_hint: In function ‘gst_xwindow_select_touch_events’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/gst-libs/gst/video/video.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvcontext.h:43: included_from: Included from here. gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvimageallocator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvimageallocator.c: scope_hint: In function ‘gst_xvimage_memory_copy.part.0’ gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/sys/xvimage/xvimagesink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-909): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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): gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/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: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/tools/gst-device-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/tools/gst-discoverer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gstreamer1-plugins-base-1.24.5-build/gst-plugins-base-1.24.5/tools/gst-play.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.