gstreamer1-plugins-good-1.26.0-2.fc43

List of Findings

Error: CPPCHECK_WARNING (CWE-476): [#def1]
gst-plugins-good-1.26.0/ext/adaptivedemux2/mss/gstmssmanifest.c:1253: warning[nullPointer]: Possible null pointer dereference: stream->current_fragment
# 1251|           if (g_list_previous (iter)) {
# 1252|             stream->current_fragment = g_list_previous (iter);
# 1253|->           fragment = stream->current_fragment->data;
# 1254|             g_assert (fragment);
# 1255|             stream->fragment_repetition_index = fragment->repetitions - 1;

Error: CPPCHECK_WARNING (CWE-909): [#def2]
gst-plugins-good-1.26.0/gst/flv/gstmemindex.c:378: error[uninitStructMember]: Uninitialized struct member: data.lower
#  376|     if (entry == NULL && !data.exact) {
#  377|       if (method == GST_INDEX_LOOKUP_BEFORE)
#  378|->       entry = data.lower;
#  379|       else if (method == GST_INDEX_LOOKUP_AFTER) {
#  380|         entry = data.higher;

Error: CPPCHECK_WARNING (CWE-909): [#def3]
gst-plugins-good-1.26.0/gst/flv/gstmemindex.c:380: error[uninitStructMember]: Uninitialized struct member: data.higher
#  378|         entry = data.lower;
#  379|       else if (method == GST_INDEX_LOOKUP_AFTER) {
#  380|->       entry = data.higher;
#  381|       }
#  382|     }

Error: CPPCHECK_WARNING (CWE-476): [#def4]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   91|     for (i = 0; i < CONV_MOTIF_W; ++i)
#   92|       for (j = 0; j < CONV_MOTIF_W; ++j)
#   93|->       data->conv_motif[i][j] =
#   94|             motif[CONV_MOTIF_W - i - 1][CONV_MOTIF_W - j - 1];
#   95|   }

Error: CPPCHECK_WARNING (CWE-476): [#def5]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:106: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  104|   
#  105|     secure_f_param (&data->light, "Screen Brightness");
#  106|->   data->light.param.fval.max = 300.0f;
#  107|     data->light.param.fval.step = 1.0f;
#  108|     data->light.param.fval.value = 100.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def6]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:107: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  105|     secure_f_param (&data->light, "Screen Brightness");
#  106|     data->light.param.fval.max = 300.0f;
#  107|->   data->light.param.fval.step = 1.0f;
#  108|     data->light.param.fval.value = 100.0f;
#  109|   

Error: CPPCHECK_WARNING (CWE-476): [#def7]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:108: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  106|     data->light.param.fval.max = 300.0f;
#  107|     data->light.param.fval.step = 1.0f;
#  108|->   data->light.param.fval.value = 100.0f;
#  109|   
#  110|     secure_f_param (&data->factor_adj_p, "Flash Intensity");

Error: CPPCHECK_WARNING (CWE-476): [#def8]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  109|   
#  110|     secure_f_param (&data->factor_adj_p, "Flash Intensity");
#  111|->   data->factor_adj_p.param.fval.max = 200.0f;
#  112|     data->factor_adj_p.param.fval.step = 1.0f;
#  113|     data->factor_adj_p.param.fval.value = 70.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def9]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  110|     secure_f_param (&data->factor_adj_p, "Flash Intensity");
#  111|     data->factor_adj_p.param.fval.max = 200.0f;
#  112|->   data->factor_adj_p.param.fval.step = 1.0f;
#  113|     data->factor_adj_p.param.fval.value = 70.0f;
#  114|   

Error: CPPCHECK_WARNING (CWE-476): [#def10]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:113: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  111|     data->factor_adj_p.param.fval.max = 200.0f;
#  112|     data->factor_adj_p.param.fval.step = 1.0f;
#  113|->   data->factor_adj_p.param.fval.value = 70.0f;
#  114|   
#  115|     secure_f_feedback (&data->factor_p, "Factor");

Error: CPPCHECK_WARNING (CWE-476): [#def11]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  116|   
#  117|     plugin_parameters (&data->params, "Bright Flash", 5);
#  118|->   data->params.params[0] = &data->light;
#  119|     data->params.params[1] = &data->factor_adj_p;
#  120|     data->params.params[2] = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def12]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  117|     plugin_parameters (&data->params, "Bright Flash", 5);
#  118|     data->params.params[0] = &data->light;
#  119|->   data->params.params[1] = &data->factor_adj_p;
#  120|     data->params.params[2] = 0;
#  121|     data->params.params[3] = &data->factor_p;

Error: CPPCHECK_WARNING (CWE-476): [#def13]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  118|     data->params.params[0] = &data->light;
#  119|     data->params.params[1] = &data->factor_adj_p;
#  120|->   data->params.params[2] = 0;
#  121|     data->params.params[3] = &data->factor_p;
#  122|     data->params.params[4] = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def14]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:121: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  119|     data->params.params[1] = &data->factor_adj_p;
#  120|     data->params.params[2] = 0;
#  121|->   data->params.params[3] = &data->factor_p;
#  122|     data->params.params[4] = 0;
#  123|   

Error: CPPCHECK_WARNING (CWE-476): [#def15]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:122: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  120|     data->params.params[2] = 0;
#  121|     data->params.params[3] = &data->factor_p;
#  122|->   data->params.params[4] = 0;
#  123|   
#  124|     data->h_height = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def16]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  122|     data->params.params[4] = 0;
#  123|   
#  124|->   data->h_height = 0;
#  125|   
#  126|     /* init rotozoom tables */

Error: CPPCHECK_WARNING (CWE-476): [#def17]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  126|     /* init rotozoom tables */
#  127|     compute_tables (_this, info);
#  128|->   data->theta = 0;
#  129|     data->ftheta = 0.0;
#  130|     data->visibility = 1.0;

Error: CPPCHECK_WARNING (CWE-476): [#def18]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:129: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  127|     compute_tables (_this, info);
#  128|     data->theta = 0;
#  129|->   data->ftheta = 0.0;
#  130|     data->visibility = 1.0;
#  131|     set_motif (data, CONV_MOTIF2);

Error: CPPCHECK_WARNING (CWE-476): [#def19]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  128|     data->theta = 0;
#  129|     data->ftheta = 0.0;
#  130|->   data->visibility = 1.0;
#  131|     set_motif (data, CONV_MOTIF2);
#  132|     data->inverse_motif = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def20]
gst-plugins-good-1.26.0/gst/goom/convolve_fx.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  130|     data->visibility = 1.0;
#  131|     set_motif (data, CONV_MOTIF2);
#  132|->   data->inverse_motif = 0;
#  133|   
#  134|     _this->params = &data->params;

Error: CPPCHECK_WARNING (CWE-476): [#def21]
gst-plugins-good-1.26.0/gst/goom/filters.c:765: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  763|         (ZoomFilterFXWrapperData *) malloc (sizeof (ZoomFilterFXWrapperData));
#  764|   
#  765|->   data->coeffs = 0;
#  766|     data->freecoeffs = 0;
#  767|     data->brutS = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def22]
gst-plugins-good-1.26.0/gst/goom/filters.c:766: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  764|   
#  765|     data->coeffs = 0;
#  766|->   data->freecoeffs = 0;
#  767|     data->brutS = 0;
#  768|     data->freebrutS = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def23]
gst-plugins-good-1.26.0/gst/goom/filters.c:767: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  765|     data->coeffs = 0;
#  766|     data->freecoeffs = 0;
#  767|->   data->brutS = 0;
#  768|     data->freebrutS = 0;
#  769|     data->brutD = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def24]
gst-plugins-good-1.26.0/gst/goom/filters.c:768: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  766|     data->freecoeffs = 0;
#  767|     data->brutS = 0;
#  768|->   data->freebrutS = 0;
#  769|     data->brutD = 0;
#  770|     data->freebrutD = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def25]
gst-plugins-good-1.26.0/gst/goom/filters.c:769: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  767|     data->brutS = 0;
#  768|     data->freebrutS = 0;
#  769|->   data->brutD = 0;
#  770|     data->freebrutD = 0;
#  771|     data->brutT = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def26]
gst-plugins-good-1.26.0/gst/goom/filters.c:770: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  768|     data->freebrutS = 0;
#  769|     data->brutD = 0;
#  770|->   data->freebrutD = 0;
#  771|     data->brutT = 0;
#  772|     data->freebrutT = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def27]
gst-plugins-good-1.26.0/gst/goom/filters.c:771: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  769|     data->brutD = 0;
#  770|     data->freebrutD = 0;
#  771|->   data->brutT = 0;
#  772|     data->freebrutT = 0;
#  773|     data->prevX = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def28]
gst-plugins-good-1.26.0/gst/goom/filters.c:772: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  770|     data->freebrutD = 0;
#  771|     data->brutT = 0;
#  772|->   data->freebrutT = 0;
#  773|     data->prevX = 0;
#  774|     data->prevY = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def29]
gst-plugins-good-1.26.0/gst/goom/filters.c:773: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  771|     data->brutT = 0;
#  772|     data->freebrutT = 0;
#  773|->   data->prevX = 0;
#  774|     data->prevY = 0;
#  775|   

Error: CPPCHECK_WARNING (CWE-476): [#def30]
gst-plugins-good-1.26.0/gst/goom/filters.c:774: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  772|     data->freebrutT = 0;
#  773|     data->prevX = 0;
#  774|->   data->prevY = 0;
#  775|   
#  776|     data->mustInitBuffers = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def31]
gst-plugins-good-1.26.0/gst/goom/filters.c:776: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  774|     data->prevY = 0;
#  775|   
#  776|->   data->mustInitBuffers = 1;
#  777|     data->interlace_start = -2;
#  778|   

Error: CPPCHECK_WARNING (CWE-476): [#def32]
gst-plugins-good-1.26.0/gst/goom/filters.c:777: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  775|   
#  776|     data->mustInitBuffers = 1;
#  777|->   data->interlace_start = -2;
#  778|   
#  779|     data->general_speed = 0.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def33]
gst-plugins-good-1.26.0/gst/goom/filters.c:779: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  777|     data->interlace_start = -2;
#  778|   
#  779|->   data->general_speed = 0.0f;
#  780|     data->reverse = 0;
#  781|     data->theMode = AMULETTE_MODE;

Error: CPPCHECK_WARNING (CWE-476): [#def34]
gst-plugins-good-1.26.0/gst/goom/filters.c:780: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  778|   
#  779|     data->general_speed = 0.0f;
#  780|->   data->reverse = 0;
#  781|     data->theMode = AMULETTE_MODE;
#  782|     data->waveEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def35]
gst-plugins-good-1.26.0/gst/goom/filters.c:781: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  779|     data->general_speed = 0.0f;
#  780|     data->reverse = 0;
#  781|->   data->theMode = AMULETTE_MODE;
#  782|     data->waveEffect = 0;
#  783|     data->hypercosEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def36]
gst-plugins-good-1.26.0/gst/goom/filters.c:782: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  780|     data->reverse = 0;
#  781|     data->theMode = AMULETTE_MODE;
#  782|->   data->waveEffect = 0;
#  783|     data->hypercosEffect = 0;
#  784|     data->vPlaneEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def37]
gst-plugins-good-1.26.0/gst/goom/filters.c:783: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  781|     data->theMode = AMULETTE_MODE;
#  782|     data->waveEffect = 0;
#  783|->   data->hypercosEffect = 0;
#  784|     data->vPlaneEffect = 0;
#  785|     data->hPlaneEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def38]
gst-plugins-good-1.26.0/gst/goom/filters.c:784: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  782|     data->waveEffect = 0;
#  783|     data->hypercosEffect = 0;
#  784|->   data->vPlaneEffect = 0;
#  785|     data->hPlaneEffect = 0;
#  786|     data->noisify = 2;

Error: CPPCHECK_WARNING (CWE-476): [#def39]
gst-plugins-good-1.26.0/gst/goom/filters.c:785: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  783|     data->hypercosEffect = 0;
#  784|     data->vPlaneEffect = 0;
#  785|->   data->hPlaneEffect = 0;
#  786|     data->noisify = 2;
#  787|   

Error: CPPCHECK_WARNING (CWE-476): [#def40]
gst-plugins-good-1.26.0/gst/goom/filters.c:786: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  784|     data->vPlaneEffect = 0;
#  785|     data->hPlaneEffect = 0;
#  786|->   data->noisify = 2;
#  787|   
#  788|     /* modif by jeko : fixedpoint : buffration = (16:16) (donc 0<=buffration<=2^16) */

Error: CPPCHECK_WARNING (CWE-476): [#def41]
gst-plugins-good-1.26.0/gst/goom/filters.c:789: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  787|   
#  788|     /* modif by jeko : fixedpoint : buffration = (16:16) (donc 0<=buffration<=2^16) */
#  789|->   data->buffratio = 0;
#  790|     data->firedec = 0;
#  791|   

Error: CPPCHECK_WARNING (CWE-476): [#def42]
gst-plugins-good-1.26.0/gst/goom/filters.c:790: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  788|     /* modif by jeko : fixedpoint : buffration = (16:16) (donc 0<=buffration<=2^16) */
#  789|     data->buffratio = 0;
#  790|->   data->firedec = 0;
#  791|   
#  792|     data->wave = data->wavesp = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def43]
gst-plugins-good-1.26.0/gst/goom/filters.c:792: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  790|     data->firedec = 0;
#  791|   
#  792|->   data->wave = data->wavesp = 0;
#  793|   
#  794|     secure_b_param (&data->enabled_bp, "Enabled", 1);

Error: CPPCHECK_WARNING (CWE-476): [#def44]
gst-plugins-good-1.26.0/gst/goom/filters.c:797: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  795|   
#  796|     plugin_parameters (&data->params, "Zoom Filter", 1);
#  797|->   data->params.params[0] = &data->enabled_bp;
#  798|   
#  799|     _this->params = &data->params;

Error: CPPCHECK_WARNING (CWE-476): [#def45]
gst-plugins-good-1.26.0/gst/goom/filters.c:803: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  801|   
#  802|     /* modif d'optim by Jeko : precalcul des 4 coefs resultant des 2 pos */
#  803|->   generatePrecalCoef (data->precalCoef);
#  804|   }
#  805|   

Error: CPPCHECK_WARNING (CWE-476): [#def46]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  108|     data = (FSData *) malloc (sizeof (FSData));
#  109|   
#  110|->   data->fx_mode = FIREWORKS_FX;
#  111|     data->maxStars = 4096;
#  112|     data->stars = (Star *) malloc (data->maxStars * sizeof (Star));

Error: CPPCHECK_WARNING (CWE-476): [#def47]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  109|   
#  110|     data->fx_mode = FIREWORKS_FX;
#  111|->   data->maxStars = 4096;
#  112|     data->stars = (Star *) malloc (data->maxStars * sizeof (Star));
#  113|     data->nbStars = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def48]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  110|     data->fx_mode = FIREWORKS_FX;
#  111|     data->maxStars = 4096;
#  112|->   data->stars = (Star *) malloc (data->maxStars * sizeof (Star));
#  113|     data->nbStars = 0;
#  114|   

Error: CPPCHECK_WARNING (CWE-476): [#def49]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:113: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  111|     data->maxStars = 4096;
#  112|     data->stars = (Star *) malloc (data->maxStars * sizeof (Star));
#  113|->   data->nbStars = 0;
#  114|   
#  115|     secure_i_param (&data->max_age_p, "Fireworks Smallest Bombs");

Error: CPPCHECK_WARNING (CWE-476): [#def50]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  114|   
#  115|     secure_i_param (&data->max_age_p, "Fireworks Smallest Bombs");
#  116|->   IVAL (data->max_age_p) = 80;
#  117|     IMIN (data->max_age_p) = 0;
#  118|     IMAX (data->max_age_p) = 100;

Error: CPPCHECK_WARNING (CWE-476): [#def51]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  115|     secure_i_param (&data->max_age_p, "Fireworks Smallest Bombs");
#  116|     IVAL (data->max_age_p) = 80;
#  117|->   IMIN (data->max_age_p) = 0;
#  118|     IMAX (data->max_age_p) = 100;
#  119|     ISTEP (data->max_age_p) = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def52]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  116|     IVAL (data->max_age_p) = 80;
#  117|     IMIN (data->max_age_p) = 0;
#  118|->   IMAX (data->max_age_p) = 100;
#  119|     ISTEP (data->max_age_p) = 1;
#  120|   

Error: CPPCHECK_WARNING (CWE-476): [#def53]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  117|     IMIN (data->max_age_p) = 0;
#  118|     IMAX (data->max_age_p) = 100;
#  119|->   ISTEP (data->max_age_p) = 1;
#  120|   
#  121|     secure_i_param (&data->min_age_p, "Fireworks Largest Bombs");

Error: CPPCHECK_WARNING (CWE-476): [#def54]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:122: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  120|   
#  121|     secure_i_param (&data->min_age_p, "Fireworks Largest Bombs");
#  122|->   IVAL (data->min_age_p) = 99;
#  123|     IMIN (data->min_age_p) = 0;
#  124|     IMAX (data->min_age_p) = 100;

Error: CPPCHECK_WARNING (CWE-476): [#def55]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:123: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  121|     secure_i_param (&data->min_age_p, "Fireworks Largest Bombs");
#  122|     IVAL (data->min_age_p) = 99;
#  123|->   IMIN (data->min_age_p) = 0;
#  124|     IMAX (data->min_age_p) = 100;
#  125|     ISTEP (data->min_age_p) = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def56]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  122|     IVAL (data->min_age_p) = 99;
#  123|     IMIN (data->min_age_p) = 0;
#  124|->   IMAX (data->min_age_p) = 100;
#  125|     ISTEP (data->min_age_p) = 1;
#  126|   

Error: CPPCHECK_WARNING (CWE-476): [#def57]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  123|     IMIN (data->min_age_p) = 0;
#  124|     IMAX (data->min_age_p) = 100;
#  125|->   ISTEP (data->min_age_p) = 1;
#  126|   
#  127|     secure_i_param (&data->nbStars_limit_p, "Max Number of Particules");

Error: CPPCHECK_WARNING (CWE-476): [#def58]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  126|   
#  127|     secure_i_param (&data->nbStars_limit_p, "Max Number of Particules");
#  128|->   IVAL (data->nbStars_limit_p) = 512;
#  129|     IMIN (data->nbStars_limit_p) = 0;
#  130|     IMAX (data->nbStars_limit_p) = data->maxStars;

Error: CPPCHECK_WARNING (CWE-476): [#def59]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:129: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  127|     secure_i_param (&data->nbStars_limit_p, "Max Number of Particules");
#  128|     IVAL (data->nbStars_limit_p) = 512;
#  129|->   IMIN (data->nbStars_limit_p) = 0;
#  130|     IMAX (data->nbStars_limit_p) = data->maxStars;
#  131|     ISTEP (data->nbStars_limit_p) = 64;

Error: CPPCHECK_WARNING (CWE-476): [#def60]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  128|     IVAL (data->nbStars_limit_p) = 512;
#  129|     IMIN (data->nbStars_limit_p) = 0;
#  130|->   IMAX (data->nbStars_limit_p) = data->maxStars;
#  131|     ISTEP (data->nbStars_limit_p) = 64;
#  132|   

Error: CPPCHECK_WARNING (CWE-476): [#def61]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  129|     IMIN (data->nbStars_limit_p) = 0;
#  130|     IMAX (data->nbStars_limit_p) = data->maxStars;
#  131|->   ISTEP (data->nbStars_limit_p) = 64;
#  132|   
#  133|     secure_i_param (&data->fx_mode_p, "FX Mode");

Error: CPPCHECK_WARNING (CWE-476): [#def62]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  132|   
#  133|     secure_i_param (&data->fx_mode_p, "FX Mode");
#  134|->   IVAL (data->fx_mode_p) = data->fx_mode;
#  135|     IMIN (data->fx_mode_p) = 1;
#  136|     IMAX (data->fx_mode_p) = 3;

Error: CPPCHECK_WARNING (CWE-476): [#def63]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  133|     secure_i_param (&data->fx_mode_p, "FX Mode");
#  134|     IVAL (data->fx_mode_p) = data->fx_mode;
#  135|->   IMIN (data->fx_mode_p) = 1;
#  136|     IMAX (data->fx_mode_p) = 3;
#  137|     ISTEP (data->fx_mode_p) = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def64]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  134|     IVAL (data->fx_mode_p) = data->fx_mode;
#  135|     IMIN (data->fx_mode_p) = 1;
#  136|->   IMAX (data->fx_mode_p) = 3;
#  137|     ISTEP (data->fx_mode_p) = 1;
#  138|   

Error: CPPCHECK_WARNING (CWE-476): [#def65]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  135|     IMIN (data->fx_mode_p) = 1;
#  136|     IMAX (data->fx_mode_p) = 3;
#  137|->   ISTEP (data->fx_mode_p) = 1;
#  138|   
#  139|     secure_f_feedback (&data->nbStars_p, "Number of Particules (% of Max)");

Error: CPPCHECK_WARNING (CWE-476): [#def66]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  140|   
#  141|     plugin_parameters (&data->params, "Particule System", 7);
#  142|->   data->params.params[0] = &data->fx_mode_p;
#  143|     data->params.params[1] = &data->nbStars_limit_p;
#  144|     data->params.params[2] = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def67]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  141|     plugin_parameters (&data->params, "Particule System", 7);
#  142|     data->params.params[0] = &data->fx_mode_p;
#  143|->   data->params.params[1] = &data->nbStars_limit_p;
#  144|     data->params.params[2] = 0;
#  145|     data->params.params[3] = &data->min_age_p;

Error: CPPCHECK_WARNING (CWE-476): [#def68]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:144: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  142|     data->params.params[0] = &data->fx_mode_p;
#  143|     data->params.params[1] = &data->nbStars_limit_p;
#  144|->   data->params.params[2] = 0;
#  145|     data->params.params[3] = &data->min_age_p;
#  146|     data->params.params[4] = &data->max_age_p;

Error: CPPCHECK_WARNING (CWE-476): [#def69]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:145: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  143|     data->params.params[1] = &data->nbStars_limit_p;
#  144|     data->params.params[2] = 0;
#  145|->   data->params.params[3] = &data->min_age_p;
#  146|     data->params.params[4] = &data->max_age_p;
#  147|     data->params.params[5] = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def70]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:146: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  144|     data->params.params[2] = 0;
#  145|     data->params.params[3] = &data->min_age_p;
#  146|->   data->params.params[4] = &data->max_age_p;
#  147|     data->params.params[5] = 0;
#  148|     data->params.params[6] = &data->nbStars_p;

Error: CPPCHECK_WARNING (CWE-476): [#def71]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:147: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  145|     data->params.params[3] = &data->min_age_p;
#  146|     data->params.params[4] = &data->max_age_p;
#  147|->   data->params.params[5] = 0;
#  148|     data->params.params[6] = &data->nbStars_p;
#  149|   

Error: CPPCHECK_WARNING (CWE-476): [#def72]
gst-plugins-good-1.26.0/gst/goom/flying_stars_fx.c:148: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  146|     data->params.params[4] = &data->max_age_p;
#  147|     data->params.params[5] = 0;
#  148|->   data->params.params[6] = &data->nbStars_p;
#  149|   
#  150|     _this->params = &data->params;

Error: CPPCHECK_WARNING (CWE-476): [#def73]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   56|   init_buffers (PluginInfo * goomInfo, int buffsize)
#   57|   {
#   58|->   goomInfo->pixel = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   59|     memset (goomInfo->pixel, 0, buffsize * sizeof (guint32) + 128);
#   60|     goomInfo->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);

Error: CPPCHECK_WARNING (CWE-476): [#def74]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:59: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   57|   {
#   58|     goomInfo->pixel = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   59|->   memset (goomInfo->pixel, 0, buffsize * sizeof (guint32) + 128);
#   60|     goomInfo->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   61|     memset (goomInfo->back, 0, buffsize * sizeof (guint32) + 128);

Error: CPPCHECK_WARNING (CWE-476): [#def75]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   58|     goomInfo->pixel = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   59|     memset (goomInfo->pixel, 0, buffsize * sizeof (guint32) + 128);
#   60|->   goomInfo->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   61|     memset (goomInfo->back, 0, buffsize * sizeof (guint32) + 128);
#   62|     goomInfo->conv = (Pixel *) malloc (buffsize * sizeof (guint32) + 128);

Error: CPPCHECK_WARNING (CWE-476): [#def76]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:61: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   59|     memset (goomInfo->pixel, 0, buffsize * sizeof (guint32) + 128);
#   60|     goomInfo->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   61|->   memset (goomInfo->back, 0, buffsize * sizeof (guint32) + 128);
#   62|     goomInfo->conv = (Pixel *) malloc (buffsize * sizeof (guint32) + 128);
#   63|     memset (goomInfo->conv, 0, buffsize * sizeof (guint32) + 128);

Error: CPPCHECK_WARNING (CWE-476): [#def77]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   60|     goomInfo->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128);
#   61|     memset (goomInfo->back, 0, buffsize * sizeof (guint32) + 128);
#   62|->   goomInfo->conv = (Pixel *) malloc (buffsize * sizeof (guint32) + 128);
#   63|     memset (goomInfo->conv, 0, buffsize * sizeof (guint32) + 128);
#   64|   

Error: CPPCHECK_WARNING (CWE-476): [#def78]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   61|     memset (goomInfo->back, 0, buffsize * sizeof (guint32) + 128);
#   62|     goomInfo->conv = (Pixel *) malloc (buffsize * sizeof (guint32) + 128);
#   63|->   memset (goomInfo->conv, 0, buffsize * sizeof (guint32) + 128);
#   64|   
#   65|     goomInfo->outputBuf = goomInfo->conv;

Error: CPPCHECK_WARNING (CWE-476): [#def79]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:65: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   63|     memset (goomInfo->conv, 0, buffsize * sizeof (guint32) + 128);
#   64|   
#   65|->   goomInfo->outputBuf = goomInfo->conv;
#   66|   
#   67|     goomInfo->p1 = (Pixel *) ((1 + ((uintptr_t) (goomInfo->pixel)) / 128) * 128);

Error: CPPCHECK_WARNING (CWE-476): [#def80]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:67: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   65|     goomInfo->outputBuf = goomInfo->conv;
#   66|   
#   67|->   goomInfo->p1 = (Pixel *) ((1 + ((uintptr_t) (goomInfo->pixel)) / 128) * 128);
#   68|     goomInfo->p2 = (Pixel *) ((1 + ((uintptr_t) (goomInfo->back)) / 128) * 128);
#   69|   }

Error: CPPCHECK_WARNING (CWE-476): [#def81]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:68: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   66|   
#   67|     goomInfo->p1 = (Pixel *) ((1 + ((uintptr_t) (goomInfo->pixel)) / 128) * 128);
#   68|->   goomInfo->p2 = (Pixel *) ((1 + ((uintptr_t) (goomInfo->back)) / 128) * 128);
#   69|   }
#   70|   

Error: CPPCHECK_WARNING (CWE-476): [#def82]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:85: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   83|     plugin_info_init (goomInfo, 4);
#   84|   
#   85|->   goomInfo->screen.width = resx;
#   86|     goomInfo->screen.height = resy;
#   87|     goomInfo->screen.size = resx * resy;

Error: CPPCHECK_WARNING (CWE-476): [#def83]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   84|   
#   85|     goomInfo->screen.width = resx;
#   86|->   goomInfo->screen.height = resy;
#   87|     goomInfo->screen.size = resx * resy;
#   88|   

Error: CPPCHECK_WARNING (CWE-476): [#def84]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   85|     goomInfo->screen.width = resx;
#   86|     goomInfo->screen.height = resy;
#   87|->   goomInfo->screen.size = resx * resy;
#   88|   
#   89|     init_buffers (goomInfo, goomInfo->screen.size);

Error: CPPCHECK_WARNING (CWE-476): [#def85]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   87|     goomInfo->screen.size = resx * resy;
#   88|   
#   89|->   init_buffers (goomInfo, goomInfo->screen.size);
#   90|     goomInfo->gRandom = goom_random_init ((uintptr_t) goomInfo->pixel);
#   91|   

Error: CPPCHECK_WARNING (CWE-476): [#def86]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   88|   
#   89|     init_buffers (goomInfo, goomInfo->screen.size);
#   90|->   goomInfo->gRandom = goom_random_init ((uintptr_t) goomInfo->pixel);
#   91|   
#   92|     goomInfo->cycle = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def87]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   90|     goomInfo->gRandom = goom_random_init ((uintptr_t) goomInfo->pixel);
#   91|   
#   92|->   goomInfo->cycle = 0;
#   93|   
#   94|     flying_star_create (&goomInfo->star_fx);

Error: CPPCHECK_WARNING (CWE-476): [#def88]
gst-plugins-good-1.26.0/gst/goom/goom_core.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: goomInfo
#   93|   
#   94|     flying_star_create (&goomInfo->star_fx);
#   95|->   goomInfo->star_fx.init (&goomInfo->star_fx, goomInfo);
#   96|   
#   97|     zoomFilterVisualFXWrapper_create (&goomInfo->zoomFilter_fx);

Error: CPPCHECK_WARNING (CWE-476): [#def89]
gst-plugins-good-1.26.0/gst/goom/goom_tools.c:28: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: grandom
#   26|   
#   27|     srand (i);
#   28|->   grandom->pos = 1;
#   29|     goom_random_update_array (grandom, GOOM_NB_RAND);
#   30|     return grandom;

Error: CPPCHECK_WARNING (CWE-476): [#def90]
gst-plugins-good-1.26.0/gst/goom/goom_tools.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: grandom
#   42|     while (numberOfValuesToChange > 0) {
#   43|   #if RAND_MAX < 0x10000
#   44|->     grandom->array[grandom->pos++] = ((rand () << 16) + rand ()) / 127;
#   45|   #else
#   46|       grandom->array[grandom->pos++] = rand () / 127;

Error: CPPCHECK_WARNING (CWE-476): [#def91]
gst-plugins-good-1.26.0/gst/goom/ifs.c:751: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  749|     IfsData *data = (IfsData *) malloc (sizeof (IfsData));
#  750|   
#  751|->   data->Root = (FRACTAL *) NULL;
#  752|     data->initalized = 0;
#  753|     _this->fx_data = data;

Error: CPPCHECK_WARNING (CWE-476): [#def92]
gst-plugins-good-1.26.0/gst/goom/ifs.c:752: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  750|   
#  751|     data->Root = (FRACTAL *) NULL;
#  752|->   data->initalized = 0;
#  753|     _this->fx_data = data;
#  754|   }

Error: CPPCHECK_WARNING (CWE-476): [#def93]
gst-plugins-good-1.26.0/gst/goom/lines.c:173: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gml
#  171|       float param, float amplitude, int col)
#  172|   {
#  173|->   genline (IDdest, param, gml->points2, gml->screenX, gml->screenY);
#  174|     gml->IDdest = IDdest;
#  175|     gml->param = param;

Error: CPPCHECK_WARNING (CWE-476): [#def94]
gst-plugins-good-1.26.0/gst/goom/lines.c:174: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gml
#  172|   {
#  173|     genline (IDdest, param, gml->points2, gml->screenX, gml->screenY);
#  174|->   gml->IDdest = IDdest;
#  175|     gml->param = param;
#  176|     gml->amplitudeF = amplitude;

Error: CPPCHECK_WARNING (CWE-476): [#def95]
gst-plugins-good-1.26.0/gst/goom/lines.c:175: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gml
#  173|     genline (IDdest, param, gml->points2, gml->screenX, gml->screenY);
#  174|     gml->IDdest = IDdest;
#  175|->   gml->param = param;
#  176|     gml->amplitudeF = amplitude;
#  177|     gml->color2 = getcouleur (col);

Error: CPPCHECK_WARNING (CWE-476): [#def96]
gst-plugins-good-1.26.0/gst/goom/lines.c:176: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gml
#  174|     gml->IDdest = IDdest;
#  175|     gml->param = param;
#  176|->   gml->amplitudeF = amplitude;
#  177|     gml->color2 = getcouleur (col);
#  178|   }

Error: CPPCHECK_WARNING (CWE-476): [#def97]
gst-plugins-good-1.26.0/gst/goom/lines.c:177: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gml
#  175|     gml->param = param;
#  176|     gml->amplitudeF = amplitude;
#  177|->   gml->color2 = getcouleur (col);
#  178|   }
#  179|   

Error: CPPCHECK_WARNING (CWE-476): [#def98]
gst-plugins-good-1.26.0/gst/goom/lines.c:186: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  184|     GMLine *l = (GMLine *) malloc (sizeof (GMLine));
#  185|   
#  186|->   l->goomInfo = goomInfo;
#  187|   
#  188|     l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));

Error: CPPCHECK_WARNING (CWE-476): [#def99]
gst-plugins-good-1.26.0/gst/goom/lines.c:188: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  186|     l->goomInfo = goomInfo;
#  187|   
#  188|->   l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  189|     l->points2 = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  190|     l->nbPoints = 512;

Error: CPPCHECK_WARNING (CWE-476): [#def100]
gst-plugins-good-1.26.0/gst/goom/lines.c:189: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  187|   
#  188|     l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  189|->   l->points2 = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  190|     l->nbPoints = 512;
#  191|   

Error: CPPCHECK_WARNING (CWE-476): [#def101]
gst-plugins-good-1.26.0/gst/goom/lines.c:190: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  188|     l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  189|     l->points2 = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));
#  190|->   l->nbPoints = 512;
#  191|   
#  192|     l->IDdest = IDdest;

Error: CPPCHECK_WARNING (CWE-476): [#def102]
gst-plugins-good-1.26.0/gst/goom/lines.c:192: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  190|     l->nbPoints = 512;
#  191|   
#  192|->   l->IDdest = IDdest;
#  193|     l->param = paramD;
#  194|   

Error: CPPCHECK_WARNING (CWE-476): [#def103]
gst-plugins-good-1.26.0/gst/goom/lines.c:193: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  191|   
#  192|     l->IDdest = IDdest;
#  193|->   l->param = paramD;
#  194|   
#  195|     l->amplitude = l->amplitudeF = 1.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def104]
gst-plugins-good-1.26.0/gst/goom/lines.c:195: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  193|     l->param = paramD;
#  194|   
#  195|->   l->amplitude = l->amplitudeF = 1.0f;
#  196|   
#  197|     genline (IDsrc, paramS, l->points, rx, ry);

Error: CPPCHECK_WARNING (CWE-476): [#def105]
gst-plugins-good-1.26.0/gst/goom/lines.c:197: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  195|     l->amplitude = l->amplitudeF = 1.0f;
#  196|   
#  197|->   genline (IDsrc, paramS, l->points, rx, ry);
#  198|     genline (IDdest, paramD, l->points2, rx, ry);
#  199|   

Error: CPPCHECK_WARNING (CWE-476): [#def106]
gst-plugins-good-1.26.0/gst/goom/lines.c:198: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  196|   
#  197|     genline (IDsrc, paramS, l->points, rx, ry);
#  198|->   genline (IDdest, paramD, l->points2, rx, ry);
#  199|   
#  200|     l->color = getcouleur (coulS);

Error: CPPCHECK_WARNING (CWE-476): [#def107]
gst-plugins-good-1.26.0/gst/goom/lines.c:200: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  198|     genline (IDdest, paramD, l->points2, rx, ry);
#  199|   
#  200|->   l->color = getcouleur (coulS);
#  201|     l->color2 = getcouleur (coulD);
#  202|   

Error: CPPCHECK_WARNING (CWE-476): [#def108]
gst-plugins-good-1.26.0/gst/goom/lines.c:201: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  199|   
#  200|     l->color = getcouleur (coulS);
#  201|->   l->color2 = getcouleur (coulD);
#  202|   
#  203|     l->screenX = rx;

Error: CPPCHECK_WARNING (CWE-476): [#def109]
gst-plugins-good-1.26.0/gst/goom/lines.c:203: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  201|     l->color2 = getcouleur (coulD);
#  202|   
#  203|->   l->screenX = rx;
#  204|     l->screenY = ry;
#  205|   

Error: CPPCHECK_WARNING (CWE-476): [#def110]
gst-plugins-good-1.26.0/gst/goom/lines.c:204: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  202|   
#  203|     l->screenX = rx;
#  204|->   l->screenY = ry;
#  205|   
#  206|     l->power = 0.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def111]
gst-plugins-good-1.26.0/gst/goom/lines.c:206: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  204|     l->screenY = ry;
#  205|   
#  206|->   l->power = 0.0f;
#  207|     l->powinc = 0.01f;
#  208|   

Error: CPPCHECK_WARNING (CWE-476): [#def112]
gst-plugins-good-1.26.0/gst/goom/lines.c:207: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: l
#  205|   
#  206|     l->power = 0.0f;
#  207|->   l->powinc = 0.01f;
#  208|   
#  209|     goom_lines_switch_to (l, IDdest, paramD, 1.0f, coulD);

Error: CPPCHECK_WARNING (CWE-476): [#def113]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: g
#   36|     s->center = center;
#   37|   
#   38|->   g->defx = defx;
#   39|     g->sizex = sizex;
#   40|     g->defz = defz;

Error: CPPCHECK_WARNING (CWE-476): [#def114]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:39: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: g
#   37|   
#   38|     g->defx = defx;
#   39|->   g->sizex = sizex;
#   40|     g->defz = defz;
#   41|     g->sizez = sizez;

Error: CPPCHECK_WARNING (CWE-476): [#def115]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: g
#   38|     g->defx = defx;
#   39|     g->sizex = sizex;
#   40|->   g->defz = defz;
#   41|     g->sizez = sizez;
#   42|     g->mode = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def116]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: g
#   39|     g->sizex = sizex;
#   40|     g->defz = defz;
#   41|->   g->sizez = sizez;
#   42|     g->mode = 0;
#   43|   

Error: CPPCHECK_WARNING (CWE-476): [#def117]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: g
#   40|     g->defz = defz;
#   41|     g->sizez = sizez;
#   42|->   g->mode = 0;
#   43|   
#   44|     while (y) {

Error: CPPCHECK_WARNING (CWE-476): [#def118]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: v2_array
#   81|       int z;
#   82|   
#   83|->     v2x = v2_array[x];
#   84|   
#   85|       for (z = 1; z < g->defz; z++) {

Error: CPPCHECK_WARNING (CWE-476): [#def119]
gst-plugins-good-1.26.0/gst/goom/surf3d.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: v2_array
#   84|   
#   85|       for (z = 1; z < g->defz; z++) {
#   86|->       v2 = v2_array[z * g->defx + x];
#   87|         if (((v2.x != -666) || (v2.y != -666))
#   88|             && ((v2x.x != -666) || (v2x.y != -666))) {

Error: CPPCHECK_WARNING (CWE-476): [#def120]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   75|     secure_b_param (&data->enabled_bp, "Enabled", 1);
#   76|     plugin_parameters (&data->params, "3D Tentacles", 1);
#   77|->   data->params.params[0] = &data->enabled_bp;
#   78|   
#   79|     data->cycle = 0.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def121]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   77|     data->params.params[0] = &data->enabled_bp;
#   78|   
#   79|->   data->cycle = 0.0f;
#   80|     data->col =
#   81|         (0x28 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x5f << (BLEU * 8));

Error: CPPCHECK_WARNING (CWE-476): [#def122]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   78|   
#   79|     data->cycle = 0.0f;
#   80|->   data->col =
#   81|         (0x28 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x5f << (BLEU * 8));
#   82|     data->dstcol = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def123]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   80|     data->col =
#   81|         (0x28 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x5f << (BLEU * 8));
#   82|->   data->dstcol = 0;
#   83|     data->lig = 1.15f;
#   84|     data->ligs = 0.1f;

Error: CPPCHECK_WARNING (CWE-476): [#def124]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   81|         (0x28 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x5f << (BLEU * 8));
#   82|     data->dstcol = 0;
#   83|->   data->lig = 1.15f;
#   84|     data->ligs = 0.1f;
#   85|   

Error: CPPCHECK_WARNING (CWE-476): [#def125]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:84: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   82|     data->dstcol = 0;
#   83|     data->lig = 1.15f;
#   84|->   data->ligs = 0.1f;
#   85|   
#   86|     data->distt = 10.0f;

Error: CPPCHECK_WARNING (CWE-476): [#def126]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   84|     data->ligs = 0.1f;
#   85|   
#   86|->   data->distt = 10.0f;
#   87|     data->distt2 = 0.0f;
#   88|     data->rot = 0.0f;             /* entre 0 et 2 * G_PI */

Error: CPPCHECK_WARNING (CWE-476): [#def127]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   85|   
#   86|     data->distt = 10.0f;
#   87|->   data->distt2 = 0.0f;
#   88|     data->rot = 0.0f;             /* entre 0 et 2 * G_PI */
#   89|     data->happens = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def128]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   86|     data->distt = 10.0f;
#   87|     data->distt2 = 0.0f;
#   88|->   data->rot = 0.0f;             /* entre 0 et 2 * G_PI */
#   89|     data->happens = 0;
#   90|   

Error: CPPCHECK_WARNING (CWE-476): [#def129]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   87|     data->distt2 = 0.0f;
#   88|     data->rot = 0.0f;             /* entre 0 et 2 * G_PI */
#   89|->   data->happens = 0;
#   90|   
#   91|     data->rotation = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def130]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   89|     data->happens = 0;
#   90|   
#   91|->   data->rotation = 0;
#   92|     data->lock = 0;
#   93|     data->colors[0] =

Error: CPPCHECK_WARNING (CWE-476): [#def131]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   90|   
#   91|     data->rotation = 0;
#   92|->   data->lock = 0;
#   93|     data->colors[0] =
#   94|         (0x18 << (ROUGE * 8)) | (0x4c << (VERT * 8)) | (0x2f << (BLEU * 8));

Error: CPPCHECK_WARNING (CWE-476): [#def132]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   91|     data->rotation = 0;
#   92|     data->lock = 0;
#   93|->   data->colors[0] =
#   94|         (0x18 << (ROUGE * 8)) | (0x4c << (VERT * 8)) | (0x2f << (BLEU * 8));
#   95|     data->colors[1] =

Error: CPPCHECK_WARNING (CWE-476): [#def133]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   93|     data->colors[0] =
#   94|         (0x18 << (ROUGE * 8)) | (0x4c << (VERT * 8)) | (0x2f << (BLEU * 8));
#   95|->   data->colors[1] =
#   96|         (0x48 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x6f << (BLEU * 8));
#   97|     data->colors[2] =

Error: CPPCHECK_WARNING (CWE-476): [#def134]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   95|     data->colors[1] =
#   96|         (0x48 << (ROUGE * 8)) | (0x2c << (VERT * 8)) | (0x6f << (BLEU * 8));
#   97|->   data->colors[2] =
#   98|         (0x58 << (ROUGE * 8)) | (0x3c << (VERT * 8)) | (0x0f << (BLEU * 8));
#   99|     data->colors[3] =

Error: CPPCHECK_WARNING (CWE-476): [#def135]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#   97|     data->colors[2] =
#   98|         (0x58 << (ROUGE * 8)) | (0x3c << (VERT * 8)) | (0x0f << (BLEU * 8));
#   99|->   data->colors[3] =
#  100|         (0x87 << (ROUGE * 8)) | (0x55 << (VERT * 8)) | (0x74 << (BLEU * 8));
#  101|     tentacle_new (data);

Error: CPPCHECK_WARNING (CWE-476): [#def136]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  157|   
#  158|     v3d center = { 0, -17.0, 0 };
#  159|->   data->vals = (float *) malloc ((definitionx + 20) * sizeof (float));
#  160|   
#  161|     for (tmp = 0; tmp < nbgrid; tmp++) {

Error: CPPCHECK_WARNING (CWE-476): [#def137]
gst-plugins-good-1.26.0/gst/goom/tentacle3d.c:167: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
#  165|       x = 85 + rand () % 5;
#  166|       center.z = z;
#  167|->     data->grille[tmp] =
#  168|           grid3d_new (x, definitionx, z, definitionz + rand () % 10, center);
#  169|       center.y += 8;

Error: CPPCHECK_WARNING (CWE-476): [#def138]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:71: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   69|     ZoomFilterData *zf = malloc (sizeof (ZoomFilterData));
#   70|   
#   71|->   zf->vitesse = 128;
#   72|     zf->pertedec = 8;
#   73|     zf->sqrtperte = 16;

Error: CPPCHECK_WARNING (CWE-476): [#def139]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   70|   
#   71|     zf->vitesse = 128;
#   72|->   zf->pertedec = 8;
#   73|     zf->sqrtperte = 16;
#   74|     zf->middleX = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def140]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   71|     zf->vitesse = 128;
#   72|     zf->pertedec = 8;
#   73|->   zf->sqrtperte = 16;
#   74|     zf->middleX = 1;
#   75|     zf->middleY = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def141]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   72|     zf->pertedec = 8;
#   73|     zf->sqrtperte = 16;
#   74|->   zf->middleX = 1;
#   75|     zf->middleY = 1;
#   76|     zf->reverse = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def142]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   73|     zf->sqrtperte = 16;
#   74|     zf->middleX = 1;
#   75|->   zf->middleY = 1;
#   76|     zf->reverse = 0;
#   77|     zf->mode = WAVE_MODE;

Error: CPPCHECK_WARNING (CWE-476): [#def143]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   74|     zf->middleX = 1;
#   75|     zf->middleY = 1;
#   76|->   zf->reverse = 0;
#   77|     zf->mode = WAVE_MODE;
#   78|     zf->hPlaneEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def144]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   75|     zf->middleY = 1;
#   76|     zf->reverse = 0;
#   77|->   zf->mode = WAVE_MODE;
#   78|     zf->hPlaneEffect = 0;
#   79|     zf->vPlaneEffect = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def145]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   76|     zf->reverse = 0;
#   77|     zf->mode = WAVE_MODE;
#   78|->   zf->hPlaneEffect = 0;
#   79|     zf->vPlaneEffect = 0;
#   80|     zf->noisify = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def146]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   77|     zf->mode = WAVE_MODE;
#   78|     zf->hPlaneEffect = 0;
#   79|->   zf->vPlaneEffect = 0;
#   80|     zf->noisify = 0;
#   81|     zf->buffsize = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def147]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   78|     zf->hPlaneEffect = 0;
#   79|     zf->vPlaneEffect = 0;
#   80|->   zf->noisify = 0;
#   81|     zf->buffsize = 0;
#   82|     zf->res_x = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def148]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   79|     zf->vPlaneEffect = 0;
#   80|     zf->noisify = 0;
#   81|->   zf->buffsize = 0;
#   82|     zf->res_x = 0;
#   83|     zf->res_y = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def149]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   80|     zf->noisify = 0;
#   81|     zf->buffsize = 0;
#   82|->   zf->res_x = 0;
#   83|     zf->res_y = 0;
#   84|   

Error: CPPCHECK_WARNING (CWE-476): [#def150]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   81|     zf->buffsize = 0;
#   82|     zf->res_x = 0;
#   83|->   zf->res_y = 0;
#   84|   
#   85|     zf->buffer = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def151]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:85: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   83|     zf->res_y = 0;
#   84|   
#   85|->   zf->buffer = NULL;
#   86|     zf->firedec = NULL;
#   87|   

Error: CPPCHECK_WARNING (CWE-476): [#def152]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   84|   
#   85|     zf->buffer = NULL;
#   86|->   zf->firedec = NULL;
#   87|   
#   88|     zf->wave = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def153]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   86|     zf->firedec = NULL;
#   87|   
#   88|->   zf->wave = 0;
#   89|     zf->wavesp = 0;
#   90|   

Error: CPPCHECK_WARNING (CWE-476): [#def154]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: zf
#   87|   
#   88|     zf->wave = 0;
#   89|->   zf->wavesp = 0;
#   90|   
#   91|     return zf;

Error: CPPCHECK_WARNING (CWE-682): [#def155]
gst-plugins-good-1.26.0/gst/goom2k1/filters.c:322: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
#  320|     zf->buffer = calloc (sizeof (guint32), zf->buffsize * 5);
#  321|     zf->pos10 = zf->buffer;
#  322|->   zf->c[0] = zf->pos10 + zf->buffsize;
#  323|     zf->c[1] = zf->c[0] + zf->buffsize;
#  324|     zf->c[2] = zf->c[1] + zf->buffsize;

Error: CPPCHECK_WARNING (CWE-457): [#def156]
gst-plugins-good-1.26.0/gst/rtp/gstrtph261pay.c:734: warning[uninitvar]: Uninitialized variable: ret
#  732|     gob->last.gobn = gob->gn;
#  733|   
#  734|->   if (ret == PARSE_OK) {
#  735|       GST_DEBUG_OBJECT (pay,
#  736|           "Split GOBN %d after MBA %d (endpos %u, maxpos %u, nextpos %u)",

Error: CPPCHECK_WARNING (CWE-457): [#def157]
gst-plugins-good-1.26.0/gst/rtp/gstrtph265pay.c:1320: error[legacyUninitvar]: Uninitialized variable: ap_header[0]
# 1318|         /* Propagate F bit */
# 1319|         if ((nal_header[0] & 0x80))
# 1320|->         ap_header[0] |= 0x80;
# 1321|   
# 1322|         /* Select lowest layer_id & temporal_id */

Error: CPPCHECK_WARNING (CWE-457): [#def158]
gst-plugins-good-1.26.0/gst/rtp/gstrtpredenc.c:204: error[uninitvar]: Uninitialized variable: &data
#  202|               0, &inp_data, &inp_size)) {
#  203|         gst_rtp_buffer_add_extension_onebyte_header (&red_rtp, self->twcc_ext_id,
#  204|->           &data, sizeof (guint16));
#  205|       } else if (gst_rtp_buffer_get_extension_twobytes_header (inp_rtp, &appbits,
#  206|               self->twcc_ext_id, 0, &inp_data, &inp_size)) {

Error: CPPCHECK_WARNING (CWE-457): [#def159]
gst-plugins-good-1.26.0/gst/rtp/gstrtpulpfecenc.c:382: error[uninitvar]: Uninitialized variable: &data
#  380|           if (twcc_ext_flags & GST_RTP_HEADER_EXTENSION_ONE_BYTE) {
#  381|             gst_rtp_buffer_add_extension_onebyte_header (&rtp, twcc_ext_id,
#  382|->               &data, sizeof (guint16));
#  383|           } else if (twcc_ext_flags & GST_RTP_HEADER_EXTENSION_TWO_BYTE) {
#  384|             gst_rtp_buffer_add_extension_twobytes_header (&rtp, twcc_appbits,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:783:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:768:1: enter_function: entry to ‘gst_mpd_client2_get_segment_end_time’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:782:21: call_function: calling ‘gst_mpd_client2_get_stream_period’ from ‘gst_mpd_client2_get_segment_end_time’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:782:21: return_function: returning to ‘gst_mpd_client2_get_segment_end_time’ from ‘gst_mpd_client2_get_stream_period’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:783:11: danger: dereference of NULL ‘gst_mpd_client2_get_stream_period(client)’
#  781|     } else {
#  782|       stream_period = gst_mpd_client2_get_stream_period (client);
#  783|->     end = stream_period->start + stream_period->duration;
#  784|     }
#  785|     return end;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1782:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1682:1: enter_function: entry to ‘gst_mpd_client2_stream_seek’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1690:3: branch_true: following ‘true’ branch (when ‘stream’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1692:7: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1692:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1771:9: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1771:9: call_function: calling ‘gst_mpd_client2_get_segment_duration’ from ‘gst_mpd_client2_stream_seek’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1771:9: return_function: returning to ‘gst_mpd_client2_stream_seek’ from ‘gst_mpd_client2_get_segment_duration’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1772:38: call_function: calling ‘gst_mpd_client2_get_stream_period’ from ‘gst_mpd_client2_stream_seek’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1772:38: return_function: returning to ‘gst_mpd_client2_stream_seek’ from ‘gst_mpd_client2_get_stream_period’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1773:28: call_function: calling ‘gst_mpd_client2_get_segments_counts’ from ‘gst_mpd_client2_stream_seek’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1773:28: return_function: returning to ‘gst_mpd_client2_stream_seek’ from ‘gst_mpd_client2_get_segments_counts’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1776:5: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1778:9: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1778:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1782:14: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1782:14: danger: dereference of NULL ‘gst_mpd_client2_get_stream_period(client)’
# 1780|       }
# 1781|   
# 1782|->     if (ts > stream_period->start)
# 1783|         ts -= stream_period->start;
# 1784|       else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1873:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1859:1: enter_function: entry to ‘gst_mpd_client2_get_last_fragment_timestamp_end’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1869:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1871:8: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1871:6: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1872:21: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1872:21: call_function: calling ‘gst_mpd_client2_get_stream_period’ from ‘gst_mpd_client2_get_last_fragment_timestamp_end’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1872:21: return_function: returning to ‘gst_mpd_client2_get_last_fragment_timestamp_end’ from ‘gst_mpd_client2_get_stream_period’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1873:11: danger: dereference of NULL ‘gst_mpd_client2_get_stream_period(client)’
# 1871|     if (!stream->segments) {
# 1872|       stream_period = gst_mpd_client2_get_stream_period (client);
# 1873|->     *ts = stream_period->duration;
# 1874|     } else {
# 1875|       segment_idx = gst_mpd_client2_get_segments_counts (client, stream) - 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1894:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1859:1: enter_function: entry to ‘gst_mpd_client2_get_last_fragment_timestamp_end’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1869:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1871:8: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1871:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1875:19: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1875:19: call_function: calling ‘gst_mpd_client2_get_segments_counts’ from ‘gst_mpd_client2_get_last_fragment_timestamp_end’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1875:19: return_function: returning to ‘gst_mpd_client2_get_last_fragment_timestamp_end’ from ‘gst_mpd_client2_get_segments_counts’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1876:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1881:20: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1883:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1893:23: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1893:23: call_function: calling ‘gst_mpd_client2_get_stream_period’ from ‘gst_mpd_client2_get_last_fragment_timestamp_end’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1893:23: return_function: returning to ‘gst_mpd_client2_get_last_fragment_timestamp_end’ from ‘gst_mpd_client2_get_stream_period’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:1894:13: danger: dereference of NULL ‘gst_mpd_client2_get_stream_period(client)’
# 1892|          * start of the next segment, if any. */
# 1893|         stream_period = gst_mpd_client2_get_stream_period (client);
# 1894|->       *ts = stream_period->duration;
# 1895|       }
# 1896|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2655:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2642:1: enter_function: entry to ‘gst_mpd_client2_get_segments_counts’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2647:3: branch_true: following ‘true’ branch (when ‘stream’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2649:7: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2649:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2651:3: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2651:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2654:19: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2654:19: call_function: calling ‘gst_mpd_client2_get_stream_period’ from ‘gst_mpd_client2_get_segments_counts’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2654:19: return_function: returning to ‘gst_mpd_client2_get_segments_counts’ from ‘gst_mpd_client2_get_stream_period’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:2655:7: danger: dereference of NULL ‘gst_mpd_client2_get_stream_period(client)’
# 2653|   
# 2654|     stream_period = gst_mpd_client2_get_stream_period (client);
# 2655|->   if (stream_period->duration != -1)
# 2656|       return gst_util_uint64_scale_ceil (stream_period->duration, 1,
# 2657|           gst_mpd_client2_get_segment_duration (client, stream, NULL));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3319:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3312:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3313:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3313:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3316:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3319:36: danger: dereference of NULL ‘gst_mpd_client2_get_period_with_id(*client_16(D)->mpd_root_node.Periods,  period_id)’
# 3317|         (client->mpd_root_node->Periods, period_id));
# 3318|     adap_set_node =
# 3319|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client2_get_adaptation_set_with_id
# 3320|         (period_node->AdaptationSets, adaptation_set_id));
# 3321|     g_return_val_if_fail (adap_set_node != NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3365:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3358:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3359:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3359:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3362:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3365:36: danger: dereference of NULL ‘gst_mpd_client2_get_period_with_id(*client_10(D)->mpd_root_node.Periods,  period_id)’
# 3363|         (client->mpd_root_node->Periods, period_id));
# 3364|     adaptation_set =
# 3365|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client2_get_adaptation_set_with_id
# 3366|         (period->AdaptationSets, adap_set_id));
# 3367|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3372:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3349:1: enter_function: entry to ‘gst_mpd_client2_set_segment_list’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3358:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3359:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3359:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3362:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3362:28: call_function: calling ‘gst_mpd_client2_get_period_with_id’ from ‘gst_mpd_client2_set_segment_list’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3362:28: return_function: returning to ‘gst_mpd_client2_set_segment_list’ from ‘gst_mpd_client2_get_period_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3365:36: call_function: calling ‘gst_mpd_client2_get_adaptation_set_with_id’ from ‘gst_mpd_client2_set_segment_list’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3365:36: return_function: returning to ‘gst_mpd_client2_set_segment_list’ from ‘gst_mpd_client2_get_adaptation_set_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3367:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3370:7: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3372:8: danger: dereference of NULL ‘gst_mpd_client2_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 3370|         gst_mpd_client2_get_representation_with_id
# 3371|         (adaptation_set->Representations, rep_id);
# 3372|->   if (!representation->SegmentList) {
# 3373|       representation->SegmentList = gst_mpd_segment_list_node_new ();
# 3374|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3402:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3395:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3396:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3396:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3399:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3402:36: danger: dereference of NULL ‘gst_mpd_client2_get_period_with_id(*client_10(D)->mpd_root_node.Periods,  period_id)’
# 3400|         (client->mpd_root_node->Periods, period_id));
# 3401|     adaptation_set =
# 3402|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client2_get_adaptation_set_with_id
# 3403|         (period->AdaptationSets, adap_set_id));
# 3404|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3409:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3386:1: enter_function: entry to ‘gst_mpd_client2_set_segment_template’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3395:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3396:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3396:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3399:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3399:28: call_function: calling ‘gst_mpd_client2_get_period_with_id’ from ‘gst_mpd_client2_set_segment_template’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3399:28: return_function: returning to ‘gst_mpd_client2_set_segment_template’ from ‘gst_mpd_client2_get_period_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3402:36: call_function: calling ‘gst_mpd_client2_get_adaptation_set_with_id’ from ‘gst_mpd_client2_set_segment_template’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3402:36: return_function: returning to ‘gst_mpd_client2_set_segment_template’ from ‘gst_mpd_client2_get_adaptation_set_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3404:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3407:7: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3409:8: danger: dereference of NULL ‘gst_mpd_client2_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 3407|         gst_mpd_client2_get_representation_with_id
# 3408|         (adaptation_set->Representations, rep_id);
# 3409|->   if (!representation->SegmentTemplate) {
# 3410|       representation->SegmentTemplate = gst_mpd_segment_template_node_new ();
# 3411|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3441:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3434:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3435:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3435:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3438:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3441:36: danger: dereference of NULL ‘gst_mpd_client2_get_period_with_id(*client_18(D)->mpd_root_node.Periods,  period_id)’
# 3439|         (client->mpd_root_node->Periods, period_id));
# 3440|     adaptation_set =
# 3441|->       GST_MPD_ADAPTATION_SET_NODE (gst_mpd_client2_get_adaptation_set_with_id
# 3442|         (period->AdaptationSets, adap_set_id));
# 3443|     g_return_val_if_fail (adaptation_set != NULL, FALSE);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3448:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3423:1: enter_function: entry to ‘gst_mpd_client2_add_segment_url’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3434:3: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3435:3: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3435:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3438:28: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3438:28: call_function: calling ‘gst_mpd_client2_get_period_with_id’ from ‘gst_mpd_client2_add_segment_url’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3438:28: return_function: returning to ‘gst_mpd_client2_add_segment_url’ from ‘gst_mpd_client2_get_period_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3441:36: call_function: calling ‘gst_mpd_client2_get_adaptation_set_with_id’ from ‘gst_mpd_client2_add_segment_url’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3441:36: return_function: returning to ‘gst_mpd_client2_add_segment_url’ from ‘gst_mpd_client2_get_adaptation_set_with_id’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3443:3: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3446:7: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/dash/gstmpdclient.c:3448:8: danger: dereference of NULL ‘gst_mpd_client2_get_representation_with_id(*(GstMPDAdaptationSetNode *)<unknown>.Representations,  rep_id)’
# 3446|         gst_mpd_client2_get_representation_with_id
# 3447|         (adaptation_set->Representations, rep_id);
# 3448|->   if (!representation->SegmentList) {
# 3449|       representation->SegmentList = gst_mpd_segment_list_node_new ();
# 3450|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1567:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1526:37: branch_true: following ‘true’ branch (when ‘i != 0’)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1527:11: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1544:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1548:8: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1564:12: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1565:34: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1564:13: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1566:11: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:1567:38: danger: dereference of NULL ‘0’
# 1565|               cand->stream_time <= ts + (partial_targetduration / 2)) {
# 1566|             GST_DEBUG ("choosing full segment %d", seg_idx);
# 1567|->           seek_result->stream_time = seg->stream_time;
# 1568|             seek_result->segment = gst_m3u8_media_segment_ref (seg);
# 1569|             seek_result->found_partial_segment = FALSE;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def173]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3091:7: warning[-Wanalyzer-null-argument]: use of NULL ‘free_data’ where non-null expected
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3067:1: enter_function: entry to ‘hls_master_playlist_new_from_data’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3076:6: branch_false: following ‘false’ branch (when ‘__result != 0’)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3082:14: call_function: inlined call to ‘gst_hls_master_playlist_new’ from ‘hls_master_playlist_new_from_data’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3087:3: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3091:7: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/adaptivedemux2/hls/m3u8.c:3091:7: danger: argument 1 (‘free_data’) NULL where non-null expected
#argument 1 of ‘__builtin_strstr’ must be non-null
# 3089|     /* Detect early whether this manifest describes a simple media playlist or
# 3090|      * not */
# 3091|->   if (strstr (data, "\n#EXTINF:") != NULL) {
# 3092|       GST_INFO ("This is a simple media playlist, not a master playlist");
# 3093|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def174]
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:556:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stop’
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:525:10: branch_false: following ‘false’ branch (when ‘list’ is NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:550:7: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:550:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:554:11: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../ext/flac/gstflacenc.c:556:22: danger: use of uninitialized value ‘stop’ here
#  554|     track = FLAC__metadata_object_cuesheet_track_new ();
#  555|     track->offset =
#  556|->       (FLAC__uint64) gst_util_uint64_scale_round (stop, sample_rate,
#  557|         GST_SECOND);
#  558|     track->number = 255;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def175]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1173:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘start’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1083:1: enter_function: entry to ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1104:8: call_function: inlined call to ‘_gst_byte_reader_skip_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1109:8: call_function: inlined call to ‘_gst_byte_reader_skip_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1112:8: call_function: calling ‘_gst_byte_reader_get_uint8_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1112:8: return_function: returning to ‘gst_flac_parse_handle_cuesheet’ from ‘_gst_byte_reader_get_uint8_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1112:8: branch_true: following ‘true’ branch...
 branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1117:15: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1118:10: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1118:10: call_function: calling ‘_gst_byte_reader_get_uint64_be_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1118:10: return_function: returning to ‘gst_flac_parse_handle_cuesheet’ from ‘_gst_byte_reader_get_uint64_be_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1118:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1120:10: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1120:10: call_function: calling ‘_gst_byte_reader_get_uint8_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1120:10: return_function: returning to ‘gst_flac_parse_handle_cuesheet’ from ‘_gst_byte_reader_get_uint8_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1120:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1123:9: call_function: inlined call to ‘_gst_byte_reader_get_remaining_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1123:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1125:19: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1132:10: call_function: inlined call to ‘_gst_byte_reader_skip_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1134:10: call_function: calling ‘_gst_byte_reader_get_uint8_inline’ from ‘gst_flac_parse_handle_cuesheet’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1134:10: return_function: returning to ‘gst_flac_parse_handle_cuesheet’ from ‘_gst_byte_reader_get_uint8_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1134:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1138:9: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1138:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1172:11: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/audioparsers/gstflacparse.c:1173:7: danger: use of uninitialized value ‘start’ here
# 1171|             gst_util_uint64_scale_round (offset, GST_SECOND,
# 1172|             flacparse->samplerate);
# 1173|->       gst_toc_entry_set_start_stop_times (cur_entry, start, stop);
# 1174|       }
# 1175|     }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def176]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/autodetect/gstautodetect.c:239:12: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-good-1.26.0/redhat-linux-build/../gst/autodetect/gstautodetect.c:358:1: enter_function: entry to ‘gst_auto_detect_detect’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/autodetect/gstautodetect.c:367:15: call_function: calling ‘gst_auto_detect_find_best’ from ‘gst_auto_detect_detect’
#argument 1 of ‘__builtin_strlen’ must be non-null
#  237|     marker = g_strdup (GST_OBJECT_NAME (factory));
#  238|     if (g_str_has_suffix (marker, self->type_klass_lc))
#  239|->     marker[strlen (marker) - 4] = '\0';
#  240|     if (g_str_has_prefix (marker, "gst"))
#  241|       memmove (marker, marker + 3, strlen (marker + 3) + 1);

Error: GCC_ANALYZER_WARNING: [#def177]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstdtmfsrc.c:514:10: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
#  512|     buf_size = ((duration / 1000) * sample_rate * SAMPLE_SIZE * CHANNELS) / 8;
#  513|   
#  514|->   return gst_buffer_new_wrapped (g_malloc0 (buf_size), buf_size);
#  515|   }
#  516|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def178]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:391:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dtmf_payload.event’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:360:1: enter_function: entry to ‘gst_rtp_dtmf_depay_process’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:382:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:385:3: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:386:3: call_function: calling ‘_gst_bit_reader_get_bits_uint8_inline’ from ‘gst_rtp_dtmf_depay_process’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:386:3: return_function: returning to ‘gst_rtp_dtmf_depay_process’ from ‘_gst_bit_reader_get_bits_uint8_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:387:3: call_function: calling ‘_gst_bit_reader_skip_inline’ from ‘gst_rtp_dtmf_depay_process’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:387:3: return_function: returning to ‘gst_rtp_dtmf_depay_process’ from ‘_gst_bit_reader_skip_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:388:3: call_function: calling ‘_gst_bit_reader_get_bits_uint8_inline’ from ‘gst_rtp_dtmf_depay_process’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:388:3: return_function: returning to ‘gst_rtp_dtmf_depay_process’ from ‘_gst_bit_reader_get_bits_uint8_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:389:3: call_function: calling ‘_gst_bit_reader_get_bits_uint16_inline’ from ‘gst_rtp_dtmf_depay_process’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:389:3: return_function: returning to ‘gst_rtp_dtmf_depay_process’ from ‘_gst_bit_reader_get_bits_uint16_inline’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/dtmf/gstrtpdtmfdepay.c:391:7: danger: use of uninitialized value ‘dtmf_payload.event’ here
#  389|     gst_bit_reader_get_bits_uint16 (&bitreader, &dtmf_payload.duration, 16);
#  390|   
#  391|->   if (dtmf_payload.event > MAX_EVENT)
#  392|       goto bad_packet;
#  393|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/filters.c:765:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/filters.c:763:35: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/filters.c:765:3: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  763|         (ZoomFilterFXWrapperData *) malloc (sizeof (ZoomFilterFXWrapperData));
#  764|   
#  765|->   data->coeffs = 0;
#  766|     data->freecoeffs = 0;
#  767|     data->brutS = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/flying_stars_fx.c:110:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/flying_stars_fx.c:108:21: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/flying_stars_fx.c:110:3: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  108|     data = (FSData *) malloc (sizeof (FSData));
#  109|   
#  110|->   data->fx_mode = FIREWORKS_FX;
#  111|     data->maxStars = 4096;
#  112|     data->stars = (Star *) malloc (data->maxStars * sizeof (Star));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/goom_tools.c:28:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘grandom’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/goom_tools.c:25:40: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/goom_tools.c:28:3: danger: ‘grandom’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   26|   
#   27|     srand (i);
#   28|->   grandom->pos = 1;
#   29|     goom_random_update_array (grandom, GOOM_NB_RAND);
#   30|     return grandom;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:530:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:503:17: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:504:14: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:503:17: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:504:14: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:503:17: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:504:14: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:503:17: branch_true: following ‘true’ branch (when ‘i != 4’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:504:14: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:529:15: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:530:25: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:530:25: release_memory: ‘0’ is NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:530:19: danger: dereference of NULL ‘draw_ifs(goomInfo, & nbpt,  fx_data) + (long unsigned int)i * 8’
#  528|   #else
#  529|     for (i = 0; i < nbpt; i += increment) {
#  530|->     int x = (int) points[i].x & 0x7fffffff;
#  531|       int y = (int) points[i].y & 0x7fffffff;
#  532|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:751:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:749:31: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/ifs.c:751:3: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  749|     IfsData *data = (IfsData *) malloc (sizeof (IfsData));
#  750|   
#  751|->   data->Root = (FRACTAL *) NULL;
#  752|     data->initalized = 0;
#  753|     _this->fx_data = data;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:71:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:181:1: enter_function: entry to ‘goom_lines_init’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:188:33: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:197:3: call_function: calling ‘genline’ from ‘goom_lines_init’
#   69|       case GML_HLINE:
#   70|         for (i = 0; i < 512; i++) {
#   71|->         l[i].x = ((float) i * rx) / 512.0f;
#   72|           l[i].y = param;
#   73|           l[i].angle = G_PI / 2.0f;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:78:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:181:1: enter_function: entry to ‘goom_lines_init’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:188:33: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:197:3: call_function: calling ‘genline’ from ‘goom_lines_init’
#   76|       case GML_VLINE:
#   77|         for (i = 0; i < 512; i++) {
#   78|->         l[i].y = ((float) i * ry) / 512.0f;
#   79|           l[i].x = param;
#   80|           l[i].angle = 0.0f;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:87:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:181:1: enter_function: entry to ‘goom_lines_init’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:188:33: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:197:3: call_function: calling ‘genline’ from ‘goom_lines_init’
#   85|           float cosa, sina;
#   86|   
#   87|->         l[i].angle = 2.0f * G_PI * (float) i / 512.0f;
#   88|           cosa = param * cos (l[i].angle);
#   89|           sina = param * sin (l[i].angle);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:186:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:184:26: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/lines.c:186:3: danger: ‘l’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  184|     GMLine *l = (GMLine *) malloc (sizeof (GMLine));
#  185|   
#  186|->   l->goomInfo = goomInfo;
#  187|   
#  188|     l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/plugin_info.c:246:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*p.params’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/plugin_info.c:235:6: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/plugin_info.c:236:5: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/plugin_info.c:243:30: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/plugin_info.c:246:5: danger: ‘malloc((long unsigned int)*p.nbParams * 32)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  244|       i = p->nbVisuals;
#  245|       p->nbParams = 1;
#  246|->     p->params[0] = p->sound.params;
#  247|       while (i--) {
#  248|         if (p->visuals[i]->params)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/surf3d.c:33:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘g’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/surf3d.c:30:15: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom/surf3d.c:33:3: danger: ‘g’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   31|     surf3d *s = &(g->surf);
#   32|   
#   33|->   s->nbvertex = x * y;
#   34|     s->vertex = malloc (x * y * sizeof (v3d));
#   35|     s->svertex = malloc (x * y * sizeof (v3d));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:412:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pos10’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:353:1: enter_function: entry to ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:377:5: call_function: calling ‘zoomFilterSetResolution’ from ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:377:5: return_function: returning to ‘zoomFilterFastRGB2k1’ from ‘zoomFilterSetResolution’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:383:6: branch_true: following ‘true’ branch (when ‘zfd_update != 0’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:384:12: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:391:17: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:392:19: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:396:19: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: call_function: calling ‘calculatePXandPY’ from ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: return_function: returning to ‘zoomFilterFastRGB2k1’ from ‘calculatePXandPY’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:412:11: danger: ‘pos10 + (long unsigned int)((unsigned int)start_y + x) * 4’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
#  410|             coeffs[(y * prevX + x) * 2 + 1] = 0;
#  411|   #else
#  412|->           pos10[start_y + x] = 0;
#  413|             c[0][start_y + x] = 0;
#  414|             c[1][start_y + x] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:445:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pos10’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:353:1: enter_function: entry to ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:377:5: call_function: calling ‘zoomFilterSetResolution’ from ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:377:5: return_function: returning to ‘zoomFilterFastRGB2k1’ from ‘zoomFilterSetResolution’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:383:6: branch_true: following ‘true’ branch (when ‘zfd_update != 0’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:384:12: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:391:17: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:392:19: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:396:19: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: call_function: calling ‘calculatePXandPY’ from ‘zoomFilterFastRGB2k1’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:402:9: return_function: returning to ‘zoomFilterFastRGB2k1’ from ‘calculatePXandPY’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:407:12: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/goom2k1/filters.c:445:11: danger: ‘pos10 + (long unsigned int)pos * 4’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
#  443|   #else
#  444|             pos = start_y + x;
#  445|->           pos10[pos] = npx10 + prevX * npy10;
#  446|   
#  447|             if (!(coefh || coefv))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2429:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2618:1: enter_function: entry to ‘gst_matroska_read_common_parse_metadata_id_tag’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2631:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2636:21: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2642:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2645:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2648:5: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2650:15: call_function: calling ‘gst_matroska_read_common_parse_metadata_id_simple_tag’ from ‘gst_matroska_read_common_parse_metadata_id_tag’
# 2427|             val_post = g_strdup (strchr (val, '=') + 1);
# 2428|             val_pre = g_strdup (val);
# 2429|->           *(strchr (val_pre, '=') + 1) = '\0';
# 2430|   
# 2431|             for (k = 0; !matched && k < G_N_ELEMENTS (child_tag_conv); k++) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2429:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2618:1: enter_function: entry to ‘gst_matroska_read_common_parse_metadata_id_tag’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2631:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2636:21: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2642:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2645:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2648:5: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/matroska/matroska-read-common.c:2650:15: call_function: calling ‘gst_matroska_read_common_parse_metadata_id_simple_tag’ from ‘gst_matroska_read_common_parse_metadata_id_tag’
#argument 1 of ‘__builtin_strchr’ must be non-null
# 2427|             val_post = g_strdup (strchr (val, '=') + 1);
# 2428|             val_pre = g_strdup (val);
# 2429|->           *(strchr (val_pre, '=') + 1) = '\0';
# 2430|   
# 2431|             for (k = 0; !matched && k < G_N_ELEMENTS (child_tag_conv); k++) {

Error: GCC_ANALYZER_WARNING (CWE-1335): [#def194]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph263pay.c:932:27: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘43’) >= precision of type (‘32’)
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph263pay.c:1851:1: enter_function: entry to ‘gst_rtp_h263_pay_handle_buffer’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph263pay.c:1867:9: call_function: calling ‘gst_rtp_h263_pay_flush’ from ‘gst_rtp_h263_pay_handle_buffer’
#  930|           rest_bits = 0;
#  931|         } else {
#  932|->         context->window = (context->window << n) |
#  933|               ((b & (((guint) pow (2.0, (double) rest_bits)) - 1)) >>
#  934|               (rest_bits - n));

Error: GCC_ANALYZER_WARNING (CWE-457): [#def195]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph265pay.c:1320:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ap_header[0]’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph265pay.c:1761:1: enter_function: entry to ‘gst_rtp_h265_pay_sink_event’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtph265pay.c:1788:7: call_function: calling ‘gst_rtp_h265_pay_handle_buffer’ from ‘gst_rtp_h265_pay_sink_event’
# 1318|         /* Propagate F bit */
# 1319|         if ((nal_header[0] & 0x80))
# 1320|->         ap_header[0] |= 0x80;
# 1321|   
# 1322|         /* Select lowest layer_id & temporal_id */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def196]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:372:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘chroma_site’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:332:1: enter_function: entry to ‘gst_rtp_header_extension_colorspace_read’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:362:14: call_function: calling ‘parse_colorspace’ from ‘gst_rtp_header_extension_colorspace_read’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:362:14: return_function: returning to ‘gst_rtp_header_extension_colorspace_read’ from ‘parse_colorspace’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:367:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:372:7: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtp/gstrtphdrext-colorspace.c:372:7: danger: use of uninitialized value ‘chroma_site’ here
#  370|     }
#  371|   
#  372|->   if (self->chroma_site != chroma_site) {
#  373|       caps_update_needed = TRUE;
#  374|       self->chroma_site = chroma_site;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1684:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1663:1: enter_function: entry to ‘rtp_jitter_buffer_can_fast_start’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1669:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1672:10: call_function: inlined call to ‘rtp_jitter_buffer_peek’ from ‘rtp_jitter_buffer_can_fast_start’
 branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1673:15: branch_true: following ‘true’ branch (when ‘i < num_packet’)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1674:9: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1674:9: branch_false: following ‘false’ branch (when ‘last_item’ is NULL)...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1684:5: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtpjitterbuffer.c:1684:5: danger: dereference of NULL ‘item’
# 1682|   
# 1683|       last_item = item;
# 1684|->     item = (RTPJitterBufferItem *) last_item->next;
# 1685|     }
# 1686|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def198]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/rtpmanager/rtptwcc.c:913:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘run_length’
#  911|     gst_bit_reader_get_bits_uint16 (reader, &run_length, 13);
#  912|   
#  913|->   run_length = MIN (remaining_packets, run_length);
#  914|   
#  915|     for (i = 0; i < run_length; i++) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def199]
gst-plugins-good-1.26.0/redhat-linux-build/../gst/udp/gstmultiudpsink.c:795:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*clients’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/udp/gstmultiudpsink.c:881:1: enter_function: entry to ‘gst_multiudpsink_render_list’
gst-plugins-good-1.26.0/redhat-linux-build/../gst/udp/gstmultiudpsink.c:893:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../gst/udp/gstmultiudpsink.c:896:13: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../gst/udp/gstmultiudpsink.c:904:10: call_function: calling ‘gst_multiudpsink_render_buffers’ from ‘gst_multiudpsink_render_list’
#  793|       msgs[i].bytes_sent = 0;
#  794|       msgs[i].control_messages = NULL;
#  795|->     msgs[i].address = clients[0]->addr;
#  796|       mem += mem_nums[i];
#  797|     }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def200]
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/avimux.c:94:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
#argument 1 of ‘__builtin_memcpy’ must be non-null
#   92|     /* clean up floating src pad */
#   93|     padname = g_strdup (sinkname);
#   94|->   memcpy (strchr (padname, '%'), "0", 2);
#   95|     if (!(sinkpad = gst_element_get_static_pad (element, padname)))
#   96|       sinkpad = gst_element_request_pad_simple (element, padname);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def201]
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/avimux.c:94:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/avimux.c:87:1: enter_function: entry to ‘teardown_src_pad’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/avimux.c:94:11: danger: argument 1 (‘<unknown>’) NULL where non-null expected
#argument 1 of ‘__builtin_strchr’ must be non-null
#   92|     /* clean up floating src pad */
#   93|     padname = g_strdup (sinkname);
#   94|->   memcpy (strchr (padname, '%'), "0", 2);
#   95|     if (!(sinkpad = gst_element_get_static_pad (element, padname)))
#   96|       sinkpad = gst_element_request_pad_simple (element, padname);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:178:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1653:1: enter_function: entry to ‘rtp_gst_custom_event’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1653:1: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1653:1: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1657:7: call_function: calling ‘rtp_pipeline_create’ from ‘rtp_gst_custom_event’
#  176|     p = (rtp_pipeline *) malloc (sizeof (rtp_pipeline));
#  177|   
#  178|->   p->frame_data = frame_data;
#  179|     p->frame_data_size = frame_data_size;
#  180|     p->frame_count = frame_count;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘frame_data’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1198:1: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1198:1: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1205:24: acquire_memory: this call could return NULL
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:5: danger: ‘frame_data + (sizetype)(i * 163)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
# 1205|     guint8 *frame_data = malloc (FRAME_COUNT * sizeof (rtp_KLV_frame_data));
# 1206|     for (guint i = 0; i < FRAME_COUNT; i++)
# 1207|->     memcpy (frame_data + i * frame_data_size, rtp_KLV_frame_data,
# 1208|           frame_data_size);
# 1209|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1216:5: warning[-Wanalyzer-malloc-leak]: leak of ‘frame_data’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1198:1: enter_function: entry to ‘rtp_klv_fragmented_packet_loss’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1198:1: branch_false: following ‘false’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1198:1: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1205:24: acquire_memory: allocated here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1207:26: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1206:21: branch_false: following ‘false’ branch (when ‘i == 5’)...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1212:7: branch_false: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1212:7: call_function: calling ‘rtp_pipeline_create’ from ‘rtp_klv_fragmented_packet_loss’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1212:7: return_function: returning to ‘rtp_klv_fragmented_packet_loss’ from ‘rtp_pipeline_create’
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1215:6: branch_true: following ‘true’ branch...
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1216:5: branch_true: ...to here
gst-plugins-good-1.26.0/redhat-linux-build/../tests/check/elements/rtp-payloading.c:1216:5: danger: ‘frame_data’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
# 1214|   
# 1215|     if (p == NULL) {
# 1216|->     return;
# 1217|     }
# 1218|   

Error: CPPCHECK_WARNING (CWE-475): [#def205]
gst-plugins-good-1.26.0/tests/check/elements/interleave.c:430: error[shiftNegative]: Shifting by a negative value is undefined behaviour
#  428|     }
#  429|   
#  430|->   mask = G_GUINT64_CONSTANT (1) << pos;
#  431|   
#  432|     caps = gst_caps_new_simple ("audio/x-raw",

Error: CPPCHECK_WARNING (CWE-476): [#def206]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:178: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  176|     p = (rtp_pipeline *) malloc (sizeof (rtp_pipeline));
#  177|   
#  178|->   p->frame_data = frame_data;
#  179|     p->frame_data_size = frame_data_size;
#  180|     p->frame_count = frame_count;

Error: CPPCHECK_WARNING (CWE-476): [#def207]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  177|   
#  178|     p->frame_data = frame_data;
#  179|->   p->frame_data_size = frame_data_size;
#  180|     p->frame_count = frame_count;
#  181|     p->custom_event = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def208]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:180: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  178|     p->frame_data = frame_data;
#  179|     p->frame_data_size = frame_data_size;
#  180|->   p->frame_count = frame_count;
#  181|     p->custom_event = NULL;
#  182|   

Error: CPPCHECK_WARNING (CWE-476): [#def209]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:181: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  179|     p->frame_data_size = frame_data_size;
#  180|     p->frame_count = frame_count;
#  181|->   p->custom_event = NULL;
#  182|   
#  183|     /* Create elements. */

Error: CPPCHECK_WARNING (CWE-476): [#def210]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:185: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  183|     /* Create elements. */
#  184|     pipeline_name = g_strdup_printf ("%s-%s-pipeline", pay, depay);
#  185|->   p->pipeline = gst_pipeline_new (pipeline_name);
#  186|     g_free (pipeline_name);
#  187|     p->appsrc = gst_element_factory_make ("appsrc", NULL);

Error: CPPCHECK_WARNING (CWE-476): [#def211]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:187: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  185|     p->pipeline = gst_pipeline_new (pipeline_name);
#  186|     g_free (pipeline_name);
#  187|->   p->appsrc = gst_element_factory_make ("appsrc", NULL);
#  188|     p->rtppay =
#  189|         gst_parse_bin_from_description_full (pay, TRUE, NULL,

Error: CPPCHECK_WARNING (CWE-476): [#def212]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:188: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  186|     g_free (pipeline_name);
#  187|     p->appsrc = gst_element_factory_make ("appsrc", NULL);
#  188|->   p->rtppay =
#  189|         gst_parse_bin_from_description_full (pay, TRUE, NULL,
#  190|         GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, NULL);

Error: CPPCHECK_WARNING (CWE-476): [#def213]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:191: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  189|         gst_parse_bin_from_description_full (pay, TRUE, NULL,
#  190|         GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, NULL);
#  191|->   p->rtpdepay =
#  192|         gst_parse_bin_from_description_full (depay, TRUE, NULL,
#  193|         GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, NULL);

Error: CPPCHECK_WARNING (CWE-476): [#def214]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:194: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  192|         gst_parse_bin_from_description_full (depay, TRUE, NULL,
#  193|         GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, NULL);
#  194|->   p->fakesink = gst_element_factory_make ("fakesink", NULL);
#  195|   
#  196|     /* One or more elements are not created successfully or failed to create p? */

Error: CPPCHECK_WARNING (CWE-476): [#def215]
gst-plugins-good-1.26.0/tests/check/elements/rtp-payloading.c:197: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
#  195|   
#  196|     /* One or more elements are not created successfully or failed to create p? */
#  197|->   if (!p->pipeline || !p->appsrc || !p->rtppay || !p->rtpdepay || !p->fakesink) {
#  198|       /* Release created elements. */
#  199|       RELEASE_ELEMENT (p->pipeline);

Error: CPPCHECK_WARNING (CWE-457): [#def216]
gst-plugins-good-1.26.0/tests/check/elements/rtpred.c:686: error[uninitvar]: Uninitialized variable: &data
#  684|         _new_rtp_buffer (TRUE, 0, PT_MEDIA, 0, TIMESTAMP_NTH (0), 0xabe2b0b, 0);
#  685|     fail_unless (gst_rtp_buffer_map (bufin, GST_MAP_READ, &rtp));
#  686|->   gst_rtp_buffer_add_extension_onebyte_header (&rtp, 1, &data, sizeof (data));
#  687|     gst_rtp_buffer_unmap (&rtp);
#  688|   

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-72.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-good-1.26.0-2.fc43
store-results-to/tmp/tmp4u5s0okf/gstreamer1-plugins-good-1.26.0-2.fc43.tar.xz
time-created2025-04-25 13:07:50
time-finished2025-04-25 13:17:10
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp4u5s0okf/gstreamer1-plugins-good-1.26.0-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp4u5s0okf/gstreamer1-plugins-good-1.26.0-2.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9