Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/gl/gstgldifferencematte.c: scope_hint: In function ‘gst_gl_differencematte_loader’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/gl/gstgldifferencematte.c:571:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rows’ # 569| # 570| for (y = 0; y < height; ++y) # 571|-> rows[y] = (guchar *) (differencematte->pixbuf + y * width * 4); # 572| # 573| png_read_image (png_ptr, rows); Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/gl/gstgloverlay.c: scope_hint: In function ‘gst_gl_overlay_load_png’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/gl/gstgloverlay.c:838:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rows’ # 836| # 837| for (y = 0; y < height; ++y) # 838|-> rows[y] = (guchar *) (map_info.data + y * width * 4); # 839| # 840| png_read_image (png_ptr, rows); Error: GCC_ANALYZER_WARNING (CWE-688): [#def3] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/ogg/gstoggstream.c: scope_hint: In function ‘gst_ogg_stream_setup_map’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/ogg/gstoggstream.c:2696:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/ogg/gstoggstream.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/ogg/gstoggstream.c:25: included_from: Included from here. /usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null # 2694| if (packet->bytes >= mappers[i].min_packet_size && # 2695| packet->bytes >= mappers[i].id_length && # 2696|-> memcmp (packet->packet, mappers[i].id, mappers[i].id_length) == 0) { # 2697| # 2698| GST_DEBUG ("found mapper for '%s'", mappers[i].id); Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] /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.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.h:30: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:46: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c: scope_hint: In function ‘theora_handle_image’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:681:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:681:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:726:7: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c: scope_hint: In function ‘theora_handle_image’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:616:7: note: in expansion of macro ‘GST_LOG_OBJECT’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:738:14: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:742:3: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:745:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:755:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:755:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:758:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:758:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoradec.c:658:7: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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: CPPCHECK_WARNING (CWE-457): [#def5] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/theora/gsttheoraenc.c:996: error[legacyUninitvar]: Uninitialized variable: ycbcr # 994| gst_video_frame_map (&vframe, &enc->input_state->info, frame->input_buffer, # 995| GST_MAP_READ); # 996|-> theora_enc_init_buffer (ycbcr, &vframe); # 997| # 998| res = th_encode_ycbcr_in (enc->encoder, ycbcr); Error: CPPCHECK_WARNING (CWE-457): [#def6] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/ext/vorbis/gstvorbisdec.c:214: warning[uninitvar]: Uninitialized variable: position # 212| position[i] = GST_AUDIO_CHANNEL_POSITION_NONE; # 213| gst_audio_info_set_format (&info, GST_VORBIS_AUDIO_FORMAT, vd->vi.rate, # 214|-> vd->vi.channels, position); # 215| break; # 216| } Error: GCC_ANALYZER_WARNING (CWE-131): [#def7] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/audio/audio-resampler.c: scope_hint: In function ‘alloc_cache_mem’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/audio/audio-resampler.c:1012:28: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 1010| resampler->cached_taps = # 1011| MEM_ALIGN ((gint8 *) resampler->cached_taps_mem + phases_size, ALIGN); # 1012|-> resampler->cached_phases = resampler->cached_taps_mem; # 1013| } # 1014| Error: COMPILER_WARNING (CWE-477): [#def8] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/audio/gstaudiocdsrc.c: scope_hint: In function ‘gst_audio_cd_src_start’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/audio/gstaudiocdsrc.c:1578:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead # 1578 | g_qsort_with_data (src->priv->tracks, src->priv->num_tracks, # | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib.h:71: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/tag.h:25: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/audio/gstaudiocdsrc.c:96: included_from: Included from here. /usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here # 39 | void g_qsort_with_data (gconstpointer pbase, # | ^~~~~~~~~~~~~~~~~ # 1576| src->priv->num_all_tracks = src->priv->num_tracks; # 1577| # 1578|-> g_qsort_with_data (src->priv->tracks, src->priv->num_tracks, # 1579| sizeof (GstAudioCdSrcTrack), gst_audio_cd_src_track_sort_func, NULL); # 1580| Error: CPPCHECK_WARNING (CWE-457): [#def9] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def10] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/gl/gstglcolorconvert.c: scope_hint: In function ‘gst_gl_color_convert_fixate_format_target’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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 (CWE-457): [#def11] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/gl/gstglframebuffer.c:389: error[legacyUninitvar]: Uninitialized variable: width # 387| } # 388| # 389|-> if (width < min_width) # 390| min_width = width; # 391| if (height < min_height) Error: CPPCHECK_WARNING (CWE-457): [#def12] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/gl/gstglframebuffer.c:391: error[legacyUninitvar]: Uninitialized variable: height # 389| if (width < min_width) # 390| min_width = width; # 391|-> if (height < min_height) # 392| min_height = height; # 393| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c: scope_hint: In function ‘gst_discoverer_info_copy_int’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:127:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/pbutils.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:25: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:417:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:423:14: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c: scope_hint: In function ‘gst_discoverer_info_copy_int’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here. /usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here. /usr/include/glib-2.0/glib-object.h:24: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:31: included_from: Included from here. /usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/pbutils.h:31: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ /usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/glib/gasyncqueue.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:34: included_from: Included from here. /usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’ /usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:202:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’ /usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ /usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’ /usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:202:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’ /usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:657:82: note: in definition of macro ‘G_TYPE_FROM_CLASS’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:103:10: note: in expansion of macro ‘G_TYPE_FROM_INSTANCE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ /usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2272:33: note: in expansion of macro ‘g_once_init_enter_pointer’ /usr/include/glib-2.0/gobject/gtype.h:2306:7: note: in expansion of macro ‘_g_type_once_init_enter’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ /usr/include/glib-2.0/gobject/gtype.h:2338:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’ /usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’ /usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:154:1: note: in expansion of macro ‘G_DEFINE_TYPE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:105:15: note: in expansion of macro ‘GST_TYPE_DISCOVERER_CONTAINER_INFO’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:109:22: note: in expansion of macro ‘GST_TYPE_DISCOVERER_AUDIO_INFO’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib.h:64: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/pbutils/gstdiscoverer-types.c:101:3: note: in expansion of macro ‘g_return_val_if_fail’ # 125| if (info->next) { # 126| ret->next = gst_discoverer_info_copy_int (info->next, stream_map); # 127|-> ret->next->previous = ret; # 128| } # 129| Error: CPPCHECK_WARNING (CWE-457): [#def14] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def15] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def16] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def17] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-121): [#def18] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_connection_send_messages_usec’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2211:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:64: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2122:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2211:25: note: write of 8 bytes to beyond the end of the region # 2209| # 2210| if (serialized_messages[i].body_data) { # 2211|-> vectors[j].buffer = serialized_messages[i].body_data; # 2212| vectors[j].size = serialized_messages[i].body_data_size; # 2213| bytes_to_write += vectors[j].size; Error: GCC_ANALYZER_WARNING (CWE-121): [#def19] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2212:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2122:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2212:23: note: write of 8 bytes to beyond the end of the region # 2210| if (serialized_messages[i].body_data) { # 2211| vectors[j].buffer = serialized_messages[i].body_data; # 2212|-> vectors[j].size = serialized_messages[i].body_data_size; # 2213| bytes_to_write += vectors[j].size; # 2214| j++; Error: GCC_ANALYZER_WARNING (CWE-476): [#def20] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2224:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map_infos’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2122:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2123:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2131:9: note: in expansion of macro ‘G_UNLIKELY’ # 2222| # 2223| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 2224|-> vectors[j].buffer = map_infos[k].data; # 2225| vectors[j].size = map_infos[k].size; # 2226| bytes_to_write += vectors[j].size; Error: CPPCHECK_WARNING (CWE-457): [#def21] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:2342: warning[uninitvar]: Uninitialized variable: rversion # 2340| # 2341| if (res == GST_RTSP_OK) # 2342|-> *version = rversion; # 2343| # 2344| return res; Error: GCC_ANALYZER_WARNING (CWE-476): [#def22] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c: scope_hint: In function ‘gst_rtsp_watch_write_serialized_messages’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:4799:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map_infos’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:5073:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:5074:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:5074:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:4751:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:4752:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspconnection.c:4752:3: note: in expansion of macro ‘g_return_val_if_fail’ # 4797| # 4798| gst_memory_map (mem, &map_infos[k], GST_MAP_READ); # 4799|-> vectors[j].buffer = map_infos[k].data; # 4800| vectors[j].size = map_infos[k].size; # 4801| bytes_to_write += vectors[j].size; Error: GCC_ANALYZER_WARNING (CWE-688): [#def23] /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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.h:46: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:59: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c: scope_hint: In function ‘auth_digest_compute_a1_md5’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:555:9: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c: scope_hint: In function ‘auth_digest_compute_a1_md5’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspdefs.c:556:3: note: in expansion of macro ‘g_assert’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 554| g_checksum_update (md5_context, (const guchar *) password, strlen (password)); # 555| ret = g_strdup (g_checksum_get_string (md5_context)); # 556|-> g_assert (strlen (ret) == 32); # 557| g_checksum_free (md5_context); # 558| Error: GCC_ANALYZER_WARNING (CWE-688): [#def24] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:351:20: warning[-Wanalyzer-null-argument]: use of NULL ‘header’ where non-null expected /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gstutils.h:28: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:59: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:287:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:52: included_from: Included from here. /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:289:12: note: in expansion of macro ‘g_new0’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:316:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:479:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:325:36: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:707:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:707:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib.h:33: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:717:32: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c:350:18: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/rtsp/gstrtspmessage.c: scope_hint: In function ‘gst_rtsp_message_init_response’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 349| # 350| header = g_strdup (header); # 351|-> if ((pos = strchr (header, ';'))) { # 352| *pos = '\0'; # 353| } Error: GCC_ANALYZER_WARNING (CWE-835): [#def25] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘payloads_from_bytes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def26] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c: scope_hint: In function ‘gst_mikey_message_to_caps’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.h:25: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:38: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:992:11: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:1168:9: note: in expansion of macro ‘g_array_index’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:447:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstmikey.c:471:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-476): [#def27] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_copy’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:61: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2457:11: note: in expansion of macro ‘g_array_index’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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): [#def28] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_as_text’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2020:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2455:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2457:11: note: in expansion of macro ‘g_array_index’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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): [#def29] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2052:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2812:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:2814:11: note: in expansion of macro ‘g_array_index’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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): [#def30] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_message_parse_buffer’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3171:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3188:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3194:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3194:5: note: in expansion of macro ‘SIZE_CHECK_GUARD’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def31] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3407:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3449:20: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_rtpmap’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3451:3: note: in expansion of macro ‘PARSE_INT’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def32] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3423:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4479:5: note: in expansion of macro ‘PARSE_STRING’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4461:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4461:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4470:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4477:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_rid_attributes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4479:5: note: in expansion of macro ‘PARSE_STRING’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def33] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:3436:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4137:3: note: in expansion of macro ‘SKIP_SPACES’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4135:20: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_parse_keymgmt’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4137:3: note: in expansion of macro ‘SKIP_SPACES’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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): [#def34] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4286:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4294:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4301:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_extmap_attributes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:58: included_from: Included from here. /usr/include/stdlib.h:181:26: note: argument 1 of ‘strtoul’ must be non-null # 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): [#def35] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_ssrc_attributes’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4392:3: note: in expansion of macro ‘g_return_val_if_fail’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4403:13: note: in expansion of macro ‘g_array_index’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c:4410:19: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/sdp/gstsdpmessage.c: scope_hint: In function ‘gst_sdp_media_add_ssrc_attributes’ /usr/include/stdlib.h:181:26: note: argument 1 of ‘strtoul’ must be non-null # 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 (CWE-823): [#def36] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:208: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds. # 206| g_error ("Unexpected tag '%s'\n", element_name); # 207| # 208|-> if (tag_map[i].attribute == NULL) # 209| return; # 210| Error: CPPCHECK_WARNING (CWE-823): [#def37] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:212: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds. # 210| # 211| if (!g_markup_collect_attributes (element_name, attr_names, attr_vals, # 212|-> err, G_MARKUP_COLLECT_STRING, tag_map[i].attribute, &ref, # 213| G_MARKUP_COLLECT_INVALID)) { # 214| return; Error: CPPCHECK_WARNING (CWE-823): [#def38] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:330: error[arrayIndexOutOfBounds]: Array 'tag_map[18]' accessed at index 18, which is out of bounds. # 328| g_error ("Unexpected tag '%s'\n", element_name); # 329| # 330|-> switch (tag_map[i].element_tag) { # 331| case TAG_CC_LICENSE: # 332| case TAG_CC_JURISDICTION: Error: GCC_ANALYZER_WARNING (CWE-688): [#def39] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘parse_text’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:364:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/tag.h:25: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:31: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:362:7: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:363:26: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘parse_text’ <built-in>: note: argument 2 of ‘__builtin_strstr’ must be non-null # 362| g_assert (license->version == NULL); # 363| license->version = g_strdup (text); # 364|-> found = strstr (known_versions, license->version); # 365| if (found == NULL || found[strlen (license->version)] != '/') # 366| g_error ("Unexpected version '%s', please add to table.", text); Error: GCC_ANALYZER_WARNING (CWE-775): [#def40] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c: scope_hint: In function ‘write_translations_dictionary’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:696:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dict_filename, "wb")’ # 694| # 695| f = fopen (dict_filename, "wb"); # 696|-> if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) { # 697| g_error ("failed to write dict to file: %s", g_strerror (errno)); # 698| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def41] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:696:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dict_filename, "wb")’ # 694| # 695| f = fopen (dict_filename, "wb"); # 696|-> if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) { # 697| g_error ("failed to write dict to file: %s", g_strerror (errno)); # 698| } Error: GCC_ANALYZER_WARNING (CWE-688): [#def42] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:696:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(dict_filename, "wb")’ where non-null expected gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/tag/mklicensestables.c:35: included_from: Included from here. /usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null # 694| # 695| f = fopen (dict_filename, "wb"); # 696|-> if (fwrite (g_variant_get_data (var), g_variant_get_size (var), 1, f) != 1) { # 697| g_error ("failed to write dict to file: %s", g_strerror (errno)); # 698| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def43] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-format.c: scope_hint: In function ‘unpack_TILED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-format.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-format.c:29: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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): [#def44] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-format.c: scope_hint: In function ‘pack_TILED’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-476): [#def45] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-overlay-composition.c: scope_hint: In function ‘gst_video_overlay_rectangle_get_pixels_raw_internal.part.0’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-overlay-composition.c:1343:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’ # 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): [#def46] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-overlay-composition.c:1353:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘scaled_rect’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video-overlay-composition.c:1351:3: note: in expansion of macro ‘GST_RECTANGLE_UNLOCK’ # 1351| GST_RECTANGLE_UNLOCK (rectangle); # 1352| # 1353|-> return scaled_rect->pixels; # 1354| } # 1355| Error: GCC_ANALYZER_WARNING (CWE-476): [#def47] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c: scope_hint: In function ‘gst_dsd_convert_transform’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.h:22: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c:24: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c:283:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c:284:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c:286:3: note: in expansion of macro ‘GST_LOG_OBJECT’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.h:24: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/dsd/gstdsdconvert.c:305:7: note: in expansion of macro ‘GST_DSD_INFO_LAYOUT’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-476): [#def48] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstdecodebin3.c: scope_hint: In function ‘gst_decodebin_input_link_to_slot’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstdecodebin3.c:3841:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3839| gst_decodebin_get_slot_for_input_stream_locked (dbin, input_stream); # 3840| # 3841|-> if (slot->input != NULL && slot->input != input_stream) { # 3842| GST_ERROR_OBJECT (slot->dbin, "Input stream is already linked to a slot"); # 3843| return; Error: CPPCHECK_WARNING (CWE-476): [#def49] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstplaysink.c:1731: warning[nullPointer]: Possible null pointer dereference: channel # 1729| /* Convert to channel range */ # 1730| new_val = # 1731|-> channel->min_value + new_val * ((gdouble) channel->max_value - # 1732| (gdouble) channel->min_value); # 1733| Error: CPPCHECK_WARNING (CWE-476): [#def50] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstplaysink.c:1732: warning[nullPointer]: Possible null pointer dereference: channel # 1730| new_val = # 1731| channel->min_value + new_val * ((gdouble) channel->max_value - # 1732|-> (gdouble) channel->min_value); # 1733| # 1734| gst_color_balance_set_value (balance, channel, (gint) (new_val + 0.5)); Error: CPPCHECK_WARNING (CWE-476): [#def51] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstplaysink.c:5536: warning[nullPointer]: Possible null pointer dereference: channel # 5534| /* Convert to channel range */ # 5535| new_val = # 5536|-> channel->min_value + new_val * ((gdouble) channel->max_value - # 5537| (gdouble) channel->min_value); # 5538| Error: CPPCHECK_WARNING (CWE-476): [#def52] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gstplaysink.c:5537: warning[nullPointer]: Possible null pointer dereference: channel # 5535| new_val = # 5536| channel->min_value + new_val * ((gdouble) channel->max_value - # 5537|-> (gdouble) channel->min_value); # 5538| # 5539| gst_color_balance_set_value (balance_element, channel, Error: CPPCHECK_WARNING (CWE-476): [#def53] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-476): [#def54] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘switch_and_activate_input_locked’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c:1231: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.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c:34: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c:1390:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c:1219:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 1229| # 1230| pending_about_to_finish = new_item->pending_about_to_finish; # 1231|-> if (new_item->main_item->handler->pending_buffering_msg) { # 1232| pending_buffering_msg = new_item->main_item->handler->pending_buffering_msg; # 1233| new_item->main_item->handler->pending_buffering_msg = NULL; Error: GCC_ANALYZER_WARNING (CWE-476): [#def55] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c: scope_hint: In function ‘purge_play_items’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturidecodebin3.c:2079:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 2077| } # 2078| # 2079|-> dec->output_item = dec->input_item = dec->play_items->data; # 2080| dec->output_item->posted_about_to_finish = FALSE; # 2081| PLAY_ITEMS_UNLOCK (dec); Error: GCC_ANALYZER_WARNING (CWE-476): [#def56] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c: scope_hint: In function ‘new_demuxer_pad_added_cb’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:894:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 892| as-is directly. We still add an event probe to deal with EOS */ # 893| slot = new_output_slot (info, pad); # 894|-> output_pad = gst_object_ref (slot->output_pad); # 895| # 896| GST_URI_SOURCE_BIN_UNLOCK (urisrc); Error: GCC_ANALYZER_WARNING (CWE-476): [#def57] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c: scope_hint: In function ‘handle_new_pad’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2194: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.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:41: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2191:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ # 2192| ", exposing", caps); # 2193| slot = new_output_slot (info, srcpad); # 2194|-> output_pad = gst_object_ref (slot->output_pad); # 2195| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2196| Error: GCC_ANALYZER_WARNING (CWE-476): [#def58] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2249:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2247:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’ # 2247| GST_URI_SOURCE_BIN_LOCK (urisrc); # 2248| slot = new_output_slot (info, srcpad); # 2249|-> output_pad = gst_object_ref (slot->output_pad); # 2250| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2251| expose_output_pad (urisrc, output_pad); Error: GCC_ANALYZER_WARNING (CWE-476): [#def59] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2281:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/playback/gsturisourcebin.c:2275:7: note: in expansion of macro ‘GST_URI_SOURCE_BIN_LOCK’ # 2279| pre_queue_event_probe, urisrc, NULL); # 2280| # 2281|-> output_pad = gst_object_ref (slot->output_pad); # 2282| GST_URI_SOURCE_BIN_UNLOCK (urisrc); # 2283| Error: GCC_ANALYZER_WARNING (CWE-476): [#def60] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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.9-build/gst-plugins-base-1.24.9/gst/subparse/gstsubparse.c:32: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/subparse/gstsubparse.c:1327:13: note: in expansion of macro ‘g_strdup’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/subparse/gstsubparse.c: scope_hint: In function ‘unescape_newlines_br’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/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: GCC_ANALYZER_WARNING (CWE-476): [#def61] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/subparse/samiparse.c: scope_hint: In function ‘html_context_parse’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst/subparse/samiparse.c:543:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’ # 541| next = ctxt->buf->str; # 542| while (TRUE) { # 543|-> if (next[0] == '<') { # 544| gchar *element = NULL; # 545| /* find <blahblah> */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def62] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c: scope_hint: In function ‘gst_x_image_sink_xwindow_select_touch_events’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:524:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp.abs_pressure’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/videooverlay.h:26: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:105: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:1922:9: note: in expansion of macro ‘GST_VIDEO_SINK_WIDTH’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/navigation.h:26: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:104: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:549:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:549:25: note: in expansion of macro ‘GST_IS_X_IMAGE_SINK’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250: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.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:549:3: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.h:52:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:549:25: note: in expansion of macro ‘GST_IS_X_IMAGE_SINK’ /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/sys/ximage/ximagesink.c:518:7: note: in expansion of macro ‘GST_DEBUG’ # 522| # 523| device = g_new (GstXTouchDevice, 1); # 524|-> *device = temp; # 525| device->name = g_strdup (device->name); # 526| ximagesink->touch_devices = Error: GCC_ANALYZER_WARNING (CWE-457): [#def63] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvcontext.c: scope_hint: In function ‘gst_xwindow_select_touch_events’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvcontext.c:1197:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘temp.abs_pressure’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/gst-libs/gst/video/video.h:23: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvcontext.h:43: included_from: Included from here. gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvcontext.c:28: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1251: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.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvcontext.c:1192:7: note: in expansion of macro ‘GST_DEBUG’ # 1195| temp.id, temp.name); # 1196| # 1197|-> GstXvTouchDevice device = temp; # 1198| device.name = g_strdup (temp.name); # 1199| Error: GCC_ANALYZER_WARNING (CWE-476): [#def64] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvimageallocator.c: scope_hint: In function ‘gst_xvimage_memory_copy.part.0’ gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvimageallocator.c:264:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 262| mem->xvimage->height, &mem->crop, NULL); # 263| # 264|-> memcpy (copy->xvimage->data + copy->parent.offset, # 265| mem->xvimage->data + mem->parent.offset, mem->xvimage->data_size); # 266| Error: CPPCHECK_WARNING (CWE-909): [#def65] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvimagesink.c:318: error[uninitStructMember]: Uninitialized struct member: s.x # 316| dst.h = xwindow->render_rect.h; # 317| # 318|-> gst_video_sink_center_rect (s, dst, &result, TRUE); # 319| result.x += xwindow->render_rect.x; # 320| result.y += xwindow->render_rect.y; Error: CPPCHECK_WARNING (CWE-909): [#def66] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvimagesink.c:318: error[uninitStructMember]: Uninitialized struct member: s.y # 316| dst.h = xwindow->render_rect.h; # 317| # 318|-> gst_video_sink_center_rect (s, dst, &result, TRUE); # 319| result.x += xwindow->render_rect.x; # 320| result.y += xwindow->render_rect.y; Error: CPPCHECK_WARNING (CWE-457): [#def67] gstreamer1-plugins-base-1.24.9-build/gst-plugins-base-1.24.9/sys/xvimage/xvimagesink.c:318: error[uninitvar]: Uninitialized variables: s.x, s.y # 316| dst.h = xwindow->render_rect.h; # 317| # 318|-> gst_video_sink_center_rect (s, dst, &result, TRUE); # 319| result.x += xwindow->render_rect.x; # 320| result.y += xwindow->render_rect.y;
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-56.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | gstreamer1-plugins-base-1.24.9-1.fc42 |
store-results-to | /tmp/tmpfnyyehqc/gstreamer1-plugins-base-1.24.9-1.fc42.tar.xz |
time-created | 2024-11-13 00:25:18 |
time-finished | 2024-11-13 00:31:20 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpfnyyehqc/gstreamer1-plugins-base-1.24.9-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpfnyyehqc/gstreamer1-plugins-base-1.24.9-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |