Task #131051 - added.err

back to task #131051
download
Error: GCC_ANALYZER_WARNING (CWE-688):
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3093:7: warning[-Wanalyzer-null-argument]: use of NULL ‘free_data’ where non-null expected
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3069:1: enter_function: entry to ‘hls_master_playlist_new_from_data’
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3078:6: branch_false: following ‘false’ branch (when ‘_result != 0’)...
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3084:14: call_function: inlined call to ‘gst_hls_master_playlist_new’ from ‘hls_master_playlist_new_from_data’
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3087:3: release_memory: ‘data’ is NULL
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3089:3: branch_false: following ‘false’ branch...
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3093:7: branch_false: ...to here
gst-plugins-good-1.28.5/ext/adaptivedemux2/hls/m3u8.c:3093:7: danger: argument 1 (‘free_data’) NULL where non-null expected
# 3091|     /* Detect early whether this manifest describes a simple media playlist or
# 3092|      * not */
# 3093|->   if (strstr (data, "\n#EXTINF:") != NULL) {
# 3094|       GST_INFO ("This is a simple media playlist, not a master playlist");
# 3095|   

Error: GCC_ANALYZER_WARNING (CWE-688):
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2456:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2645:1: enter_function: entry to ‘gst_matroska_read_common_parse_metadata_id_tag’
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2658:6: branch_false: following ‘false’ branch...
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2663:21: branch_false: ...to here
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2669:10: branch_true: following ‘true’ branch...
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2672:8: branch_false: following ‘false’ branch...
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2675:5: branch_false: ...to here
gst-plugins-good-1.28.5/gst/matroska/matroska-read-common.c:2677:15: call_function: calling ‘gst_matroska_read_common_parse_metadata_id_simple_tag’ from ‘gst_matroska_read_common_parse_metadata_id_tag’
# 2454|             val_post = g_strdup (strchr (val, '=') + 1);
# 2455|             val_pre = g_strdup (val);
# 2456|->           *(strchr (val_pre, '=') + 1) = '\0';
# 2457|   
# 2458|             for (k = 0; !matched && k < G_N_ELEMENTS (child_tag_conv); k++) {

Error: GCC_ANALYZER_WARNING (CWE-688):
gst-plugins-good-1.28.5/tests/check/elements/avimux.c:94:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gst-plugins-good-1.28.5/tests/check/elements/avimux.c:87:1: enter_function: entry to ‘teardown_src_pad’
gst-plugins-good-1.28.5/tests/check/elements/avimux.c:94:11: danger: argument 1 (‘<unknown>’) NULL where non-null expected
#   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);