gstreamer1-plugins-bad-free-1.24.9-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c: scope_hint: In function ‘gst_avtp_sink_init_msghdr’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:298:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
/usr/include/sys/socket.h:33: included_from: Included from here.
/usr/include/netinet/in.h:23: included_from: Included from here.
/usr/include/arpa/inet.h:22: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:46: included_from: Included from here.
#  296|   
#  297|     cmsg = CMSG_FIRSTHDR (msg);
#  298|->   cmsg->cmsg_level = SOL_SOCKET;
#  299|     cmsg->cmsg_type = SCM_TXTIME;
#  300|     cmsg->cmsg_len = CMSG_LEN (sizeof (__u64));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c: scope_hint: In function ‘gst_avtp_sink_render’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:438:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
/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.
/usr/include/gstreamer-1.0/gst/base/gstbasesink.h:26: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:58: 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’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:423:7: note: in expansion of macro ‘G_LIKELY’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:428:5: note: in expansion of macro ‘g_assert’
/usr/include/gstreamer-1.0/gst/gstbuffer.h:162:44: note: in expansion of macro ‘GST_CLOCK_TIME_IS_VALID’
/usr/include/gstreamer-1.0/gst/gstbuffer.h:162:69: note: in expansion of macro ‘GST_BUFFER_DTS’
/usr/include/gstreamer-1.0/gst/gstbuffer.h:110:50: note: in expansion of macro ‘GST_BUFFER_DTS_IS_VALID’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:428:15: note: in expansion of macro ‘GST_BUFFER_DTS_OR_PTS’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/avtp/gstavtpsink.c:428:5: note: in expansion of macro ‘g_assert’
#  436|       base_time = gst_element_get_base_time (GST_ELEMENT (avtpsink));
#  437|       running_time = gst_avtp_sink_adjust_time (basesink, running_time);
#  438|->     *(__u64 *) CMSG_DATA (cmsg) = UTC_TO_TAI (base_time + running_time);
#  439|     }
#  440|   

Error: CPPCHECK_WARNING (CWE-457): [#def3]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/ccutils.c:635: warning[uninitvar]: Uninitialized variable: cea608_1_copy
#  633|     }
#  634|   
#  635|->   push_internal (buf, cea608_1_copy, cea608_1_len, cea608_2_copy,
#  636|         cea608_2_len, cc_data_copy, cc_data_len);
#  637|   

Error: CPPCHECK_WARNING (CWE-457): [#def4]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/ccutils.c:635: warning[uninitvar]: Uninitialized variable: cea608_2_copy
#  633|     }
#  634|   
#  635|->   push_internal (buf, cea608_1_copy, cea608_1_len, cea608_2_copy,
#  636|         cea608_2_len, cc_data_copy, cc_data_len);
#  637|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/ccutils.c: scope_hint: In function ‘cc_buffer_take_separated’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/ccutils.c:863:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  861|         guint padding = 3 * fps_entry->max_ccp_count;
#  862|         for (i = 0; i < padding; i += 3) {
#  863|->         cc_data[i + write_ccp_size] = 0xfa;
#  864|           cc_data[i + 1 + write_ccp_size] = 0x00;
#  865|           cc_data[i + 2 + write_ccp_size] = 0x00;

Error: CPPCHECK_WARNING (CWE-457): [#def6]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstcccombiner.c:252: warning[uninitvar]: Uninitialized variable: field0_data
#  250|     }
#  251|   
#  252|->   if (cc_buffer_push_separated (self->cc_buffer, field0_data, field0_len,
#  253|             field1_data, field1_len, NULL, 0))
#  254|       self->current_scheduled++;

Error: CPPCHECK_WARNING (CWE-457): [#def7]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstcccombiner.c:253: warning[uninitvar]: Uninitialized variable: field1_data
#  251|   
#  252|     if (cc_buffer_push_separated (self->cc_buffer, field0_data, field0_len,
#  253|->           field1_data, field1_len, NULL, 0))
#  254|       self->current_scheduled++;
#  255|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstccconverter.c: scope_hint: In function ‘can_take_buffer’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstccconverter.c:631:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_fps_entry’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstccconverter.c: scope_hint: In function ‘can_take_buffer’
#  629|     } else {
#  630|       interpolate_time_code_with_framerate (self, in_tc, out_fps_entry->fps_n,
#  631|->         out_fps_entry->fps_d, scale_n, scale_d, out_tc);
#  632|       return TRUE;
#  633|     }

Error: CPPCHECK_WARNING (CWE-457): [#def9]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstccconverter.c:1033: warning[uninitvar]: Uninitialized variable: cea608_1
# 1031|       gst_buffer_unmap (inbuf, &in);
# 1032|   
# 1033|->     cc_buffer_push_separated (self->cc_buffer, cea608_1, cea608_1_len,
# 1034|           cea608_2, cea608_2_len, NULL, 0);
# 1035|       self->input_frames++;

Error: CPPCHECK_WARNING (CWE-457): [#def10]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/closedcaption/gstccconverter.c:1034: warning[uninitvar]: Uninitialized variable: cea608_2
# 1032|   
# 1033|       cc_buffer_push_separated (self->cc_buffer, cea608_1, cea608_1_len,
# 1034|->         cea608_2, cea608_2_len, NULL, 0);
# 1035|       self->input_frames++;
# 1036|     }

Error: CPPCHECK_WARNING (CWE-457): [#def11]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/codec2json/gstav12json.c:922: warning[uninitvar]: Uninitialized variable: pres
#  920|   
#  921|   unmap:
#  922|->   switch (pres) {
#  923|       case GST_AV1_PARSER_BITSTREAM_ERROR:
#  924|       case GST_AV1_PARSER_MISSING_OBU_REFERENCE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c: scope_hint: In function ‘add_final_boundary_unlocked’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:171:9: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlelements.h:28: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:75: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:560:5: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:560:5: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:566: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’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/curl/gstcurlsmtpsink.c:169:3: note: in expansion of macro ‘GST_DEBUG’
#  169|     GST_DEBUG ("adding final boundary");
#  170|   
#  171|->   array = sink->base64_chunk->chunk_array;
#  172|     g_assert (array);
#  173|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstdashsink.c:860:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream’
/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:1338:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstdashsink.c:858:5: note: in expansion of macro ‘GST_INFO_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’
/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:1338:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstdashsink.c:858:5: note: in expansion of macro ‘GST_INFO_OBJECT’
#  858|       GST_INFO_OBJECT (sink, "Add segment URL: %s",
#  859|           stream->current_segment_location);
#  860|->     gst_mpd_client_add_segment_url (sink->mpd_client, sink->current_period_id,
#  861|           stream->adaptation_set_id, stream->representation_id, "media",
#  862|           stream->current_segment_location, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_get_segment_end_time.part.0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:792:24: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdparser.h:30: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:22: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705:3: note: in expansion of macro ‘g_return_val_if_fail’
#  790|     } else {
#  791|       stream_period = gst_mpd_client_get_stream_period (client);
#  792|->     end = stream_period->start + stream_period->duration;
#  793|     }
#  794|     return end;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_stream_seek’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1779:27: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1687: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:383: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2639: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1773:5: note: in expansion of macro ‘g_return_val_if_fail’
# 1777|       }
# 1778|   
# 1779|->     if (ts > stream_period->start)
# 1780|         ts -= stream_period->start;
# 1781|       else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_get_last_fragment_timestamp_end’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1870:24: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1866: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1868|     if (!stream->segments) {
# 1869|       stream_period = gst_mpd_client_get_stream_period (client);
# 1870|->     *ts = stream_period->start + stream_period->duration;
# 1871|     } else {
# 1872|       segment_idx = gst_mpd_client_get_segments_counts (client, stream) - 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1890:26: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1866: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2639: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:1878:20: note: in expansion of macro ‘g_ptr_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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:706:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1888|          * start of the next segment, if any. */
# 1889|         stream_period = gst_mpd_client_get_stream_period (client);
# 1890|->       *ts = stream_period->start + stream_period->duration;
# 1891|       }
# 1892|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_get_segments_counts’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2647:20: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2639: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2643: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:2643: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:705:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2645|   
# 2646|     stream_period = gst_mpd_client_get_stream_period (client);
# 2647|->   if (stream_period->duration != -1)
# 2648|       return gst_util_uint64_scale_ceil (stream_period->duration, 1,
# 2649|           gst_mpd_client_get_segment_duration (client, stream, NULL));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_set_representation_node’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3257:36: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3250: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3251: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3251:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3255|         (client->mpd_root_node->Periods, period_id));
# 3256|     adap_set_node =
# 3257|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client_get_adaptation_set_with_id
# 3258|         (period_node->AdaptationSets, adaptation_set_id));
# 3259|     g_return_val_if_fail (adap_set_node != NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_set_segment_list’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3303:36: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3296: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3297: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3297:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3301|         (client->mpd_root_node->Periods, period_id));
# 3302|     adaptation_set =
# 3303|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client_get_adaptation_set_with_id
# 3304|         (period->AdaptationSets, adap_set_id));
# 3305|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3310:22: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3296: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3297: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3297: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3305:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3308|         gst_mpd_client_get_representation_with_id
# 3309|         (adaptation_set->Representations, rep_id);
# 3310|->   if (!representation->SegmentList) {
# 3311|       representation->SegmentList = gst_mpd_segment_list_node_new ();
# 3312|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_set_segment_template’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3340:36: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3333: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3334: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3334:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3338|         (client->mpd_root_node->Periods, period_id));
# 3339|     adaptation_set =
# 3340|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client_get_adaptation_set_with_id
# 3341|         (period->AdaptationSets, adap_set_id));
# 3342|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3347:22: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3333: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3334: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3334: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3342:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3345|         gst_mpd_client_get_representation_with_id
# 3346|         (adaptation_set->Representations, rep_id);
# 3347|->   if (!representation->SegmentTemplate) {
# 3348|       representation->SegmentTemplate = gst_mpd_segment_template_node_new ();
# 3349|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c: scope_hint: In function ‘gst_mpd_client_add_segment_url’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3379:36: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3372: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3373: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3373:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3377|         (client->mpd_root_node->Periods, period_id));
# 3378|     adaptation_set =
# 3379|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client_get_adaptation_set_with_id
# 3380|         (period->AdaptationSets, adap_set_id));
# 3381|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3387:22: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3372: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3373: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3373: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/dash/gstmpdclient.c:3381:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3385|         (adaptation_set->Representations, rep_id);
# 3386|   
# 3387|->   if (!representation->SegmentList) {
# 3388|       representation->SegmentList = gst_mpd_segment_list_node_new ();
# 3389|     }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def26]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c: scope_hint: In function ‘gst_hls_master_playlist_new_from_data’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c:1561:7: warning[-Wanalyzer-null-argument]: use of NULL ‘free_data’ where non-null expected
/usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c:1509:14: note: in expansion of macro ‘g_new0’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c: scope_hint: In function ‘gst_hls_master_playlist_new_from_data’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c:1557:25: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c: scope_hint: In function ‘gst_hls_master_playlist_new_from_data’
/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/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’
/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:1358:33: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/hls/m3u8.c:1559:3: note: in expansion of macro ‘GST_TRACE’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
# 1559|     GST_TRACE ("data:\n%s", data);
# 1560|   
# 1561|->   if (strstr (data, "\n#EXTINF:") != NULL) {
# 1562|       GST_INFO ("This is a simple media playlist, not a master playlist");
# 1563|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def27]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c: scope_hint: In function ‘make_bundle_name’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c:163:15: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
/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.
/usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c:28: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c:160:14: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c: scope_hint: In function ‘make_bundle_name’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  161|             GST_ELEMENT_METADATA_LONGNAME));
#  162|     s = basename;
#  163|->   while ((s = strchr (s, ' '))) {
#  164|       *s = '_';
#  165|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c: scope_hint: In function ‘gst_lv2_class_get_param_name’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c:574:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c:569:16: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/lv2/gstlv2utils.c: scope_hint: In function ‘gst_lv2_class_get_param_name’
#  572|     g_strcanon (ret, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-", '-');
#  573|     /* satisfy glib2 (argname[0] must be [A-Za-z]) */
#  574|->   if (!((ret[0] >= 'a' && ret[0] <= 'z') || (ret[0] >= 'A' && ret[0] <= 'Z'))) {
#  575|       gchar *tempstr = ret;
#  576|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c: scope_hint: In function ‘gst_flups_demux_handle_dvd_event’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:653:9: 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.
/usr/include/gstreamer-1.0/gst/video/video.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.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:1339:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:632:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’
#  651|               "video-pal-format", G_TYPE_BOOLEAN, is_pal, NULL);
#  652|           v_format = gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM, v_struct);
#  653|->         gst_pad_push_event (temp->pad, v_format);
#  654|         }
#  655|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:729:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘temp’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:632:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’
#  727|         lang_code = gst_structure_get_string (structure, cur_stream_name);
#  728|         if (lang_code) {
#  729|->         GstTagList *list = temp->pending_tags;
#  730|   
#  731|           if (!list)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:763:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:632: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/gstmpegdemux.c:753:7: note: in expansion of macro ‘GST_DEBUG_OBJECT’
#  761|         lang_code = gst_structure_get_string (structure, cur_stream_name);
#  762|         if (lang_code) {
#  763|->         GstTagList *list = temp->pending_tags;
#  764|   
#  765|           if (!list)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
/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/gmodule.h:30: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c:28: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c: scope_hint: In function ‘rsn_dvdsrc_prepare_streamsinfo_event’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c:1948:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:939:29: note: in definition of macro ‘MAX’
/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:1336:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c:504:7: note: in expansion of macro ‘GST_ERROR_OBJECT’
/usr/include/glib-2.0/glib/gmacros.h:939:29: note: in definition of macro ‘MAX’
# 1946|       v_attr = &vts_attr->vtsm_video_attr;
# 1947|       a_attrs = &vts_attr->vtsm_audio_attr;
# 1948|->     n_audio = MAX (1, vts_attr->nr_of_vtsm_audio_streams);
# 1949|       s_attrs = &vts_attr->vtsm_subp_attr;
# 1950|       n_subp = MAX (1, vts_attr->nr_of_vtsm_subp_streams);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c:1956:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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:1336:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/resindvdsrc.c:504:7: note: in expansion of macro ‘GST_ERROR_OBJECT’
# 1954|       v_attr = &vts_attr->vts_video_attr;
# 1955|       a_attrs = vts_attr->vts_audio_attr;
# 1956|->     n_audio = vts_attr->nr_of_vts_audio_streams;
# 1957|       s_attrs = vts_attr->vts_subp_attr;
# 1958|       n_subp = vts_attr->nr_of_vts_subp_streams;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c: scope_hint: In function ‘gst_input_selector_wait_running_time’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:707:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:49: 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:1340:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:947:3: note: in expansion of macro ‘GST_LOG_OBJECT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:996:7: note: in expansion of macro ‘GST_INPUT_SELECTOR_UNLOCK’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c: scope_hint: In function ‘gst_input_selector_wait_running_time’
/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:1337:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:1621:7: note: in expansion of macro ‘GST_WARNING_OBJECT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c: scope_hint: In function ‘gst_input_selector_wait_running_time’
#  705|         /* If the active segment is configured but not to time format
#  706|          * we can't do any syncing at all */
#  707|->       if (active_seg->format != GST_FORMAT_TIME
#  708|             && active_seg->format != GST_FORMAT_UNDEFINED) {
#  709|           GST_DEBUG_OBJECT (selpad,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c: scope_hint: In function ‘gst_input_selector_cleanup_old_cached_buffers’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:830:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:947:3: note: in expansion of macro ‘GST_LOG_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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:969:11: note: in expansion of macro ‘GST_DEBUG_OBJECT’
#  828|   
#  829|       /* Get active pad's running time, if no configured segment yet keep at -1 */
#  830|->     if (active_seg->format == GST_FORMAT_TIME)
#  831|         cur_running_time = gst_segment_to_running_time (active_seg,
#  832|             GST_FORMAT_TIME, active_seg->position);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c: scope_hint: In function ‘gst_selector_pad_chain’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:1082:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:947:3: note: in expansion of macro ‘GST_LOG_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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:969:11: 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:1340:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/resindvd/rsninputselector.c:947:3: note: in expansion of macro ‘GST_LOG_OBJECT’
# 1080|   ignore:
# 1081|     {
# 1082|->     gboolean active_pad_pushed = GST_SELECTOR_PAD_CAST (active_sinkpad)->pushed;
# 1083|   
# 1084|       GST_DEBUG_OBJECT (pad, "Pad not active, discard buffer %p", buf);

Error: COMPILER_WARNING (CWE-477): [#def37]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgdec.c: scope_hint: In function ‘gst_rsvg_decode_image’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgdec.c:178:3: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
#  178 |   rsvg_handle_get_dimensions (handle, &dimension);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgdec.h:29: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgdec.c:37: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
#  661 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data);
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  176|     }
#  177|   
#  178|->   rsvg_handle_get_dimensions (handle, &dimension);
#  179|   
#  180|     output_state = gst_video_decoder_get_output_state (decoder);

Error: COMPILER_WARNING (CWE-477): [#def38]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgdec.c:240:3: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
#  240 |   rsvg_handle_render_cairo (handle, cr);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1329: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here
#   90 | gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr);
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  238|     }
#  239|     cairo_scale (cr, scalex, scaley);
#  240|->   rsvg_handle_render_cairo (handle, cr);
#  241|   
#  242|     g_object_unref (handle);

Error: COMPILER_WARNING (CWE-477): [#def39]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.c: scope_hint: In function ‘gst_rsvg_overlay_set_svg_data’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.c:174:9: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
#  174 |         rsvg_handle_get_dimensions (overlay->handle, &svg_dimension);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.c:65: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
#  661 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data);
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  172|           /* Get SVG dimension. */
#  173|           RsvgDimensionData svg_dimension;
#  174|->         rsvg_handle_get_dimensions (overlay->handle, &svg_dimension);
#  175|           overlay->svg_width = svg_dimension.width;
#  176|           overlay->svg_height = svg_dimension.height;

Error: COMPILER_WARNING (CWE-477): [#def40]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.c: scope_hint: In function ‘gst_rsvg_overlay_transform_frame_ip’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/rsvg/gstrsvgoverlay.c:432:3: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
#  432 |   rsvg_handle_render_cairo (overlay->handle, cr);
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1329: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here
#   90 | gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr);
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  430|           (double) applied_height / overlay->svg_height);
#  431|     }
#  432|->   rsvg_handle_render_cairo (overlay->handle, cr);
#  433|     GST_RSVG_UNLOCK (overlay);
#  434|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c: scope_hint: In function ‘sctp_copy_skeylist.part.0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:606:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sctp_copy_sharedkey(skey)’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:416: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h:74: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:40: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:420: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:665:17: note: in expansion of macro ‘MALLOC’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:467:9: note: in expansion of macro ‘SCTP_MALLOC’
#  604|   	if (new_skey == NULL)
#  605|   		return (NULL);
#  606|-> 	if (skey->key != NULL)
#  607|   		new_skey->key = sctp_set_key(skey->key->key, skey->key->keylen);
#  608|   	else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:625:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:665:17: note: in expansion of macro ‘MALLOC’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:253:9: note: in expansion of macro ‘SCTP_MALLOC’
#  623|   		new_skey = sctp_copy_sharedkey(skey);
#  624|   		if (new_skey != NULL) {
#  625|-> 			if (sctp_insert_sharedkey(dest, new_skey)) {
#  626|   				sctp_free_sharedkey(new_skey);
#  627|   			} else {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c: scope_hint: In function ‘sctp_load_addresses_from_init’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7118:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘net_tmp’
# 7116|   		}
# 7117|   	} else {
# 7118|-> 		if (net_tmp != NULL && stcb_tmp == stcb) {
# 7119|   			net_tmp->dest_state &= ~SCTP_ADDR_NOT_IN_ASSOC;
# 7120|   		} else if (stcb_tmp != stcb) {

Error: GCC_ANALYZER_WARNING (CWE-416): [#def44]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c: scope_hint: In function ‘sctp_strreset_timer’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1166:18: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘net’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:416: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h:74: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:41: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c: scope_hint: In function ‘sctp_strreset_timer’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:430: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_atomic.h:103:56: note: in definition of macro ‘atomic_fetchadd_int’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_var.h:235:21: note: in expansion of macro ‘SCTP_DECREMENT_AND_CHECK_REFCOUNT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: note: in expansion of macro ‘sctp_free_remote_addr’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:48: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: note: in expansion of macro ‘sctp_free_remote_addr’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_var.h:236:30: note: in definition of macro ‘sctp_free_remote_addr’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_var.h:246:25: note: in expansion of macro ‘SCTP_ZONE_FREE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: note: in expansion of macro ‘sctp_free_remote_addr’
# 1164|   		}
# 1165|   	}
# 1166|-> 	if (!(net->dest_state & SCTP_ADDR_REACHABLE)) {
# 1167|   		/*
# 1168|   		 * If the address went un-reachable, we need to move to

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c: scope_hint: In function ‘sctp_accept’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8593:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sconn’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.h:657: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:44: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8460:9: note: in expansion of macro ‘SCTP_INP_WLOCK’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8477:9: note: in expansion of macro ‘SCTP_TCB_LOCK’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:420: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h:74: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:40: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:672:17: note: in expansion of macro ‘MALLOC’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8589:17: note: in expansion of macro ‘SCTP_MALLOC_SONAME’
# 8591|   			return (ENOMEM);
# 8592|   		}
# 8593|-> 		sconn->sconn_family = AF_CONN;
# 8594|   #ifdef HAVE_SCONN_LEN
# 8595|   		sconn->sconn_len = sizeof(struct sockaddr_conn);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def46]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c: scope_hint: In function ‘sctp_sorecvmsg’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6596:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&store’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h:74: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:40: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6130:21: note: in expansion of macro ‘SCTP_SB_LIMIT_RCV’
# 6594|   				break;
# 6595|   		}
# 6596|-> 		memcpy(from, &store, min((size_t)fromlen, len));
# 6597|   #if defined(SCTP_EMBEDDED_V6_SCOPE)
# 6598|   #ifdef INET6

Error: COMPILER_WARNING (CWE-457): [#def47]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:221:30: warning[-Wmaybe-uninitialized]: ‘mret_209->m_hdr.mh_data’ may be used uninitialized
#  221 | #define m_data          m_hdr.mh_data
#      |                              ^
#  219|   #define	m_next		m_hdr.mh_next
#  220|   #define	m_len		m_hdr.mh_len
#  221|-> #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|   #define	m_flags		m_hdr.mh_flags

Error: COMPILER_WARNING (CWE-457): [#def48]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.c: scope_hint: In function ‘m_pulldown’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:221:30: warning[-Wmaybe-uninitialized]: ‘mret_231->m_hdr.mh_data’ may be used uninitialized
#  221 | #define m_data          m_hdr.mh_data
#      |                              ^
#  219|   #define	m_next		m_hdr.mh_next
#  220|   #define	m_len		m_hdr.mh_len
#  221|-> #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|   #define	m_flags		m_hdr.mh_flags

Error: COMPILER_WARNING (CWE-457): [#def49]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.c: scope_hint: In function ‘m_split’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:221:30: warning[-Wmaybe-uninitialized]: ‘mret_94->m_hdr.mh_data’ may be used uninitialized
#  221 | #define m_data          m_hdr.mh_data
#      |                              ^
#  219|   #define	m_next		m_hdr.mh_next
#  220|   #define	m_len		m_hdr.mh_len
#  221|-> #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|   #define	m_flags		m_hdr.mh_flags

Error: COMPILER_WARNING (CWE-457): [#def50]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:223:30: warning[-Wmaybe-uninitialized]: ‘mret_205->m_hdr.mh_flags’ may be used uninitialized
#  223 | #define m_flags         m_hdr.mh_flags
#  221|   #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|-> #define	m_flags		m_hdr.mh_flags
#  224|   #define	m_nextpkt	m_hdr.mh_nextpkt
#  225|   #define	m_act		m_nextpkt

Error: COMPILER_WARNING (CWE-457): [#def51]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:223:30: warning[-Wmaybe-uninitialized]: ‘mret_45->m_hdr.mh_flags’ may be used uninitialized
#  223 | #define m_flags         m_hdr.mh_flags
#  221|   #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|-> #define	m_flags		m_hdr.mh_flags
#  224|   #define	m_nextpkt	m_hdr.mh_nextpkt
#  225|   #define	m_act		m_nextpkt

Error: COMPILER_WARNING (CWE-457): [#def52]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.c:44: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.c: scope_hint: In function ‘m_prepend’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_mbuf.h:223:30: warning[-Wmaybe-uninitialized]: ‘mret_49->m_hdr.mh_flags’ may be used uninitialized
#  223 | #define m_flags         m_hdr.mh_flags
#  221|   #define	m_data		m_hdr.mh_data
#  222|   #define	m_type		m_hdr.mh_type
#  223|-> #define	m_flags		m_hdr.mh_flags
#  224|   #define	m_nextpkt	m_hdr.mh_nextpkt
#  225|   #define	m_act		m_nextpkt

Error: GCC_ANALYZER_WARNING (CWE-688): [#def53]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:571:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*iov’ where non-null expected
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c: scope_hint: In function ‘copyiniov’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:601:17: note: in expansion of macro ‘copyin’
<built-in>: scope_hint: In function ‘copyiniov’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  569|   static __inline__ int
#  570|   copy_from_user(void *dst, void *src, size_t len) {
#  571|-> 	memcpy(dst, src, len);
#  572|   	return 0;
#  573|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def54]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:571:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘sa’ where non-null expected
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h:420: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h:74: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:35: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c: scope_hint: In function ‘getsockaddr.part.0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:674:9: note: in expansion of macro ‘MALLOC’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/sctp/usrsctp/usrsctplib/user_socket.c:675:17: note: in expansion of macro ‘copyin’
<built-in>: scope_hint: In function ‘getsockaddr.part.0’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  569|   static __inline__ int
#  570|   copy_from_user(void *dst, void *src, size_t len) {
#  571|-> 	memcpy(dst, src, len);
#  572|   	return 0;
#  573|   }

Error: CPPCHECK_WARNING (CWE-476): [#def55]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/smoothstreaming/gstmssmanifest.c:1279: warning[nullPointer]: Possible null pointer dereference: stream->current_fragment
# 1277|           if (g_list_previous (iter)) {
# 1278|             stream->current_fragment = g_list_previous (iter);
# 1279|->           fragment = stream->current_fragment->data;
# 1280|             g_assert (fragment);
# 1281|             stream->fragment_repetition_index = fragment->repetitions - 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c: scope_hint: In function ‘ttml_filter_content_nodes’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:1337:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:1948: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:1332:49: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:1955:3: note: in expansion of macro ‘GST_CAT_LOG’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:267: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:1331:49: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:1999:3: note: in expansion of macro ‘GST_CAT_DEBUG’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/ttml/ttmlparse.c:267:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1335|   {
# 1336|     GNode *child, *next_child;
# 1337|->   TtmlElement *element = node->data;
# 1338|     TtmlElement *parent = node->parent ? node->parent->data : NULL;
# 1339|   

Error: CPPCHECK_WARNING (CWE-457): [#def57]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/ext/webrtc/gstwebrtcbin.c:478: error[legacyUninitvar]: Uninitialized variable: pad_type
#  476|   
#  477|     pad =
#  478|->       g_object_new (pad_type, "name", name, "direction",
#  479|         direction, "template", template, NULL);
#  480|     gst_object_unref (template);

Error: GCC_ANALYZER_WARNING (CWE-131): [#def58]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c: scope_hint: In function ‘gst_analytics_relation_adj_mat_create’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:247:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  245|     guint8 **adj_mat, *data;
#  246|     gsize sz = sizeof (guint8 *) * order + sizeof (guint8) * order * order;
#  247|->   adj_mat = (guint8 **) g_malloc0 (sz);
#  248|     data = (guint8 *) (adj_mat + order);
#  249|     for (gsize r = 0; r < order; r++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c: scope_hint: In function ‘gst_analytics_relation_meta_transform’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:380:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.h:29: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:828: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:829: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:829: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/analytics/gstanalyticsmeta.c:829:3: note: in expansion of macro ‘g_return_val_if_fail’
#  378|       }
#  379|   
#  380|->     if (new->offset == 0) {
#  381|         guint i;
#  382|   

Error: COMPILER_WARNING (CWE-477): [#def60]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c: scope_hint: In function ‘construct_ref_pic_lists_p’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:2667:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/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.
/usr/include/gstreamer-1.0/gst/base/base-prelude.h:25: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/base/base.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:61: included_from: Included from here.
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2665|     gst_h264_dpb_get_pictures_long_term_ref (priv->dpb,
# 2666|         FALSE, priv->ref_pic_list_p0);
# 2667|->   g_qsort_with_data (&g_array_index (priv->ref_pic_list_p0, gpointer, pos),
# 2668|         priv->ref_pic_list_p0->len - pos, sizeof (gpointer),
# 2669|         (GCompareDataFunc) long_term_pic_num_asc_compare, NULL);

Error: COMPILER_WARNING (CWE-477): [#def61]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c: scope_hint: In function ‘construct_ref_pic_lists_b’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:2916:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2914|   
# 2915|     /* and sort [1] descending, thus finishing sequence [1] [2]. */
# 2916|->   g_qsort_with_data (priv->ref_pic_list_b0->data, pos, sizeof (gpointer),
# 2917|         (GCompareDataFunc) poc_desc_compare, NULL);
# 2918|   

Error: COMPILER_WARNING (CWE-477): [#def62]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:2923:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2921|     gst_h264_dpb_get_pictures_long_term_ref (priv->dpb,
# 2922|         FALSE, priv->ref_pic_list_b0);
# 2923|->   g_qsort_with_data (&g_array_index (priv->ref_pic_list_b0, gpointer, pos),
# 2924|         priv->ref_pic_list_b0->len - pos, sizeof (gpointer),
# 2925|         (GCompareDataFunc) long_term_pic_num_asc_compare, NULL);

Error: COMPILER_WARNING (CWE-477): [#def63]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:2944:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2942|   
# 2943|     /* and sort [1] ascending. */
# 2944|->   g_qsort_with_data (priv->ref_pic_list_b1->data, pos, sizeof (gpointer),
# 2945|         (GCompareDataFunc) poc_asc_compare, NULL);
# 2946|   

Error: COMPILER_WARNING (CWE-477): [#def64]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:2951:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2949|     gst_h264_dpb_get_pictures_long_term_ref (priv->dpb,
# 2950|         FALSE, priv->ref_pic_list_b1);
# 2951|->   g_qsort_with_data (&g_array_index (priv->ref_pic_list_b1, gpointer, pos),
# 2952|         priv->ref_pic_list_b1->len - pos, sizeof (gpointer),
# 2953|         (GCompareDataFunc) long_term_pic_num_asc_compare, NULL);

Error: COMPILER_WARNING (CWE-477): [#def65]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c: scope_hint: In function ‘construct_ref_field_pic_lists_b’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:3013:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 3011|   
# 3012|     /* and sort [1] descending, thus finishing sequence [1] [2]. */
# 3013|->   g_qsort_with_data (priv->ref_frame_list_0_short_term->data, pos,
# 3014|         sizeof (gpointer), (GCompareDataFunc) poc_desc_compare, NULL);
# 3015|   

Error: COMPILER_WARNING (CWE-477): [#def66]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/codecs/gsth264decoder.c:3034:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 3032|   
# 3033|     /* and sort [1] ascending. */
# 3034|->   g_qsort_with_data (priv->ref_frame_list_1_short_term->data, pos,
# 3035|         sizeof (gpointer), (GCompareDataFunc) poc_asc_compare, NULL);
# 3036|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/gst-atsc-section.c: scope_hint: In function ‘gst_mpegts_atsc_string_segment_set_string’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/gst-atsc-section.c:693:9: warning[-Wanalyzer-null-argument]: use of NULL ‘string’ where non-null expected
/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.
/usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/mpegts-prelude.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/mpegts.h:32: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/gst-atsc-section.c:29: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/gst-atsc-section.c:689:24: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/mpegts/gst-atsc-section.c: scope_hint: In function ‘gst_mpegts_atsc_string_segment_set_string’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  691|     seg->mode = mode;
#  692|   
#  693|->   len = strlen (string);
#  694|   
#  695|     if (to_encoding && len) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.c: scope_hint: In function ‘gst_play_media_info_copy’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.c:582:18: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.c:32: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.c:634: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.c:634:3: note: in expansion of macro ‘g_return_val_if_fail’
#  580|   
#  581|     info = gst_play_media_info_new (ref->uri);
#  582|->   info->duration = ref->duration;
#  583|     info->seekable = ref->seekable;
#  584|     info->is_live = ref->is_live;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c: scope_hint: In function ‘gst_play_stream_info_update_tags_and_caps’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c:2200:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
/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.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.h:26: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c:85: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.h:84:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c:2191:7: note: in expansion of macro ‘GST_IS_PLAY_VIDEO_INFO’
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.h:133:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.h:133:37: note: in expansion of macro ‘GST_TYPE_PLAY_AUDIO_INFO’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c:2194:12: note: in expansion of macro ‘GST_IS_PLAY_AUDIO_INFO’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay-media-info.h:133:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/play/gstplay.c:2194:12: note: in expansion of macro ‘GST_IS_PLAY_AUDIO_INFO’
# 2198|       g_signal_emit_by_name (self->playbin, "get-text-tags", stream_index, &tags);
# 2199|   
# 2200|->   if (s->tags)
# 2201|       gst_tag_list_unref (s->tags);
# 2202|     s->tags = tags;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def70]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkfullscreenquad.c: scope_hint: In function ‘create_descriptor_set_layout’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:30: note: write of 4 bytes to beyond the end of ‘bindings’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:30: note: valid subscripts for ‘bindings’ are ‘[0]’ to ‘[4]’
#  217|     n_mems = gst_buffer_n_memory (priv->inbuf);
#  218|     for (i = 0; i < n_mems; i++) {
#  219|->     bindings[descriptor_n++] = (VkDescriptorSetLayoutBinding) {
#  220|         .binding = i+1,
#  221|         .descriptorCount = 1,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkmemory.c: scope_hint: In function ‘_vk_mem_share’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkmemory.c:211:42: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkmemory.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkmemory.c:27: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvkmemory.c:206:3: note: in expansion of macro ‘g_return_val_if_fail’
#  209|   
#  210|     params.flags = GST_MEMORY_FLAGS (mem);
#  211|->   params.align = GST_MEMORY_CAST (parent)->align;
#  212|   
#  213|     _vk_mem_init (shared, _vulkan_memory_allocator, GST_MEMORY_CAST (mem),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.c: scope_hint: In function ‘gst_vulkan_trash_fence_list_wait’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.c:471:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
/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/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/vulkan.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.c:456:14: note: in expansion of macro ‘g_new0’
/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/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:1342:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/vulkan/gstvktrash.c:469:5: note: in expansion of macro ‘GST_TRACE_OBJECT’
#  469|       GST_TRACE_OBJECT (trash_list, "Waiting on %d fences with timeout %"
#  470|           GST_TIME_FORMAT, n, GST_TIME_ARGS (timeout));
#  471|->     err = vkWaitForFences (device->device, n, fences, TRUE, timeout);
#  472|       g_free (fences);
#  473|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘_add_turn_server’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c:458:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘_add_turn_server’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘_add_turn_server’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘_add_turn_server’
#  456|   
#  457|     for (i = 0; i < relay_n; i++) {
#  458|->     if (!nice_agent_set_relay_info (nice->priv->nice_agent,
#  459|               item->nice_stream_id, NICE_COMPONENT_TYPE_RTP,
#  460|               gst_uri_get_host (turn_server), gst_uri_get_port (turn_server),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘gst_webrtc_nice_add_stream’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c:550:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘gst_webrtc_nice_add_stream’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst-libs/gst/webrtc/nice/nice.c: scope_hint: In function ‘gst_webrtc_nice_add_stream’
#  548|         (GHFunc) _add_turn_server_func, &add_data);
#  549|   
#  550|->   return item->stream;
#  551|   }
#  552|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def75]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/adpcmenc/adpcmenc.c: scope_hint: In function ‘adpcmenc_encode_ima_block’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/adpcmenc/adpcmenc.c:297:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
/usr/include/gstreamer-1.0/gst/gst.h:97: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/adpcmenc/adpcmenc.c:30: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/gstcompat.h:42:78: note: in definition of macro ‘gst_buffer_new_and_alloc’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/adpcmenc/adpcmenc.c:297:26: note: write of 2 bytes to beyond the end of ‘prev_sample’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/adpcmenc/adpcmenc.c:297:26: note: valid subscripts for ‘prev_sample’ are ‘[0]’ to ‘[1]’
#  295|       outbuf[write_pos + 2] = enc->step_index[channel];
#  296|       outbuf[write_pos + 3] = 0;
#  297|->     prev_sample[channel] = samples[channel];
#  298|     }
#  299|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/bayer/gstbayer2rgb.c: scope_hint: In function ‘gst_bayer2rgb_process’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/bayer/gstbayer2rgb.c:722:7: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  720|        */
#  721|       if (bayersrc16) {
#  722|->       merge16[j & 1] ((guint16 *) dtmp, /* temporary buffer BG */
#  723|             (guint16 *) (dtmp + bayer2rgb->width),        /* temporary buffer GR */
#  724|             LINE (tmp, j * 2 - 2, bayer2rgb),     /* PREVIOUS: even: BG g0 , odd: GR b0 */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/bayer/gstbayer2rgb.c:740:7: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  738|               bayer2rgb->width);
#  739|       } else {
#  740|->       merge[j & 1] (bayerdst16 ? (guint8 *) dtmp : (dest + j * dest_stride),    /* output line j */
#  741|             LINE (tmp, j * 2 - 2, bayer2rgb),     /* PREVIOUS: even: BG g0 , odd: GR b0 */
#  742|             LINE (tmp, j * 2 - 1, bayer2rgb),     /* PREVIOUS: even: BG r0 , odd: GR g0 */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘remap_to_palette’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1192:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:941:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:941:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘remap_to_palette’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘remap_to_palette’
# 1190|         unsigned int last_match = 0;
# 1191|         for (col = 0; col < cols; ++col) {
# 1192|->         f_pixel px = row_pixels[col];
# 1193|           float diff;
# 1194|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘contrast_maps’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1606:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:941:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:941:8: note: in expansion of macro ‘CHECK_STRUCT_TYPE’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.h:28: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c:36: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:942:29: note: in definition of macro ‘MIN’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘contrast_maps’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/dvbsubenc/libimagequant/libimagequant.c: scope_hint: In function ‘contrast_maps’
/usr/include/glib-2.0/glib/gmacros.h:942:29: note: in definition of macro ‘MIN’
# 1604|   
# 1605|           const f_pixel prevl = prev_row[i];
# 1606|->         const f_pixel nextl = next_row[i];
# 1607|   
# 1608|           const float a1 = fabsf (prevl.a + nextl.a - curr.a * 2.f),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/festival/gstfestival.c: scope_hint: In function ‘festival_default_info’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/festival/gstfestival.c:342:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘info’
#  340|     info = (FT_Info *) malloc (1 * sizeof (FT_Info));
#  341|   
#  342|->   info->server_host = FESTIVAL_DEFAULT_SERVER_HOST;
#  343|     info->server_port = FESTIVAL_DEFAULT_SERVER_PORT;
#  344|     info->text_mode = FESTIVAL_DEFAULT_TEXT_MODE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.c: scope_hint: In function ‘register_plugins’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.c:622:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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.
/usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.c:621:11: note: in expansion of macro ‘g_strdup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/frei0r/gstfrei0r.c: scope_hint: In function ‘register_plugins’
#  620|   
#  621|       tmp = g_strdup (path + strlen (base_path));
#  622|->     if (*tmp == G_DIR_SEPARATOR && *(tmp + 1))
#  623|         vendor = tmp + 1;
#  624|       else if (*tmp)

Error: CPPCHECK_WARNING (CWE-457): [#def82]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/id3tag/id3tag.c:62: warning[uninitvar]: Uninitialized variable: data
#   60|   
#   61|     GST_WRITE_UINT8 (data, val);
#   62|->   gst_byte_writer_write_bytes (w, data, 1);
#   63|   }
#   64|   

Error: CPPCHECK_WARNING (CWE-823): [#def83]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/id3tag/id3tag.c:624: error[arrayIndexOutOfBounds]: Array 'corr[4]' accessed at index 4, which is out of bounds.
#  622|     g_assert (frame_id && strlen (frame_id) == 4);
#  623|   
#  624|->   if (corr[idx].corr_num == NULL) {
#  625|       guint number;
#  626|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c: scope_hint: In function ‘decimate_main_header’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c:1777:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c:25: 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:1336:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c:473:5: note: in expansion of macro ‘GST_ERROR_OBJECT’
# 1775|   
# 1776|       l = tile->packets;
# 1777|->     while ((it.next (&it))) {
# 1778|         Packet *p;
# 1779|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c:1783:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘plt’
/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:1336:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/jp2kdecimator/jp2kcodestream.c:1781:9: note: in expansion of macro ‘GST_ERROR_OBJECT’
# 1781|           GST_ERROR_OBJECT (self, "Not enough packets");
# 1782|           ret = GST_FLOW_ERROR;
# 1783|->         g_array_free (plt->packet_lengths, TRUE);
# 1784|           g_free (plt);
# 1785|           goto done;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c: scope_hint: In function ‘mpegts_base_apply_pmt’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1225:36: 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.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.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:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1737:11: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1545: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1548: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1548:9: note: in expansion of macro ‘G_UNLIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:41: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.h:237:42: note: in definition of macro ‘MPEGTS_BIT_IS_SET’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1173: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1179: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1179: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1187: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1187:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:490:34: note: in expansion of macro ‘g_ptr_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:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1202: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1205: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtsbase.c:1205:7: note: in expansion of macro ‘G_UNLIKELY’
# 1223|       old_program = mpegts_base_steal_program (base, program_number);
# 1224|       program = mpegts_base_new_program (base, program_number, section->pid);
# 1225|->     program->patcount = old_program->patcount;
# 1226|   
# 1227|       /* Deactivate the old program */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c: scope_hint: In function ‘mpegts_packetizer_ts_to_offset’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c:2499:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nextgroup’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c:2436:3: note: in expansion of macro ‘PACKETIZER_GROUP_LOCK’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.h:32: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c:41: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c:2444:14: note: in expansion of macro ‘GSTTIME_TO_PCRTIME’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.h:27: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsdemux/mpegtspacketizer.c:2498:5: note: in expansion of macro ‘GST_DEBUG’
# 2497|        */
# 2498|       GST_DEBUG ("In group or after last one");
# 2499|->     lastoffset = firstoffset = nextgroup->first_offset;
# 2500|       lastpcr = firstpcr = nextgroup->pcr_offset;
# 2501|       if (current && nextgroup == current->group) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c: scope_hint: In function ‘handle_scte35_section’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1862:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*sit.splices’
/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.
/usr/include/gstreamer-1.0/gst/tag/tag.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:75: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1756: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1756:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1860|          */
# 1861|         if (translate) {
# 1862|->         for (i = 0; i < sit->splices->len; i++) {
# 1863|             GstMpegtsSCTESpliceEvent *sevent =
# 1864|                 g_ptr_array_index (sit->splices, i);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1881:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*sit.splices’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1756:3: note: in expansion of macro ‘g_return_val_if_fail’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/mpegtsmux/gstbasetsmux.c:1756:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1879|         if (sit->fully_parsed && (rtime_map || translate)) {
# 1880|   
# 1881|->         for (i = 0; i < sit->splices->len; i++) {
# 1882|             guint64 running_time = GST_CLOCK_TIME_NONE;
# 1883|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def90]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/removesilence/vad_private.c:79:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘vad’ where non-null expected
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/removesilence/vad_private.c: scope_hint: In function ‘vad_new’
<built-in>: scope_hint: In function ‘vad_new’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   77|   vad_reset (VADFilter * vad)
#   78|   {
#   79|->   memset (vad, 0, sizeof (*vad));
#   80|     vad->cqueue.base.s = vad->vad_buffer;
#   81|     vad->cqueue.tail.a = vad->cqueue.head.a = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsink.c: scope_hint: In function ‘gst_rist_sink_update_bond_address’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsink.c:941:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bond’
/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/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsink.c:76: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:264:32: note: in definition of macro ‘_G_NEW’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsink.c:1002:11: note: in expansion of macro ‘g_new0’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsink.c:1015:10: note: in expansion of macro ‘g_ascii_isdigit’
#  939|       const gchar * address, guint port, const gchar * multicast_iface)
#  940|   {
#  941|->   g_free (bond->address);
#  942|     g_free (bond->multicast_iface);
#  943|     bond->address = g_strdup (address);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsrc.c: scope_hint: In function ‘gst_rist_src_update_bond_address’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsrc.c:957:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bond’
/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/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsrc.c:80: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:264:32: note: in definition of macro ‘_G_NEW’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsrc.c:1018:11: note: in expansion of macro ‘g_new0’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rist/gstristsrc.c:1031:10: note: in expansion of macro ‘g_ascii_isdigit’
#  955|       const gchar * address, guint port, const gchar * multicast_iface)
#  956|   {
#  957|->   g_free (bond->address);
#  958|     g_free (bond->multicast_iface);
#  959|     bond->address = g_strdup (address);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rtmp2/rtmp/rtmpmessage.c: scope_hint: In function ‘gst_rtmp_meta_transform.part.0’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rtmp2/rtmp/rtmpmessage.c:194:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dmeta’
#  192|     }
#  193|   
#  194|->   dmeta->cstream = smeta->cstream;
#  195|     dmeta->ts_delta = smeta->ts_delta;
#  196|     dmeta->size = smeta->size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rtmp2/rtmp/rtmpmessage.c: scope_hint: In function ‘gst_rtmp_message_new’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/rtmp2/rtmp/rtmpmessage.c:236:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  234|     GstRtmpMeta *meta = gst_buffer_add_rtmp_meta (buffer);
#  235|   
#  236|->   meta->type = type;
#  237|     meta->cstream = cstream;
#  238|     meta->mstream = mstream;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/siren/decoder.c: scope_hint: In function ‘Siren7_NewDecoder’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/siren/decoder.c:29:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘decoder’
#   27|   {
#   28|     SirenDecoder decoder = (SirenDecoder) malloc (sizeof (struct stSirenDecoder));
#   29|->   decoder->sample_rate = sample_rate;
#   30|   
#   31|     decoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/siren/encoder.c: scope_hint: In function ‘Siren7_NewEncoder’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/siren/encoder.c:31:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘encoder’
#   29|   {
#   30|     SirenEncoder encoder = (SirenEncoder) malloc (sizeof (struct stSirenEncoder));
#   31|->   encoder->sample_rate = sample_rate;
#   32|   
#   33|     encoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c: scope_hint: In function ‘close_and_free_fds’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c:305:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fds’
#  303|   {
#  304|     for (int i = 0; i < fds_len; i++)
#  305|->     g_close (fds[i], NULL);
#  306|     g_free (fds);
#  307|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c: scope_hint: In function ‘gst_unix_fd_src_create’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c:408:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fds_arr’
/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/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfd.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c:38: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/unixfd/gstunixfdsrc.c:404:30: note: in expansion of macro ‘g_new0’
#  406|           ctx->n_memory = new_buffer->n_memory;
#  407|           for (int i = 0; i < new_buffer->n_memory; i++) {
#  408|->           GstMemory *mem = gst_fd_allocator_alloc (allocator, fds_arr[i],
#  409|                 new_buffer->memories[i].size, GST_FD_MEMORY_FLAG_NONE);
#  410|             gst_memory_resize (mem, new_buffer->memories[i].offset,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def99]
/usr/include/gstreamer-1.0/gst/gst.h:56: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/base/base-prelude.h:25: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/base/base.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c: scope_hint: In function ‘gst_h265_parse_process_sei’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:640:69: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘minfo.display_primaries[2].y’
/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:631:9: note: in expansion of macro ‘GST_LOG_OBJECT’
/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.
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:3230:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:3253:12: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:3257:33: 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:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:752:7: note: in expansion of macro ‘G_UNLIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:573:11: note: in expansion of macro ‘g_array_index’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:573: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: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:631:9: note: in expansion of macro ‘GST_LOG_OBJECT’
/usr/include/gstreamer-1.0/gst/gstinfo.h:1340:41: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:631:9: note: in expansion of macro ‘GST_LOG_OBJECT’
/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gsth265parse.c:631:9: note: in expansion of macro ‘GST_LOG_OBJECT’
#  638|               minfo.display_primaries[0].x, minfo.display_primaries[0].y,
#  639|               minfo.display_primaries[1].x, minfo.display_primaries[1].y,
#  640|->             minfo.display_primaries[2].x, minfo.display_primaries[2].y,
#  641|               minfo.white_point.x, minfo.white_point.y,
#  642|               minfo.max_display_mastering_luminance,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def100]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c: scope_hint: In function ‘gst_video_parse_utils_parse_bar’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:346:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bar_flags[1]’
/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.
/usr/include/gstreamer-1.0/gst/base/base-prelude.h:25: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/base/base.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:26: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:316: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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/usr/include/gstreamer-1.0/gst/base/base.h:33: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/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’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:259:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h: scope_hint: In function ‘gst_video_parse_utils_parse_bar’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/glib-2.0/glib/gmacros.h:942:29: note: in definition of macro ‘MIN’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:177:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_UNCHECKED’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/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’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:259:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:325:10: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:330:8: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:330:8: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/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’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:259:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
/usr/include/gstreamer-1.0/gst/base/gstbitreader.h:284:1: note: in expansion of macro ‘__GST_BIT_READER_READ_BITS_INLINE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c: scope_hint: In function ‘gst_video_parse_utils_parse_bar’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:330:8: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
/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/gstreamer-1.0/gst/base/gstbitreader.h:308:5: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/gst/videoparsers/gstvideoparseutils.c:330:8: note: in expansion of macro ‘gst_bit_reader_get_bits_uint8’
#  344|   
#  345|     /* bars are signaled in pairs: either top/bottom or left/right, but not both */
#  346|->   if ((bar_flags[0] != bar_flags[1]) || (bar_flags[2] != bar_flags[3]))
#  347|       return FALSE;
#  348|     if (bar_flags[0] && bar_flags[2])

Error: CPPCHECK_WARNING (CWE-457): [#def101]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/decklink/gstdecklinkvideosink.cpp:1309: warning[uninitvar]: Uninitialized variable: data
# 1307|                   FALSE,
# 1308|                   GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 >> 8,
# 1309|->                 GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 & 0xff, data, 3))
# 1310|             GST_WARNING_OBJECT (self, "Couldn't add meta to ancillary data");
# 1311|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c: scope_hint: In function ‘cam_sw_client_open’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:97:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 1, 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.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/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:76: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:77: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:77: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:78: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/camswclient.c:78:3: note: in expansion of macro ‘g_return_val_if_fail’
#   95|         connect (client->sock, (struct sockaddr *) &addr,
#   96|         sizeof (struct sockaddr_un));
#   97|->   if (ret != 0) {
#   98|       GST_ERROR ("error opening softcam socket %s, error: %s",
#   99|           sock_path, g_strerror (errno));

Error: CPPCHECK_WARNING (CWE-476): [#def103]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1012: error[ctunullpointer]: Null pointer dereference: program
# 1010|     DvbBaseBinStream *stream;
# 1011|   
# 1012|->   stream = dvb_base_bin_get_stream (dvbbasebin, program->pmt_pid);
# 1013|     if (stream != NULL) {
# 1014|       dvb_base_bin_unref_stream (stream);

Error: CPPCHECK_WARNING (CWE-476): [#def104]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1012: warning[nullPointer]: Possible null pointer dereference: program
# 1010|     DvbBaseBinStream *stream;
# 1011|   
# 1012|->   stream = dvb_base_bin_get_stream (dvbbasebin, program->pmt_pid);
# 1013|     if (stream != NULL) {
# 1014|       dvb_base_bin_unref_stream (stream);

Error: CPPCHECK_WARNING (CWE-476): [#def105]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1017: warning[nullPointer]: Possible null pointer dereference: program
# 1015|     }
# 1016|   
# 1017|->   stream = dvb_base_bin_get_stream (dvbbasebin, program->pcr_pid);
# 1018|     if (stream != NULL) {
# 1019|       dvb_base_bin_unref_stream (stream);

Error: CPPCHECK_WARNING (CWE-476): [#def106]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1022: warning[nullPointer]: Possible null pointer dereference: program
# 1020|     }
# 1021|   
# 1022|->   if (program->pmt) {
# 1023|       dvb_base_bin_remove_pmt_streams (dvbbasebin, program->pmt);
# 1024|       dvbbasebin->pmtlist = g_list_remove (dvbbasebin->pmtlist, program->pmt);

Error: CPPCHECK_WARNING (CWE-476): [#def107]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1029: warning[nullPointer]: Possible null pointer dereference: program
# 1027|   
# 1028|     dvb_base_bin_rebuild_filter (dvbbasebin);
# 1029|->   program->pmt_active = FALSE;
# 1030|     program->active = FALSE;
# 1031|   }

Error: CPPCHECK_WARNING (CWE-476): [#def108]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/dvb/dvbbasebin.c:1030: warning[nullPointer]: Possible null pointer dereference: program
# 1028|     dvb_base_bin_rebuild_filter (dvbbasebin);
# 1029|     program->pmt_active = FALSE;
# 1030|->   program->active = FALSE;
# 1031|   }
# 1032|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def109]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/ipcpipeline/gstipcpipelinecomm.c: scope_hint: In function ‘read_many’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/ipcpipeline/gstipcpipelinecomm.c:1816:17: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1814|   
# 1815|     while (1)
# 1816|->     switch (comm->state) {
# 1817|         case GST_IPC_PIPELINE_COMM_STATE_TYPE:
# 1818|         {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def110]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmsallocator.c: scope_hint: In function ‘gst_kms_allocator_set_property’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmsallocator.c:197:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup(g_value_get_int(value))’
#  195|         int fd = g_value_get_int (value);
#  196|         if (fd > -1)
#  197|->         alloc->priv->fd = dup (fd);
#  198|         break;
#  199|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def111]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c: scope_hint: In function ‘gst_kms_sink_import_dmabuf’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c:1716:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mems[0]’
/usr/include/gstreamer-1.0/gst/video/video.h:29: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c:50: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/video/video-format.h:929:52: note: in definition of macro ‘GST_VIDEO_FORMAT_INFO_N_PLANES’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c:1671:14: note: in expansion of macro ‘GST_VIDEO_INFO_N_PLANES’
/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.
/usr/include/gstreamer-1.0/gst/video/video.h:23: 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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c:1681:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c:1681:3: note: in expansion of macro ‘g_assert’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/kms/gstkmssink.c: scope_hint: In function ‘gst_kms_sink_import_dmabuf’
# 1714|     ensure_kms_allocator (self);
# 1715|   
# 1716|->   kmsmem = (GstKMSMemory *) gst_kms_allocator_get_cached (mems[0]);
# 1717|     if (kmsmem) {
# 1718|       GST_LOG_OBJECT (self, "found KMS mem %p in DMABuf mem %p with fb id = %d",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvbaseenc.c:1202:23: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvbaseenc.c:1176:5: note: in expansion of macro ‘g_assert’
# 1200|       }
# 1201|   
# 1202|->     frame->dts = frame->pts;
# 1203|       frame->pts = lock_bs.outputTimeStamp;
# 1204|       frame->duration = lock_bs.outputDuration;

Error: CPPCHECK_WARNING (CWE-457): [#def113]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvdecoder.cpp:1934: warning[uninitvar]: Uninitialized variable: size
# 1932|     min = 0;
# 1933|   
# 1934|->   gst_buffer_pool_config_set_params (config, outcaps, size, min, max);
# 1935|     gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META);
# 1936|     gst_buffer_pool_set_config (pool, config);

Error: CPPCHECK_WARNING (CWE-758): [#def114]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvenc.c:1093: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1091|     /* NV_ENC_CONFIG_VER ==
# 1092|      *   (NVENCAPI_STRUCT_VERSION(7) | ( 1<<31 )) */
# 1093|->   return GST_NVENCAPI_STRUCT_VERSION (7, gst_nvenc_api_version) | (1 << 31);
# 1094|   }
# 1095|   

Error: CPPCHECK_WARNING (CWE-758): [#def115]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvenc.c:1101: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1099|     /* NV_ENC_INITIALIZE_PARAMS_VER ==
# 1100|      *   (NVENCAPI_STRUCT_VERSION(5) | ( 1<<31 )) */
# 1101|->   return GST_NVENCAPI_STRUCT_VERSION (5, gst_nvenc_api_version) | (1 << 31);
# 1102|   }
# 1103|   

Error: CPPCHECK_WARNING (CWE-758): [#def116]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvenc.c:1109: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1107|     /* NV_ENC_RECONFIGURE_PARAMS_VER ==
# 1108|      *   (NVENCAPI_STRUCT_VERSION(1) | ( 1<<31 )) */
# 1109|->   return GST_NVENCAPI_STRUCT_VERSION (1, gst_nvenc_api_version) | (1 << 31);
# 1110|   }
# 1111|   

Error: CPPCHECK_WARNING (CWE-758): [#def117]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvenc.c:1117: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1115|     /* NV_ENC_PRESET_CONFIG_VER ==
# 1116|      *   (NVENCAPI_STRUCT_VERSION(4) | ( 1<<31 )) */
# 1117|->   return GST_NVENCAPI_STRUCT_VERSION (4, gst_nvenc_api_version) | (1 << 31);
# 1118|   }
# 1119|   

Error: CPPCHECK_WARNING (CWE-758): [#def118]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/nvcodec/gstnvenc.c:1125: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1123|     /* NV_ENC_PIC_PARAMS_VER ==
# 1124|      *  (NVENCAPI_STRUCT_VERSION(4) | ( 1<<31 )) */
# 1125|->   return GST_NVENCAPI_STRUCT_VERSION (4, gst_nvenc_api_version) | (1 << 31);
# 1126|   }
# 1127|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/shm/shmpipe.c:480:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*self.main_socket’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/shm/shmpipe.c: scope_hint: In function ‘sp_writer_accept_client’
#  478|     cb->area_id = area_id;
#  479|   
#  480|->   if (send (fd, cb, sizeof (struct CommandBuffer), MSG_NOSIGNAL) !=
#  481|         sizeof (struct CommandBuffer))
#  482|       return 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/shm/shmpipe.c: scope_hint: In function ‘sp_writer_accept_client’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/shm/shmpipe.c:818:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*self.main_socket’
#  816|     fd = accept (self->main_socket, NULL, NULL);
#  817|   
#  818|->   if (fd < 0) {
#  819|       fprintf (stderr, "Could not client connection");
#  820|       return NULL;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def121]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘udc_find_video_device’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:253:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/sched.h:29: included_from: Included from here.
/opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/15.0.0/include-fixed/pthread.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib/deprecated/gthread.h:126: included_from: Included from here.
/usr/include/glib-2.0/glib.h:115: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/v4l2codecs/linux/types-compat.h:22: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/v4l2codecs/linux/videodev2.h:63: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:20: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  251|   
#  252|       config = attribute_read_str (globbuf.gl_pathv[i], "function_name");
#  253|->     match = strcmp (function, config) == 0;
#  254|   
#  255|       free (config);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def122]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:253:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘attribute_read_str(*<unknown>, "function_name")’ where non-null expected
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  251|   
#  252|       config = attribute_read_str (globbuf.gl_pathv[i], "function_name");
#  253|->     match = strcmp (function, config) == 0;
#  254|   
#  255|       free (config);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘parse_legacy_g_webcam’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:382:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘format’
#  380|       struct uvc_function_config_format *format = &fc->streaming.formats[i];
#  381|   
#  382|->     size = sizeof *format->frames * format->num_frames;
#  383|       format->frames = memdup (format->frames, size);
#  384|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:388:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame’
#  386|         struct uvc_function_config_frame *frame = &format->frames[j];
#  387|   
#  388|->       size = sizeof *frame->intervals * frame->num_intervals;
#  389|         frame->intervals = memdup (frame->intervals, size);
#  390|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘configfs_parse_streaming_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:601:3: warning[-Wanalyzer-malloc-leak]: leak of ‘mem’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:857:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:857:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:857:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:525:25: note: in definition of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘configfs_parse_streaming_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:525:25: note: in definition of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘configfs_parse_streaming_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:859:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:859:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:859:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:859:17: note: in expansion of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:525:25: note: in definition of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c:525:25: note: in definition of macro ‘configfs_parse_child’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘configfs_parse_streaming_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvcgadget/configfs.c: scope_hint: In function ‘configfs_parse_streaming_frame’
#  599|     }
#  600|   
#  601|->   free (intervals);
#  602|   
#  603|     return ret;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.c: scope_hint: In function ‘gst_uvc_h264_mjpg_demux_chain’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.c:598:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aux_buf’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.c:58: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:219:27: note: in definition of macro ‘GUINT16_SWAP_LE_BE_CONSTANT’
/usr/lib64/glib-2.0/include/glibconfig.h:160:34: note: in expansion of macro ‘GUINT16_SWAP_LE_BE’
/usr/include/glib-2.0/glib/gtypes.h:415:34: note: in expansion of macro ‘GUINT16_TO_BE’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.c:456:22: note: in expansion of macro ‘GUINT16_FROM_BE’
/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/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/uvch264/gstuvch264_mjpgdemux.c:464:7: note: in expansion of macro ‘GST_DEBUG_OBJECT’
#  596|           m = gst_memory_copy (info.memory, i, segment_size);
#  597|   
#  598|->         GST_BUFFER_DURATION (aux_buf) =
#  599|               aux_header.frame_interval * 100 * GST_NSECOND;
#  600|   

Error: COMPILER_WARNING (CWE-477): [#def127]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvaav1enc.c: scope_hint: In function ‘_av1_assign_ref_index’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvaav1enc.c:1486:3: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
# 1486 |   g_qsort_with_data (all_refs, ref_num, sizeof (GstVaAV1Ref),
#      |   ^~~~~~~~~~~~~~~~~
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvadevice.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvaav1enc.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvaav1enc.c:45: 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,
#      |      ^~~~~~~~~~~~~~~~~
# 1484|     }
# 1485|   
# 1486|->   g_qsort_with_data (all_refs, ref_num, sizeof (GstVaAV1Ref),
# 1487|         _av1_sort_by_frame_num, NULL);
# 1488|   

Error: CPPCHECK_WARNING (CWE-476): [#def128]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:1868: warning[nullPointer]: Possible null pointer dereference: b_vaframe
# 1866|   again:
# 1867|     /* Check whether its refs are already poped. */
# 1868|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 1869|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 1870|     for (i = 0; i < gop_len; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c: scope_hint: In function ‘_pop_pyramid_b_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:1868:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b_vaframe’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:1868:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:1832: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:1868:3: note: in expansion of macro ‘g_assert’
# 1866|   again:
# 1867|     /* Check whether its refs are already poped. */
# 1868|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 1869|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 1870|     for (i = 0; i < gop_len; i++) {

Error: COMPILER_WARNING (CWE-477): [#def130]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c: scope_hint: In function ‘_insert_ref_pic_list_modification’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:2599:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvadevice.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.h:24: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:54: included_from: Included from here.
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2597|   
# 2598|     if (is_asc) {
# 2599|->     g_qsort_with_data (list_by_pic_num, list_num, sizeof (gpointer),
# 2600|           (GCompareDataFunc) _frame_num_asc_compare, NULL);
# 2601|     } else {

Error: COMPILER_WARNING (CWE-477): [#def131]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:2602:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2600|           (GCompareDataFunc) _frame_num_asc_compare, NULL);
# 2601|     } else {
# 2602|->     g_qsort_with_data (list_by_pic_num, list_num, sizeof (gpointer),
# 2603|           (GCompareDataFunc) _frame_num_des_compare, NULL);
# 2604|     }

Error: COMPILER_WARNING (CWE-477): [#def132]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c: scope_hint: In function ‘_encode_one_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:2998:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 2996|   
# 2997|       /* reorder to select the most nearest forward frames. */
# 2998|->     g_qsort_with_data (list0, list0_num, sizeof (gpointer),
# 2999|           (GCompareDataFunc) _poc_des_compare, NULL);
# 3000|   

Error: COMPILER_WARNING (CWE-477): [#def133]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah264enc.c:3020:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 3018|   
# 3019|       /* reorder to select the most nearest backward frames. */
# 3020|->     g_qsort_with_data (list1, list1_num, sizeof (gpointer),
# 3021|           (GCompareDataFunc) _poc_asc_compare, NULL);
# 3022|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c: scope_hint: In function ‘_replace_previous_slice’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c:160:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvadevice.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.h:25: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c:56: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c:148:5: note: in expansion of macro ‘g_clear_pointer’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c:148:5: note: in expansion of macro ‘g_clear_pointer’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265dec.c:148:5: note: in expansion of macro ‘g_clear_pointer’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  158|     }
#  159|   
#  160|->   memcpy (slice->data, data, size);
#  161|     slice->size = size;
#  162|   }

Error: COMPILER_WARNING (CWE-477): [#def135]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c: scope_hint: In function ‘_h265_encode_one_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1938:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvadevice.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.h:23: included_from: Included from here.
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:45: included_from: Included from here.
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 1936|   
# 1937|       /* reorder to select the most nearest forward frames. */
# 1938|->     g_qsort_with_data (list_forward, list_forward_num, sizeof (gpointer),
# 1939|           (GCompareDataFunc) _poc_des_compare, NULL);
# 1940|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1956:22: 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/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:471:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2434:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1871: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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:471:3: note: in expansion of macro ‘g_assert’
# 1954|         }
# 1955|   
# 1956|->       collocated_poc = list_forward[self->features.collocated_ref_idx]->poc;
# 1957|       }
# 1958|     }

Error: COMPILER_WARNING (CWE-477): [#def137]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1975:5: warning[-Wdeprecated-declarations]: ‘g_qsort_with_data’ is deprecated: Use 'g_sort_array' instead
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
# 1973|   
# 1974|       /* reorder to select the most nearest backward frames. */
# 1975|->     g_qsort_with_data (list_backward, list_backward_num, sizeof (gpointer),
# 1976|           (GCompareDataFunc) _poc_asc_compare, NULL);
# 1977|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1993:22: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:471:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2434:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:1871: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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:471:3: note: in expansion of macro ‘g_assert’
# 1991|         }
# 1992|   
# 1993|->       collocated_poc = list_backward[self->features.collocated_ref_idx]->poc;
# 1994|       }
# 1995|     }

Error: CPPCHECK_WARNING (CWE-476): [#def139]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2207: warning[nullPointer]: Possible null pointer dereference: b_vaframe
# 2205|   again:
# 2206|     /* Check whether its refs are already poped. */
# 2207|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 2208|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 2209|     for (i = 0; i < gop_len; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c: scope_hint: In function ‘_h265_pop_pyramid_b_frame’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2207:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b_vaframe’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2207:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2254: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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:471:3: note: in expansion of macro ‘g_assert’
/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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2171: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-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:2207:3: note: in expansion of macro ‘g_assert’
# 2205|   again:
# 2206|     /* Check whether its refs are already poped. */
# 2207|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 2208|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 2209|     for (i = 0; i < gop_len; i++) {

Error: CPPCHECK_WARNING (CWE-476): [#def141]
gstreamer1-plugins-bad-free-1.24.9-build/gst-plugins-bad-1.24.9/sys/va/gstvah265enc.c:3129: warning[nullPointer]: Possible null pointer dereference: level_limits
# 3127|       g_assert (level_limits);
# 3128|   
# 3129|->     if (self->partition.num_tile_cols > level_limits->MaxTileColumns) {
# 3130|         GST_INFO_OBJECT (self, "num_tile_cols:%d exceeds MaxTileColumns:%d"
# 3131|             " of level %s", self->partition.num_tile_cols,

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namegstreamer1-plugins-bad-free-1.24.9-1.fc42
store-results-to/tmp/tmpotwu9cc_/gstreamer1-plugins-bad-free-1.24.9-1.fc42.tar.xz
time-created2024-11-13 00:21:48
time-finished2024-11-13 00:34:53
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpotwu9cc_/gstreamer1-plugins-bad-free-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/tmpotwu9cc_/gstreamer1-plugins-bad-free-1.24.9-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9