Task #91023 - added.err

back to task #91023
download
Error: GCC_ANALYZER_WARNING (CWE-476):
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:550:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:519:1: enter_function: entry to ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:527:10: call_function: inlined call to ‘_nice_stream_item_find’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:528:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:534:7: branch_false: ...to here
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:534:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:538:10: branch_false: ...to here
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:538:10: call_function: calling ‘_create_nice_stream_item’ from ‘gst_webrtc_nice_add_stream’
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:538:10: return_function: returning to ‘gst_webrtc_nice_add_stream’ from ‘_create_nice_stream_item’
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:540:6: branch_false: following ‘false’ branch...
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:544:3: branch_false: ...to here
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:545:3: release_memory: ‘add_data.item’ is NULL
gst-plugins-bad-1.26.10/gst-libs/gst/webrtc/nice/nice.c:550:19: danger: dereference of NULL ‘_create_nice_stream_item(ice,  session_id)’
#  548|         (GHFunc) _add_turn_server_func, &add_data);
#  549|   
#  550|->   gst_object_ref (item->stream);
#  551|     return item->stream;
#  552|   }