gstreamer1-plugins-bad-free-1.26.0-2.fc43

List of Findings

Error: CPPCHECK_WARNING (CWE-457): [#def1]
gst-plugins-bad-1.26.0/ext/closedcaption/ccutils.c:698: warning[uninitvar]: Uninitialized variable: cea608_1_copy
#  696|     }
#  697|   
#  698|->   return push_internal (buf, cea608_1_copy, cea608_1_len, cea608_2_copy,
#  699|         cea608_2_len, cc_data_copy, cc_data_len);
#  700|   }

Error: CPPCHECK_WARNING (CWE-457): [#def2]
gst-plugins-bad-1.26.0/ext/closedcaption/ccutils.c:698: warning[uninitvar]: Uninitialized variable: cea608_2_copy
#  696|     }
#  697|   
#  698|->   return push_internal (buf, cea608_1_copy, cea608_1_len, cea608_2_copy,
#  699|         cea608_2_len, cc_data_copy, cc_data_len);
#  700|   }

Error: CPPCHECK_WARNING (CWE-457): [#def3]
gst-plugins-bad-1.26.0/ext/closedcaption/gstcccombiner.c:290: warning[uninitvar]: Uninitialized variable: field0_data
#  288|     }
#  289|   
#  290|->   return cc_buffer_push_separated (self->cc_buffer, field0_data, field0_len,
#  291|         field1_data, field1_len, NULL, 0);
#  292|   }

Error: CPPCHECK_WARNING (CWE-457): [#def4]
gst-plugins-bad-1.26.0/ext/closedcaption/gstcccombiner.c:291: warning[uninitvar]: Uninitialized variable: field1_data
#  289|   
#  290|     return cc_buffer_push_separated (self->cc_buffer, field0_data, field0_len,
#  291|->       field1_data, field1_len, NULL, 0);
#  292|   }
#  293|   

Error: CPPCHECK_WARNING (CWE-457): [#def5]
gst-plugins-bad-1.26.0/ext/closedcaption/gstccconverter.c:1043: warning[uninitvar]: Uninitialized variable: cea608_1
# 1041|       gst_buffer_unmap (inbuf, &in);
# 1042|   
# 1043|->     cc_buffer_push_separated (self->cc_buffer, cea608_1, cea608_1_len,
# 1044|           cea608_2, cea608_2_len, NULL, 0);
# 1045|       self->input_frames++;

Error: CPPCHECK_WARNING (CWE-457): [#def6]
gst-plugins-bad-1.26.0/ext/closedcaption/gstccconverter.c:1044: warning[uninitvar]: Uninitialized variable: cea608_2
# 1042|   
# 1043|       cc_buffer_push_separated (self->cc_buffer, cea608_1, cea608_1_len,
# 1044|->         cea608_2, cea608_2_len, NULL, 0);
# 1045|       self->input_frames++;
# 1046|     }

Error: CPPCHECK_WARNING (CWE-476): [#def7]
gst-plugins-bad-1.26.0/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: CPPCHECK_WARNING (CWE-457): [#def8]
gst-plugins-bad-1.26.0/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: COMPILER_WARNING (CWE-457): [#def9]
gst-plugins-bad-1.26.0/gst/bayer/gstbayer2rgb.c:749:9: warning[-Wmaybe-uninitialized]: ‘dtmp’ may be used uninitialized
#  749 |         bayer8to16_orc_reorder (dest + j * dest_stride, dtmp, bayer2rgb->width);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gst-plugins-bad-1.26.0/gst/bayer/gstbayer2rgb.c: scope_hint: In function ‘gst_bayer2rgb_transform’
gst-plugins-bad-1.26.0/gst/bayer/gstbayer2rgb.c:562:12: note: ‘dtmp’ was declared here
#  562 |   guint32 *dtmp;
#      |            ^~~~
#  747|             bayer2rgb->width >> 1);
#  748|         if (bayerdst16)
#  749|->         bayer8to16_orc_reorder (dest + j * dest_stride, dtmp, bayer2rgb->width);
#  750|       }
#  751|     }

Error: CPPCHECK_WARNING (CWE-476): [#def10]
gst-plugins-bad-1.26.0/gst/dvbsubenc/gstdvbsubenc-util.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dest_rows
#  236|   
#  237|       for (i = 0; i < height; i++) {
#  238|->       dest_rows[i] = (guint8 *) (dest->data[0]) + i * dest_stride;
#  239|       }
#  240|   

Error: CPPCHECK_WARNING (CWE-401): [#def11]
gst-plugins-bad-1.26.0/gst/dvbsubenc/libimagequant/pam.c:238: error[memleak]: Memory leak: hist
#  236|           acht->colors,.free = free,.ignorebits = acht->ignorebits,};
#  237|     if (!hist->achv)
#  238|->     return NULL;
#  239|   
#  240|     to_f_set_gamma (gamma_lut, gamma);

Error: CPPCHECK_WARNING (CWE-476): [#def12]
gst-plugins-bad-1.26.0/gst/festival/gstfestival.c:342: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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: CPPCHECK_WARNING (CWE-476): [#def13]
gst-plugins-bad-1.26.0/gst/festival/gstfestival.c:343: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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;
#  345|   

Error: CPPCHECK_WARNING (CWE-476): [#def14]
gst-plugins-bad-1.26.0/gst/festival/gstfestival.c:344: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: info
#  342|     info->server_host = FESTIVAL_DEFAULT_SERVER_HOST;
#  343|     info->server_port = FESTIVAL_DEFAULT_SERVER_PORT;
#  344|->   info->text_mode = FESTIVAL_DEFAULT_TEXT_MODE;
#  345|   
#  346|     info->server_fd = -1;

Error: CPPCHECK_WARNING (CWE-476): [#def15]
gst-plugins-bad-1.26.0/gst/festival/gstfestival.c:346: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: info
#  344|     info->text_mode = FESTIVAL_DEFAULT_TEXT_MODE;
#  345|   
#  346|->   info->server_fd = -1;
#  347|   
#  348|     return info;

Error: CPPCHECK_WARNING (CWE-457): [#def16]
gst-plugins-bad-1.26.0/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): [#def17]
gst-plugins-bad-1.26.0/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: CPPCHECK_WARNING (CWE-758): [#def18]
gst-plugins-bad-1.26.0/gst/mpegtsmux/gstbasetsmux.c:518: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  516|         } else if (GST_VIDEO_INFO_FIELD_ORDER (&video_info) ==
#  517|             GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST) {
#  518|->         frat |= 1 << 31;
#  519|         } else {
#  520|           GST_ERROR_OBJECT (ts_pad, "Unknown interlace mode (no field order)");

Error: CPPCHECK_WARNING (CWE-476): [#def19]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:71: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vad
#   69|     VADFilter *vad = malloc (sizeof (VADFilter));
#   70|     vad_reset (vad);
#   71|->   vad->hysteresis = hysteresis;
#   72|     vad_set_threshold (vad, threshold);
#   73|     return vad;

Error: CPPCHECK_WARNING (CWE-476): [#def20]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vad
#   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: CPPCHECK_WARNING (CWE-476): [#def21]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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;
#   82|     vad->cqueue.size = VAD_BUFFER_SIZE;

Error: CPPCHECK_WARNING (CWE-476): [#def22]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vad
#   79|     memset (vad, 0, sizeof (*vad));
#   80|     vad->cqueue.base.s = vad->vad_buffer;
#   81|->   vad->cqueue.tail.a = vad->cqueue.head.a = 0;
#   82|     vad->cqueue.size = VAD_BUFFER_SIZE;
#   83|     vad->vad_state = VAD_SILENCE;

Error: CPPCHECK_WARNING (CWE-476): [#def23]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vad
#   80|     vad->cqueue.base.s = vad->vad_buffer;
#   81|     vad->cqueue.tail.a = vad->cqueue.head.a = 0;
#   82|->   vad->cqueue.size = VAD_BUFFER_SIZE;
#   83|     vad->vad_state = VAD_SILENCE;
#   84|   }

Error: CPPCHECK_WARNING (CWE-476): [#def24]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vad
#   81|     vad->cqueue.tail.a = vad->cqueue.head.a = 0;
#   82|     vad->cqueue.size = VAD_BUFFER_SIZE;
#   83|->   vad->vad_state = VAD_SILENCE;
#   84|   }
#   85|   

Error: CPPCHECK_WARNING (CWE-476): [#def25]
gst-plugins-bad-1.26.0/gst/removesilence/vad_private.c:108: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  106|   {
#  107|     gint power = (gint) (threshold_db / 10.0);
#  108|->   p->threshold = (guint64) (pow (10, (power)) * 4294967295UL);
#  109|   }
#  110|   

Error: CPPCHECK_WARNING (CWE-476): [#def26]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:29: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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: CPPCHECK_WARNING (CWE-476): [#def27]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:31: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   29|     decoder->sample_rate = sample_rate;
#   30|   
#   31|->   decoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   32|     decoder->WavHeader.riff.RiffSize = sizeof (PCMWavHeader) - 2 * sizeof (int);
#   33|     decoder->WavHeader.riff.RiffSize =

Error: CPPCHECK_WARNING (CWE-476): [#def28]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:32: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   30|   
#   31|     decoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   32|->   decoder->WavHeader.riff.RiffSize = sizeof (PCMWavHeader) - 2 * sizeof (int);
#   33|     decoder->WavHeader.riff.RiffSize =
#   34|         ME_TO_LE32 (decoder->WavHeader.riff.RiffSize);

Error: CPPCHECK_WARNING (CWE-476): [#def29]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:33: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   31|     decoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   32|     decoder->WavHeader.riff.RiffSize = sizeof (PCMWavHeader) - 2 * sizeof (int);
#   33|->   decoder->WavHeader.riff.RiffSize =
#   34|         ME_TO_LE32 (decoder->WavHeader.riff.RiffSize);
#   35|     decoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def30]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:34: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   32|     decoder->WavHeader.riff.RiffSize = sizeof (PCMWavHeader) - 2 * sizeof (int);
#   33|     decoder->WavHeader.riff.RiffSize =
#   34|->       ME_TO_LE32 (decoder->WavHeader.riff.RiffSize);
#   35|     decoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   36|   

Error: CPPCHECK_WARNING (CWE-476): [#def31]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:35: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   33|     decoder->WavHeader.riff.RiffSize =
#   34|         ME_TO_LE32 (decoder->WavHeader.riff.RiffSize);
#   35|->   decoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   36|   
#   37|     decoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);

Error: CPPCHECK_WARNING (CWE-476): [#def32]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   35|     decoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   36|   
#   37|->   decoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);
#   38|     decoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (FmtChunk));
#   39|   

Error: CPPCHECK_WARNING (CWE-476): [#def33]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   36|   
#   37|     decoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);
#   38|->   decoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (FmtChunk));
#   39|   
#   40|     decoder->WavHeader.fmt.Format = ME_TO_LE16 (0x01);

Error: CPPCHECK_WARNING (CWE-476): [#def34]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   38|     decoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (FmtChunk));
#   39|   
#   40|->   decoder->WavHeader.fmt.Format = ME_TO_LE16 (0x01);
#   41|     decoder->WavHeader.fmt.Channels = ME_TO_LE16 (1);
#   42|     decoder->WavHeader.fmt.SampleRate = ME_TO_LE32 (16000);

Error: CPPCHECK_WARNING (CWE-476): [#def35]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   39|   
#   40|     decoder->WavHeader.fmt.Format = ME_TO_LE16 (0x01);
#   41|->   decoder->WavHeader.fmt.Channels = ME_TO_LE16 (1);
#   42|     decoder->WavHeader.fmt.SampleRate = ME_TO_LE32 (16000);
#   43|     decoder->WavHeader.fmt.ByteRate = ME_TO_LE32 (32000);

Error: CPPCHECK_WARNING (CWE-476): [#def36]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   40|     decoder->WavHeader.fmt.Format = ME_TO_LE16 (0x01);
#   41|     decoder->WavHeader.fmt.Channels = ME_TO_LE16 (1);
#   42|->   decoder->WavHeader.fmt.SampleRate = ME_TO_LE32 (16000);
#   43|     decoder->WavHeader.fmt.ByteRate = ME_TO_LE32 (32000);
#   44|     decoder->WavHeader.fmt.BlockAlign = ME_TO_LE16 (2);

Error: CPPCHECK_WARNING (CWE-476): [#def37]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:43: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   41|     decoder->WavHeader.fmt.Channels = ME_TO_LE16 (1);
#   42|     decoder->WavHeader.fmt.SampleRate = ME_TO_LE32 (16000);
#   43|->   decoder->WavHeader.fmt.ByteRate = ME_TO_LE32 (32000);
#   44|     decoder->WavHeader.fmt.BlockAlign = ME_TO_LE16 (2);
#   45|     decoder->WavHeader.fmt.BitsPerSample = ME_TO_LE16 (16);

Error: CPPCHECK_WARNING (CWE-476): [#def38]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   42|     decoder->WavHeader.fmt.SampleRate = ME_TO_LE32 (16000);
#   43|     decoder->WavHeader.fmt.ByteRate = ME_TO_LE32 (32000);
#   44|->   decoder->WavHeader.fmt.BlockAlign = ME_TO_LE16 (2);
#   45|     decoder->WavHeader.fmt.BitsPerSample = ME_TO_LE16 (16);
#   46|   

Error: CPPCHECK_WARNING (CWE-476): [#def39]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   43|     decoder->WavHeader.fmt.ByteRate = ME_TO_LE32 (32000);
#   44|     decoder->WavHeader.fmt.BlockAlign = ME_TO_LE16 (2);
#   45|->   decoder->WavHeader.fmt.BitsPerSample = ME_TO_LE16 (16);
#   46|   
#   47|     decoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def40]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:47: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   45|     decoder->WavHeader.fmt.BitsPerSample = ME_TO_LE16 (16);
#   46|   
#   47|->   decoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   48|     decoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   49|     decoder->WavHeader.Samples = ME_TO_LE32 (0);

Error: CPPCHECK_WARNING (CWE-476): [#def41]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   46|   
#   47|     decoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   48|->   decoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   49|     decoder->WavHeader.Samples = ME_TO_LE32 (0);
#   50|   

Error: CPPCHECK_WARNING (CWE-476): [#def42]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   47|     decoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   48|     decoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   49|->   decoder->WavHeader.Samples = ME_TO_LE32 (0);
#   50|   
#   51|     decoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def43]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   49|     decoder->WavHeader.Samples = ME_TO_LE32 (0);
#   50|   
#   51|->   decoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);
#   52|     decoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   53|   

Error: CPPCHECK_WARNING (CWE-476): [#def44]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:52: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   50|   
#   51|     decoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);
#   52|->   decoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   53|   
#   54|     memset (decoder->context, 0, sizeof (decoder->context));

Error: CPPCHECK_WARNING (CWE-476): [#def45]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:54: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   52|     decoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   53|   
#   54|->   memset (decoder->context, 0, sizeof (decoder->context));
#   55|     memset (decoder->backup_frame, 0, sizeof (decoder->backup_frame));
#   56|   

Error: CPPCHECK_WARNING (CWE-476): [#def46]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:55: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   53|   
#   54|     memset (decoder->context, 0, sizeof (decoder->context));
#   55|->   memset (decoder->backup_frame, 0, sizeof (decoder->backup_frame));
#   56|   
#   57|     decoder->dw1 = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def47]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:57: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   55|     memset (decoder->backup_frame, 0, sizeof (decoder->backup_frame));
#   56|   
#   57|->   decoder->dw1 = 1;
#   58|     decoder->dw2 = 1;
#   59|     decoder->dw3 = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def48]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   56|   
#   57|     decoder->dw1 = 1;
#   58|->   decoder->dw2 = 1;
#   59|     decoder->dw3 = 1;
#   60|     decoder->dw4 = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def49]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:59: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   57|     decoder->dw1 = 1;
#   58|     decoder->dw2 = 1;
#   59|->   decoder->dw3 = 1;
#   60|     decoder->dw4 = 1;
#   61|   

Error: CPPCHECK_WARNING (CWE-476): [#def50]
gst-plugins-bad-1.26.0/gst/siren/decoder.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decoder
#   58|     decoder->dw2 = 1;
#   59|     decoder->dw3 = 1;
#   60|->   decoder->dw4 = 1;
#   61|   
#   62|     siren_init ();

Error: CPPCHECK_WARNING (CWE-476): [#def51]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:31: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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: CPPCHECK_WARNING (CWE-476): [#def52]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:33: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   31|     encoder->sample_rate = sample_rate;
#   32|   
#   33|->   encoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   34|     encoder->WavHeader.riff.RiffSize = sizeof (SirenWavHeader) - 2 * sizeof (int);
#   35|     encoder->WavHeader.riff.RiffSize =

Error: CPPCHECK_WARNING (CWE-476): [#def53]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:34: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   32|   
#   33|     encoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   34|->   encoder->WavHeader.riff.RiffSize = sizeof (SirenWavHeader) - 2 * sizeof (int);
#   35|     encoder->WavHeader.riff.RiffSize =
#   36|         ME_TO_LE32 (encoder->WavHeader.riff.RiffSize);

Error: CPPCHECK_WARNING (CWE-476): [#def54]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:35: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   33|     encoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID);
#   34|     encoder->WavHeader.riff.RiffSize = sizeof (SirenWavHeader) - 2 * sizeof (int);
#   35|->   encoder->WavHeader.riff.RiffSize =
#   36|         ME_TO_LE32 (encoder->WavHeader.riff.RiffSize);
#   37|     encoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def55]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   34|     encoder->WavHeader.riff.RiffSize = sizeof (SirenWavHeader) - 2 * sizeof (int);
#   35|     encoder->WavHeader.riff.RiffSize =
#   36|->       ME_TO_LE32 (encoder->WavHeader.riff.RiffSize);
#   37|     encoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   38|   

Error: CPPCHECK_WARNING (CWE-476): [#def56]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   35|     encoder->WavHeader.riff.RiffSize =
#   36|         ME_TO_LE32 (encoder->WavHeader.riff.RiffSize);
#   37|->   encoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   38|   
#   39|     encoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);

Error: CPPCHECK_WARNING (CWE-476): [#def57]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:39: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   37|     encoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID);
#   38|   
#   39|->   encoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);
#   40|     encoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (SirenFmtChunk));
#   41|   

Error: CPPCHECK_WARNING (CWE-476): [#def58]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   38|   
#   39|     encoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID);
#   40|->   encoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (SirenFmtChunk));
#   41|   
#   42|     encoder->WavHeader.fmt.fmt.Format = ME_TO_LE16 (0x028E);

Error: CPPCHECK_WARNING (CWE-476): [#def59]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   40|     encoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (SirenFmtChunk));
#   41|   
#   42|->   encoder->WavHeader.fmt.fmt.Format = ME_TO_LE16 (0x028E);
#   43|     encoder->WavHeader.fmt.fmt.Channels = ME_TO_LE16 (1);
#   44|     encoder->WavHeader.fmt.fmt.SampleRate = ME_TO_LE32 (16000);

Error: CPPCHECK_WARNING (CWE-476): [#def60]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:43: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   41|   
#   42|     encoder->WavHeader.fmt.fmt.Format = ME_TO_LE16 (0x028E);
#   43|->   encoder->WavHeader.fmt.fmt.Channels = ME_TO_LE16 (1);
#   44|     encoder->WavHeader.fmt.fmt.SampleRate = ME_TO_LE32 (16000);
#   45|     encoder->WavHeader.fmt.fmt.ByteRate = ME_TO_LE32 (2000);

Error: CPPCHECK_WARNING (CWE-476): [#def61]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   42|     encoder->WavHeader.fmt.fmt.Format = ME_TO_LE16 (0x028E);
#   43|     encoder->WavHeader.fmt.fmt.Channels = ME_TO_LE16 (1);
#   44|->   encoder->WavHeader.fmt.fmt.SampleRate = ME_TO_LE32 (16000);
#   45|     encoder->WavHeader.fmt.fmt.ByteRate = ME_TO_LE32 (2000);
#   46|     encoder->WavHeader.fmt.fmt.BlockAlign = ME_TO_LE16 (40);

Error: CPPCHECK_WARNING (CWE-476): [#def62]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   43|     encoder->WavHeader.fmt.fmt.Channels = ME_TO_LE16 (1);
#   44|     encoder->WavHeader.fmt.fmt.SampleRate = ME_TO_LE32 (16000);
#   45|->   encoder->WavHeader.fmt.fmt.ByteRate = ME_TO_LE32 (2000);
#   46|     encoder->WavHeader.fmt.fmt.BlockAlign = ME_TO_LE16 (40);
#   47|     encoder->WavHeader.fmt.fmt.BitsPerSample = ME_TO_LE16 (0);

Error: CPPCHECK_WARNING (CWE-476): [#def63]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   44|     encoder->WavHeader.fmt.fmt.SampleRate = ME_TO_LE32 (16000);
#   45|     encoder->WavHeader.fmt.fmt.ByteRate = ME_TO_LE32 (2000);
#   46|->   encoder->WavHeader.fmt.fmt.BlockAlign = ME_TO_LE16 (40);
#   47|     encoder->WavHeader.fmt.fmt.BitsPerSample = ME_TO_LE16 (0);
#   48|     encoder->WavHeader.fmt.ExtraSize = ME_TO_LE16 (2);

Error: CPPCHECK_WARNING (CWE-476): [#def64]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:47: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   45|     encoder->WavHeader.fmt.fmt.ByteRate = ME_TO_LE32 (2000);
#   46|     encoder->WavHeader.fmt.fmt.BlockAlign = ME_TO_LE16 (40);
#   47|->   encoder->WavHeader.fmt.fmt.BitsPerSample = ME_TO_LE16 (0);
#   48|     encoder->WavHeader.fmt.ExtraSize = ME_TO_LE16 (2);
#   49|     encoder->WavHeader.fmt.DctLength = ME_TO_LE16 (320);

Error: CPPCHECK_WARNING (CWE-476): [#def65]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   46|     encoder->WavHeader.fmt.fmt.BlockAlign = ME_TO_LE16 (40);
#   47|     encoder->WavHeader.fmt.fmt.BitsPerSample = ME_TO_LE16 (0);
#   48|->   encoder->WavHeader.fmt.ExtraSize = ME_TO_LE16 (2);
#   49|     encoder->WavHeader.fmt.DctLength = ME_TO_LE16 (320);
#   50|   

Error: CPPCHECK_WARNING (CWE-476): [#def66]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   47|     encoder->WavHeader.fmt.fmt.BitsPerSample = ME_TO_LE16 (0);
#   48|     encoder->WavHeader.fmt.ExtraSize = ME_TO_LE16 (2);
#   49|->   encoder->WavHeader.fmt.DctLength = ME_TO_LE16 (320);
#   50|   
#   51|     encoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def67]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   49|     encoder->WavHeader.fmt.DctLength = ME_TO_LE16 (320);
#   50|   
#   51|->   encoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   52|     encoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   53|     encoder->WavHeader.Samples = ME_TO_LE32 (0);

Error: CPPCHECK_WARNING (CWE-476): [#def68]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:52: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   50|   
#   51|     encoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   52|->   encoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   53|     encoder->WavHeader.Samples = ME_TO_LE32 (0);
#   54|   

Error: CPPCHECK_WARNING (CWE-476): [#def69]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:53: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   51|     encoder->WavHeader.FactId = ME_TO_LE32 (FACT_ID);
#   52|     encoder->WavHeader.FactSize = ME_TO_LE32 (sizeof (int));
#   53|->   encoder->WavHeader.Samples = ME_TO_LE32 (0);
#   54|   
#   55|     encoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);

Error: CPPCHECK_WARNING (CWE-476): [#def70]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:55: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   53|     encoder->WavHeader.Samples = ME_TO_LE32 (0);
#   54|   
#   55|->   encoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);
#   56|     encoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   57|   

Error: CPPCHECK_WARNING (CWE-476): [#def71]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:56: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   54|   
#   55|     encoder->WavHeader.DataId = ME_TO_LE32 (DATA_ID);
#   56|->   encoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   57|   
#   58|     memset (encoder->context, 0, sizeof (encoder->context));

Error: CPPCHECK_WARNING (CWE-476): [#def72]
gst-plugins-bad-1.26.0/gst/siren/encoder.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: encoder
#   56|     encoder->WavHeader.DataSize = ME_TO_LE32 (0);
#   57|   
#   58|->   memset (encoder->context, 0, sizeof (encoder->context));
#   59|   
#   60|     siren_init ();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:298:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:297:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:298:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:298:3: danger: dereference of NULL ‘cmsg’
#  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): [#def74]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:438:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:423:7: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:425:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:425:28: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:428:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:428:5: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:430:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/avtp/gstavtpsink.c:438:5: danger: dereference of NULL ‘cmsg’
#  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: GCC_ANALYZER_WARNING (CWE-476): [#def75]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:170:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:760:1: enter_function: entry to ‘gst_curl_smtp_sink_flush_data_unlocked’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:780:7: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:780:7: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:796:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:807:6: branch_true: following ‘true’ branch (when ‘new_file != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:808:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:815:5: call_function: calling ‘gst_curl_smtp_sink_set_payload_headers_unlocked’ from ‘gst_curl_smtp_sink_flush_data_unlocked’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:815:5: return_function: returning to ‘gst_curl_smtp_sink_flush_data_unlocked’ from ‘gst_curl_smtp_sink_set_payload_headers_unlocked’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:819:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/curl/gstcurlsmtpsink.c:820:5: call_function: calling ‘add_final_boundary_unlocked’ from ‘gst_curl_smtp_sink_flush_data_unlocked’
#  168|     GST_DEBUG ("adding final boundary");
#  169|   
#  170|->   array = sink->base64_chunk->chunk_array;
#  171|     g_assert (array);
#  172|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:792:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:777:1: enter_function: entry to ‘gst_mpd_client_get_segment_end_time’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:791:21: call_function: calling ‘gst_mpd_client_get_stream_period’ from ‘gst_mpd_client_get_segment_end_time’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:791:21: return_function: returning to ‘gst_mpd_client_get_segment_end_time’ from ‘gst_mpd_client_get_stream_period’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:792:11: danger: dereference of NULL ‘gst_mpd_client_get_stream_period(client)’
#  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): [#def77]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1779:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1679:1: enter_function: entry to ‘gst_mpd_client_stream_seek’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1687:3: branch_true: following ‘true’ branch (when ‘stream’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1689:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1689:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1768:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1768:9: call_function: calling ‘gst_mpd_client_get_segment_duration’ from ‘gst_mpd_client_stream_seek’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1768:9: return_function: returning to ‘gst_mpd_client_stream_seek’ from ‘gst_mpd_client_get_segment_duration’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1769:38: call_function: calling ‘gst_mpd_client_get_stream_period’ from ‘gst_mpd_client_stream_seek’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1769:38: return_function: returning to ‘gst_mpd_client_stream_seek’ from ‘gst_mpd_client_get_stream_period’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1770:28: call_function: calling ‘gst_mpd_client_get_segments_counts’ from ‘gst_mpd_client_stream_seek’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1770:28: return_function: returning to ‘gst_mpd_client_stream_seek’ from ‘gst_mpd_client_get_segments_counts’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1773:5: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1775:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1775:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1779:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1779:14: danger: dereference of NULL ‘gst_mpd_client_get_stream_period(client)’
# 1777|       }
# 1778|   
# 1779|->     if (ts > stream_period->start)
# 1780|         ts -= stream_period->start;
# 1781|       else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1870:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1856:1: enter_function: entry to ‘gst_mpd_client_get_last_fragment_timestamp_end’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1866:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1868:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1868:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1869:21: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1869:21: call_function: calling ‘gst_mpd_client_get_stream_period’ from ‘gst_mpd_client_get_last_fragment_timestamp_end’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1869:21: return_function: returning to ‘gst_mpd_client_get_last_fragment_timestamp_end’ from ‘gst_mpd_client_get_stream_period’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1870:11: danger: dereference of NULL ‘gst_mpd_client_get_stream_period(client)’
# 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): [#def79]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1890:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1856:1: enter_function: entry to ‘gst_mpd_client_get_last_fragment_timestamp_end’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1866:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1868:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1868:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1872:19: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1872:19: call_function: calling ‘gst_mpd_client_get_segments_counts’ from ‘gst_mpd_client_get_last_fragment_timestamp_end’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1872:19: return_function: returning to ‘gst_mpd_client_get_last_fragment_timestamp_end’ from ‘gst_mpd_client_get_segments_counts’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1873:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1878:20: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1880:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1889:23: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1889:23: call_function: calling ‘gst_mpd_client_get_stream_period’ from ‘gst_mpd_client_get_last_fragment_timestamp_end’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1889:23: return_function: returning to ‘gst_mpd_client_get_last_fragment_timestamp_end’ from ‘gst_mpd_client_get_stream_period’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:1890:13: danger: dereference of NULL ‘gst_mpd_client_get_stream_period(client)’
# 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): [#def80]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2647:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2634:1: enter_function: entry to ‘gst_mpd_client_get_segments_counts’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2639:3: branch_true: following ‘true’ branch (when ‘stream’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2641:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2641:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2643:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2643:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2646:19: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2646:19: call_function: calling ‘gst_mpd_client_get_stream_period’ from ‘gst_mpd_client_get_segments_counts’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2646:19: return_function: returning to ‘gst_mpd_client_get_segments_counts’ from ‘gst_mpd_client_get_stream_period’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:2647:7: danger: dereference of NULL ‘gst_mpd_client_get_stream_period(client)’
# 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): [#def81]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3257:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3250:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3251:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3251:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3254:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3257:36: danger: dereference of NULL ‘gst_mpd_client_get_period_with_id(*client_16(D)->mpd_root_node.Periods,  period_id)’
# 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): [#def82]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3303:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3296:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3297:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3297:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3300:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3303:36: danger: dereference of NULL ‘gst_mpd_client_get_period_with_id(*client_10(D)->mpd_root_node.Periods,  period_id)’
# 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): [#def83]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3310:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3287:1: enter_function: entry to ‘gst_mpd_client_set_segment_list’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3296:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3297:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3297:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3300:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3300:28: call_function: calling ‘gst_mpd_client_get_period_with_id’ from ‘gst_mpd_client_set_segment_list’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3300:28: return_function: returning to ‘gst_mpd_client_set_segment_list’ from ‘gst_mpd_client_get_period_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3303:36: call_function: calling ‘gst_mpd_client_get_adaptation_set_with_id’ from ‘gst_mpd_client_set_segment_list’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3303:36: return_function: returning to ‘gst_mpd_client_set_segment_list’ from ‘gst_mpd_client_get_adaptation_set_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3305:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3308:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3310:8: danger: dereference of NULL ‘gst_mpd_client_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 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): [#def84]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3340:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3333:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3334:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3334:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3337:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3340:36: danger: dereference of NULL ‘gst_mpd_client_get_period_with_id(*client_10(D)->mpd_root_node.Periods,  period_id)’
# 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): [#def85]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3347:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3324:1: enter_function: entry to ‘gst_mpd_client_set_segment_template’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3333:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3334:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3334:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3337:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3337:28: call_function: calling ‘gst_mpd_client_get_period_with_id’ from ‘gst_mpd_client_set_segment_template’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3337:28: return_function: returning to ‘gst_mpd_client_set_segment_template’ from ‘gst_mpd_client_get_period_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3340:36: call_function: calling ‘gst_mpd_client_get_adaptation_set_with_id’ from ‘gst_mpd_client_set_segment_template’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3340:36: return_function: returning to ‘gst_mpd_client_set_segment_template’ from ‘gst_mpd_client_get_adaptation_set_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3342:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3345:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3347:8: danger: dereference of NULL ‘gst_mpd_client_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 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): [#def86]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3379:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3372:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3373:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3373:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3376:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3379:36: danger: dereference of NULL ‘gst_mpd_client_get_period_with_id(*client_18(D)->mpd_root_node.Periods,  period_id)’
# 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): [#def87]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3387:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3361:1: enter_function: entry to ‘gst_mpd_client_add_segment_url’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3372:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3373:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3373:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3376:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3376:28: call_function: calling ‘gst_mpd_client_get_period_with_id’ from ‘gst_mpd_client_add_segment_url’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3376:28: return_function: returning to ‘gst_mpd_client_add_segment_url’ from ‘gst_mpd_client_get_period_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3379:36: call_function: calling ‘gst_mpd_client_get_adaptation_set_with_id’ from ‘gst_mpd_client_add_segment_url’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3379:36: return_function: returning to ‘gst_mpd_client_add_segment_url’ from ‘gst_mpd_client_get_adaptation_set_with_id’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3381:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3384:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/dash/gstmpdclient.c:3387:8: danger: dereference of NULL ‘gst_mpd_client_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 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): [#def88]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1561:7: warning[-Wanalyzer-null-argument]: use of NULL ‘free_data’ where non-null expected
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1539:1: enter_function: entry to ‘gst_hls_master_playlist_new_from_data’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1548:6: branch_false: following ‘false’ branch (when ‘__result != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1554:14: call_function: inlined call to ‘gst_hls_master_playlist_new’ from ‘gst_hls_master_playlist_new_from_data’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1559:3: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1561:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/hls/m3u8.c:1561:7: danger: argument 1 (‘free_data’) NULL where non-null expected
#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): [#def89]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:163:15: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:154:1: enter_function: entry to ‘make_bundle_name’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:163:15: danger: argument 1 (‘s’) NULL where non-null expected
#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): [#def90]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:574:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:566:1: enter_function: entry to ‘gst_lv2_class_get_param_name’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/lv2/gstlv2utils.c:574:10: danger: dereference of NULL ‘<unknown>’
#  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): [#def91]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:653:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:621:1: enter_function: entry to ‘gst_flups_demux_handle_dvd_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:631:6: branch_true: following ‘true’ branch (when the strings are equal)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:632:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:637:12: call_function: calling ‘gst_flups_demux_get_stream’ from ‘gst_flups_demux_handle_dvd_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:637:12: return_function: returning to ‘gst_flups_demux_handle_dvd_event’ from ‘gst_flups_demux_get_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:642:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:644:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:642:11: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:648:20: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:653:9: danger: dereference of NULL ‘gst_flups_demux_get_stream(demux, 224, 2)’
#  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): [#def92]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:729:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘temp’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:621:1: enter_function: entry to ‘gst_flups_demux_handle_dvd_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:631:6: branch_true: following ‘true’ branch (when the strings are equal)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:632:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:659:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:663:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:664:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:667:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:668:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:670:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:670:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:673:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:680:18: call_function: calling ‘gst_flups_demux_get_stream’ from ‘gst_flups_demux_handle_dvd_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:680:18: return_function: returning to ‘gst_flups_demux_handle_dvd_event’ from ‘gst_flups_demux_get_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:728:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:729:21: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:729:21: danger: dereference of NULL ‘temp’
#  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): [#def93]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:763:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:902:1: enter_function: entry to ‘gst_flups_demux_sink_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1018:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1024:17: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1024:17: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1025:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1024:18: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1026:15: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/gstmpegdemux.c:1026:15: call_function: calling ‘gst_flups_demux_handle_dvd_event’ from ‘gst_flups_demux_sink_event’
#  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): [#def94]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1948:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1918:1: enter_function: entry to ‘rsn_dvdsrc_prepare_streamsinfo_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1935:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1943:13: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1945:16: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1945:16: call_function: calling ‘get_vts_attr’ from ‘rsn_dvdsrc_prepare_streamsinfo_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1945:16: return_function: returning to ‘rsn_dvdsrc_prepare_streamsinfo_event’ from ‘get_vts_attr’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1948:15: danger: dereference of NULL ‘get_vts_attr(src, *src.vts_n)’
# 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): [#def95]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1956:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1918:1: enter_function: entry to ‘rsn_dvdsrc_prepare_streamsinfo_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1935:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1943:13: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1953:16: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1953:16: call_function: calling ‘get_vts_attr’ from ‘rsn_dvdsrc_prepare_streamsinfo_event’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1953:16: return_function: returning to ‘rsn_dvdsrc_prepare_streamsinfo_event’ from ‘get_vts_attr’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/resindvdsrc.c:1956:15: danger: dereference of NULL ‘get_vts_attr(src, *src.vts_n)’
# 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): [#def96]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:707:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:924:1: enter_function: entry to ‘gst_selector_pad_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:942:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:947:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:954:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:957:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:995:8: branch_true: following ‘true’ branch (when ‘active_sinkpad != pad’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:996:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:997:11: call_function: calling ‘gst_input_selector_wait_running_time’ from ‘gst_selector_pad_chain’
#  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): [#def97]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:830:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:924:1: enter_function: entry to ‘gst_selector_pad_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:942:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:947:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:954:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:957:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:960:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:967:16: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:975:11: call_function: calling ‘gst_selector_pad_chain’ from ‘gst_selector_pad_chain’
#  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): [#def98]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:1082:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:924:1: enter_function: entry to ‘gst_selector_pad_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:942:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:947:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:954:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:957:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:960:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:967:16: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/resindvd/rsninputselector.c:975:11: call_function: calling ‘gst_selector_pad_chain’ from ‘gst_selector_pad_chain’
# 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: GCC_ANALYZER_WARNING (CWE-401): [#def99]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:606:13: warning[-Wanalyzer-malloc-leak]: leak of ‘sctp_copy_sharedkey(skey)’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:615:1: enter_function: entry to ‘sctp_copy_skeylist’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:622:9: branch_true: following ‘true’ branch (when ‘skey’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: call_function: calling ‘sctp_copy_sharedkey’ from ‘sctp_copy_skeylist’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: return_function: returning to ‘sctp_copy_skeylist’ from ‘sctp_copy_sharedkey’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:624:20: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:625:29: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:606:13: danger: ‘sctp_copy_sharedkey(skey)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
#  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): [#def100]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:625:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:615:1: enter_function: entry to ‘sctp_copy_skeylist’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:622:9: branch_true: following ‘true’ branch (when ‘skey’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: call_function: calling ‘sctp_copy_sharedkey’ from ‘sctp_copy_skeylist’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:623:28: return_function: returning to ‘sctp_copy_skeylist’ from ‘sctp_copy_sharedkey’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:624:20: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:625:29: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c:625:28: danger: ‘<unknown>’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
#  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): [#def101]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7118:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘net_tmp’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7083:12: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7083:41: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7083:13: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c:7118:21: danger: use of uninitialized value ‘net_tmp’ here
# 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): [#def102]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1166:15: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘net’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1124:1: enter_function: entry to ‘sctp_strreset_timer’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1129:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1133:15: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1134:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1137:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1139:13: call_function: calling ‘sctp_threshold_management’ from ‘sctp_strreset_timer’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1139:13: return_function: returning to ‘sctp_strreset_timer’ from ‘sctp_threshold_management’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1139:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1147:9: call_function: inlined call to ‘sctp_backoff_on_timeout’ from ‘sctp_strreset_timer’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1153:9: branch_true: following ‘true’ branch (when ‘chk’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1154:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1154:20: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1155:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1154:21: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1156:25: release_memory: freed here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1157:28: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1162:25: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1153:9: branch_false: following ‘false’ branch (when ‘chk’ is NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1166:15: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c:1166:15: danger: use after ‘free’ of ‘net’; freed at [(23)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/22)
# 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): [#def103]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8593:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sconn’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8456:12: branch_false: following ‘false’ branch (when ‘inp’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8460:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8461:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8466:13: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8466:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8471:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8472:12: branch_false: following ‘false’ branch (when ‘stcb’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8477:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8530:9: branch_true: following ‘true’ branch (when ‘<unknown> == 123’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8585:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8589:17: acquire_memory: this call could return NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c:8593:17: danger: ‘sconn’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
# 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): [#def104]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6596:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&store’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6085:12: branch_false: following ‘false’ branch (when ‘uio’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6090:12: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6108:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6112:13: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6126:12: branch_false: following ‘false’ branch (when ‘inp’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6130:21: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6183:12: branch_false: following ‘false’ branch (when ‘hold_sblock != 0’)...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6197:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6198:13: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6197:13: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6204:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6474:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6553:13: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6553:12: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6557:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c:6596:17: danger: use of uninitialized value ‘&store’ here
# 6594|   				break;
# 6595|   		}
# 6596|-> 		memcpy(from, &store, min((size_t)fromlen, len));
# 6597|   #if defined(SCTP_EMBEDDED_V6_SCOPE)
# 6598|   #ifdef INET6

Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1455:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sa’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1476:1: enter_function: entry to ‘usrsctp_bind’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1480:12: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1484:22: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1484:22: call_function: calling ‘getsockaddr’ from ‘usrsctp_bind’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1484:22: return_function: returning to ‘usrsctp_bind’ from ‘getsockaddr’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1484:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1487:17: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1487:17: call_function: inlined call to ‘sobind’ from ‘usrsctp_bind’
# 1453|   sobind(struct socket *so, struct sockaddr *nam)
# 1454|   {
# 1455|-> 	switch (nam->sa_family) {
# 1456|   #if defined(INET)
# 1457|   	case AF_INET:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1889:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nam’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1976:5: enter_function: entry to ‘usrsctp_connect’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1980:17: call_function: calling ‘getsockaddr’ from ‘usrsctp_connect’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1980:17: return_function: returning to ‘usrsctp_connect’ from ‘getsockaddr’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1981:12: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1984:17: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/sctp/usrsctp/usrsctplib/user_socket.c:1984:17: call_function: calling ‘user_connect’ from ‘usrsctp_connect’
# 1887|   		 */
# 1888|   		so->so_error = 0;
# 1889|-> 		switch (nam->sa_family) {
# 1890|   #if defined(INET)
# 1891|   		case AF_INET:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:323:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:306:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:308:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:308:14: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:312:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:312:14: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:315:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:320:17: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:321:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:323:9: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:323:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/srt/gstsrtsink.c:323:9: danger: dereference of NULL ‘<unknown>’
#  321|         const GValue *v = gst_value_array_get_value (streamheader, i);
#  322|         if (!GST_VALUE_HOLDS_BUFFER (v)) {
#  323|->         GST_ERROR_OBJECT (self, "'streamheader' item of unexpected type '%s'",
#  324|               G_VALUE_TYPE_NAME (v));
#  325|           return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2070:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2068|     ret = gst_ttml_render_stitch_images (inline_images,
# 2069|         GST_TTML_DIRECTION_INLINE);
# 2070|->   GST_CAT_DEBUG (ttmlrender_debug,
# 2071|         "Stitched line image - x:%d  y:%d  w:%u  h:%u",
# 2072|         ret->x, ret->y, ret->width, ret->height);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2144:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2142|           gst_ttml_render_render_block_elements (render, block,
# 2143|           metrics);
# 2144|->     line->y += (i * metrics.line_height);
# 2145|       g_ptr_array_add (ret, line);
# 2146|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2349:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘image1’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2347|   
# 2348|     /* Work out dimensions of combined image. */
# 2349|->   ret->x = MIN (image1->x, image2->x);
# 2350|     ret->y = MIN (image1->y, image2->y);
# 2351|     ret->width = MAX (image1->x + image1->width, image2->x + image2->width)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2720:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘region_image’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2763:1: enter_function: entry to ‘gst_ttml_render_video_chain’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2774:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2780:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2798:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2802:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2830:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2833:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2837:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2845:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2872:8: branch_false: following ‘false’ branch (when ‘valid_text_time == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2881:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2888:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2895:15: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2901:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2906:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2913:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2916:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2918:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/gstttmlrender.c:2919:27: call_function: calling ‘gst_ttml_render_render_text_region’ from ‘gst_ttml_render_video_chain’
# 2718|       blocks_image = gst_ttml_render_stitch_images (rendered_blocks,
# 2719|           GST_TTML_DIRECTION_BLOCK);
# 2720|->     blocks_image->x += window_x;
# 2721|   
# 2722|       switch (region->style_set->display_align) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1337:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1933:1: enter_function: entry to ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1948:3: branch_true: following ‘true’ branch (when ‘parsed’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1950:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1951:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1955:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1960:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1965:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1976:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1981:15: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1983:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1989:16: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1989:16: call_function: calling ‘ttml_get_xml_property’ from ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1989:16: return_function: returning to ‘ttml_parse’ from ‘ttml_get_xml_property’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1989:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:1999:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2002:16: call_function: calling ‘ttml_get_xml_property’ from ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2002:16: return_function: returning to ‘ttml_parse’ from ‘ttml_get_xml_property’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2002:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2010:21: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2010:21: call_function: calling ‘ttml_find_child’ from ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2010:21: return_function: returning to ‘ttml_parse’ from ‘ttml_find_child’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2010:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2016:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2018:20: call_function: calling ‘ttml_find_child’ from ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2018:20: return_function: returning to ‘ttml_parse’ from ‘ttml_find_child’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2018:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2023:17: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2023:17: call_function: calling ‘ttml_parse_body’ from ‘ttml_parse’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2023:17: return_function: returning to ‘ttml_parse’ from ‘ttml_parse_body’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/ttml/ttmlparse.c:2031:5: call_function: calling ‘ttml_filter_content_nodes’ from ‘ttml_parse’
# 1335|   {
# 1336|     GNode *child, *next_child;
# 1337|->   TtmlElement *element = node->data;
# 1338|     TtmlElement *parent = node->parent ? node->parent->data : NULL;
# 1339|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:790:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:708:1: enter_function: entry to ‘gst_vulkan_overlay_compositor_transform_ip’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:714:11: release_memory: ‘error’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:717:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:723:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:724:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:730:10: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:735:6: branch_false: following ‘false’ branch (when ‘n != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:741:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:743:15: branch_true: following ‘true’ branch (when ‘i < n’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:747:17: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:750:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:751:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:756:12: call_function: calling ‘vk_overlay_upload’ from ‘gst_vulkan_overlay_compositor_transform_ip’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:756:12: return_function: returning to ‘gst_vulkan_overlay_compositor_transform_ip’ from ‘vk_overlay_upload’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:756:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:758:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:790:3: release_memory: ‘error’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkoverlaycompositor.c:790:3: danger: dereference of NULL ‘error’
#  788|   
#  789|   error:
#  790|->   GST_ELEMENT_ERROR (bt, LIBRARY, FAILED, ("%s", error->message), (NULL));
#  791|     g_clear_error (&error);
#  792|     if (comp)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:837:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf_mem’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:663:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:666:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:667:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:671:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:679:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:682:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:682:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:686:13: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:688:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:694:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:695:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:700:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:727:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:732:30: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:738:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:741:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:741:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:742:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:805:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:811:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/vulkan/vkupload.c:837:5: danger: dereference of NULL ‘buf_mem’
#  835|   
#  836|       gst_vulkan_command_buffer_lock (cmd_buf);
#  837|->     vkCmdCopyBufferToImage (cmd_buf->cmd, buf_mem->buffer, img_mem->image,
#  838|           dst_layout, 1, &region);
#  839|       gst_vulkan_command_buffer_unlock (cmd_buf);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7616:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rtp_trans’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7560:1: enter_function: entry to ‘on_rtpbin_pad_added’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7567:6: branch_true: following ‘true’ branch (when ‘__result != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7568:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7576:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7582:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7586:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7587:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7590:9: call_function: calling ‘find_mid_ssrc_for_ssrc’ from ‘on_rtpbin_pad_added’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7590:9: return_function: returning to ‘on_rtpbin_pad_added’ from ‘find_mid_ssrc_for_ssrc’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7593:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7605:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7613:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7614:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:7616:5: danger: dereference of NULL ‘rtp_trans’
# 7614|         g_warn_if_reached ();
# 7615|       trans = WEBRTC_TRANSCEIVER (rtp_trans);
# 7616|->     g_assert (trans->stream == stream);
# 7617|   
# 7618|       pad = _find_pad_for_transceiver (webrtc, GST_PAD_SRC, rtp_trans);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8307:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8284:1: enter_function: entry to ‘peek_sink_buffer’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8291:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8293:10: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8296:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8302:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8304:7: call_function: calling ‘find_or_add_ssrc_map_item’ from ‘peek_sink_buffer’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8304:7: return_function: returning to ‘peek_sink_buffer’ from ‘find_or_add_ssrc_map_item’
gst-plugins-bad-1.26.0/redhat-linux-build/../ext/webrtc/gstwebrtcbin.c:8307:7: danger: dereference of NULL ‘find_or_add_ssrc_map_item(webrtc, 2,  rtp_session_id,  gst_rtp_buffer_get_ssrc(&rtp), media_idx)’
# 8305|         GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, rtp_session_id, ssrc,
# 8306|         media_idx);
# 8307|->   if (item->media_idx == -1) {
# 8308|       char *str;
# 8309|   

Error: GCC_ANALYZER_WARNING (CWE-131): [#def117]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:251:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  249|     guint8 **adj_mat, *data;
#  250|     gsize sz = sizeof (guint8 *) * order + sizeof (guint8) * order * order;
#  251|->   adj_mat = (guint8 **) g_malloc0 (sz);
#  252|     data = (guint8 *) (adj_mat + order);
#  253|     for (gsize r = 0; r < order; r++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:386:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:359:1: enter_function: entry to ‘gst_analytics_relation_meta_transform’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:372:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:374:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:383:11: call_function: calling ‘gst_buffer_add_analytics_relation_meta_full’ from ‘gst_analytics_relation_meta_transform’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:383:11: return_function: returning to ‘gst_analytics_relation_meta_transform’ from ‘gst_buffer_add_analytics_relation_meta_full’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/analytics/gstanalyticsmeta.c:386:9: danger: dereference of NULL ‘new’
#  384|       }
#  385|   
#  386|->     if (new->offset == 0) {
#  387|         guint i;
#  388|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def119]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:693:9: warning[-Wanalyzer-null-argument]: use of NULL ‘string’ where non-null expected
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:661:1: enter_function: entry to ‘gst_mpegts_atsc_string_segment_set_string’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:670:6: branch_false: following ‘false’ branch (when ‘compression_type == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:675:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:675:3: branch_false: following ‘false’ branch (when ‘mode != 63’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:683:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/mpegts/gst-atsc-section.c:693:9: danger: argument 1 (‘string’) NULL where non-null expected
#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): [#def120]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:606:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:597:1: enter_function: entry to ‘gst_play_media_info_copy’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:602:6: branch_false: following ‘false’ branch (when ‘ref’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:605:35: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:605:10: call_function: calling ‘gst_play_media_info_new’ from ‘gst_play_media_info_copy’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:605:10: return_function: returning to ‘gst_play_media_info_copy’ from ‘gst_play_media_info_new’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/play/gstplay-media-info.c:606:3: danger: dereference of NULL ‘gst_play_media_info_new(*ref.uri)’
#  604|   
#  605|     info = gst_play_media_info_new (ref->uri);
#  606|->   info->duration = ref->duration;
#  607|     info->seekable = ref->seekable;
#  608|     info->is_live = ref->is_live;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def121]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:218:15: branch_true: following ‘true’ branch (when ‘i < n_mems’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:218:15: branch_true: following ‘true’ branch (when ‘i < n_mems’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:218:15: branch_true: following ‘true’ branch (when ‘i < n_mems’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:218:15: branch_true: following ‘true’ branch (when ‘i < n_mems’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:218:15: branch_true: following ‘true’ branch (when ‘i < n_mems’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkfullscreenquad.c:219:5: danger: out-of-bounds write from byte 124 till byte 127 but ‘bindings’ ends at byte 120
#  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): [#def122]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkmemory.c:236:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkmemory.c:231:3: branch_true: following ‘true’ branch (when ‘size != 0’)...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvkmemory.c:236:18: danger: dereference of NULL ‘0’
#  234|   
#  235|     params.flags = GST_MEMORY_FLAGS (mem);
#  236|->   params.align = GST_MEMORY_CAST (parent)->align;
#  237|   
#  238|     _vk_mem_init (shared, _vulkan_memory_allocator, GST_MEMORY_CAST (mem),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:471:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:451:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:456:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:457:39: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:469:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/vulkan/gstvktrash.c:471:11: danger: dereference of NULL ‘device’
#  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): [#def124]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:458:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:519:1: enter_function: entry to ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:527:10: call_function: inlined call to ‘_nice_stream_item_find’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:528:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:534:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:538:10: call_function: calling ‘_create_nice_stream_item’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:538:10: return_function: returning to ‘gst_webrtc_nice_add_stream’ from ‘_create_nice_stream_item’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:540:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:541:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:541:5: call_function: calling ‘_add_turn_server’ from ‘gst_webrtc_nice_add_stream’
#  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): [#def125]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:550:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:519:1: enter_function: entry to ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:527:10: call_function: inlined call to ‘_nice_stream_item_find’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:528:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:534:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:538:10: call_function: calling ‘_create_nice_stream_item’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:538:10: return_function: returning to ‘gst_webrtc_nice_add_stream’ from ‘_create_nice_stream_item’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:545:3: release_memory: ‘add_data.item’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst-libs/gst/webrtc/nice/nice.c:550:10: danger: dereference of NULL ‘_create_nice_stream_item(ice,  session_id)’
#  548|         (GHFunc) _add_turn_server_func, &add_data);
#  549|   
#  550|->   return item->stream;
#  551|   }
#  552|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def126]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/adpcmenc/adpcmenc.c:297:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/adpcmenc/adpcmenc.c:344:1: enter_function: entry to ‘adpcmenc_encode_block’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/adpcmenc/adpcmenc.c:350:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/adpcmenc/adpcmenc.c:351:14: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/adpcmenc/adpcmenc.c:353:11: call_function: calling ‘adpcmenc_encode_ima_block’ from ‘adpcmenc_encode_block’
#  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): [#def127]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:722:7: warning[-Wanalyzer-jump-through-null]: jump through null pointer
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:762:1: enter_function: entry to ‘gst_bayer2rgb_transform’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:772:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:775:37: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:775:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:780:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:781:3: call_function: calling ‘gst_bayer2rgb_process’ from ‘gst_bayer2rgb_transform’
#  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): [#def128]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:740:7: warning[-Wanalyzer-jump-through-null]: jump through null pointer
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:762:1: enter_function: entry to ‘gst_bayer2rgb_transform’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:772:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:775:37: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:775:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:780:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/bayer/gstbayer2rgb.c:781:3: call_function: calling ‘gst_bayer2rgb_process’ from ‘gst_bayer2rgb_transform’
#  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): [#def129]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1192:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1980:1: enter_function: entry to ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: call_function: calling ‘liq_crash_if_invalid_handle_pointer_given’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_crash_if_invalid_handle_pointer_given’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: call_function: calling ‘liq_crash_if_invalid_handle_pointer_given’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_crash_if_invalid_handle_pointer_given’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:6: branch_true: following ‘true’ branch...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2001:31: call_function: calling ‘liq_remapping_result_create’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2001:31: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_remapping_result_create’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2002:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2005:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2015:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2022:38: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2022:38: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2027:11: call_function: calling ‘remap_to_palette’ from ‘liq_write_remapped_image_rows’
# 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): [#def130]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1606:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1980:1: enter_function: entry to ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: call_function: calling ‘liq_crash_if_invalid_handle_pointer_given’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:8: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_crash_if_invalid_handle_pointer_given’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1987:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: call_function: calling ‘liq_crash_if_invalid_handle_pointer_given’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:8: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_crash_if_invalid_handle_pointer_given’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:1989:6: branch_true: following ‘true’ branch...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2001:31: call_function: calling ‘liq_remapping_result_create’ from ‘liq_write_remapped_image_rows’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2001:31: return_function: returning to ‘liq_write_remapped_image_rows’ from ‘liq_remapping_result_create’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2002:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2005:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2005:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/dvbsubenc/libimagequant/libimagequant.c:2006:5: call_function: calling ‘contrast_maps’ from ‘liq_write_remapped_image_rows’
# 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): [#def131]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/festival/gstfestival.c:342:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘info’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/festival/gstfestival.c:340:22: acquire_memory: this call could return NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/festival/gstfestival.c:342:3: danger: ‘info’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  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: [#def132]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:164:21: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:484:1: enter_function: entry to ‘gst_freeverb_init_rev_model’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:489:3: call_function: calling ‘freeverb_revmodel_free’ from ‘gst_freeverb_init_rev_model’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:489:3: return_function: returning to ‘gst_freeverb_init_rev_model’ from ‘freeverb_revmodel_free’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:509:3: call_function: calling ‘freeverb_allpass_setbuffer’ from ‘gst_freeverb_init_rev_model’
#  162|   {
#  163|     allpass->bufidx = 0;
#  164|->   allpass->buffer = g_new (gfloat, size);
#  165|     allpass->bufsize = size;
#  166|   }

Error: GCC_ANALYZER_WARNING: [#def133]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:229:18: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:484:1: enter_function: entry to ‘gst_freeverb_init_rev_model’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:489:3: call_function: calling ‘freeverb_revmodel_free’ from ‘gst_freeverb_init_rev_model’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:489:3: return_function: returning to ‘gst_freeverb_init_rev_model’ from ‘freeverb_revmodel_free’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/freeverb/gstfreeverb.c:493:3: call_function: calling ‘freeverb_comb_setbuffer’ from ‘gst_freeverb_init_rev_model’
#  227|     comb->filterstore = 0;
#  228|     comb->bufidx = 0;
#  229|->   comb->buffer = g_new (gfloat, size);
#  230|     comb->bufsize = size;
#  231|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:622:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:663:1: enter_function: entry to ‘plugin_init’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:685:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:688:21: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:689:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/frei0r/gstfrei0r.c:689:7: call_function: calling ‘register_plugins’ from ‘plugin_init’
#  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: GCC_ANALYZER_WARNING: [#def135]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/gaudieffects/gstgaussblur.c:367:16: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/gaudieffects/gstgaussblur.c:367:16: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/gaudieffects/gstgaussblur.c:367:16: danger: operand ‘sigma’ is of type ‘float’
#  365|     gb->windowsize = (int) (1 + 2 * center);
#  366|   
#  367|->   gb->kernel = g_new (float, gb->windowsize);
#  368|     gb->kernel_sum = g_new (float, gb->windowsize);
#  369|     if (gb->kernel == NULL || gb->kernel_sum == NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1777:12: warning[-Wanalyzer-jump-through-null]: jump through null pointer
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1752:1: enter_function: entry to ‘decimate_main_header’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1757:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1758:19: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1763:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1774:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1774:5: call_function: calling ‘init_packet_iterator’ from ‘decimate_main_header’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1774:5: return_function: returning to ‘decimate_main_header’ from ‘init_packet_iterator’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1777:12: danger: jump through null pointer here
# 1775|   
# 1776|       l = tile->packets;
# 1777|->     while ((it.next (&it))) {
# 1778|         Packet *p;
# 1779|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1783:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘plt’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1757:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1758:19: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1763:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1774:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1777:12: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1780:10: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1780:10: branch_true: following ‘true’ branch (when ‘l’ is NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1781:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/jp2kdecimator/jp2kcodestream.c:1783:9: danger: dereference of NULL ‘plt’
# 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): [#def138]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtsbase.c:1224:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtsbase.c:1707:1: enter_function: entry to ‘mpegts_base_loop’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtsbase.c:1736:11: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtsbase.c:1738:28: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtsbase.c:1739:13: call_function: calling ‘mpegts_base_chain’ from ‘mpegts_base_loop’
# 1222|       old_program = mpegts_base_steal_program (base, program_number);
# 1223|       program = mpegts_base_new_program (base, program_number, section->pid);
# 1224|->     program->patcount = old_program->patcount;
# 1225|   
# 1226|       /* Deactivate the old program */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2526:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nextgroup’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2460:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2463:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2466:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2471:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2486:32: branch_false: following ‘false’ branch (when ‘tmp’ is NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2516:1: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2520:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2525:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsdemux/mpegtspacketizer.c:2526:18: danger: dereference of NULL ‘nextgroup’
# 2524|        */
# 2525|       GST_DEBUG ("In group or after last one");
# 2526|->     lastoffset = firstoffset = nextgroup->first_offset;
# 2527|       lastpcr = firstpcr = nextgroup->pcr_offset;
# 2528|       if (current && nextgroup == current->group) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2065:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*sit.splices’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2029:1: enter_function: entry to ‘handle_scte35_section’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2049:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: call_function: calling ‘deep_copy_sit’ from ‘handle_scte35_section’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: return_function: returning to ‘handle_scte35_section’ from ‘deep_copy_sit’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2064:10: branch_true: following ‘true’ branch (when ‘translate != 0’)...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2065:25: release_memory: ‘*sit.splices’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2065:25: danger: dereference of NULL ‘*sit.splices’
# 2063|          */
# 2064|         if (translate) {
# 2065|->         for (i = 0; i < sit->splices->len; i++) {
# 2066|             GstMpegtsSCTESpliceEvent *sevent =
# 2067|                 g_ptr_array_index (sit->splices, i);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2084:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*sit.splices’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2029:1: enter_function: entry to ‘handle_scte35_section’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2049:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: call_function: calling ‘deep_copy_sit’ from ‘handle_scte35_section’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2050:11: return_function: returning to ‘handle_scte35_section’ from ‘deep_copy_sit’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2082:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2084:25: release_memory: ‘*sit.splices’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/mpegtsmux/gstbasetsmux.c:2084:25: danger: dereference of NULL ‘*sit.splices’
# 2082|         if (sit->fully_parsed && (rtime_map || translate)) {
# 2083|   
# 2084|->         for (i = 0; i < sit->splices->len; i++) {
# 2085|             guint64 running_time = GST_CLOCK_TIME_NONE;
# 2086|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/removesilence/vad_private.c:79:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘vad’ where non-null expected
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/removesilence/vad_private.c:69:20: acquire_memory: this call could return NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/removesilence/vad_private.c:70:3: call_function: inlined call to ‘vad_reset’ from ‘vad_new’
#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): [#def143]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:942:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bond’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:990:1: enter_function: entry to ‘gst_rist_sink_set_bonds’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:996:6: branch_false: following ‘false’ branch (when ‘bonds’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:999:12: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1000:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1003:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1006:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1011:16: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1014:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1016:10: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1016:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1019:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1026:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1030:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1030:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1041:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1044:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1044:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1047:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1047:14: call_function: calling ‘gst_rist_sink_add_bond’ from ‘gst_rist_sink_set_bonds’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1047:14: return_function: returning to ‘gst_rist_sink_set_bonds’ from ‘gst_rist_sink_add_bond’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsink.c:1049:5: call_function: calling ‘gst_rist_sink_update_bond_address’ from ‘gst_rist_sink_set_bonds’
#  940|       const gchar * address, guint port, const gchar * multicast_iface)
#  941|   {
#  942|->   g_free (bond->address);
#  943|     g_free (bond->multicast_iface);
#  944|     bond->address = g_strdup (address);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:957:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bond’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1005:1: enter_function: entry to ‘gst_rist_src_set_bonds’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1011:6: branch_false: following ‘false’ branch (when ‘bonds’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1014:12: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1015:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1018:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1021:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1026:16: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1029:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1031:10: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1031:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1034:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1041:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1045:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1045:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1056:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1059:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1059:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1062:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rist/gstristsrc.c:1064:5: call_function: calling ‘gst_rist_src_update_bond_address’ from ‘gst_rist_src_set_bonds’
#  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): [#def145]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rtmp2/rtmp/rtmpmessage.c:194:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dmeta’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rtmp2/rtmp/rtmpmessage.c:190:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rtmp2/rtmp/rtmpmessage.c:191:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rtmp2/rtmp/rtmpmessage.c:194:3: danger: 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): [#def146]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/rtmp2/rtmp/rtmpmessage.c:236:3: 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): [#def147]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/decoder.c:29:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘decoder’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/decoder.c:28:41: acquire_memory: this call could return NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/decoder.c:29:3: danger: ‘decoder’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   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): [#def148]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/encoder.c:31:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘encoder’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/encoder.c:30:41: acquire_memory: this call could return NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/siren/encoder.c:31:3: danger: ‘encoder’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   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): [#def149]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:305:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fds’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:310:1: enter_function: entry to ‘gst_unix_fd_src_create’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:322:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:334:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:342:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:349:12: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:351:11: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:352:36: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:352:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:361:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:361:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:367:50: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:388:23: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:389:17: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:395:11: call_function: calling ‘close_and_free_fds’ from ‘gst_unix_fd_src_create’
#  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): [#def150]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:408:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fds_arr’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:322:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:334:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:342:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:349:12: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:351:11: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:352:36: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:352:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:361:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:361:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:367:50: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:403:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:404:30: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:407:25: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:409:15: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:408:70: release_memory: ‘fds_arr’ is NULL
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/unixfd/gstunixfdsrc.c:408:28: danger: dereference of NULL ‘fds_arr + (long unsigned int)i * 4’
#  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): [#def151]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:682:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cll._gst_reserved[0]’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3217:1: enter_function: entry to ‘gst_h265_parse_set_caps’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3254:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3255:16: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3254:7: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3259:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3264:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3266:5: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3271:8: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3276:40: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3280:17: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3282:12: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3285:19: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3286:33: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gsth265parse.c:3288:9: call_function: calling ‘gst_h265_parse_process_nal’ from ‘gst_h265_parse_set_caps’
#  680|   
#  681|           h265parse->content_light_level_state = GST_H265_PARSE_SEI_PARSED;
#  682|->         h265parse->content_light_level = cll;
#  683|   
#  684|           break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def152]
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:378:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bar_flags[1]’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:339:1: enter_function: entry to ‘gst_video_parse_utils_parse_bar’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:348:3: branch_true: following ‘true’ branch (when ‘bar’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:350:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:350:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:353:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:356:15: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: call_function: calling ‘_gst_bit_reader_get_bits_uint8_inline’ from ‘gst_video_parse_utils_parse_bar’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: return_function: returning to ‘gst_video_parse_utils_parse_bar’ from ‘_gst_bit_reader_get_bits_uint8_inline’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:356:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:356:15: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: call_function: calling ‘_gst_bit_reader_get_bits_uint8_inline’ from ‘gst_video_parse_utils_parse_bar’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: return_function: returning to ‘gst_video_parse_utils_parse_bar’ from ‘_gst_bit_reader_get_bits_uint8_inline’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:357:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:356:22: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:356:15: branch_false: following ‘false’ branch (when ‘i == 4’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:8: call_function: calling ‘_gst_bit_reader_get_bits_uint8_inline’ from ‘gst_video_parse_utils_parse_bar’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:8: return_function: returning to ‘gst_video_parse_utils_parse_bar’ from ‘_gst_bit_reader_get_bits_uint8_inline’
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:65: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:362:7: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:366:15: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:367:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:366:15: branch_false: following ‘false’ branch (when ‘i == 4’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:378:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../gst/videoparsers/gstvideoparseutils.c:378:24: danger: use of uninitialized value ‘bar_flags[1]’ here
#  376|   
#  377|     /* bars are signaled in pairs: either top/bottom or left/right, but not both */
#  378|->   if ((bar_flags[0] != bar_flags[1]) || (bar_flags[2] != bar_flags[3]))
#  379|       return FALSE;
#  380|     if (bar_flags[0] && bar_flags[2])

Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:97:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 1, 0)’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:76:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:77:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:77:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:78:3: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:78:3: branch_true: following ‘true’ branch (when ‘sock_path’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:81:7: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:81:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:86:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:90:23: acquire_resource: stream socket created here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:90:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:95:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/dvb/camswclient.c:97:6: danger: ‘socket(1, 1, 0)’ leaks here
#   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: GCC_ANALYZER_WARNING (CWE-835): [#def154]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/ipcpipeline/gstipcpipelinecomm.c:1816:13: 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): [#def155]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:198:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup(g_value_get_int(value))’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:194:3: branch_true: following ‘true’ branch (when ‘prop_id == 1’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:195:5: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:197:10: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:198:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:198:27: acquire_resource: opened here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmsallocator.c:198:9: danger: ‘dup(g_value_get_int(value))’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  196|         int fd = g_value_get_int (value);
#  197|         if (fd > -1)
#  198|->         alloc->priv->fd = dup (fd);
#  199|         break;
#  200|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def156]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1954:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mems[0]’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1891:1: enter_function: entry to ‘gst_kms_sink_import_dmabuf’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1902:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1906:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1906:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1909:14: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1917:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1919:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1919:3: branch_true: following ‘true’ branch (when ‘n_planes != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1922:6: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1922:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1933:15: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1952:3: call_function: inlined call to ‘ensure_kms_allocator’ from ‘gst_kms_sink_import_dmabuf’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1954:29: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/kms/gstkmssink.c:1954:29: danger: use of uninitialized value ‘mems[0]’ here
# 1952|     ensure_kms_allocator (self);
# 1953|   
# 1954|->   kmsmem = (GstKMSMemory *) gst_kms_allocator_get_cached (mems[0]);
# 1955|     if (kmsmem) {
# 1956|       GST_LOG_OBJECT (self, "found KMS mem %p in DMABuf mem %p with fb id = %d",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/shm/shmpipe.c:480:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*self.main_socket’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/shm/shmpipe.c:818:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/shm/shmpipe.c:823:34: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/shm/shmpipe.c:825:8: call_function: inlined call to ‘send_command’ from ‘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): [#def158]
gst-plugins-bad-1.26.0/redhat-linux-build/../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): [#def159]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:253:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:894:1: enter_function: entry to ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:902:6: branch_false: following ‘false’ branch (when ‘fc’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:905:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: call_function: calling ‘configfs_find_uvc_function’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: return_function: returning to ‘configfs_parse_uvc_function’ from ‘configfs_find_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:909:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:928:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: call_function: calling ‘attribute_read_str’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: return_function: returning to ‘configfs_parse_uvc_function’ from ‘attribute_read_str’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:931:15: call_function: calling ‘udc_find_video_device’ from ‘configfs_parse_uvc_function’
#  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): [#def160]
gst-plugins-bad-1.26.0/redhat-linux-build/../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
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:894:1: enter_function: entry to ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:902:6: branch_false: following ‘false’ branch (when ‘fc’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:905:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: call_function: calling ‘configfs_find_uvc_function’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: return_function: returning to ‘configfs_parse_uvc_function’ from ‘configfs_find_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:909:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:928:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: call_function: calling ‘attribute_read_str’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: return_function: returning to ‘configfs_parse_uvc_function’ from ‘attribute_read_str’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:931:15: call_function: calling ‘udc_find_video_device’ from ‘configfs_parse_uvc_function’
#  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): [#def161]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:382:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘format’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:894:1: enter_function: entry to ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:902:6: branch_false: following ‘false’ branch (when ‘fc’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:905:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: call_function: calling ‘configfs_find_uvc_function’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: return_function: returning to ‘configfs_parse_uvc_function’ from ‘configfs_find_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:909:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:915:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:915:11: call_function: calling ‘parse_legacy_g_webcam’ from ‘configfs_parse_uvc_function’
#  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): [#def162]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:388:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:894:1: enter_function: entry to ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:902:6: branch_false: following ‘false’ branch (when ‘fc’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:905:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: call_function: calling ‘configfs_find_uvc_function’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: return_function: returning to ‘configfs_parse_uvc_function’ from ‘configfs_find_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:909:6: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:915:11: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:915:11: call_function: calling ‘parse_legacy_g_webcam’ from ‘configfs_parse_uvc_function’
#  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): [#def163]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:601:3: warning[-Wanalyzer-malloc-leak]: leak of ‘mem’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:894:1: enter_function: entry to ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:902:6: branch_false: following ‘false’ branch (when ‘fc’ is non-NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:905:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: call_function: calling ‘configfs_find_uvc_function’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:908:11: return_function: returning to ‘configfs_parse_uvc_function’ from ‘configfs_find_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:909:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:928:11: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: call_function: calling ‘attribute_read_str’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:930:13: return_function: returning to ‘configfs_parse_uvc_function’ from ‘attribute_read_str’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:931:15: call_function: calling ‘udc_find_video_device’ from ‘configfs_parse_uvc_function’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:931:15: return_function: returning to ‘configfs_parse_uvc_function’ from ‘udc_find_video_device’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:932:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:937:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvcgadget/configfs.c:937:9: call_function: calling ‘configfs_parse_uvc’ from ‘configfs_parse_uvc_function’
#  599|     }
#  600|   
#  601|->   free (intervals);
#  602|   
#  603|     return ret;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:598:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aux_buf’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:436:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:441:3: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:445:15: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:447:9: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:447:8: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:450:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:456:22: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:458:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:464:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:469:10: branch_false: following ‘false’ branch (when ‘last_offset == i’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:478:7: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:481:10: branch_true: following ‘true’ branch (when ‘aux_buf’ is NULL)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:482:12: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:482:12: branch_false: following ‘false’ branch (when ‘segment_size > 25’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:489:51: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:507:12: branch_false: following ‘false’ branch (when ‘aux_size == 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:582:9: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:586:10: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:594:10: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:594:10: branch_true: following ‘true’ branch (when ‘segment_size != 0’)...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:596:13: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/uvch264/gstuvch264_mjpgdemux.c:598:9: danger: dereference of NULL ‘aux_buf’
#  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: GCC_ANALYZER_WARNING (CWE-476): [#def165]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah264enc.c:1922:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b_vaframe’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah264enc.c:1886:3: branch_true: following ‘true’ branch...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah264enc.c:1892:15: branch_false: following ‘false’ branch (when ‘i >= gop_len’)...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah264enc.c:1922:3: danger: dereference of NULL ‘b_vaframe’
# 1920|   again:
# 1921|     /* Check whether its refs are already poped. */
# 1922|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 1923|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 1924|     for (i = 0; i < gop_len; i++) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:1941:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2412:1: enter_function: entry to ‘gst_va_h265_enc_encode_frame’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2419:11: call_function: inlined call to ‘_enc_frame’ from ‘gst_va_h265_enc_encode_frame’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2419:11: call_function: inlined call to ‘_enc_frame’ from ‘gst_va_h265_enc_encode_frame’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2422:3: branch_true: following ‘true’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2423:25: branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2426:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2431:8: branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2431:8: call_function: calling ‘_h265_encode_one_frame’ from ‘gst_va_h265_enc_encode_frame’
# 1939|         }
# 1940|   
# 1941|->       collocated_poc = list_forward[self->features.collocated_ref_idx]->poc;
# 1942|       }
# 1943|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2194:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b_vaframe’
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2158:3: branch_true: following ‘true’ branch...
 branch_true: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2164:15: branch_false: following ‘false’ branch (when ‘i >= gop_len’)...
 branch_false: ...to here
gst-plugins-bad-1.26.0/redhat-linux-build/../sys/va/gstvah265enc.c:2194:3: danger: dereference of NULL ‘b_vaframe’
# 2192|   again:
# 2193|     /* Check whether its refs are already poped. */
# 2194|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 2195|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 2196|     for (i = 0; i < gop_len; i++) {

Error: CPPCHECK_WARNING (CWE-457): [#def168]
gst-plugins-bad-1.26.0/sys/decklink/gstdecklinkvideosink.cpp:1603: warning[uninitvar]: Uninitialized variable: data
# 1601|                   FALSE,
# 1602|                   GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 >> 8,
# 1603|->                 GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 & 0xff, data, 3))
# 1604|             GST_WARNING_OBJECT (self, "Couldn't add meta to ancillary data");
# 1605|   

Error: CPPCHECK_WARNING (CWE-476): [#def169]
gst-plugins-bad-1.26.0/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): [#def170]
gst-plugins-bad-1.26.0/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): [#def171]
gst-plugins-bad-1.26.0/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): [#def172]
gst-plugins-bad-1.26.0/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): [#def173]
gst-plugins-bad-1.26.0/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): [#def174]
gst-plugins-bad-1.26.0/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: CPPCHECK_WARNING (CWE-457): [#def175]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvdecoder.cpp:2089: warning[uninitvar]: Uninitialized variable: size
# 2087|     min = 0;
# 2088|   
# 2089|->   gst_buffer_pool_config_set_params (config, outcaps, size, min, max);
# 2090|     gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META);
# 2091|     gst_buffer_pool_set_config (pool, config);

Error: CPPCHECK_WARNING (CWE-758): [#def176]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:524: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  522|     /* Version updated since SDK 12.0 */
#  523|     if ((gst_nvenc_api_version & 12) == 12)
#  524|->     return GST_NVENCAPI_STRUCT_VERSION (8, gst_nvenc_api_version) | (1 << 31);
#  525|   
#  526|     /* NV_ENC_CONFIG_VER ==

Error: CPPCHECK_WARNING (CWE-758): [#def177]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:528: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  526|     /* NV_ENC_CONFIG_VER ==
#  527|      *   (NVENCAPI_STRUCT_VERSION(7) | ( 1<<31 )) */
#  528|->   return GST_NVENCAPI_STRUCT_VERSION (7, gst_nvenc_api_version) | (1 << 31);
#  529|   #endif
#  530|   }

Error: CPPCHECK_WARNING (CWE-758): [#def178]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:540: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  538|     /* NV_ENC_INITIALIZE_PARAMS_VER ==
#  539|      *   (NVENCAPI_STRUCT_VERSION(5) | ( 1<<31 )) */
#  540|->   return GST_NVENCAPI_STRUCT_VERSION (5, gst_nvenc_api_version) | (1 << 31);
#  541|   #endif
#  542|   }

Error: CPPCHECK_WARNING (CWE-758): [#def179]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:552: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  550|     /* NV_ENC_RECONFIGURE_PARAMS_VER ==
#  551|      *   (NVENCAPI_STRUCT_VERSION(1) | ( 1<<31 )) */
#  552|->   return GST_NVENCAPI_STRUCT_VERSION (1, gst_nvenc_api_version) | (1 << 31);
#  553|   #endif
#  554|   }

Error: CPPCHECK_WARNING (CWE-758): [#def180]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:564: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  562|     /* NV_ENC_PRESET_CONFIG_VER ==
#  563|      *   (NVENCAPI_STRUCT_VERSION(4) | ( 1<<31 )) */
#  564|->   return GST_NVENCAPI_STRUCT_VERSION (4, gst_nvenc_api_version) | (1 << 31);
#  565|   #endif
#  566|   }

Error: CPPCHECK_WARNING (CWE-758): [#def181]
gst-plugins-bad-1.26.0/sys/nvcodec/gstnvenc.c:576: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  574|     /* NV_ENC_PIC_PARAMS_VER ==
#  575|      *  (NVENCAPI_STRUCT_VERSION(4) | ( 1<<31 )) */
#  576|->   return GST_NVENCAPI_STRUCT_VERSION (4, gst_nvenc_api_version) | (1 << 31);
#  577|   #endif
#  578|   }

Error: CPPCHECK_WARNING (CWE-476): [#def182]
gst-plugins-bad-1.26.0/sys/va/gstvah264enc.c:1922: warning[nullPointer]: Possible null pointer dereference: b_vaframe
# 1920|   again:
# 1921|     /* Check whether its refs are already poped. */
# 1922|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 1923|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 1924|     for (i = 0; i < gop_len; i++) {

Error: CPPCHECK_WARNING (CWE-476): [#def183]
gst-plugins-bad-1.26.0/sys/va/gstvah265enc.c:2194: warning[nullPointer]: Possible null pointer dereference: b_vaframe
# 2192|   again:
# 2193|     /* Check whether its refs are already poped. */
# 2194|->   g_assert (b_vaframe->left_ref_poc_diff != 0);
# 2195|     g_assert (b_vaframe->right_ref_poc_diff != 0);
# 2196|     for (i = 0; i < gop_len; i++) {

Error: CPPCHECK_WARNING (CWE-476): [#def184]
gst-plugins-bad-1.26.0/sys/va/gstvah265enc.c:3118: warning[nullPointer]: Possible null pointer dereference: level_limits
# 3116|       g_assert (level_limits);
# 3117|   
# 3118|->     if (self->partition.num_tile_cols > level_limits->MaxTileColumns) {
# 3119|         GST_INFO_OBJECT (self, "num_tile_cols:%d exceeds MaxTileColumns:%d"
# 3120|             " of level %s", self->partition.num_tile_cols,

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-155.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namegstreamer1-plugins-bad-free-1.26.0-2.fc43
store-results-to/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.tar.xz
time-created2025-04-25 13:06:15
time-finished2025-04-25 13:18:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz_16wxfz/gstreamer1-plugins-bad-free-1.26.0-2.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9