vlc-3.0.21-21.fc43
List of Findings
Error: COMPILER_WARNING (CWE-252): [#def1]
vlc-3.0.21/bin/rootwrap.c: scope_hint: In function ‘main’
vlc-3.0.21/bin/rootwrap.c:251:5: warning[-Wunused-result]: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-401): [#def2]
vlc-3.0.21/include/vlc_arrays.h:37: error[memleak]: Memory leak: ret
Error: COMPILER_WARNING: [#def3]
vlc-3.0.21/include/vlc_common.h:787: included_from: Included from here.
vlc-3.0.21/include/vlc_arrays.h:93:13: warning[-Wshadow=compatible-local]: declaration of ‘i_index’ shadows a previous local
vlc-3.0.21/src/stream_output/stream_output.c:507:9: note: in expansion of macro ‘TAB_REMOVE’
vlc-3.0.21/src/stream_output/stream_output.c:490:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def4]
vlc-3.0.21/include/vlc_common.h:787: included_from: Included from here.
vlc-3.0.21/modules/misc/addons/fsstorage.c: scope_hint: In function ‘FileBelongsToManagedAddon’
vlc-3.0.21/include/vlc_arrays.h:229:9: warning[-Wshadow=compatible-local]: declaration of ‘fe_idx’ shadows a previous local
vlc-3.0.21/modules/misc/addons/fsstorage.c:282:9: note: in expansion of macro ‘FOREACH_ARRAY’
vlc-3.0.21/include/vlc_arrays.h:229:9: note: shadowed declaration is here
vlc-3.0.21/modules/misc/addons/fsstorage.c:279:5: note: in expansion of macro ‘FOREACH_ARRAY’
Error: CPPCHECK_WARNING (CWE-401): [#def5]
vlc-3.0.21/include/vlc_arrays.h:299: error[memleak]: Memory leak: pp
Error: CPPCHECK_WARNING (CWE-401): [#def6]
vlc-3.0.21/include/vlc_arrays.h:322: error[memleak]: Memory leak: pp
Error: CPPCHECK_WARNING (CWE-401): [#def7]
vlc-3.0.21/include/vlc_arrays.h:509: error[memleak]: Memory leak: ppsz_ret
Error: CPPCHECK_WARNING (CWE-476): [#def8]
vlc-3.0.21/include/vlc_arrays.h:532: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_entry
Error: CPPCHECK_WARNING (CWE-476): [#def9]
vlc-3.0.21/include/vlc_arrays.h:533: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_entry
Error: CPPCHECK_WARNING (CWE-476): [#def10]
vlc-3.0.21/include/vlc_arrays.h:534: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_entry
Error: CPPCHECK_WARNING (CWE-476): [#def11]
vlc-3.0.21/include/vlc_arrays.h:540: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_entry
Error: COMPILER_WARNING (CWE-457): [#def12]
vlc-3.0.21/include/vlc_bits.h:202:13: warning[-Wmaybe-uninitialized]: ‘*p_buffer_37’ may be used uninitialized
Error: COMPILER_WARNING: [#def13]
vlc-3.0.21/src/libvlc-module.c:36: included_from: Included from here.
vlc-3.0.21/include/vlc_common.h:115:10: warning: ‘unreachable’ redefined
vlc-3.0.21/include/vlc_fixups.h:97: included_from: Included from here.
vlc-3.0.21/config.h:1000: included_from: Included from here.
vlc-3.0.21/src/libvlc-module.c:31: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/15/include/stddef.h:468:9: note: this is the location of the previous definition
Error: COMPILER_WARNING (CWE-195): [#def14]
vlc-3.0.21/modules/demux/avi/avi.c: scope_hint: In function ‘Seek’
vlc-3.0.21/include/vlc_common.h:493:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’}
vlc-3.0.21/modules/demux/avi/avi.c:1693:21: note: in expansion of macro ‘__MAX’
Error: COMPILER_WARNING (CWE-195): [#def15]
vlc-3.0.21/include/vlc_common.h:493:42: warning[-Wsign-compare]: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand
vlc-3.0.21/modules/demux/avi/avi.c:1693:21: note: in expansion of macro ‘__MAX’
Error: COMPILER_WARNING (CWE-195): [#def16]
vlc-3.0.21/modules/access_output/srt.c: scope_hint: In function ‘Write’
vlc-3.0.21/include/vlc_common.h:496:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’
vlc-3.0.21/modules/access_output/srt.c:260:22: note: in expansion of macro ‘__MIN’
Error: COMPILER_WARNING (CWE-195): [#def17]
vlc-3.0.21/include/vlc_common.h:496:48: warning[-Wsign-compare]: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand
vlc-3.0.21/modules/access_output/srt.c:260:22: note: in expansion of macro ‘__MIN’
Error: COMPILER_WARNING: [#def18]
vlc-3.0.21/include/vlc_fixups.h:373:27: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (26 chars into 25 available)
vlc-3.0.21/include/vlc_fixups.h:372:27: note: in expansion of macro ‘gettext_noop’
vlc-3.0.21/modules/demux/mp4/meta.c:91:21: note: in expansion of macro ‘N_’
Error: CPPCHECK_WARNING (CWE-401): [#def19]
vlc-3.0.21/include/vlc_input.h:187: error[memleak]: Memory leak: a
Error: COMPILER_WARNING: [#def20]
vlc-3.0.21/include/vlc_common.h:1034: included_from: Included from here.
vlc-3.0.21/modules/codec/speex.c: scope_hint: In function ‘DecodePacket’
vlc-3.0.21/include/vlc_messages.h:78:5: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/include/vlc_messages.h:83:5: note: in expansion of macro ‘msg_Generic’
vlc-3.0.21/modules/codec/speex.c:833:17: note: in expansion of macro ‘msg_Err’
vlc-3.0.21/modules/codec/speex.c:834:13: note: here
Error: COMPILER_WARNING (CWE-477): [#def21]
vlc-3.0.21/include/vlc_common.h:1035: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/extended_panels.hpp:32: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:48: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp: scope_hint: In member function ‘void ExtV4l2::Refresh()’
vlc-3.0.21/include/vlc_objects.h:60:25: warning[-Wdeprecated-declarations]: ‘vlc_object_t* vlc_object_find_name(vlc_object_t*, const char*)’ is deprecated
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:663:42: note: in expansion of macro ‘vlc_object_find_name’
vlc-3.0.21/include/vlc_objects.h:49:23: note: declared here
Error: CPPCHECK_WARNING (CWE-401): [#def22]
vlc-3.0.21/include/vlc_probe.h:55: error[memleak]: Memory leak: tab
Error: COMPILER_WARNING (CWE-9001): [#def23]
vlc-3.0.21/include/vlc_common.h:413: included_from: Included from here.
vlc-3.0.21/modules/audio_output/pulse.c: scope_hint: In function ‘Flush’
vlc-3.0.21/include/vlc_threads.h:859:14: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def24]
vlc-3.0.21/include/vlc_threads.h:878:19: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-457): [#def25]
vlc-3.0.21/include/vlc_variables.h:611:9: warning[-Wmaybe-uninitialized]: ‘varname’ may be used uninitialized
vlc-3.0.21/modules/control/hotkeys.c: scope_hint: In function ‘PutAction.isra.0’
vlc-3.0.21/modules/control/hotkeys.c:915:25: note: ‘varname’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
vlc-3.0.21/lib/../include/vlc_arrays.h:532:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_entry’
vlc-3.0.21/lib/media_discoverer.c:60:13: enter_function: entry to ‘services_discovery_item_added’
vlc-3.0.21/lib/media_discoverer.c:72:7: branch_false: following ‘false’ branch (when ‘parent’ is NULL)...
vlc-3.0.21/lib/media_discoverer.c:79:7: branch_false: ...to here
vlc-3.0.21/lib/media_discoverer.c:79:7: branch_true: following ‘true’ branch (when ‘psz_cat’ is non-NULL)...
vlc-3.0.21/lib/media_discoverer.c:81:49: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:81:19: call_function: calling ‘vlc_dictionary_value_for_key’ from ‘services_discovery_item_added’
vlc-3.0.21/lib/media_discoverer.c:81:19: return_function: returning to ‘services_discovery_item_added’ from ‘vlc_dictionary_value_for_key’
vlc-3.0.21/lib/media_discoverer.c:83:11: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_discoverer.c:86:23: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:91:13: call_function: inlined call to ‘vlc_dictionary_insert’ from ‘services_discovery_item_added’
Error: COMPILER_WARNING: [#def27]
vlc-3.0.21/lib/../include/vlc_common.h:115:10: warning[warning]: ‘unreachable’ redefined
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
vlc-3.0.21/lib/media.c:132:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_md’
vlc-3.0.21/lib/media.c:486:18: enter_function: entry to ‘libvlc_media_new_as_node’
vlc-3.0.21/lib/media.c:495:8: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media.c:501:12: branch_false: ...to here
vlc-3.0.21/lib/media.c:501:12: call_function: calling ‘libvlc_media_new_from_input_item’ from ‘libvlc_media_new_as_node’
vlc-3.0.21/lib/media.c:501:12: return_function: returning to ‘libvlc_media_new_as_node’ from ‘libvlc_media_new_from_input_item’
vlc-3.0.21/lib/media.c:504:18: call_function: calling ‘media_get_subitems’ from ‘libvlc_media_new_as_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
vlc-3.0.21/lib/media.c:1286:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/lib/media.c:1203:14: enter_function: entry to ‘libvlc_media_slaves_get’
vlc-3.0.21/lib/media.c:1213:7: branch_false: following ‘false’ branch (when ‘i_count > 0’)...
vlc-3.0.21/lib/media.c:1216:40: branch_false: ...to here
vlc-3.0.21/lib/media.c:1217:7: branch_false: following ‘false’ branch (when ‘pp_slaves’ is non-NULL)...
branch_false: ...to here
vlc-3.0.21/lib/media.c:1220:21: branch_true: following ‘true’ branch (when ‘i < i_count’)...
vlc-3.0.21/lib/media.c:1222:44: branch_true: ...to here
vlc-3.0.21/lib/media.c:1229:11: branch_false: following ‘false’ branch (when ‘p_slave’ is non-NULL)...
vlc-3.0.21/lib/media.c:1234:28: branch_false: ...to here
vlc-3.0.21/lib/media.c:1220:21: branch_true: following ‘true’ branch (when ‘i < i_count’)...
vlc-3.0.21/lib/media.c:1222:44: branch_true: ...to here
vlc-3.0.21/lib/media.c:1229:11: branch_false: following ‘false’ branch (when ‘p_slave’ is non-NULL)...
vlc-3.0.21/lib/media.c:1234:28: branch_false: ...to here
vlc-3.0.21/lib/media.c:1220:21: branch_true: following ‘true’ branch (when ‘i < i_count’)...
vlc-3.0.21/lib/media.c:1222:44: branch_true: ...to here
vlc-3.0.21/lib/media.c:1229:11: branch_false: following ‘false’ branch (when ‘p_slave’ is non-NULL)...
vlc-3.0.21/lib/media.c:1234:28: branch_false: ...to here
vlc-3.0.21/lib/media.c:1220:21: branch_true: following ‘true’ branch (when ‘i < i_count’)...
vlc-3.0.21/lib/media.c:1222:44: branch_true: ...to here
vlc-3.0.21/lib/media.c:1226:41: acquire_memory: allocated here
vlc-3.0.21/lib/media.c:1229:11: branch_false: following ‘false’ branch (when ‘p_slave’ is non-NULL)...
vlc-3.0.21/lib/media.c:1234:28: branch_false: ...to here
vlc-3.0.21/lib/media.c:1220:21: branch_true: following ‘true’ branch (when ‘i < i_count’)...
vlc-3.0.21/lib/media.c:1222:44: branch_true: ...to here
vlc-3.0.21/lib/media.c:1229:11: branch_true: following ‘true’ branch (when ‘p_slave’ is NULL)...
vlc-3.0.21/lib/media.c:1231:13: branch_true: ...to here
vlc-3.0.21/lib/media.c:1231:13: call_function: calling ‘libvlc_media_slaves_release’ from ‘libvlc_media_slaves_get’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
vlc-3.0.21/lib/media_discoverer.c:351:16: warning[-Wanalyzer-malloc-leak]: leak of ‘p_services’
branch_true: following ‘true’ branch (when ‘i_cat <= 3’)...
vlc-3.0.21/lib/media_discoverer.c:357:18: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:360:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_discoverer.c:369:10: branch_false: ...to here
vlc-3.0.21/lib/media_discoverer.c:377:7: branch_true: following ‘true’ branch (when ‘i_nb_services != 0’)...
vlc-3.0.21/lib/media_discoverer.c:383:31: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:385:22: acquire_memory: allocated here
vlc-3.0.21/lib/media_discoverer.c:387:11: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_discoverer.c:400:12: branch_false: ...to here
vlc-3.0.21/lib/media_discoverer.c:405:12: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_discoverer.c:407:11: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:407:11: branch_true: following ‘true’ branch (when ‘pp_services’ is non-NULL)...
vlc-3.0.21/lib/media_discoverer.c:407:36: branch_true: ...to here
vlc-3.0.21/lib/media_discoverer.c:407:13: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_discoverer.c:416:13: branch_false: ...to here
vlc-3.0.21/lib/media_discoverer.c:405:12: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_discoverer.c:420:5: branch_false: ...to here
vlc-3.0.21/lib/media_discoverer.c:351:16: danger: ‘p_services’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING: [#def31]
vlc-3.0.21/lib/media_list.c: scope_hint: In function ‘libvlc_media_list_add_file_content’
vlc-3.0.21/lib/media_list.c:255:2: warning[-Wcpp]: #warning Missing error handling!
Error: COMPILER_WARNING: [#def32]
vlc-3.0.21/lib/media_list.c:255:2: warning[-Wcpp]: #warning Missing error handling!
Error: GCC_ANALYZER_WARNING (CWE-457): [#def33]
vlc-3.0.21/lib/media_list_path.h:96:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘path’
vlc-3.0.21/lib/media_list_player.c:863:5: enter_function: entry to ‘libvlc_media_list_player_previous’
vlc-3.0.21/lib/media_list_player.c:866:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_previous’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
vlc-3.0.21/lib/media_list_path.h:171:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘path’
vlc-3.0.21/lib/media_list_player.c:863:5: enter_function: entry to ‘libvlc_media_list_player_previous’
vlc-3.0.21/lib/media_list_player.c:866:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_previous’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
vlc-3.0.21/lib/media_list_path.h:173:32: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_mlp.current_playing_item_path’
vlc-3.0.21/lib/media_list_player.c:852:5: enter_function: entry to ‘libvlc_media_list_player_next’
vlc-3.0.21/lib/media_list_player.c:855:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_next’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
vlc-3.0.21/lib/media_list_path.h:206:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘path’
vlc-3.0.21/lib/media_list_player.c:852:5: enter_function: entry to ‘libvlc_media_list_player_next’
vlc-3.0.21/lib/media_list_player.c:855:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_next’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
vlc-3.0.21/lib/media_list_player.c:191:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘libvlc_media_list_path_copy(*p_mlp.current_playing_item_path)’
vlc-3.0.21/lib/media_list_player.c:852:5: enter_function: entry to ‘libvlc_media_list_player_next’
vlc-3.0.21/lib/media_list_player.c:855:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_next’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
vlc-3.0.21/lib/media_list_player.c:301:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘libvlc_media_list_path_copy(*p_mlp.current_playing_item_path)’
vlc-3.0.21/lib/media_list_player.c:863:5: enter_function: entry to ‘libvlc_media_list_player_previous’
vlc-3.0.21/lib/media_list_player.c:866:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_previous’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
vlc-3.0.21/lib/media_list_player.c:786:16: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
vlc-3.0.21/lib/media_list_player.c:863:5: enter_function: entry to ‘libvlc_media_list_player_previous’
vlc-3.0.21/lib/media_list_player.c:866:19: call_function: calling ‘set_relative_playlist_position_and_play’ from ‘libvlc_media_list_player_previous’
Error: COMPILER_WARNING (CWE-457): [#def40]
vlc-3.0.21/lib/media_list_player.c: scope_hint: In function ‘set_relative_playlist_position_and_play’
vlc-3.0.21/lib/media_list_player.c:822:22: warning[-Wmaybe-uninitialized]: ‘ret’ may be used uninitialized
vlc-3.0.21/lib/media_list_player.c:793:9: note: ‘ret’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
vlc-3.0.21/lib/media_player.c:1552:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/lib/media_player.c:1519:5: enter_function: entry to ‘libvlc_media_player_get_full_title_descriptions’
vlc-3.0.21/lib/media_player.c:1526:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1533:15: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1536:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1539:43: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1539:43: call_function: inlined call to ‘vlc_alloc’ from ‘libvlc_media_player_get_full_title_descriptions’
vlc-3.0.21/lib/media_player.c:1540:7: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1540:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1544:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1546:45: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1547:11: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1552:15: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1552:15: release_memory: ‘0’ is NULL
vlc-3.0.21/lib/media_player.c:1552:9: danger: dereference of NULL ‘<unknown> + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
vlc-3.0.21/lib/media_player.c:1552:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown>’
vlc-3.0.21/lib/media_player.c:1519:5: enter_function: entry to ‘libvlc_media_player_get_full_title_descriptions’
vlc-3.0.21/lib/media_player.c:1526:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1533:15: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1536:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1539:43: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1539:43: call_function: inlined call to ‘vlc_alloc’ from ‘libvlc_media_player_get_full_title_descriptions’
vlc-3.0.21/lib/media_player.c:1540:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1544:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1546:45: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1547:11: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1552:15: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1552:9: danger: ‘<unknown> + (long unsigned int)i * 8’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
vlc-3.0.21/lib/media_player.c:1847:51: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/lib/media_player.c:1827:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1831:17: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1832:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1836:9: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1836:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/media_player.c:1839:27: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1840:8: branch_false: following ‘false’ branch (when ‘p_track_description’ is non-NULL)...
branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_false: following ‘false’ branch (when ‘p_previous’ is NULL)...
vlc-3.0.21/lib/media_player.c:1847:51: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_true: following ‘true’ branch (when ‘p_previous’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1865:13: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_true: following ‘true’ branch (when ‘p_previous’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1865:13: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_true: following ‘true’ branch (when ‘p_previous’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1865:13: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_true: following ‘true’ branch (when ‘p_previous’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1865:13: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1862:30: acquire_memory: allocated here
vlc-3.0.21/lib/media_player.c:1864:11: branch_false: following ‘false’ branch (when ‘p_previous’ is NULL)...
vlc-3.0.21/lib/media_player.c:1847:51: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1847:21: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1849:11: branch_true: following ‘true’ branch (when ‘p_actual’ is NULL)...
vlc-3.0.21/lib/media_player.c:1851:24: branch_true: ...to here
vlc-3.0.21/lib/media_player.c:1852:16: branch_false: following ‘false’ branch (when ‘p_actual’ is non-NULL)...
vlc-3.0.21/lib/media_player.c:1861:26: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1864:11: branch_false: following ‘false’ branch (when ‘p_previous’ is NULL)...
vlc-3.0.21/lib/media_player.c:1847:51: branch_false: ...to here
vlc-3.0.21/lib/media_player.c:1847:51: danger: ‘<unknown>’ leaks here; was allocated at [(53)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/52)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
vlc-3.0.21/lib/renderer_discoverer.c:63:5: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
vlc-3.0.21/lib/renderer_discoverer.c:63:5: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/renderer_discoverer.c:63:5: branch_false: ...to here
vlc-3.0.21/lib/renderer_discoverer.c:63:5: acquire_memory: allocated here
vlc-3.0.21/lib/renderer_discoverer.c:63:5: danger: ‘malloc(8)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
vlc-3.0.21/lib/renderer_discoverer.c:63:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_lrd.pp_items, (long unsigned int)(*p_lrd.i_items + 1) * 8)’
vlc-3.0.21/lib/renderer_discoverer.c:63:5: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/renderer_discoverer.c:63:5: branch_true: ...to here
vlc-3.0.21/lib/renderer_discoverer.c:63:5: danger: ‘realloc(*p_lrd.pp_items, (long unsigned int)(*p_lrd.i_items + 1) * 8)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def46]
vlc-3.0.21/lib/video.c:749:18: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_string’ where non-null expected
vlc-3.0.21/lib/video.c:720:7: branch_false: following ‘false’ branch...
vlc-3.0.21/lib/video.c:726:9: branch_false: ...to here
vlc-3.0.21/lib/video.c:747:7: branch_true: following ‘true’ branch...
vlc-3.0.21/lib/video.c:747:36: branch_true: ...to here
vlc-3.0.21/lib/video.c:747:36: acquire_memory: this call could return NULL
vlc-3.0.21/lib/video.c:749:18: danger: argument 1 (‘psz_string’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
vlc-3.0.21/modules/../include/vlc_aout.h:336:5: warning[-Wanalyzer-malloc-leak]: leak of ‘**aout.sys.sink_force’
vlc-3.0.21/modules/audio_output/pulse.c:671:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_output/pulse.c:673:9: branch_true: ...to here
vlc-3.0.21/modules/audio_output/pulse.c:675:27: acquire_memory: allocated here
vlc-3.0.21/modules/audio_output/pulse.c:676:9: call_function: inlined call to ‘aout_DeviceReport’ from ‘StreamMove’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
vlc-3.0.21/modules/../include/vlc_arrays.h:325:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/bluray.c:3062:21: enter_function: entry to ‘escape_esOutAdd’
vlc-3.0.21/modules/access/bluray.c:3067:8: branch_false: following ‘false’ branch (when ‘esc_id’ is non-NULL)...
vlc-3.0.21/modules/access/bluray.c:3069:18: branch_false: ...to here
vlc-3.0.21/modules/access/bluray.c:3070:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/bluray.c:3075:5: branch_false: ...to here
vlc-3.0.21/modules/access/bluray.c:3077:9: call_function: calling ‘vlc_array_append’ from ‘escape_esOutAdd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
vlc-3.0.21/modules/../include/vlc_arrays.h:399:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/control/dbus/dbus.c:561:13: enter_function: entry to ‘ProcessEvents’
vlc-3.0.21/modules/control/dbus/dbus.c:577:21: branch_true: following ‘true’ branch (when ‘i < i_events’)...
vlc-3.0.21/modules/control/dbus/dbus.c:579:25: branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:590:13: call_function: inlined call to ‘vlc_dictionary_insert’ from ‘ProcessEvents’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
vlc-3.0.21/modules/../include/vlc_arrays.h:532:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_entry’
vlc-3.0.21/modules/demux/mpeg/ts_si.c:696:13: enter_function: entry to ‘ARIB_CDT_RawCallback’
vlc-3.0.21/modules/demux/mpeg/ts_si.c:704:12: branch_true: following ‘true’ branch (when ‘p_section’ is non-NULL)...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:706:24: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:709:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:714:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:719:40: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:722:16: branch_true: following ‘true’ branch (when ‘i_dmb > 7’)...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:724:21: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:728:15: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:731:27: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:733:35: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:734:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:737:23: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:741:30: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:741:27: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:742:29: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:741:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:744:57: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:744:57: call_function: calling ‘vlc_input_attachment_New’ from ‘ARIB_CDT_RawCallback’
vlc-3.0.21/modules/demux/mpeg/ts_si.c:744:57: return_function: returning to ‘ARIB_CDT_RawCallback’ from ‘vlc_input_attachment_New’
vlc-3.0.21/modules/demux/mpeg/ts_si.c:746:31: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_si.c:748:33: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_si.c:748:33: call_function: inlined call to ‘vlc_dictionary_insert’ from ‘ARIB_CDT_RawCallback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
vlc-3.0.21/modules/../include/vlc_arrays.h:566:1: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_filter.p_sys.fallback_map.p_entries’
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:201:15: enter_function: entry to ‘FontConfig_GetFallbacks’
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:212:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:215:46: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:217:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:223:9: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:231:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:233:9: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:236:11: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:238:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:240:23: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:245:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:247:44: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:250:23: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:260:21: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:268:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/fonts/fontconfig.c:269:9: call_function: inlined call to ‘vlc_dictionary_insert’ from ‘FontConfig_GetFallbacks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
vlc-3.0.21/modules/../include/vlc_arrays.h:566:1: warning[-Wanalyzer-malloc-leak]: leak of ‘p_entry’
vlc-3.0.21/modules/services_discovery/avahi.c:228:13: enter_function: entry to ‘resolve_callback’
vlc-3.0.21/modules/services_discovery/avahi.c:248:7: branch_false: following ‘false’ branch (when ‘event != 1’)...
vlc-3.0.21/modules/services_discovery/avahi.c:254:12: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:254:12: branch_true: following ‘true’ branch (when ‘event == 0’)...
vlc-3.0.21/modules/services_discovery/avahi.c:257:15: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:266:11: branch_false: following ‘false’ branch (when ‘protocol != 1’)...
vlc-3.0.21/modules/services_discovery/avahi.c:275:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:275:34: branch_true: following ‘true’ branch (when ‘i != 6’)...
vlc-3.0.21/modules/services_discovery/avahi.c:277:31: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:275:34: branch_true: following ‘true’ branch (when ‘i != 6’)...
vlc-3.0.21/modules/services_discovery/avahi.c:277:31: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:284:11: branch_false: following ‘false’ branch (when ‘psz_protocol’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/avahi.c:291:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:291:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/avahi.c:293:37: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:293:37: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/avahi.c:294:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/avahi.c:294:13: call_function: calling ‘add_renderer’ from ‘resolve_callback’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
vlc-3.0.21/modules/../include/vlc_bits.h:202:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*s_1(D)->p’
vlc-3.0.21/modules/packetizer/av1_obu.c:619:8: enter_function: entry to ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:629:7: branch_false: following ‘false’ branch (when ‘p_buffer’ is non-NULL)...
vlc-3.0.21/modules/packetizer/av1_obu.c:633:5: call_function: inlined call to ‘bs_write_init’ from ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:634:5: call_function: inlined call to ‘bs_write’ from ‘AV1_create_DecoderConfigurationRecord’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
vlc-3.0.21/modules/../include/vlc_bits.h:206:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*s_1(D)->p’
vlc-3.0.21/modules/packetizer/av1_obu.c:619:8: enter_function: entry to ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:629:7: branch_false: following ‘false’ branch (when ‘p_buffer’ is non-NULL)...
vlc-3.0.21/modules/packetizer/av1_obu.c:633:5: call_function: inlined call to ‘bs_write_init’ from ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:634:5: call_function: inlined call to ‘bs_write’ from ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:634:5: call_function: inlined call to ‘bs_write’ from ‘AV1_create_DecoderConfigurationRecord’
vlc-3.0.21/modules/packetizer/av1_obu.c:635:5: call_function: inlined call to ‘bs_write’ from ‘AV1_create_DecoderConfigurationRecord’
branch_false: ...to here
vlc-3.0.21/modules/packetizer/av1_obu.c:635:5: call_function: inlined call to ‘bs_write’ from ‘AV1_create_DecoderConfigurationRecord’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
vlc-3.0.21/modules/../include/vlc_block_helper.h:308:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_block’
vlc-3.0.21/modules/packetizer/dirac.c:1235:17: enter_function: entry to ‘Packetize’
vlc-3.0.21/modules/packetizer/dirac.c:1267:24: call_function: calling ‘dirac_DoSync’ from ‘Packetize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
vlc-3.0.21/modules/../include/vlc_charset.h:105:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘str’
vlc-3.0.21/modules/access/http.c:461:12: enter_function: entry to ‘ReadICYMeta’
vlc-3.0.21/modules/access/http.c:470:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:472:9: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:472:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:474:24: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:478:22: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/http.c:481:71: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:481:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:495:7: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
vlc-3.0.21/modules/access/http.c:497:9: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:511:15: branch_true: following ‘true’ branch (when ‘psz’ is non-NULL)...
vlc-3.0.21/modules/access/http.c:511:23: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:518:29: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/http.c:519:36: call_function: calling ‘EnsureUTF8’ from ‘ReadICYMeta’
Error: COMPILER_WARNING: [#def57]
vlc-3.0.21/modules/../include/vlc_common.h:115:10: warning[warning]: ‘unreachable’ redefined
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
vlc-3.0.21/modules/../include/vlc_common.h:821:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ParseFlacPicture(p_picture, vlc_b64_decode_binary(&p_picture, psz_comment + 23), *i_attachments, i_cover_score, i_cover_idx)’
vlc-3.0.21/modules/demux/xiph_metadata.c:350:6: enter_function: entry to ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:358:7: branch_false: following ‘false’ branch (when ‘i_data > 7’)...
vlc-3.0.21/modules/demux/xiph_metadata.c:361:30: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:363:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:366:5: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:368:7: branch_false: following ‘false’ branch (when ‘i_data > 3’)...
vlc-3.0.21/modules/demux/xiph_metadata.c:371:26: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:373:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:389:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:391:33: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:393:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:396:11: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:396:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:399:37: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:401:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:404:9: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:407:9: call_function: calling ‘EnsureUTF8’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:407:9: return_function: returning to ‘vorbis_ParseComment’ from ‘EnsureUTF8’
vlc-3.0.21/modules/demux/xiph_metadata.c:444:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:445:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:445:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:446:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:446:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:447:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:447:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:448:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:448:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:449:19: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:449:18: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:469:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:471:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:472:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:472:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:473:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:473:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:474:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:474:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:475:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:475:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:476:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:476:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:477:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:477:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:478:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:478:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:479:19: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:479:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:481:15: branch_true: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:481:15: branch_false: following ‘false’ branch (when ‘attachments’ is non-NULL)...
vlc-3.0.21/modules/demux/xiph_metadata.c:485:64: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:486:48: call_function: calling ‘ParseFlacPicture’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:486:48: return_function: returning to ‘vorbis_ParseComment’ from ‘ParseFlacPicture’
vlc-3.0.21/modules/demux/xiph_metadata.c:489:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_true: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:77:12: call_function: inlined call to ‘U32_AT’ from ‘ParseFlacPicture’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
vlc-3.0.21/modules/../include/vlc_common.h:821:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*p_track.fmt.p_extra’
vlc-3.0.21/modules/demux/mp4/essetup.c:95:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mp4/essetup.c:97:32: branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:97:32: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/mp4/essetup.c:101:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mp4/essetup.c:102:13: branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:101:9: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:104:25: branch_true: following ‘true’ branch (when ‘i != 16’)...
vlc-3.0.21/modules/demux/mp4/essetup.c:107:21: branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:107:21: call_function: inlined call to ‘U32_AT’ from ‘SetupESDS’
Error: GCC_ANALYZER_WARNING: [#def60]
vlc-3.0.21/modules/../include/vlc_common.h:994:17: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/video_filter/gaussianblur.c:106:13: enter_function: entry to ‘gaussianblur_InitDistribution’
vlc-3.0.21/modules/video_filter/gaussianblur.c:110:31: call_function: calling ‘xmalloc’ from ‘gaussianblur_InitDistribution’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
vlc-3.0.21/modules/../include/vlc_common.h:995:9: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(16)’
vlc-3.0.21/modules/demux/flac.c:666:13: enter_function: entry to ‘ParseHeaders’
vlc-3.0.21/modules/demux/flac.c:674:27: call_function: calling ‘xmalloc’ from ‘ParseHeaders’
vlc-3.0.21/modules/demux/flac.c:674:27: return_function: returning to ‘ParseHeaders’ from ‘xmalloc’
vlc-3.0.21/modules/demux/flac.c:677:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/flac.c:677:5: branch_false: ...to here
vlc-3.0.21/modules/../include/vlc_common.h:995:9: danger: ‘xmalloc(16)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def62]
vlc-3.0.21/modules/../include/vlc_common.h:1002:18: warning[-Wanalyzer-double-free]: double-‘free’ of ‘ptr’
vlc-3.0.21/modules/audio_output/alsa.c:722:12: enter_function: entry to ‘EnumDevices’
vlc-3.0.21/modules/audio_output/alsa.c:728:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/audio_output/alsa.c:762:8: branch_false: following ‘false’ branch (when ‘hinted_default == 0’)...
vlc-3.0.21/modules/audio_output/alsa.c:764:30: branch_false: ...to here
vlc-3.0.21/modules/audio_output/alsa.c:764:15: call_function: passing freed pointer ‘ids’ in call to ‘xrealloc’ from ‘EnumDevices’
vlc-3.0.21/modules/audio_output/alsa.c:764:15: return_function: returning to ‘EnumDevices’ from ‘xrealloc’
vlc-3.0.21/modules/audio_output/alsa.c:765:17: call_function: passing freed pointer ‘names’ in call to ‘xrealloc’ from ‘EnumDevices’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
vlc-3.0.21/modules/../include/vlc_input.h:186:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_attachment_New(*<unknown>.value, "application/x-truetype-font", 0, *cp.extradata, (long unsigned int)*cp.extradata_size)’
vlc-3.0.21/modules/demux/avformat/demux.c:158:5: enter_function: entry to ‘avformat_OpenDemux’
vlc-3.0.21/modules/demux/avformat/demux.c:172:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:178:22: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:179:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:182:5: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:205:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:213:15: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:217:7: branch_false: following ‘false’ branch (when ‘fmt’ is non-NULL)...
vlc-3.0.21/modules/demux/avformat/demux.c:224:10: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:281:7: branch_false: following ‘false’ branch (when ‘p_sys’ is non-NULL)...
vlc-3.0.21/modules/demux/avformat/demux.c:286:5: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:295:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:302:17: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:303:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:311:39: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:313:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:321:31: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:324:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:335:5: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:364:7: branch_false: following ‘false’ branch (when ‘nb_streams != 0’)...
vlc-3.0.21/modules/demux/avformat/demux.c:370:21: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:371:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:376:5: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:384:26: branch_true: following ‘true’ branch (when ‘i < nb_streams’)...
vlc-3.0.21/modules/demux/avformat/demux.c:386:45: branch_true: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:393:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:396:42: branch_false: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:541:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:546:21: branch_true: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:546:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:548:64: branch_true: ...to here
vlc-3.0.21/modules/demux/avformat/demux.c:549:23: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:551:40: call_function: calling ‘vlc_input_attachment_New’ from ‘avformat_OpenDemux’
vlc-3.0.21/modules/demux/avformat/demux.c:551:40: return_function: returning to ‘avformat_OpenDemux’ from ‘vlc_input_attachment_New’
vlc-3.0.21/modules/demux/avformat/demux.c:554:27: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/avformat/demux.c:555:29: branch_true: ...to here
vlc-3.0.21/modules/../include/vlc_input.h:186:9: danger: ‘vlc_input_attachment_New(*<unknown>.value, "application/x-truetype-font", 0, *cp.extradata, (long unsigned int)*cp.extradata_size)’ leaks here; was allocated at [(38)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/37)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
vlc-3.0.21/modules/../include/vlc_variables.h:613:12: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_title_New()’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:841:27: call_function: calling ‘ParseFrameNumber’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:841:27: return_function: returning to ‘ImportMarks’ from ‘ParseFrameNumber’
vlc-3.0.21/modules/access/vdr.c:844:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:845:24: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:844:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:850:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:857:14: call_function: calling ‘ReadIndexRecord’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:857:14: return_function: returning to ‘ImportMarks’ from ‘ReadIndexRecord’
vlc-3.0.21/modules/access/vdr.c:857:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:860:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:860:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:864:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:864:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:865:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:867:63: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: ...to here
vlc-3.0.21/modules/../include/vlc_variables.h:613:12: danger: ‘vlc_input_title_New()’ leaks here; was allocated at [(20)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
vlc-3.0.21/modules/./access/../codec/substext.h:78:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sys’
vlc-3.0.21/modules/codec/webvtt/subsvtt.c:1630:13: enter_function: entry to ‘CreateSpuOrNewUpdaterRegion’
vlc-3.0.21/modules/codec/webvtt/subsvtt.c:1636:19: call_function: calling ‘decoder_NewSubpictureText’ from ‘CreateSpuOrNewUpdaterRegion’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
vlc-3.0.21/modules/./access/../meta_engine/ID3Meta.h:91:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pb_updated’
vlc-3.0.21/modules/demux/mp4/meta.c:515:6: enter_function: entry to ‘SetupMeta’
vlc-3.0.21/modules/demux/mp4/meta.c:521:46: branch_true: following ‘true’ branch (when ‘p_box’ is non-NULL)...
vlc-3.0.21/modules/demux/mp4/meta.c:523:9: branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/meta.c:533:17: call_function: calling ‘SetupID3v2Meta’ from ‘SetupMeta’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
vlc-3.0.21/modules/access/bluray.c:2849:14: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.events_delayed.p_elems’
vlc-3.0.21/modules/access/bluray.c:2975:12: enter_function: entry to ‘blurayDemux’
vlc-3.0.21/modules/access/bluray.c:2997:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/bluray.c:3002:9: branch_false: ...to here
vlc-3.0.21/modules/access/bluray.c:3002:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/bluray.c:3003:40: branch_false: ...to here
vlc-3.0.21/modules/access/bluray.c:3004:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/bluray.c:3005:13: branch_true: ...to here
vlc-3.0.21/modules/access/bluray.c:3005:13: call_function: calling ‘blurayHandleEvent’ from ‘blurayDemux’
Error: COMPILER_WARNING: [#def68]
vlc-3.0.21/modules/access/cdda.c: scope_hint: In function ‘AccessControl’
vlc-3.0.21/modules/access/cdda.c:667:50: warning[-Wformat-truncation=]: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5
vlc-3.0.21/modules/access/cdda.c:667:49: note: directive argument in the range [1, 4294967295]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 2 and 11 bytes into a destination of size 5
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
vlc-3.0.21/modules/access/dc1394.c:709:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.video_device’
vlc-3.0.21/modules/access/dc1394.c:531:52: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
vlc-3.0.21/modules/access/dc1394.c:534:13: branch_true: ...to here
vlc-3.0.21/modules/access/dc1394.c:534:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:578:13: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:578:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:613:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:613:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:641:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:641:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:646:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:646:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:660:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:660:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:691:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:691:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dc1394.c:705:18: branch_false: ...to here
vlc-3.0.21/modules/access/dc1394.c:705:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dc1394.c:707:13: branch_true: ...to here
vlc-3.0.21/modules/access/dc1394.c:708:35: acquire_memory: allocated here
vlc-3.0.21/modules/access/dc1394.c:709:13: danger: ‘*p_sys.video_device’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
vlc-3.0.21/modules/access/dtv/en50221.c:377:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)(i_size + 4))’
vlc-3.0.21/modules/access/dtv/en50221.c:2178:5: enter_function: entry to ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2183:27: branch_true: following ‘true’ branch (when ‘i != 24’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2186:18: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: call_function: calling ‘en50221_capmt_Delete’ from ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: return_function: returning to ‘en50221_SetCAPMT’ from ‘en50221_capmt_Delete’
vlc-3.0.21/modules/access/dtv/en50221.c:2207:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2219:10: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2219:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2221:31: branch_true: following ‘true’ branch (when ‘i != 33’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2223:36: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2223:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2226:22: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2226:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_true: following ‘true’ branch (when ‘b_update != 0’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: call_function: calling ‘CAPMTDelete’ from ‘en50221_SetCAPMT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
vlc-3.0.21/modules/access/dtv/en50221.c:814:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(i_size + 12)’
vlc-3.0.21/modules/access/dtv/en50221.c:2178:5: enter_function: entry to ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2183:27: branch_true: following ‘true’ branch (when ‘i != 24’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2186:18: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: call_function: calling ‘en50221_capmt_Delete’ from ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: return_function: returning to ‘en50221_SetCAPMT’ from ‘en50221_capmt_Delete’
vlc-3.0.21/modules/access/dtv/en50221.c:2207:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2219:10: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2219:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2221:31: branch_true: following ‘true’ branch (when ‘i != 33’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2223:36: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2223:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2226:22: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2226:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_true: following ‘true’ branch (when ‘b_update != 0’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: call_function: calling ‘CAPMTDelete’ from ‘en50221_SetCAPMT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
vlc-3.0.21/modules/access/dtv/en50221.c:1110:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_data’
vlc-3.0.21/modules/access/dtv/en50221.c:2178:5: enter_function: entry to ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2183:27: branch_true: following ‘true’ branch (when ‘i != 24’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2186:18: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2185:14: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2191:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: call_function: calling ‘en50221_capmt_Delete’ from ‘en50221_SetCAPMT’
vlc-3.0.21/modules/access/dtv/en50221.c:2193:17: return_function: returning to ‘en50221_SetCAPMT’ from ‘en50221_capmt_Delete’
vlc-3.0.21/modules/access/dtv/en50221.c:2207:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2219:10: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2219:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2221:31: branch_true: following ‘true’ branch (when ‘i != 33’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2223:36: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2223:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2226:22: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2226:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2228:25: branch_true: following ‘true’ branch (when ‘b_update != 0’)...
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/en50221.c:2229:21: call_function: calling ‘CAPMTDelete’ from ‘en50221_SetCAPMT’
Error: COMPILER_WARNING (CWE-457): [#def73]
vlc-3.0.21/modules/access/dtv/linux.c: scope_hint: In function ‘dvb_enum_systems’
vlc-3.0.21/modules/access/dtv/linux.c:606:25: warning[-Wmaybe-uninitialized]: ‘systems’ may be used uninitialized
vlc-3.0.21/modules/access/dtv/linux.c:520:14: note: ‘systems’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
vlc-3.0.21/modules/access/dtv/linux.c:606:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘systems’
vlc-3.0.21/modules/access/dtv/linux.c:480:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:483:25: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:492:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:494:10: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:552:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:559:5: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:572:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:578:5: branch_false: ...to here
branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:595:9: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:600:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:602:9: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:605:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:606:28: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:606:28: danger: use of uninitialized value ‘systems’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
vlc-3.0.21/modules/access/dtv/linux.c:613:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘systems’
vlc-3.0.21/modules/access/dtv/linux.c:480:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:483:25: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:492:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:494:10: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:552:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:559:5: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:572:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:578:5: branch_false: ...to here
branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:595:9: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:605:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:612:8: branch_false: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:612:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dtv/linux.c:613:9: branch_true: ...to here
vlc-3.0.21/modules/access/dtv/linux.c:613:9: danger: use of uninitialized value ‘systems’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
vlc-3.0.21/modules/access/dvb/access.c:541:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_parser’
vlc-3.0.21/modules/access/dvb/access.c:509:21: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/dvb/access.c:541:12: danger: ‘psz_parser’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-9001): [#def77]
vlc-3.0.21/modules/access/dvb/linux_dvb.c:688:5: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def78]
vlc-3.0.21/modules/access/dvb/linux_dvb.c:688:5: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def79]
vlc-3.0.21/modules/access/dvb/linux_dvb.c:738:5: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def80]
vlc-3.0.21/modules/access/dvb/linux_dvb.c:738:5: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
vlc-3.0.21/modules/access/dvb/scan.c:1413:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
vlc-3.0.21/modules/access/dvb/scan.c:1590:13: enter_function: entry to ‘scan_session_Destroy’
vlc-3.0.21/modules/access/dvb/scan.c:1597:7: branch_true: following ‘true’ branch (when ‘p_pat’ is non-NULL)...
vlc-3.0.21/modules/access/dvb/scan.c:1598:9: branch_true: ...to here
vlc-3.0.21/modules/access/dvb/scan.c:1598:9: call_function: calling ‘ParsePAT’ from ‘scan_session_Destroy’
vlc-3.0.21/modules/access/dvb/scan.c:1598:9: return_function: returning to ‘scan_session_Destroy’ from ‘ParsePAT’
vlc-3.0.21/modules/access/dvb/scan.c:1601:7: branch_true: following ‘true’ branch (when ‘p_nit’ is non-NULL)...
vlc-3.0.21/modules/access/dvb/scan.c:1602:49: branch_true: ...to here
vlc-3.0.21/modules/access/dvb/scan.c:1602:9: call_function: calling ‘ParseNIT’ from ‘scan_session_Destroy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def82]
vlc-3.0.21/modules/access/dvdnav.c:1560:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(3)’
vlc-3.0.21/modules/access/dvdnav.c:1513:13: enter_function: entry to ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1516:34: call_function: inlined call to ‘ps_id_to_tk’ from ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1519:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1521:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1521:9: call_function: calling ‘ps_track_fill’ from ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1521:9: return_function: returning to ‘ESNew’ from ‘ps_track_fill’
vlc-3.0.21/modules/access/dvdnav.c:1521:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1528:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1528:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1534:12: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1534:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1538:13: branch_true: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1557:15: branch_true: following ‘true’ branch (when ‘i_lang != 65535’)...
vlc-3.0.21/modules/access/dvdnav.c:1559:40: branch_true: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1559:40: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/dvdnav.c:1560:17: danger: ‘malloc(3)’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
vlc-3.0.21/modules/access/dvdnav.c:1577:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(3)’
vlc-3.0.21/modules/access/dvdnav.c:1513:13: enter_function: entry to ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1516:34: call_function: inlined call to ‘ps_id_to_tk’ from ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1519:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1521:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1521:9: call_function: calling ‘ps_track_fill’ from ‘ESNew’
vlc-3.0.21/modules/access/dvdnav.c:1521:9: return_function: returning to ‘ESNew’ from ‘ps_track_fill’
vlc-3.0.21/modules/access/dvdnav.c:1521:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1528:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1528:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1534:12: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1534:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1570:12: branch_false: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1570:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdnav.c:1573:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1574:11: branch_true: following ‘true’ branch (when ‘i_lang != 65535’)...
vlc-3.0.21/modules/access/dvdnav.c:1576:36: branch_true: ...to here
vlc-3.0.21/modules/access/dvdnav.c:1576:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/dvdnav.c:1577:13: danger: ‘malloc(3)’ could be NULL: unchecked value from [(27)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
vlc-3.0.21/modules/access/dvdread.c:1417:25: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_title_New()’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1417:25: danger: ‘vlc_input_title_New()’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
vlc-3.0.21/modules/access/dvdread.c:1420:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1420:13: acquire_memory: allocated here
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1420:13: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
vlc-3.0.21/modules/access/dvdread.c:1420:13: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_seekpoint_New()’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1420:13: danger: ‘vlc_seekpoint_New()’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
vlc-3.0.21/modules/access/dvdread.c:1420:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vlc_input_title_New()’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: danger: dereference of NULL ‘vlc_input_title_New()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
vlc-3.0.21/modules/access/dvdread.c:1423:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.titles’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1423:9: danger: ‘*p_sys.titles’ leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
vlc-3.0.21/modules/access/dvdread.c:1423:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1420:13: acquire_memory: allocated here
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1423:9: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
vlc-3.0.21/modules/access/dvdread.c:1423:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_title_New()’
vlc-3.0.21/modules/access/dvdread.c:1393:13: enter_function: entry to ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1407:21: branch_true: following ‘true’ branch (when ‘i < i_titles’)...
vlc-3.0.21/modules/access/dvdread.c:1412:22: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1415:13: call_function: calling ‘vlc_input_title_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1415:13: return_function: returning to ‘DemuxTitles’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/dvdread.c:1419:17: branch_true: ...to here
vlc-3.0.21/modules/access/dvdread.c:1419:17: call_function: calling ‘vlc_seekpoint_New’ from ‘DemuxTitles’
vlc-3.0.21/modules/access/dvdread.c:1419:17: return_function: returning to ‘DemuxTitles’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/dvdread.c:1420:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1417:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: ...to here
vlc-3.0.21/modules/access/dvdread.c:1423:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/dvdread.c:1423:9: danger: ‘vlc_input_title_New()’ leaks here; was allocated at [(6)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
vlc-3.0.21/modules/access/http.c:212:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
vlc-3.0.21/modules/access/http.c:136:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/access/http.c:145:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:148:5: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:150:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:151:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:153:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:154:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:155:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:156:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:157:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:160:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:161:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:162:5: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/http.c:168:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:182:29: call_function: calling ‘var_InheritString’ from ‘Open’
vlc-3.0.21/modules/access/http.c:182:29: return_function: returning to ‘Open’ from ‘var_InheritString’
vlc-3.0.21/modules/access/http.c:183:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/access/http.c:186:47: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/http.c:188:21: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:189:16: branch_true: following ‘true’ branch (when ‘comment_level == 0’)...
vlc-3.0.21/modules/access/http.c:191:19: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:209:12: branch_true: following ‘true’ branch (when ‘comment_level != 0’)...
vlc-3.0.21/modules/access/http.c:211:30: branch_true: ...to here
vlc-3.0.21/modules/access/http.c:212:13: danger: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
vlc-3.0.21/modules/access/http.c:488:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_meta’
vlc-3.0.21/modules/access/http.c:470:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:472:9: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:472:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:474:24: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:477:16: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/http.c:478:22: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http.c:488:13: branch_false: ...to here
vlc-3.0.21/modules/access/http.c:488:5: danger: ‘psz_meta + (sizetype)i_read’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
vlc-3.0.21/modules/access/http/chunked.c:166:12: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
vlc-3.0.21/modules/access/http/chunked.c:156:36: acquire_memory: allocated here
vlc-3.0.21/modules/access/http/chunked.c:157:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http/chunked.c:160:5: branch_false: ...to here
vlc-3.0.21/modules/access/http/chunked.c:166:12: danger: ‘s’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
vlc-3.0.21/modules/access/http/h1conn.c:346:12: warning[-Wanalyzer-malloc-leak]: leak of ‘conn’
vlc-3.0.21/modules/access/http/h1conn.c:334:32: acquire_memory: allocated here
vlc-3.0.21/modules/access/http/h1conn.c:335:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/http/h1conn.c:338:5: branch_false: ...to here
vlc-3.0.21/modules/access/http/h1conn.c:346:12: danger: ‘conn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def95]
vlc-3.0.21/modules/access/http/message.c: scope_hint: In function ‘vlc_http_msg_h2_frame’
vlc-3.0.21/modules/access/http/message.c:412:26: warning[-Wformat-overflow=]: ‘%hd’ directive writing between 1 and 5 bytes into a region of size 4
vlc-3.0.21/modules/access/http/message.c:412:25: note: directive argument in the range [0, 32767]
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 6 bytes into a destination of size 4
Error: COMPILER_WARNING: [#def96]
vlc-3.0.21/modules/access/jack.c: scope_hint: In function ‘GrabJack’
vlc-3.0.21/modules/access/jack.c:433:2: warning[-Wcpp]: #warning Hmm.... looks wrong
Error: COMPILER_WARNING: [#def97]
vlc-3.0.21/modules/access/jack.c:433:2: warning[-Wcpp]: #warning Hmm.... looks wrong
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
vlc-3.0.21/modules/access/jack.c:509:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/access/jack.c:478:13: enter_function: entry to ‘Port_finder’
vlc-3.0.21/modules/access/jack.c:488:5: release_memory: ‘*p_sys.pp_jack_port_table’ is NULL
vlc-3.0.21/modules/access/jack.c:488:5: release_memory: ‘*p_sys.pp_jack_port_table’ is NULL
vlc-3.0.21/modules/access/jack.c:488:5: release_memory: ‘*p_sys.pp_jack_port_table’ is NULL
vlc-3.0.21/modules/access/jack.c:491:53: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
vlc-3.0.21/modules/access/jack.c:494:19: branch_true: ...to here
vlc-3.0.21/modules/access/jack.c:498:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/jack.c:505:41: call_function: calling ‘xrealloc’ from ‘Port_finder’
vlc-3.0.21/modules/access/jack.c:505:41: return_function: returning to ‘Port_finder’ from ‘xrealloc’
vlc-3.0.21/modules/access/jack.c:508:26: branch_true: following ‘true’ branch (when ‘i_out_ports > i’)...
vlc-3.0.21/modules/access/jack.c:509:96: branch_true: ...to here
vlc-3.0.21/modules/access/jack.c:509:42: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/jack.c:509:17: danger: dereference of NULL ‘xrealloc(*p_sys.pp_jack_port_table, ((long unsigned int)i_out_ports + (long unsigned int)i_total_out_ports) * 8) + (long unsigned int)(i_total_out_ports + i) * 8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
vlc-3.0.21/modules/access/jack.c:530:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_dup’ where non-null expected
vlc-3.0.21/modules/access/jack.c:527:21: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/jack.c:530:10: danger: argument 1 (‘psz_dup’) from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-197): [#def100]
vlc-3.0.21/modules/access/jack.c: scope_hint: In function ‘Parse’
vlc-3.0.21/modules/access/jack.c:532:29: warning[-Wabsolute-value]: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value
Error: COMPILER_WARNING (CWE-197): [#def101]
vlc-3.0.21/modules/access/jack.c:567:37: warning[-Wabsolute-value]: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
vlc-3.0.21/modules/access/jack.c:583:28: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.psz_ports’
vlc-3.0.21/modules/access/jack.c:530:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/jack.c:535:15: branch_false: ...to here
vlc-3.0.21/modules/access/jack.c:535:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/jack.c:552:9: branch_false: ...to here
vlc-3.0.21/modules/access/jack.c:555:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/jack.c:560:7: branch_false: ...to here
vlc-3.0.21/modules/access/jack.c:560:7: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/access/jack.c:565:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/jack.c:570:23: branch_false: ...to here
vlc-3.0.21/modules/access/jack.c:570:20: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/jack.c:573:28: branch_true: ...to here
vlc-3.0.21/modules/access/jack.c:574:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/jack.c:576:29: branch_true: ...to here
vlc-3.0.21/modules/access/jack.c:582:36: acquire_memory: allocated here
vlc-3.0.21/modules/access/jack.c:583:28: danger: ‘*p_sys.psz_ports’ leaks here; was allocated at [(16)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/15)
Error: COMPILER_WARNING (CWE-252): [#def103]
vlc-3.0.21/modules/access/linsys/linsys_hdsdi.c: scope_hint: In function ‘Close’
vlc-3.0.21/modules/access/linsys/linsys_hdsdi.c:268:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING: [#def104]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c: scope_hint: In function ‘HandleSDBuffer’
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1437:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1439:5: note: here
Error: COMPILER_WARNING: [#def105]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1445:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1447:5: note: here
Error: COMPILER_WARNING: [#def106]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1454:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1456:5: note: here
Error: COMPILER_WARNING: [#def107]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1463:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1465:5: note: here
Error: COMPILER_WARNING: [#def108]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1473:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1475:5: note: here
Error: COMPILER_WARNING: [#def109]
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1481:36: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/linsys/linsys_sdi.c:1483:5: note: here
Error: CPPCHECK_WARNING (CWE-476): [#def110]
vlc-3.0.21/modules/access/live555.cpp:2324: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: psz_asf
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
vlc-3.0.21/modules/access/mms/buffer.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_buf.p_data’
vlc-3.0.21/modules/access/mms/buffer.c:110:6: enter_function: entry to ‘var_buffer_addUTF16’
vlc-3.0.21/modules/access/mms/buffer.c:115:7: branch_true: following ‘true’ branch (when ‘p_str’ is non-NULL)...
vlc-3.0.21/modules/access/mms/buffer.c:119:17: branch_true: ...to here
vlc-3.0.21/modules/access/mms/buffer.c:123:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/mms/buffer.c:129:11: branch_false: ...to here
vlc-3.0.21/modules/access/mms/buffer.c:130:24: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/mms/buffer.c:131:39: branch_true: ...to here
vlc-3.0.21/modules/access/mms/buffer.c:131:9: call_function: calling ‘var_buffer_add16’ from ‘var_buffer_addUTF16’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
vlc-3.0.21/modules/access/nfs.c:583:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/nfs.c:558:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:561:13: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:570:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:573:37: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:575:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: branch_true: following ‘true’ branch (when ‘p_export’ is non-NULL)...
vlc-3.0.21/modules/access/nfs.c:585:55: branch_true: ...to here
vlc-3.0.21/modules/access/nfs.c:585:48: acquire_memory: allocated here
vlc-3.0.21/modules/access/nfs.c:586:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:596:9: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
vlc-3.0.21/modules/access/nfs.c:583:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)*p_sys.res.exports.i_count, 8)’
vlc-3.0.21/modules/access/nfs.c:558:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:561:13: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:570:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:573:37: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:573:37: acquire_memory: allocated here
vlc-3.0.21/modules/access/nfs.c:575:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: danger: ‘calloc((long unsigned int)*p_sys.res.exports.i_count, 8)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
vlc-3.0.21/modules/access/nfs.c:585:55: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)*p_sys.res.exports.i_count, 8)’
vlc-3.0.21/modules/access/nfs.c:558:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:561:13: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:570:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:573:37: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:573:37: acquire_memory: allocated here
vlc-3.0.21/modules/access/nfs.c:575:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: branch_true: following ‘true’ branch (when ‘p_export’ is non-NULL)...
vlc-3.0.21/modules/access/nfs.c:585:55: branch_true: ...to here
vlc-3.0.21/modules/access/nfs.c:585:55: danger: ‘calloc((long unsigned int)*p_sys.res.exports.i_count, 8)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
vlc-3.0.21/modules/access/nfs.c:586:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/nfs.c:558:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:561:13: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:570:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:573:37: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:575:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: branch_true: following ‘true’ branch (when ‘p_export’ is non-NULL)...
vlc-3.0.21/modules/access/nfs.c:585:55: branch_true: ...to here
vlc-3.0.21/modules/access/nfs.c:585:48: acquire_memory: allocated here
vlc-3.0.21/modules/access/nfs.c:586:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/nfs.c:596:9: branch_false: ...to here
vlc-3.0.21/modules/access/nfs.c:583:12: branch_true: following ‘true’ branch (when ‘p_export’ is non-NULL)...
vlc-3.0.21/modules/access/nfs.c:585:55: branch_true: ...to here
vlc-3.0.21/modules/access/nfs.c:586:12: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING: [#def116]
vlc-3.0.21/modules/access/rist.c: scope_hint: In function ‘send_rbnack’
vlc-3.0.21/modules/access/rist.c:322:23: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (5 chars into 4 available)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def117]
vlc-3.0.21/modules/access/rtsp/access.c:205:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_server’ where non-null expected
vlc-3.0.21/modules/access/rtsp/access.c:151:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/access.c:155:32: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:156:7: branch_false: following ‘false’ branch (when ‘psz_location’ is NULL)...
vlc-3.0.21/modules/access/rtsp/access.c:161:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:166:7: branch_false: following ‘false’ branch (when ‘p_sys’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/access.c:168:21: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:169:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/access.c:175:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:184:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/access.c:192:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:195:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/rtsp/access.c:196:30: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/access.c:196:22: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/rtsp/access.c:205:9: danger: argument 1 (‘psz_server’) from [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:95:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:623:5: enter_function: entry to ‘asmrp_match’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:628:7: call_function: calling ‘asmrp_new’ from ‘asmrp_match’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:114:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strdup(rules)’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:623:5: enter_function: entry to ‘asmrp_match’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:630:3: call_function: inlined call to ‘asmrp_init’ from ‘asmrp_match’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def120]
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:359:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*p.sym_tab[i].id’ where non-null expected
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:623:5: enter_function: entry to ‘asmrp_match’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:632:3: call_function: calling ‘asmrp_set_id’ from ‘asmrp_match’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:632:3: return_function: possible return of NULL to ‘asmrp_match’ from ‘asmrp_set_id’
vlc-3.0.21/modules/access/rtsp/real_asmrp.c:633:3: call_function: calling ‘asmrp_set_id’ from ‘asmrp_match’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
vlc-3.0.21/modules/access/rtsp/real_rmff.c:390:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/rtsp/real_rmff.c:362:5: branch_false: following ‘false’ branch (when ‘mdpr’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:365:3: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:376:6: branch_false: following ‘false’ branch (when ‘stream_name’ is NULL)...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:380:3: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:381:6: branch_true: following ‘true’ branch (when ‘mime_type’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:382:21: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:382:21: acquire_memory: allocated here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:388:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:389:11: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:390:5: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
vlc-3.0.21/modules/access/rtsp/real_rmff.c:586:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*h.fileheader’
vlc-3.0.21/modules/access/rtsp/real_rmff.c:521:6: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:525:8: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:574:6: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:575:5: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:576:21: acquire_memory: allocated here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:577:7: release_memory: assuming ‘*h.fileheader’ is NULL
vlc-3.0.21/modules/access/rtsp/real_rmff.c:577:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:586:16: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:586:16: danger: dereference of NULL ‘*h.fileheader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
vlc-3.0.21/modules/access/rtsp/real_rmff.c:606:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*h.data’
vlc-3.0.21/modules/access/rtsp/real_rmff.c:521:6: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:525:8: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:560:6: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:561:5: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:562:15: acquire_memory: allocated here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:563:7: release_memory: assuming ‘*h.data’ is NULL
vlc-3.0.21/modules/access/rtsp/real_rmff.c:563:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:574:8: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:574:6: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:586:16: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:589:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:593:6: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:593:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:594:9: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:594:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:601:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:601:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/real_rmff.c:606:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/real_rmff.c:606:9: danger: dereference of NULL ‘*h.data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
vlc-3.0.21/modules/access/rtsp/rtsp.c:268:23: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(xmalloc(strlen(rtsp_get(rtsp))))’
vlc-3.0.21/modules/access/rtsp/rtsp.c:474:5: enter_function: entry to ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:482:7: branch_false: following ‘false’ branch (when ‘psz_mrl’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:489:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:491:9: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:514:7: branch_false: following ‘false’ branch (when ‘slash’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: following ‘false’ branch (when ‘colon’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:516:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:541:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/rtsp.c:548:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:551:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:551:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:552:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:552:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:553:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:553:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:555:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:555:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:556:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:556:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:557:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:557:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:558:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:558:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:559:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:559:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:562:5: call_function: calling ‘rtsp_request_options’ from ‘rtsp_connect’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
vlc-3.0.21/modules/access/rtsp/rtsp.c:325:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xmalloc(strlen(*rtsp_10(D)->p_private.host) + 16)’ where non-null expected
vlc-3.0.21/modules/access/rtsp/rtsp.c:474:5: enter_function: entry to ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:482:7: branch_false: following ‘false’ branch (when ‘psz_mrl’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:489:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:491:9: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:514:7: branch_false: following ‘false’ branch (when ‘slash’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: following ‘false’ branch (when ‘colon’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:516:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:541:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/rtsp.c:548:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:551:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:551:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:552:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:552:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:553:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:553:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:555:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:555:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:556:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:556:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:557:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:557:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:558:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:558:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:559:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:559:5: return_function: returning to ‘rtsp_connect’ from ‘rtsp_schedule_field’
vlc-3.0.21/modules/access/rtsp/rtsp.c:562:5: call_function: calling ‘rtsp_request_options’ from ‘rtsp_connect’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def126]
vlc-3.0.21/modules/access/rtsp/rtsp.c:511:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘mrl_ptr’ where non-null expected
vlc-3.0.21/modules/access/rtsp/rtsp.c:474:5: enter_function: entry to ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:482:7: branch_false: following ‘false’ branch (when ‘psz_mrl’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:487:15: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/rtsp/rtsp.c:489:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:491:9: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:507:7: branch_true: following ‘true’ branch (when ‘psz_user_agent’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:507:42: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:511:13: danger: argument 1 (‘mrl_ptr’) from [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-697): [#def127]
vlc-3.0.21/modules/access/rtsp/rtsp.c: scope_hint: In function ‘rtsp_search_answers’
vlc-3.0.21/modules/access/rtsp/rtsp.c:601:33: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘answers’ will never be NULL
vlc-3.0.21/modules/access/rtsp/rtsp.c:58:16: note: ‘answers’ declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
vlc-3.0.21/modules/access/rtsp/rtsp.c:663:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(data)’
vlc-3.0.21/modules/access/rtsp/rtsp.c:474:5: enter_function: entry to ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:482:7: branch_false: following ‘false’ branch (when ‘psz_mrl’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:483:9: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:487:15: acquire_memory: allocated here
vlc-3.0.21/modules/access/rtsp/rtsp.c:489:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:491:9: branch_true: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:514:7: branch_false: following ‘false’ branch (when ‘slash’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:515:7: branch_false: following ‘false’ branch (when ‘colon’ is non-NULL)...
vlc-3.0.21/modules/access/rtsp/rtsp.c:516:7: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: call_function: calling ‘xmalloc’ from ‘rtsp_connect’
vlc-3.0.21/modules/access/rtsp/rtsp.c:521:15: return_function: returning to ‘rtsp_connect’ from ‘xmalloc’
vlc-3.0.21/modules/access/rtsp/rtsp.c:541:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/rtsp/rtsp.c:548:5: branch_false: ...to here
vlc-3.0.21/modules/access/rtsp/rtsp.c:551:5: call_function: calling ‘rtsp_schedule_field’ from ‘rtsp_connect’
Error: COMPILER_WARNING: [#def129]
vlc-3.0.21/modules/access/satip.c: scope_hint: In function ‘rtsp_handle’
vlc-3.0.21/modules/access/satip.c:127:5: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
vlc-3.0.21/modules/access/satip.c:127:33: note: length computed here
Error: COMPILER_WARNING: [#def130]
vlc-3.0.21/modules/access/satip.c: scope_hint: In function ‘rtsp_handle’
vlc-3.0.21/modules/access/satip.c:167:13: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
vlc-3.0.21/modules/access/satip.c:167:55: note: length computed here
Error: COMPILER_WARNING: [#def131]
vlc-3.0.21/modules/access/satip.c: scope_hint: In function ‘rtsp_handle’
vlc-3.0.21/modules/access/satip.c:173:13: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
vlc-3.0.21/modules/access/satip.c:173:42: note: length computed here
Error: COMPILER_WARNING (CWE-477): [#def132]
vlc-3.0.21/modules/access/sftp.c: scope_hint: In function ‘SSHSessionInit’
vlc-3.0.21/modules/access/sftp.c:208:5: warning[-Wdeprecated-declarations]: ‘libssh2_session_startup’ is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake()
vlc-3.0.21/modules/access/sftp.c:43: included_from: Included from here.
/usr/include/libssh2.h:670:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def133]
vlc-3.0.21/modules/access/sftp.c:208:5: warning[-Wdeprecated-declarations]: ‘libssh2_session_startup’ is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake()
Error: COMPILER_WARNING (CWE-477): [#def134]
vlc-3.0.21/modules/access/smb.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/access/smb.c:165:5: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
vlc-3.0.21/modules/access/smb.c:45: included_from: Included from here.
/usr/include/samba-4.0/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def135]
vlc-3.0.21/modules/access/smb.c:165:5: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING: [#def136]
vlc-3.0.21/modules/access/smb.c: scope_hint: In function ‘DirRead’
vlc-3.0.21/modules/access/smb.c:374:22: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/smb.c:375:9: note: here
Error: COMPILER_WARNING (CWE-477): [#def137]
vlc-3.0.21/modules/access/srt.c: scope_hint: In function ‘srt_schedule_reconnect’
vlc-3.0.21/modules/access/srt.c:129:5: warning[-Wdeprecated-declarations]: ‘srt_socket’ is deprecated
vlc-3.0.21/modules/access/srt_common.h:31: included_from: Included from here.
/usr/include/srt/srt.h:753:41: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def138]
vlc-3.0.21/modules/access/srt.c:129:5: warning[-Wdeprecated-declarations]: ‘srt_socket’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-465): [#def139]
vlc-3.0.21/modules/access/v4l2/controls.c:230:12: warning[-Wanalyzer-deref-before-check]: check of ‘p’ for NULL after already dereferencing it
vlc-3.0.21/modules/access/v4l2/controls.c:215:13: enter_function: entry to ‘ControlsSetFromString’
vlc-3.0.21/modules/access/v4l2/controls.c:218:17: call_function: calling ‘var_InheritString’ from ‘ControlsSetFromString’
vlc-3.0.21/modules/access/v4l2/controls.c:218:17: return_function: returning to ‘ControlsSetFromString’ from ‘var_InheritString’
vlc-3.0.21/modules/access/v4l2/controls.c:219:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/v4l2/controls.c:223:9: branch_false: ...to here
vlc-3.0.21/modules/access/v4l2/controls.c:227:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/v4l2/controls.c:230:12: danger: pointer ‘p’ is checked for NULL here but it was already dereferenced at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def140]
vlc-3.0.21/modules/access/v4l2/video.c:401:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*it.numerator’
vlc-3.0.21/modules/access/v4l2/video.c:418:5: enter_function: entry to ‘SetupFormat’
vlc-3.0.21/modules/access/v4l2/video.c:427:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/v4l2/video.c:432:5: branch_false: ...to here
vlc-3.0.21/modules/access/v4l2/video.c:449:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/v4l2/video.c:458:9: branch_false: ...to here
vlc-3.0.21/modules/access/v4l2/video.c:458:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/v4l2/video.c:467:13: branch_false: ...to here
vlc-3.0.21/modules/access/v4l2/video.c:476:17: call_function: calling ‘FindMaxRate’ from ‘SetupFormat’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
vlc-3.0.21/modules/access/vcd/cdrom.c:753:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/access/vcd/cdrom.c:581:5: enter_function: entry to ‘ioctl_ReadSectors’
vlc-3.0.21/modules/access/vcd/cdrom.c:586:7: branch_true: following ‘true’ branch (when ‘i_type == 1’)...
vlc-3.0.21/modules/access/vcd/cdrom.c:587:19: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:587:19: call_function: inlined call to ‘vlc_alloc’ from ‘ioctl_ReadSectors’
vlc-3.0.21/modules/access/vcd/cdrom.c:591:9: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:591:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:748:25: branch_true: following ‘true’ branch (when ‘i < i_nb’)...
vlc-3.0.21/modules/access/vcd/cdrom.c:750:27: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:753:13: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/access/vcd/cdrom.c:753:13: danger: dereference of NULL ‘p_block + (sizetype)(i * 2352)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
vlc-3.0.21/modules/access/vcd/cdrom.c:753:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_block’
vlc-3.0.21/modules/access/vcd/cdrom.c:581:5: enter_function: entry to ‘ioctl_ReadSectors’
vlc-3.0.21/modules/access/vcd/cdrom.c:586:7: branch_true: following ‘true’ branch (when ‘i_type == 1’)...
vlc-3.0.21/modules/access/vcd/cdrom.c:587:19: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:587:19: call_function: inlined call to ‘vlc_alloc’ from ‘ioctl_ReadSectors’
vlc-3.0.21/modules/access/vcd/cdrom.c:591:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:748:25: branch_true: following ‘true’ branch (when ‘i < i_nb’)...
vlc-3.0.21/modules/access/vcd/cdrom.c:750:27: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:753:13: danger: ‘p_block + (sizetype)(i * 2352)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING: [#def143]
vlc-3.0.21/modules/access/vcd/cdrom.c: scope_hint: In function ‘OpenVCDImage’
vlc-3.0.21/modules/access/vcd/cdrom.c:869:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/access/vcd/cdrom.c:871:13: note: here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
vlc-3.0.21/modules/access/vcd/cdrom.c:1204:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/vcd/cdrom.c:1198:12: enter_function: entry to ‘CdTextParse’
vlc-3.0.21/modules/access/vcd/cdrom.c:1203:7: branch_false: following ‘false’ branch (when ‘i_buffer > 3’)...
vlc-3.0.21/modules/access/vcd/cdrom.c:1206:5: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:1208:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vcd/cdrom.c:1210:48: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:1214:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vcd/cdrom.c:1217:37: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:1219:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vcd/cdrom.c:1231:27: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:1237:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vcd/cdrom.c:1240:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vcd/cdrom.c:1242:47: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/cdrom.c:1242:17: call_function: calling ‘astrcat’ from ‘CdTextParse’
vlc-3.0.21/modules/access/vcd/cdrom.c:1242:17: return_function: returning to ‘CdTextParse’ from ‘astrcat’
vlc-3.0.21/modules/access/vcd/cdrom.c:1204:16: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def145]
vlc-3.0.21/modules/access/vcd/vcd.c:106:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_dup’ where non-null expected
vlc-3.0.21/modules/access/vcd/vcd.c:96:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vcd/vcd.c:99:21: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/vcd.c:99:21: acquire_memory: this call could return NULL
vlc-3.0.21/modules/access/vcd/vcd.c:106:17: danger: argument 1 (‘psz_dup’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
vlc-3.0.21/modules/access/vcd/vcd.c:125:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/access/vcd/vcd.c:92:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/access/vcd/vcd.c:96:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vcd/vcd.c:99:21: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/vcd.c:106:9: release_memory: ‘psz’ is NULL
vlc-3.0.21/modules/access/vcd/vcd.c:106:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vcd/vcd.c:115:9: branch_false: ...to here
vlc-3.0.21/modules/access/vcd/vcd.c:115:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vcd/vcd.c:117:9: branch_true: ...to here
vlc-3.0.21/modules/access/vcd/vcd.c:124:19: call_function: calling ‘var_CreateGetString’ from ‘Open’
vlc-3.0.21/modules/access/vcd/vcd.c:124:19: return_function: returning to ‘Open’ from ‘var_CreateGetString’
vlc-3.0.21/modules/access/vcd/vcd.c:125:13: danger: dereference of NULL ‘var_CreateGetString(&*(stream_t *)p_this.obj, "vcd")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
vlc-3.0.21/modules/access/vdr.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_sys.file_sizes.p_elems, (long unsigned int)(int)((double)*p_sys.file_sizes.i_alloc * 1.5e+0) * 8)’
vlc-3.0.21/modules/access/vdr.c:463:13: enter_function: entry to ‘ImportNextFile’
vlc-3.0.21/modules/access/vdr.c:467:22: call_function: calling ‘GetFilePath’ from ‘ImportNextFile’
vlc-3.0.21/modules/access/vdr.c:467:22: return_function: returning to ‘ImportNextFile’ from ‘GetFilePath’
vlc-3.0.21/modules/access/vdr.c:468:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:472:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:472:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:479:10: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:479:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:485:5: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:488:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:488:5: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:488:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:488:5: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:488:5: danger: ‘realloc(*p_sys.file_sizes.p_elems, (long unsigned int)(int)((double)*p_sys.file_sizes.i_alloc * 1.5e+0) * 8)’ leaks here; was allocated at [(17)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
vlc-3.0.21/modules/access/vdr.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_sys.file_sizes.p_elems, 80)’
vlc-3.0.21/modules/access/vdr.c:463:13: enter_function: entry to ‘ImportNextFile’
vlc-3.0.21/modules/access/vdr.c:467:22: call_function: calling ‘GetFilePath’ from ‘ImportNextFile’
vlc-3.0.21/modules/access/vdr.c:467:22: return_function: returning to ‘ImportNextFile’ from ‘GetFilePath’
vlc-3.0.21/modules/access/vdr.c:468:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:472:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:472:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:479:10: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:479:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:485:5: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:488:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:488:5: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:488:5: danger: ‘realloc(*p_sys.file_sizes.p_elems, 80)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
vlc-3.0.21/modules/access/vdr.c:867:63: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_seekpoint_New()’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:841:27: call_function: calling ‘ParseFrameNumber’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:841:27: return_function: returning to ‘ImportMarks’ from ‘ParseFrameNumber’
vlc-3.0.21/modules/access/vdr.c:844:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:845:24: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:844:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:850:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:857:14: call_function: calling ‘ReadIndexRecord’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:857:14: return_function: returning to ‘ImportMarks’ from ‘ReadIndexRecord’
vlc-3.0.21/modules/access/vdr.c:857:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:860:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:860:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:864:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:864:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:865:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:867:63: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:867:63: danger: ‘vlc_seekpoint_New()’ leaks here; was allocated at [(57)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/56)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
vlc-3.0.21/modules/access/vdr.c:870:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:841:27: call_function: calling ‘ParseFrameNumber’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:841:27: return_function: returning to ‘ImportMarks’ from ‘ParseFrameNumber’
vlc-3.0.21/modules/access/vdr.c:844:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:845:24: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:844:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:850:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:857:14: call_function: calling ‘ReadIndexRecord’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:857:14: return_function: returning to ‘ImportMarks’ from ‘ReadIndexRecord’
vlc-3.0.21/modules/access/vdr.c:857:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:860:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:860:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:864:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:864:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:865:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:867:63: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:868:24: acquire_memory: allocated here
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:870:9: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:870:9: danger: ‘<unknown>’ leaks here; was allocated at [(62)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/61)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
vlc-3.0.21/modules/access/vdr.c:887:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:880:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:880:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:882:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:882:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:883:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:885:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:886:28: acquire_memory: allocated here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: danger: ‘<unknown>’ leaks here; was allocated at [(48)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/47)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
vlc-3.0.21/modules/access/vdr.c:887:13: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_seekpoint_New()’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:880:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:880:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:882:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:882:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:883:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:885:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: danger: ‘vlc_seekpoint_New()’ leaks here; was allocated at [(43)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
vlc-3.0.21/modules/access/vdr.c:892:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:880:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:880:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:882:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:882:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:883:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:885:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:888:23: call_function: calling ‘xrealloc’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:888:23: return_function: returning to ‘ImportMarks’ from ‘xrealloc’
vlc-3.0.21/modules/access/vdr.c:892:13: danger: dereference of NULL ‘xrealloc(offsetv, (long unsigned int)(*<unknown>.i_seekpoint + 1) * 8)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
vlc-3.0.21/modules/access/vdr.c:899:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_title_New()’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:880:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:896:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:898:9: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:899:9: danger: ‘vlc_input_title_New()’ leaks here; was allocated at [(20)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
vlc-3.0.21/modules/access/vdr.c:907:5: warning[-Wanalyzer-malloc-leak]: leak of ‘offsetv’
vlc-3.0.21/modules/access/vdr.c:787:13: enter_function: entry to ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:791:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:792:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:795:23: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:795:23: call_function: calling ‘OpenRelativeFile’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:795:23: return_function: returning to ‘ImportMarks’ from ‘OpenRelativeFile’
vlc-3.0.21/modules/access/vdr.c:796:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:804:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:804:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:810:29: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:813:30: call_function: calling ‘vlc_input_title_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:813:30: return_function: returning to ‘ImportMarks’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/access/vdr.c:814:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:820:33: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:841:27: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:839:12: call_function: calling ‘ReadLine’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:839:12: return_function: returning to ‘ImportMarks’ from ‘ReadLine’
vlc-3.0.21/modules/access/vdr.c:839:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:880:9: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:880:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:882:27: call_function: calling ‘vlc_seekpoint_New’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:882:27: return_function: returning to ‘ImportMarks’ from ‘vlc_seekpoint_New’
vlc-3.0.21/modules/access/vdr.c:883:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:885:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:887:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vdr.c:887:13: branch_false: ...to here
vlc-3.0.21/modules/access/vdr.c:888:23: call_function: calling ‘xrealloc’ from ‘ImportMarks’
vlc-3.0.21/modules/access/vdr.c:888:23: return_function: returning to ‘ImportMarks’ from ‘xrealloc’
vlc-3.0.21/modules/access/vdr.c:896:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vdr.c:898:9: branch_true: ...to here
vlc-3.0.21/modules/access/vdr.c:907:5: danger: ‘offsetv’ leaks here; was allocated at [(55)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/54)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
vlc-3.0.21/modules/access/vnc.c:458:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(url.psz_host)’
vlc-3.0.21/modules/access/vnc.c:398:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:400:20: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:407:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:414:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:421:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:427:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:434:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:452:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:454:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:457:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access/vnc.c:458:39: acquire_memory: allocated here
vlc-3.0.21/modules/access/vnc.c:458:9: danger: ‘strdup(url.psz_host)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
vlc-3.0.21/modules/access/vnc.c:460:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("localhost")’
vlc-3.0.21/modules/access/vnc.c:398:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:400:20: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:407:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:414:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:421:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:427:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:434:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:452:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/access/vnc.c:454:5: branch_false: ...to here
vlc-3.0.21/modules/access/vnc.c:460:39: acquire_memory: allocated here
vlc-3.0.21/modules/access/vnc.c:460:9: danger: ‘strdup("localhost")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def158]
vlc-3.0.21/modules/access_output/rist.c:397:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
vlc-3.0.21/modules/access_output/rist.c:404:14: enter_function: entry to ‘rist_thread’
vlc-3.0.21/modules/access_output/rist.c:463:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/access_output/rist.c:465:13: branch_true: ...to here
vlc-3.0.21/modules/access_output/rist.c:465:13: call_function: calling ‘rist_rtcp_send’ from ‘rist_thread’
Error: COMPILER_WARNING (CWE-477): [#def159]
vlc-3.0.21/modules/access_output/shout.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/access_output/shout.c:220:10: warning[-Wdeprecated-declarations]: ‘shout_set_name’ is deprecated: use shout_set_meta() with SHOUT_META_NAME
vlc-3.0.21/modules/access_output/shout.c:54: included_from: Included from here.
/usr/include/shout/shout.h:348:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def160]
vlc-3.0.21/modules/access_output/shout.c:220:10: warning[-Wdeprecated-declarations]: ‘shout_set_name’ is deprecated: use shout_set_meta() with SHOUT_META_NAME
Error: COMPILER_WARNING (CWE-477): [#def161]
vlc-3.0.21/modules/access_output/shout.c:221:10: warning[-Wdeprecated-declarations]: ‘shout_set_description’ is deprecated: use shout_set_meta() with SHOUT_META_DESCRIPTION
/usr/include/shout/shout.h:357:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def162]
vlc-3.0.21/modules/access_output/shout.c:221:10: warning[-Wdeprecated-declarations]: ‘shout_set_description’ is deprecated: use shout_set_meta() with SHOUT_META_DESCRIPTION
Error: COMPILER_WARNING (CWE-477): [#def163]
vlc-3.0.21/modules/access_output/shout.c:222:10: warning[-Wdeprecated-declarations]: ‘shout_set_genre’ is deprecated: use shout_set_meta() with SHOUT_META_GENRE
/usr/include/shout/shout.h:354:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def164]
vlc-3.0.21/modules/access_output/shout.c:222:10: warning[-Wdeprecated-declarations]: ‘shout_set_genre’ is deprecated: use shout_set_meta() with SHOUT_META_GENRE
Error: COMPILER_WARNING (CWE-477): [#def165]
vlc-3.0.21/modules/access_output/shout.c:223:10: warning[-Wdeprecated-declarations]: ‘shout_set_url’ is deprecated: use shout_set_meta() with SHOUT_META_URL
/usr/include/shout/shout.h:351:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def166]
vlc-3.0.21/modules/access_output/shout.c:223:10: warning[-Wdeprecated-declarations]: ‘shout_set_url’ is deprecated: use shout_set_meta() with SHOUT_META_URL
Error: COMPILER_WARNING (CWE-477): [#def167]
vlc-3.0.21/modules/access_output/shout.c:242:5: warning[-Wdeprecated-declarations]: ‘shout_set_format’ is deprecated: Use shout_set_content_format()
/usr/include/shout/shout.h:361:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def168]
vlc-3.0.21/modules/access_output/shout.c:242:5: warning[-Wdeprecated-declarations]: ‘shout_set_format’ is deprecated: Use shout_set_content_format()
Error: COMPILER_WARNING (CWE-477): [#def169]
vlc-3.0.21/modules/access_output/srt.c: scope_hint: In function ‘srt_schedule_reconnect’
vlc-3.0.21/modules/access_output/srt.c:124:5: warning[-Wdeprecated-declarations]: ‘srt_socket’ is deprecated
vlc-3.0.21/modules/access/srt_common.h:31: included_from: Included from here.
/usr/include/srt/srt.h:753:41: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def170]
vlc-3.0.21/modules/access_output/srt.c:124:5: warning[-Wdeprecated-declarations]: ‘srt_socket’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def171]
vlc-3.0.21/modules/access_output/udp.c: scope_hint: In function ‘NewUDPPacket’
vlc-3.0.21/modules/access_output/udp.c:360:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/access_output/udp.c:41: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def172]
vlc-3.0.21/modules/access_output/udp.c:360:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def173]
vlc-3.0.21/modules/access_output/udp.c:366:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def174]
vlc-3.0.21/modules/access_output/udp.c:366:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:205:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:167:17: enter_function: entry to ‘DoWork’
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:186:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:188:28: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:188:28: call_function: calling ‘xmalloc’ from ‘DoWork’
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:188:28: return_function: returning to ‘DoWork’ from ‘xmalloc’
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:197:9: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:201:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:202:13: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:205:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:206:13: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:208:28: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:205:16: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/audio_filter/audiobargraph_a.c:205:16: danger: dereference of NULL ‘*p_sys.first’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def176]
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:313:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.i_delay’
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:440:12: enter_function: entry to ‘OpenFilter’
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:446:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:454:31: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:455:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:457:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/channel_mixer/headphone.c:462:9: call_function: calling ‘Init’ from ‘OpenFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_beta’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:296:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: danger: ‘*p_sys.f_beta’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_gamma’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: danger: ‘*p_sys.f_gamma’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_alpha’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:294:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: danger: ‘*p_sys.f_alpha’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_alpha’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:294:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: danger: ‘*p_sys.f_alpha’ leaks here; was allocated at [(10)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_beta’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:296:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: danger: ‘*p_sys.f_beta’ leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_gamma’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: danger: ‘*p_sys.f_gamma’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_alpha’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:294:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: danger: ‘*p_sys.f_alpha’ leaks here; was allocated at [(10)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_beta’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:296:22: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: danger: ‘*p_sys.f_beta’ leaks here; was allocated at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_gamma’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:297:9: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:300:17: danger: ‘*p_sys.f_gamma’ leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
vlc-3.0.21/modules/audio_filter/equalizer.c:314:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.f_amp’
vlc-3.0.21/modules/audio_filter/equalizer.c:280:12: enter_function: entry to ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: call_function: calling ‘EqzCoeffs’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:290:5: return_function: returning to ‘EqzInit’ from ‘EqzCoeffs’
vlc-3.0.21/modules/audio_filter/equalizer.c:297:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/equalizer.c:310:21: call_function: inlined call to ‘vlc_alloc’ from ‘EqzInit’
vlc-3.0.21/modules/audio_filter/equalizer.c:311:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/audio_filter/equalizer.c:314:17: danger: ‘*p_sys.f_amp’ leaks here; was allocated at [(16)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:256:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_out’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:385:1: enter_function: entry to ‘Drain’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:389:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:390:16: call_function: calling ‘SoXR_Resample’ from ‘Drain’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:357:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_out’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:300:1: enter_function: entry to ‘Resample’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:305:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:313:32: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:324:16: branch_false: following ‘false’ branch (when ‘f_ratio != 1.0e+0’)...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:333:13: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:337:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:339:29: call_function: calling ‘SoXR_Resample’ from ‘Resample’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:339:29: return_function: returning to ‘Resample’ from ‘SoXR_Resample’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:353:11: branch_true: following ‘true’ branch (when ‘p_flushed_out’ is non-NULL)...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:356:43: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:357:43: danger: dereference of NULL ‘p_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:365:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_out’
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:305:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:313:32: branch_true: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:324:16: branch_false: following ‘false’ branch (when ‘f_ratio != 1.0e+0’)...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:333:13: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:337:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:345:11: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:345:11: branch_false: following ‘false’ branch (when ‘soxr’ is NULL)...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:353:11: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:353:11: branch_false: following ‘false’ branch (when ‘p_flushed_out’ is NULL)...
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:365:9: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/resampler/soxr.c:365:9: danger: dereference of NULL ‘p_out’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
vlc-3.0.21/modules/audio_filter/scaletempo.c:328:11: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.table_blend’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
vlc-3.0.21/modules/audio_filter/scaletempo.c:328:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.buf_overlap’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
vlc-3.0.21/modules/audio_filter/scaletempo.c:328:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.table_blend’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
vlc-3.0.21/modules/audio_filter/scaletempo.c:330:11: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.buf_overlap’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
vlc-3.0.21/modules/audio_filter/scaletempo.c:331:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.buf_overlap’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
vlc-3.0.21/modules/audio_filter/scaletempo.c:387:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*p.buf_queue’
vlc-3.0.21/modules/audio_filter/scaletempo.c:410:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/audio_filter/scaletempo.c:416:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/scaletempo.c:419:5: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/scaletempo.c:448:9: call_function: calling ‘reinit_buffers’ from ‘Open’
Error: GCC_ANALYZER_WARNING: [#def196]
vlc-3.0.21/modules/audio_filter/stereo_widen.c:106:24: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/audio_filter/stereo_widen.c:103:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_filter/stereo_widen.c:106:45: branch_false: ...to here
vlc-3.0.21/modules/audio_filter/stereo_widen.c:106:24: danger: operand ‘f_delay’ is of type ‘float’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
vlc-3.0.21/modules/audio_output/pulse.c:114:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sink’
vlc-3.0.21/modules/audio_output/pulse.c:95:8: branch_false: following ‘false’ branch (when ‘eol == 0’)...
vlc-3.0.21/modules/audio_output/pulse.c:102:5: branch_false: ...to here
vlc-3.0.21/modules/audio_output/pulse.c:107:25: acquire_memory: allocated here
vlc-3.0.21/modules/audio_output/pulse.c:108:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/audio_output/pulse.c:111:18: branch_false: ...to here
vlc-3.0.21/modules/audio_output/pulse.c:114:5: danger: ‘sink’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def198]
vlc-3.0.21/modules/audio_output/pulse.c: scope_hint: In function ‘stream_start_now’
vlc-3.0.21/modules/audio_output/pulse.c:174:60: warning[-Wunused-parameter]: unused parameter ‘aout’
Error: COMPILER_WARNING (CWE-9001): [#def199]
vlc-3.0.21/modules/audio_output/pulse.c: scope_hint: In function 'Flush'
vlc-3.0.21/modules/audio_output/pulse.c:584:13: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def200]
vlc-3.0.21/modules/audio_output/pulse.c:584:13: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: GCC_ANALYZER_WARNING (CWE-688): [#def201]
vlc-3.0.21/modules/codec/arib/aribsub.c:253:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_subtitle_data_hex_idx’ where non-null expected
vlc-3.0.21/modules/codec/arib/aribsub.c:225:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/arib/aribsub.c:230:7: branch_false: following ‘false’ branch (when ‘psz_subtitle’ is non-NULL)...
vlc-3.0.21/modules/codec/arib/aribsub.c:234:9: branch_false: ...to here
vlc-3.0.21/modules/codec/arib/aribsub.c:248:43: acquire_memory: this call could return NULL
vlc-3.0.21/modules/codec/arib/aribsub.c:251:12: branch_true: following ‘true’ branch (when ‘start < end’)...
vlc-3.0.21/modules/codec/arib/aribsub.c:253:54: branch_true: ...to here
vlc-3.0.21/modules/codec/arib/aribsub.c:253:9: danger: argument 1 (‘psz_subtitle_data_hex_idx’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-477): [#def202]
vlc-3.0.21/modules/codec/avcodec/avcommon.h:38: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/avcodec.h:25: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/encoder.c:47: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/avcommon_compat.h:130:22: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
vlc-3.0.21/modules/codec/avcodec/encoder.c:570:24: note: in expansion of macro ‘PixelFormat’
/usr/include/ffmpeg/libavcodec/codec.h:215:31: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def203]
vlc-3.0.21/modules/codec/avcodec/encoder.c: scope_hint: In function ‘probe_video_frame_rate’
vlc-3.0.21/modules/codec/avcodec/encoder.c:261:5: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:41: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/encoder.c:45: included_from: Included from here.
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def204]
vlc-3.0.21/modules/codec/avcodec/encoder.c:261:5: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def205]
vlc-3.0.21/modules/codec/avcodec/encoder.c:268:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def206]
vlc-3.0.21/modules/codec/avcodec/encoder.c:268:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def207]
vlc-3.0.21/modules/codec/avcodec/encoder.c:270:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def208]
vlc-3.0.21/modules/codec/avcodec/encoder.c:270:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def209]
vlc-3.0.21/modules/codec/avcodec/encoder.c:271:37: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def210]
vlc-3.0.21/modules/codec/avcodec/encoder.c:271:37: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def211]
vlc-3.0.21/modules/codec/avcodec/encoder.c:272:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def212]
vlc-3.0.21/modules/codec/avcodec/encoder.c:272:9: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def213]
vlc-3.0.21/modules/codec/avcodec/encoder.c:273:37: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:213:23: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def214]
vlc-3.0.21/modules/codec/avcodec/encoder.c:273:37: warning[-Wdeprecated-declarations]: ‘supported_framerates’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def215]
vlc-3.0.21/modules/codec/avcodec/encoder.c: scope_hint: In function ‘InitVideoEnc’
vlc-3.0.21/modules/codec/avcodec/encoder.c:562:9: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:215:31: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def216]
vlc-3.0.21/modules/codec/avcodec/encoder.c:562:9: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def217]
vlc-3.0.21/modules/codec/avcodec/encoder.c:570:24: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def218]
vlc-3.0.21/modules/codec/avcodec/encoder.c:583:13: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:215:31: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def219]
vlc-3.0.21/modules/codec/avcodec/encoder.c:583:13: warning[-Wdeprecated-declarations]: ‘pix_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def220]
vlc-3.0.21/modules/codec/avcodec/encoder.c:709:9: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def221]
vlc-3.0.21/modules/codec/avcodec/encoder.c:709:9: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def222]
vlc-3.0.21/modules/codec/avcodec/encoder.c:710:37: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def223]
vlc-3.0.21/modules/codec/avcodec/encoder.c:710:37: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def224]
vlc-3.0.21/modules/codec/avcodec/encoder.c:716:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def225]
vlc-3.0.21/modules/codec/avcodec/encoder.c:716:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def226]
vlc-3.0.21/modules/codec/avcodec/encoder.c:719:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def227]
vlc-3.0.21/modules/codec/avcodec/encoder.c:719:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def228]
vlc-3.0.21/modules/codec/avcodec/encoder.c:721:17: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def229]
vlc-3.0.21/modules/codec/avcodec/encoder.c:721:17: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def230]
vlc-3.0.21/modules/codec/avcodec/encoder.c:723:21: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def231]
vlc-3.0.21/modules/codec/avcodec/encoder.c:723:21: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def232]
vlc-3.0.21/modules/codec/avcodec/encoder.c:732:9: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def233]
vlc-3.0.21/modules/codec/avcodec/encoder.c:732:9: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def234]
vlc-3.0.21/modules/codec/avcodec/encoder.c:735:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def235]
vlc-3.0.21/modules/codec/avcodec/encoder.c:735:13: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def236]
vlc-3.0.21/modules/codec/avcodec/encoder.c:737:17: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def237]
vlc-3.0.21/modules/codec/avcodec/encoder.c:737:17: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def238]
vlc-3.0.21/modules/codec/avcodec/encoder.c:739:21: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
/usr/include/ffmpeg/libavcodec/codec.h:219:32: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def239]
vlc-3.0.21/modules/codec/avcodec/encoder.c:739:21: warning[-Wdeprecated-declarations]: ‘sample_fmts’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def240]
vlc-3.0.21/modules/codec/avcodec/encoder.c: scope_hint: In function ‘EncodeVideo’
vlc-3.0.21/modules/codec/avcodec/encoder.c:1230:9: warning[-Wdeprecated-declarations]: ‘interlaced_frame’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:36: included_from: Included from here.
/usr/include/ffmpeg/libavutil/frame.h:566:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def241]
vlc-3.0.21/modules/codec/avcodec/encoder.c:1230:9: warning[-Wdeprecated-declarations]: ‘interlaced_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def242]
vlc-3.0.21/modules/codec/avcodec/encoder.c:1231:9: warning[-Wdeprecated-declarations]: ‘top_field_first’ is deprecated
/usr/include/ffmpeg/libavutil/frame.h:574:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def243]
vlc-3.0.21/modules/codec/avcodec/encoder.c:1231:9: warning[-Wdeprecated-declarations]: ‘top_field_first’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def244]
vlc-3.0.21/modules/codec/avcodec/encoder.c: scope_hint: In function ‘EndVideoEnc’
vlc-3.0.21/modules/codec/avcodec/encoder.c:1486:5: warning[-Wdeprecated-declarations]: ‘avcodec_close’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:2398:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def245]
vlc-3.0.21/modules/codec/avcodec/encoder.c:1486:5: warning[-Wdeprecated-declarations]: ‘avcodec_close’ is deprecated
Error: COMPILER_WARNING: [#def246]
vlc-3.0.21/modules/codec/avcodec/vaapi.c:45:5: warning[-Wundef]: ‘FF_API_STRUCT_VAAPI_CONTEXT’ is not defined, evaluates to ‘0’
Error: COMPILER_WARNING (CWE-563): [#def247]
vlc-3.0.21/modules/codec/avcodec/vaapi.c: scope_hint: In function ‘GetVaProfile’
vlc-3.0.21/modules/codec/avcodec/vaapi.c:74:65: warning[-Wunused-parameter]: unused parameter ‘fmt’
Error: COMPILER_WARNING (CWE-477): [#def248]
vlc-3.0.21/modules/codec/avcodec/video.c: scope_hint: In function ‘lavc_GetVideoFormat’
vlc-3.0.21/modules/codec/avcodec/video.c:209:34: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
vlc-3.0.21/modules/codec/avcodec/video.c:39: included_from: Included from here.
/usr/include/ffmpeg/libavcodec/avcodec.h:582:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def249]
vlc-3.0.21/modules/codec/avcodec/video.c:209:34: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def250]
vlc-3.0.21/modules/codec/avcodec/video.c: scope_hint: In function ‘lavc_UpdateVideoFormat’
vlc-3.0.21/modules/codec/avcodec/video.c:332:39: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:582:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def251]
vlc-3.0.21/modules/codec/avcodec/video.c:332:39: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def252]
vlc-3.0.21/modules/codec/avcodec/video.c:336:37: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:582:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def253]
vlc-3.0.21/modules/codec/avcodec/video.c:336:37: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def254]
vlc-3.0.21/modules/codec/avcodec/video.c: scope_hint: In function ‘interpolate_next_pts’
vlc-3.0.21/modules/codec/avcodec/video.c:949:5: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:582:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def255]
vlc-3.0.21/modules/codec/avcodec/video.c:949:5: warning[-Wdeprecated-declarations]: ‘ticks_per_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def256]
vlc-3.0.21/modules/codec/avcodec/video.c: scope_hint: In function ‘DecodeBlock’
vlc-3.0.21/modules/codec/avcodec/video.c:1433:9: warning[-Wdeprecated-declarations]: ‘interlaced_frame’ is deprecated
/usr/include/ffmpeg/libavcodec/avcodec.h:36: included_from: Included from here.
/usr/include/ffmpeg/libavutil/frame.h:566:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def257]
vlc-3.0.21/modules/codec/avcodec/video.c:1433:9: warning[-Wdeprecated-declarations]: ‘interlaced_frame’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def258]
vlc-3.0.21/modules/codec/avcodec/video.c:1434:9: warning[-Wdeprecated-declarations]: ‘top_field_first’ is deprecated
/usr/include/ffmpeg/libavutil/frame.h:574:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def259]
vlc-3.0.21/modules/codec/avcodec/video.c:1434:9: warning[-Wdeprecated-declarations]: ‘top_field_first’ is deprecated
Error: GCC_ANALYZER_WARNING: [#def260]
vlc-3.0.21/modules/codec/cc.c:732:9: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
vlc-3.0.21/modules/codec/cc.c:698:13: enter_function: entry to ‘Eia608RollUp’
vlc-3.0.21/modules/codec/cc.c:700:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cc.c:703:26: call_function: inlined call to ‘Eia608GetWritingScreenIndex’ from ‘Eia608RollUp’
branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:719:5: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:726:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:728:27: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:729:11: branch_false: following ‘false’ branch (when ‘i_row >= 0’)...
vlc-3.0.21/modules/codec/cc.c:732:63: branch_false: ...to here
vlc-3.0.21/modules/codec/cc.c:732:9: danger: overlapping buffers passed as arguments to ‘memcpy’
Error: GCC_ANALYZER_WARNING: [#def261]
vlc-3.0.21/modules/codec/cc.c:733:9: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
vlc-3.0.21/modules/codec/cc.c:698:13: enter_function: entry to ‘Eia608RollUp’
vlc-3.0.21/modules/codec/cc.c:700:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cc.c:703:26: call_function: inlined call to ‘Eia608GetWritingScreenIndex’ from ‘Eia608RollUp’
branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:719:5: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:726:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:728:27: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:729:11: branch_false: following ‘false’ branch (when ‘i_row >= 0’)...
vlc-3.0.21/modules/codec/cc.c:732:63: branch_false: ...to here
vlc-3.0.21/modules/codec/cc.c:733:9: danger: overlapping buffers passed as arguments to ‘memcpy’
Error: GCC_ANALYZER_WARNING: [#def262]
vlc-3.0.21/modules/codec/cc.c:734:9: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
vlc-3.0.21/modules/codec/cc.c:698:13: enter_function: entry to ‘Eia608RollUp’
vlc-3.0.21/modules/codec/cc.c:700:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cc.c:703:26: call_function: inlined call to ‘Eia608GetWritingScreenIndex’ from ‘Eia608RollUp’
branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:719:5: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:726:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/cc.c:728:27: branch_true: ...to here
vlc-3.0.21/modules/codec/cc.c:729:11: branch_false: following ‘false’ branch (when ‘i_row >= 0’)...
vlc-3.0.21/modules/codec/cc.c:732:63: branch_false: ...to here
vlc-3.0.21/modules/codec/cc.c:734:9: danger: overlapping buffers passed as arguments to ‘memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
vlc-3.0.21/modules/codec/cea708.c:603:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
vlc-3.0.21/modules/codec/cea708.c:809:13: enter_function: entry to ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:815:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:824:7: branch_true: following ‘true’ branch (when ‘p_row’ is NULL)...
vlc-3.0.21/modules/codec/cea708.c:826:39: branch_true: ...to here
vlc-3.0.21/modules/codec/cea708.c:826:39: call_function: calling ‘cea708_text_row_New’ from ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:826:39: return_function: returning to ‘CEA708_Window_Write’ from ‘cea708_text_row_New’
vlc-3.0.21/modules/codec/cea708.c:827:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:829:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:829:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:831:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:831:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:842:5: call_function: calling ‘CEA708_Window_Forward’ from ‘CEA708_Window_Write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
vlc-3.0.21/modules/codec/cea708.c:624:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
vlc-3.0.21/modules/codec/cea708.c:809:13: enter_function: entry to ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:815:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:824:7: branch_true: following ‘true’ branch (when ‘p_row’ is NULL)...
vlc-3.0.21/modules/codec/cea708.c:826:39: branch_true: ...to here
vlc-3.0.21/modules/codec/cea708.c:826:39: call_function: calling ‘cea708_text_row_New’ from ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:826:39: return_function: returning to ‘CEA708_Window_Write’ from ‘cea708_text_row_New’
vlc-3.0.21/modules/codec/cea708.c:827:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:829:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:829:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:831:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:831:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:842:5: call_function: calling ‘CEA708_Window_Forward’ from ‘CEA708_Window_Write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
vlc-3.0.21/modules/codec/cea708.c:670:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
vlc-3.0.21/modules/codec/cea708.c:809:13: enter_function: entry to ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:815:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:824:7: branch_true: following ‘true’ branch (when ‘p_row’ is NULL)...
vlc-3.0.21/modules/codec/cea708.c:826:39: branch_true: ...to here
vlc-3.0.21/modules/codec/cea708.c:826:39: call_function: calling ‘cea708_text_row_New’ from ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:826:39: return_function: returning to ‘CEA708_Window_Write’ from ‘cea708_text_row_New’
vlc-3.0.21/modules/codec/cea708.c:827:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:829:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:829:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:831:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:831:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:842:5: call_function: calling ‘CEA708_Window_Forward’ from ‘CEA708_Window_Write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
vlc-3.0.21/modules/codec/cea708.c:687:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
vlc-3.0.21/modules/codec/cea708.c:809:13: enter_function: entry to ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:815:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:824:7: branch_true: following ‘true’ branch (when ‘p_row’ is NULL)...
vlc-3.0.21/modules/codec/cea708.c:826:39: branch_true: ...to here
vlc-3.0.21/modules/codec/cea708.c:826:39: call_function: calling ‘cea708_text_row_New’ from ‘CEA708_Window_Write’
vlc-3.0.21/modules/codec/cea708.c:826:39: return_function: returning to ‘CEA708_Window_Write’ from ‘cea708_text_row_New’
vlc-3.0.21/modules/codec/cea708.c:827:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:829:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:829:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cea708.c:831:24: branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:831:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/cea708.c:842:5: call_function: calling ‘CEA708_Window_Forward’ from ‘CEA708_Window_Write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def267]
vlc-3.0.21/modules/codec/cvdsub.c:254:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*p_sys.p_spu’
vlc-3.0.21/modules/codec/cvdsub.c:223:17: enter_function: entry to ‘Reassemble’
vlc-3.0.21/modules/codec/cvdsub.c:227:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/cvdsub.c:239:9: branch_false: ...to here
vlc-3.0.21/modules/codec/cvdsub.c:252:20: call_function: calling ‘block_ChainGather’ from ‘Reassemble’
vlc-3.0.21/modules/codec/cvdsub.c:252:20: return_function: returning to ‘Reassemble’ from ‘block_ChainGather’
vlc-3.0.21/modules/codec/cvdsub.c:252:5: release_memory: ‘*p_sys.p_spu’ is NULL
vlc-3.0.21/modules/codec/cvdsub.c:254:9: danger: dereference of NULL ‘block_ChainGather(*p_sys.p_spu)’
Error: COMPILER_WARNING (CWE-758): [#def268]
vlc-3.0.21/modules/codec/fdkaac.c: scope_hint: In function ‘OpenEncoder’
vlc-3.0.21/modules/codec/fdkaac.c:296:29: warning[-Wexpansion-to-defined]: this use of ‘defined’ may not be portable
Error: COMPILER_WARNING: [#def269]
vlc-3.0.21/modules/codec/flac.c: scope_hint: In function ‘DecoderMetadataCallback’
vlc-3.0.21/modules/codec/flac.c:352:41: warning[-Wshadow=local]: declaration of ‘i’ shadows a previous local
vlc-3.0.21/modules/codec/flac.c:333:31: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def270]
vlc-3.0.21/modules/codec/flac.c:372:39: warning[-Wshadow=compatible-local]: declaration of ‘i’ shadows a previous local
vlc-3.0.21/modules/codec/flac.c:333:31: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
vlc-3.0.21/modules/codec/flac.c:898:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/flac.c:874:17: enter_function: entry to ‘Encode’
vlc-3.0.21/modules/codec/flac.c:880:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/flac.c:882:20: branch_false: ...to here
vlc-3.0.21/modules/codec/flac.c:889:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/flac.c:892:23: branch_true: ...to here
vlc-3.0.21/modules/codec/flac.c:892:13: call_function: calling ‘xrealloc’ from ‘Encode’
vlc-3.0.21/modules/codec/flac.c:892:13: return_function: returning to ‘Encode’ from ‘xrealloc’
vlc-3.0.21/modules/codec/flac.c:896:27: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/flac.c:898:41: branch_true: ...to here
vlc-3.0.21/modules/codec/flac.c:898:24: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/codec/flac.c:898:9: danger: dereference of NULL ‘*p_sys.p_buffer + (long unsigned int)i * 4’
Error: COMPILER_WARNING (CWE-477): [#def272]
vlc-3.0.21/modules/codec/fluidsynth.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/codec/fluidsynth.c:164:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_chorus_on’ is deprecated
/usr/include/fluidsynth.h:100: included_from: Included from here.
vlc-3.0.21/modules/codec/fluidsynth.c:42: included_from: Included from here.
/usr/include/fluidsynth/synth.h:208:38: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def273]
vlc-3.0.21/modules/codec/fluidsynth.c:164:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_chorus_on’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def274]
vlc-3.0.21/modules/codec/fluidsynth.c:170:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_reverb_on’ is deprecated
/usr/include/fluidsynth/synth.h:162:38: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def275]
vlc-3.0.21/modules/codec/fluidsynth.c:170:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_reverb_on’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def276]
vlc-3.0.21/modules/codec/fluidsynth.c:175:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_sample_rate’ is deprecated
/usr/include/fluidsynth/synth.h:253:38: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def277]
vlc-3.0.21/modules/codec/fluidsynth.c:175:5: warning[-Wdeprecated-declarations]: ‘fluid_synth_set_sample_rate’ is deprecated
Error: COMPILER_WARNING: [#def278]
vlc-3.0.21/modules/codec/gstreamer/gstdecode.c: scope_hint: In function ‘DecodeBlock’
vlc-3.0.21/modules/codec/gstreamer/gstdecode.c:772:20: warning[-Wshadow=compatible-local]: declaration of ‘p_buf’ shadows a previous local
vlc-3.0.21/modules/codec/gstreamer/gstdecode.c:665:16: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-843): [#def279]
vlc-3.0.21/modules/codec/gstreamer/gstvlcpictureplaneallocator.c: scope_hint: In function ‘gst_vlc_picture_plane_allocator_init’
vlc-3.0.21/modules/codec/gstreamer/gstvlcpictureplaneallocator.c:76:26: warning[-Wcast-function-type]: cast between incompatible function types from ‘gboolean (*)(GstVlcPicturePlane *)’ {aka ‘int (*)(struct _GstVlcPicturePlane *)’} to ‘void (*)(GstMemory *)’ {aka ‘void (*)(struct _GstMemory *)’}
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
vlc-3.0.21/modules/codec/jpeg.c:261:16: warning[-Wanalyzer-malloc-leak]: leak of ‘psz_rdf’
vlc-3.0.21/modules/codec/jpeg.c:309:13: enter_function: entry to ‘jpeg_FillProjection’
vlc-3.0.21/modules/codec/jpeg.c:312:32: branch_true: following ‘true’ branch (when ‘cmarker’ is non-NULL)...
vlc-3.0.21/modules/codec/jpeg.c:315:12: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:315:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:316:12: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:315:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:317:20: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:315:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:318:12: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:318:12: call_function: calling ‘jpeg_ParseXMP’ from ‘jpeg_FillProjection’
Error: COMPILER_WARNING (CWE-758): [#def281]
vlc-3.0.21/modules/codec/jpeg.c: scope_hint: In function ‘DecodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:472:16: warning[-Wclobbered]: variable ‘p_row_pointers’ might be clobbered by ‘longjmp’ or ‘vfork’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
vlc-3.0.21/modules/codec/jpeg.c:675:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + (long unsigned int)j * 8’
vlc-3.0.21/modules/codec/jpeg.c:612:17: enter_function: entry to ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:616:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:620:36: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:621:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:627:26: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:630:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:635:5: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:656:22: call_function: inlined call to ‘vlc_alloc’ from ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:657:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:662:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:664:39: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:664:29: call_function: inlined call to ‘vlc_alloc’ from ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:662:21: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:667:12: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:669:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:671:58: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:673:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:675:40: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:675:17: danger: ‘*<unknown> + (long unsigned int)j * 8’ could be NULL: unchecked value from [(19)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
vlc-3.0.21/modules/codec/jpeg.c:688:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/codec/jpeg.c:612:17: enter_function: entry to ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:616:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:620:36: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:621:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:627:26: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:630:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:635:5: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:656:22: call_function: inlined call to ‘vlc_alloc’ from ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:657:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:662:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/jpeg.c:664:39: branch_true: ...to here
vlc-3.0.21/modules/codec/jpeg.c:664:29: call_function: inlined call to ‘vlc_alloc’ from ‘EncodeBlock’
vlc-3.0.21/modules/codec/jpeg.c:662:21: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:667:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:681:5: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:684:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/jpeg.c:688:5: branch_false: ...to here
vlc-3.0.21/modules/codec/jpeg.c:688:5: danger: ‘<unknown>’ leaks here; was allocated at [(19)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/18)
Error: COMPILER_WARNING: [#def284]
vlc-3.0.21/modules/codec/kate.c: scope_hint: In function ‘OpenDecoder’
vlc-3.0.21/modules/codec/kate.c:56:13: warning[-Wshadow=compatible-local]: declaration of ‘i_ret’ shadows a previous local
vlc-3.0.21/modules/codec/kate.c:404:13: note: in expansion of macro ‘CHECK_TIGER_RET’
vlc-3.0.21/modules/codec/kate.c:396:13: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def285]
vlc-3.0.21/modules/codec/kate.c:744:31: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘copy’ where non-null expected
vlc-3.0.21/modules/codec/kate.c:724:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:730:13: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:730:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:740:9: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:743:30: acquire_memory: this call could return NULL
vlc-3.0.21/modules/codec/kate.c:744:31: danger: argument 1 (‘copy’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def286]
vlc-3.0.21/modules/codec/kate.c:1095:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_spu_sys’
vlc-3.0.21/modules/codec/kate.c:1034:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/kate.c:1040:13: branch_true: ...to here
vlc-3.0.21/modules/codec/kate.c:1041:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:1047:13: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1048:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:1053:7: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1053:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:1063:9: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1063:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:1069:26: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1069:26: release_memory: ‘p_spu_sys’ is NULL
vlc-3.0.21/modules/codec/kate.c:1077:13: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1078:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/kate.c:1086:22: branch_false: ...to here
vlc-3.0.21/modules/codec/kate.c:1093:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/kate.c:1095:9: branch_true: ...to here
vlc-3.0.21/modules/codec/kate.c:1095:9: danger: dereference of NULL ‘p_spu_sys’
Error: COMPILER_WARNING (CWE-477): [#def287]
vlc-3.0.21/modules/codec/libass.c: scope_hint: In function ‘SubpictureValidate’
vlc-3.0.21/modules/codec/libass.c:451:9: warning[-Wdeprecated-declarations]: ‘ass_set_aspect_ratio’ is deprecated: use 'ass_set_pixel_aspect' instead
vlc-3.0.21/modules/codec/libass.c:44: included_from: Included from here.
/usr/include/ass/ass.h:489:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def288]
vlc-3.0.21/modules/codec/libass.c:451:9: warning[-Wdeprecated-declarations]: ‘ass_set_aspect_ratio’ is deprecated: use 'ass_set_pixel_aspect' instead
Error: GCC_ANALYZER_WARNING (CWE-457): [#def289]
vlc-3.0.21/modules/codec/lpcm.c:421:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p_aob_group[0].i_bits’
vlc-3.0.21/modules/codec/lpcm.c:503:12: enter_function: entry to ‘DecodeFrame’
vlc-3.0.21/modules/codec/lpcm.c:505:22: call_function: calling ‘Packetize’ from ‘DecodeFrame’
Error: COMPILER_WARNING: [#def290]
vlc-3.0.21/modules/codec/oggspots.c: scope_hint: In function ‘ProcessHeader’
vlc-3.0.21/modules/codec/oggspots.c:270:15: warning[-Wshadow=local]: declaration of ‘p_extra’ shadows a previous local
vlc-3.0.21/modules/codec/oggspots.c:200:20: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-252): [#def291]
vlc-3.0.21/modules/codec/oggspots.c:385:5: warning[-Wunused-result]: ignoring return value of ‘decoder_UpdateVideoFormat’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def292]
vlc-3.0.21/modules/codec/oggspots.c: scope_hint: In function ‘DecodePacket’
vlc-3.0.21/modules/codec/oggspots.c:385:5: warning[-Wunused-result]: ignoring return value of ‘decoder_UpdateVideoFormat’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING: [#def293]
vlc-3.0.21/modules/codec/png.c: scope_hint: In function ‘user_write’
vlc-3.0.21/modules/codec/png.c:163:49: warning[-Wformat-truncation=]: ‘%zu’ directive output may be truncated writing between 1 and 20 bytes into a region of size between 18 and 37
vlc-3.0.21/modules/codec/png.c:163:19: note: directive argument in the range [1, 18446744073709551615]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 43 and 81 bytes into a destination of size 64
Error: COMPILER_WARNING: [#def294]
vlc-3.0.21/modules/codec/qsv.c:154:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def295]
vlc-3.0.21/modules/codec/qsv.c:160:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def296]
vlc-3.0.21/modules/codec/qsv.c:166:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def297]
vlc-3.0.21/modules/codec/qsv.c:172:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def298]
vlc-3.0.21/modules/codec/qsv.c:178:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def299]
vlc-3.0.21/modules/codec/qsv.c:184:18: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def300]
vlc-3.0.21/modules/codec/qsv.c:377:48: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING (CWE-477): [#def301]
vlc-3.0.21/modules/codec/qsv.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/codec/qsv.c:428:5: warning[-Wdeprecated-declarations]: ‘MFXInit’ is deprecated
/usr/include/vpl/mfxvideo.h:9: included_from: Included from here.
vlc-3.0.21/modules/codec/qsv.c:36: included_from: Included from here.
/usr/include/vpl/mfxsession.h:56:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def302]
vlc-3.0.21/modules/codec/qsv.c:428:5: warning[-Wdeprecated-declarations]: ‘MFXInit’ is deprecated
Error: COMPILER_WARNING: [#def303]
vlc-3.0.21/include/vlc_common.h:1034: included_from: Included from here.
vlc-3.0.21/modules/codec/qsv.c:502:18: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
vlc-3.0.21/modules/codec/qsv.c:502:34: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
vlc-3.0.21/modules/codec/schroedinger.c:689:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_free’
vlc-3.0.21/modules/codec/schroedinger.c:658:20: enter_function: entry to ‘CreateSchroFrameFromPic’
vlc-3.0.21/modules/codec/schroedinger.c:665:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/schroedinger.c:668:9: branch_false: ...to here
vlc-3.0.21/modules/codec/schroedinger.c:668:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/schroedinger.c:670:13: call_function: inlined call to ‘decoder_NewPicture’ from ‘CreateSchroFrameFromPic’
vlc-3.0.21/modules/codec/schroedinger.c:672:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/schroedinger.c:675:5: branch_false: ...to here
vlc-3.0.21/modules/codec/schroedinger.c:688:14: acquire_memory: this call could return NULL
vlc-3.0.21/modules/codec/schroedinger.c:689:5: danger: ‘p_free’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def305]
vlc-3.0.21/modules/codec/speex.c:1076:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_extra’
vlc-3.0.21/modules/codec/speex.c:968:12: enter_function: entry to ‘OpenEncoder’
vlc-3.0.21/modules/codec/speex.c:1002:7: branch_false: following ‘false’ branch (when ‘p_sys’ is non-NULL)...
vlc-3.0.21/modules/codec/speex.c:1004:5: branch_false: ...to here
vlc-3.0.21/modules/codec/speex.c:1065:23: call_function: calling ‘xmalloc’ from ‘OpenEncoder’
vlc-3.0.21/modules/codec/speex.c:1065:23: return_function: returning to ‘OpenEncoder’ from ‘xmalloc’
vlc-3.0.21/modules/codec/speex.c:1073:40: call_function: calling ‘xmalloc’ from ‘OpenEncoder’
vlc-3.0.21/modules/codec/speex.c:1073:40: return_function: returning to ‘OpenEncoder’ from ‘xmalloc’
vlc-3.0.21/modules/codec/speex.c:1074:17: branch_true: following ‘true’ branch (when ‘i != 2’)...
vlc-3.0.21/modules/codec/speex.c:1076:24: branch_true: ...to here
vlc-3.0.21/modules/codec/speex.c:1076:9: danger: ‘p_extra’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def306]
vlc-3.0.21/modules/codec/spudec/spudec.c:88:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/codec/spudec/spudec.c:83:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/spudec/spudec.c:86:28: branch_false: ...to here
vlc-3.0.21/modules/codec/spudec/spudec.c:86:28: acquire_memory: this call could return NULL
vlc-3.0.21/modules/codec/spudec/spudec.c:88:5: danger: ‘p_sys’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
vlc-3.0.21/modules/codec/stl.c:481:8: warning[-Wanalyzer-malloc-leak]: leak of ‘sys’
vlc-3.0.21/modules/codec/stl.c:473:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/stl.c:476:26: branch_false: ...to here
vlc-3.0.21/modules/codec/stl.c:476:26: acquire_memory: allocated here
vlc-3.0.21/modules/codec/stl.c:477:8: branch_false: following ‘false’ branch (when ‘sys’ is non-NULL)...
vlc-3.0.21/modules/codec/stl.c:480:14: branch_false: ...to here
vlc-3.0.21/modules/codec/stl.c:481:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/codec/stl.c:481:8: danger: ‘sys’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
vlc-3.0.21/modules/codec/subsdec.c:490:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_segment’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
vlc-3.0.21/modules/codec/subsdec.c:500:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_segment’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
vlc-3.0.21/modules/codec/subsdec.c:777:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
vlc-3.0.21/modules/codec/subsdec.c:783:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
vlc-3.0.21/modules/codec/subsdec.c:789:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
vlc-3.0.21/modules/codec/subsdec.c:795:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: COMPILER_WARNING: [#def314]
vlc-3.0.21/modules/codec/subsdec.c: scope_hint: In function ‘ParseSubtitles’
vlc-3.0.21/modules/codec/subsdec.c:901:23: warning[-Wshadow=compatible-local]: declaration of ‘psz_tagname’ shadows a previous local
vlc-3.0.21/modules/codec/subsdec.c:763:19: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
vlc-3.0.21/modules/codec/subsdec.c:988:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
vlc-3.0.21/modules/codec/subsdec.c:995:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
vlc-3.0.21/modules/codec/subsdec.c:1002:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
vlc-3.0.21/modules/codec/subsdec.c:1017:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
vlc-3.0.21/modules/codec/subsdec.c:1023:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
vlc-3.0.21/modules/codec/subsdec.c:1032:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/subsdec.c:323:12: enter_function: entry to ‘DecodeBlock’
vlc-3.0.21/modules/codec/subsdec.c:336:13: call_function: calling ‘ParseText’ from ‘DecodeBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
vlc-3.0.21/modules/codec/substext.h:78:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sys’
vlc-3.0.21/modules/codec/substext.h:287:37: acquire_memory: this call could return NULL
vlc-3.0.21/modules/codec/substext.h:294:5: call_function: inlined call to ‘SubpictureUpdaterSysRegionInit’ from ‘decoder_NewSubpictureText’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def322]
vlc-3.0.21/modules/codec/substx3g.c:229:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_segment_left’
vlc-3.0.21/modules/codec/substx3g.c:308:12: enter_function: entry to ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:312:7: branch_false: following ‘false’ branch (when ‘p_block’ is non-NULL)...
vlc-3.0.21/modules/codec/substx3g.c:315:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:315:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:316:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:315:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:322:14: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:326:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:332:20: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:345:12: branch_false: following ‘false’ branch (when ‘psz_subtitle’ is non-NULL)...
vlc-3.0.21/modules/codec/substx3g.c:348:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:353:35: call_function: calling ‘tx3g_segment_New’ from ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:353:35: return_function: returning to ‘Decode’ from ‘tx3g_segment_New’
vlc-3.0.21/modules/codec/substx3g.c:354:27: call_function: inlined call to ‘str8len’ from ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:354:5: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:357:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:365:13: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:365:13: call_function: calling ‘decoder_NewSubpictureText’ from ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:365:13: return_function: returning to ‘Decode’ from ‘decoder_NewSubpictureText’
vlc-3.0.21/modules/codec/substx3g.c:366:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:372:31: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:378:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/substx3g.c:380:17: branch_true: ...to here
vlc-3.0.21/modules/codec/substx3g.c:380:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/substx3g.c:383:9: branch_true: ...to here
vlc-3.0.21/modules/codec/substx3g.c:385:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:388:36: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:392:20: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/substx3g.c:396:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/substx3g.c:398:29: branch_true: ...to here
vlc-3.0.21/modules/codec/substx3g.c:401:23: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/substx3g.c:403:69: branch_true: ...to here
vlc-3.0.21/modules/codec/substx3g.c:409:25: call_function: calling ‘ApplySegmentStyle’ from ‘Decode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
vlc-3.0.21/modules/codec/substx3g.c:354:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/codec/substx3g.c:308:12: enter_function: entry to ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:312:7: branch_false: following ‘false’ branch (when ‘p_block’ is non-NULL)...
vlc-3.0.21/modules/codec/substx3g.c:315:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:315:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:316:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:315:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:322:14: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:326:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/substx3g.c:332:20: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:345:12: branch_false: following ‘false’ branch (when ‘psz_subtitle’ is non-NULL)...
vlc-3.0.21/modules/codec/substx3g.c:348:11: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:353:21: release_memory: ‘p_segment3g’ is NULL
vlc-3.0.21/modules/codec/substx3g.c:354:27: call_function: inlined call to ‘str8len’ from ‘Decode’
vlc-3.0.21/modules/codec/substx3g.c:354:5: branch_false: ...to here
vlc-3.0.21/modules/codec/substx3g.c:354:5: danger: dereference of NULL ‘tx3g_segment_New(psz_subtitle)’
Error: COMPILER_WARNING (CWE-477): [#def324]
vlc-3.0.21/modules/codec/svg.c: scope_hint: In function ‘DecodeBlock’
vlc-3.0.21/modules/codec/svg.c:148:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
vlc-3.0.21/modules/codec/svg.c:39: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def325]
vlc-3.0.21/modules/codec/svg.c:148:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
Error: COMPILER_WARNING (CWE-477): [#def326]
vlc-3.0.21/modules/codec/svg.c:240:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
/usr/include/librsvg-2.0/librsvg/rsvg.h:1329: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def327]
vlc-3.0.21/modules/codec/svg.c:240:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
vlc-3.0.21/modules/codec/textst.c:225:1: warning[-Wanalyzer-malloc-leak]: leak of ‘p_region’
vlc-3.0.21/modules/codec/textst.c:227:12: enter_function: entry to ‘Decode’
vlc-3.0.21/modules/codec/textst.c:230:8: branch_false: following ‘false’ branch (when ‘p_block’ is non-NULL)...
vlc-3.0.21/modules/codec/textst.c:233:9: branch_false: ...to here
vlc-3.0.21/modules/codec/textst.c:233:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/textst.c:234:10: branch_true: ...to here
vlc-3.0.21/modules/codec/textst.c:233:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/textst.c:235:18: branch_true: ...to here
vlc-3.0.21/modules/codec/textst.c:235:18: call_function: calling ‘decoder_NewSubpictureText’ from ‘Decode’
vlc-3.0.21/modules/codec/textst.c:235:18: return_function: returning to ‘Decode’ from ‘decoder_NewSubpictureText’
vlc-3.0.21/modules/codec/textst.c:233:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/textst.c:237:38: branch_true: ...to here
vlc-3.0.21/modules/codec/textst.c:247:9: call_function: calling ‘textst_FillRegions’ from ‘Decode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def329]
vlc-3.0.21/modules/codec/ttml/ttml.h:119:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t1’
vlc-3.0.21/modules/codec/ttml/ttml.c:487:6: enter_function: entry to ‘tt_timings_Resolve’
vlc-3.0.21/modules/codec/ttml/ttml.c:491:13: branch_true: following ‘true’ branch (when ‘p_child’ is non-NULL)...
vlc-3.0.21/modules/codec/ttml/ttml.c:493:13: branch_true: ...to here
vlc-3.0.21/modules/codec/ttml/ttml.c:493:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/ttml/ttml.c:497:13: branch_false: ...to here
vlc-3.0.21/modules/codec/ttml/ttml.c:507:13: call_function: calling ‘tt_timings_MergeParallel’ from ‘tt_timings_Resolve’
vlc-3.0.21/modules/codec/ttml/ttml.c:507:13: return_function: returning to ‘tt_timings_Resolve’ from ‘tt_timings_MergeParallel’
vlc-3.0.21/modules/codec/ttml/ttml.c:510:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/ttml/ttml.c:511:13: branch_true: ...to here
vlc-3.0.21/modules/codec/ttml/ttml.c:511:13: call_function: calling ‘tt_bsearch_Insert’ from ‘tt_timings_Resolve’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def330]
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1630:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1588:6: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1594:28: branch_true: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1617:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1619:7: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1628:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1630:9: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1630:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def331]
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1757:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1588:6: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1652:6: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1652:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1655:3: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1667:6: branch_true: following ‘true’ branch (when ‘yyn == -126’)...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1668:5: branch_true: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1737:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1739:3: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSGrammar.c:1757:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2466:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2452:21: enter_function: entry to ‘yy_create_buffer’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2456:31: call_function: inlined call to ‘yyalloc’ from ‘yy_create_buffer’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2457:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2460:9: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2466:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def333]
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2508:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2387:10: enter_function: entry to ‘yyrestart’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2392:9: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2392:9: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2394:13: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2394:13: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2397:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2397:9: branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2397:9: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2726:32: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2710:17: enter_function: entry to ‘yy_scan_bytes’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2719:24: call_function: inlined call to ‘yyalloc’ from ‘yy_scan_bytes’
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2720:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/codec/webvtt/CSSLexer.c:2728:13: call_function: calling ‘yy_scan_buffer’ from ‘yy_scan_bytes’
Error: COMPILER_WARNING (CWE-192): [#def335]
vlc-3.0.21/modules/codec/webvtt/webvtt.c: scope_hint: In function ‘forward_line’
vlc-3.0.21/modules/codec/webvtt/webvtt.c:150:33: warning[-Wenum-conversion]: implicit conversion from ‘enum <anonymous>’ to ‘enum webvtt_header_line_e’
Error: COMPILER_WARNING: [#def336]
vlc-3.0.21/modules/codec/zvbi.c: scope_hint: In function ‘OpaquePage’
vlc-3.0.21/modules/codec/zvbi.c:673:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/codec/zvbi.c:676:13: note: here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def337]
vlc-3.0.21/modules/control/dbus/dbus.c:579:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
vlc-3.0.21/modules/control/dbus/dbus.c:841:14: enter_function: entry to ‘Run’
vlc-3.0.21/modules/control/dbus/dbus.c:908:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:910:30: branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:911:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:917:27: call_function: inlined call to ‘vlc_alloc’ from ‘Run’
vlc-3.0.21/modules/control/dbus/dbus.c:918:19: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:920:40: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:922:21: call_function: inlined call to ‘vlc_array_clear’ from ‘Run’
vlc-3.0.21/modules/control/dbus/dbus.c:938:11: branch_true: following ‘true’ branch (when ‘pp_info’ is non-NULL)...
vlc-3.0.21/modules/control/dbus/dbus.c:940:13: branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:940:13: call_function: calling ‘ProcessEvents’ from ‘Run’
Error: COMPILER_WARNING (CWE-252): [#def338]
vlc-3.0.21/modules/control/dbus/dbus.c: scope_hint: In function ‘Run’
vlc-3.0.21/modules/control/dbus/dbus.c:880:19: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
vlc-3.0.21/modules/control/dbus/dbus.c:959:1: warning[-Wanalyzer-malloc-leak]: leak of ‘p_info’
vlc-3.0.21/modules/control/dbus/dbus.c:991:12: enter_function: entry to ‘InputCallback’
vlc-3.0.21/modules/control/dbus/dbus.c:1000:31: acquire_memory: allocated here
vlc-3.0.21/modules/control/dbus/dbus.c:1001:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:1004:13: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:1067:7: branch_false: following ‘false’ branch (when ‘i_state == -1’)...
vlc-3.0.21/modules/control/dbus/dbus.c:1073:18: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:1073:18: call_function: calling ‘add_event_locked’ from ‘InputCallback’
vlc-3.0.21/modules/control/dbus/dbus.c:1073:18: return_function: returning to ‘InputCallback’ from ‘add_event_locked’
vlc-3.0.21/modules/control/dbus/dbus.c:1076:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:1077:9: branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:959:1: danger: ‘p_info’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
vlc-3.0.21/modules/control/dbus/dbus.c:1136:16: warning[-Wanalyzer-malloc-leak]: leak of ‘p_info’
vlc-3.0.21/modules/control/dbus/dbus.c:1085:12: enter_function: entry to ‘AllCallback’
vlc-3.0.21/modules/control/dbus/dbus.c:1135:7: branch_false: following ‘false’ branch (when ‘<unknown> != 0’)...
vlc-3.0.21/modules/control/dbus/dbus.c:1138:31: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:1138:31: acquire_memory: allocated here
vlc-3.0.21/modules/control/dbus/dbus.c:1139:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:1143:5: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:1145:18: call_function: calling ‘add_event_locked’ from ‘AllCallback’
vlc-3.0.21/modules/control/dbus/dbus.c:1145:18: return_function: returning to ‘AllCallback’ from ‘add_event_locked’
vlc-3.0.21/modules/control/dbus/dbus.c:1148:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/dbus/dbus.c:1149:9: branch_true: ...to here
vlc-3.0.21/modules/control/dbus/dbus.c:1136:16: danger: ‘p_info’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
vlc-3.0.21/modules/control/dbus/dbus_player.c:834:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/control/dbus/dbus_player.c:790:1: enter_function: entry to ‘PropertiesChangedSignal’
vlc-3.0.21/modules/control/dbus/dbus_player.c:798:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus_player.c:802:5: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus_player.c:803:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus_player.c:805:10: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus_player.c:805:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus_player.c:809:23: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus_player.c:809:23: call_function: calling ‘vlc_dictionary_all_keys’ from ‘PropertiesChangedSignal’
vlc-3.0.21/modules/control/dbus/dbus_player.c:809:23: return_function: returning to ‘PropertiesChangedSignal’ from ‘vlc_dictionary_all_keys’
vlc-3.0.21/modules/control/dbus/dbus_player.c:811:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus_player.c:817:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/dbus/dbus_player.c:834:5: branch_false: ...to here
vlc-3.0.21/modules/control/dbus/dbus_player.c:834:5: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/17)
Error: COMPILER_WARNING (CWE-563): [#def342]
vlc-3.0.21/modules/control/gestures.c: scope_hint: In function ‘PlaylistEvent’
vlc-3.0.21/modules/control/gestures.c:502:39: warning[-Wunused-parameter]: unused parameter ‘oldval’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def343]
vlc-3.0.21/modules/control/hotkeys.c:1428:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
vlc-3.0.21/modules/control/hotkeys.c:1416:13: enter_function: entry to ‘PlayBookmark’
vlc-3.0.21/modules/control/hotkeys.c:1419:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/hotkeys.c:1422:30: call_function: inlined call to ‘pl_Get’ from ‘PlayBookmark’
vlc-3.0.21/modules/control/hotkeys.c:1423:26: call_function: calling ‘var_CreateGetString’ from ‘PlayBookmark’
vlc-3.0.21/modules/control/hotkeys.c:1423:26: return_function: returning to ‘PlayBookmark’ from ‘var_CreateGetString’
vlc-3.0.21/modules/control/hotkeys.c:1426:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/hotkeys.c:1426:5: branch_true: ...to here
vlc-3.0.21/modules/control/hotkeys.c:1428:14: danger: argument 1 (‘var_CreateGetString(&*p_intf.obj, psz_bookmark_name)’) NULL where non-null expected
Error: COMPILER_WARNING: [#def344]
vlc-3.0.21/modules/control/motion.c: scope_hint: In function ‘RunIntf’
vlc-3.0.21/modules/control/motion.c:139:2: warning[-Wcpp]: #warning FIXME: check once (or less) per picture, not once per interval
Error: COMPILER_WARNING: [#def345]
vlc-3.0.21/modules/control/motion.c:139:2: warning[-Wcpp]: #warning FIXME: check once (or less) per picture, not once per interval
Error: COMPILER_WARNING: [#def346]
vlc-3.0.21/modules/control/motion.c:164:2: warning[-Wcpp]: #warning FIXME: refactor this plugin as a video filter!
Error: COMPILER_WARNING: [#def347]
vlc-3.0.21/modules/control/motion.c:164:2: warning[-Wcpp]: #warning FIXME: refactor this plugin as a video filter!
Error: COMPILER_WARNING (CWE-563): [#def348]
vlc-3.0.21/modules/control/netsync.c: scope_hint: In function ‘PlaylistEvent’
vlc-3.0.21/modules/control/netsync.c:277:38: warning[-Wunused-parameter]: unused parameter ‘oldval’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def349]
vlc-3.0.21/modules/control/oldrc.c:1609:23: warning[-Wanalyzer-null-argument]: use of NULL ‘psz_value’ where non-null expected
vlc-3.0.21/modules/control/oldrc.c:1503:12: enter_function: entry to ‘VideoConfig’
vlc-3.0.21/modules/control/oldrc.c:1514:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/oldrc.c:1517:14: branch_false: ...to here
vlc-3.0.21/modules/control/oldrc.c:1517:14: call_function: calling ‘input_GetVout’ from ‘VideoConfig’
vlc-3.0.21/modules/control/oldrc.c:1517:14: return_function: returning to ‘VideoConfig’ from ‘input_GetVout’
vlc-3.0.21/modules/control/oldrc.c:1519:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/oldrc.c:1522:10: branch_false: ...to here
vlc-3.0.21/modules/control/oldrc.c:1555:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
vlc-3.0.21/modules/control/oldrc.c:1567:14: branch_false: ...to here
vlc-3.0.21/modules/control/oldrc.c:1567:11: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/control/oldrc.c:1568:23: branch_true: ...to here
vlc-3.0.21/modules/control/oldrc.c:1579:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/control/oldrc.c:1588:9: branch_false: ...to here
vlc-3.0.21/modules/control/oldrc.c:1593:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
branch_false: ...to here
vlc-3.0.21/modules/control/oldrc.c:1607:30: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/control/oldrc.c:1609:42: branch_true: ...to here
vlc-3.0.21/modules/control/oldrc.c:1609:23: danger: argument 1 (‘psz_value’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-909): [#def350]
vlc-3.0.21/modules/demux/adaptive/PlaylistManager.cpp:322: error[uninitStructMember]: Uninitialized struct member: pos.number
Error: CPPCHECK_WARNING (CWE-909): [#def351]
vlc-3.0.21/modules/demux/adaptive/PlaylistManager.cpp:322: error[uninitStructMember]: Uninitialized struct member: pos.pos
Error: CPPCHECK_WARNING (CWE-457): [#def352]
vlc-3.0.21/modules/demux/adaptive/PlaylistManager.cpp:322: error[uninitvar]: Uninitialized variables: pos.number, pos.pos
Error: COMPILER_WARNING: [#def353]
vlc-3.0.21/modules/demux/adaptive/logic/RateBasedAdaptationLogic.h:29: included_from: Included from here.
vlc-3.0.21/modules/demux/adaptive/PlaylistManager.cpp:35: included_from: Included from here.
vlc-3.0.21/modules/demux/adaptive/tools/MovingAverage.hpp:32:33: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
vlc-3.0.21/modules/demux/adaptive/tools/MovingAverage.hpp:32:33: note: remove the ‘< >’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def354]
vlc-3.0.21/modules/demux/asf/asf.c:910:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_access_selected’
vlc-3.0.21/modules/demux/asf/asf.c:191:12: enter_function: entry to ‘Demux’
vlc-3.0.21/modules/demux/asf/asf.c:195:19: branch_true: following ‘true’ branch (when ‘i != 5’)...
vlc-3.0.21/modules/demux/asf/asf.c:197:14: branch_true: ...to here
vlc-3.0.21/modules/demux/asf/asf.c:206:19: branch_true: following ‘true’ branch (when ‘i != 128’)...
vlc-3.0.21/modules/demux/asf/asf.c:208:22: branch_true: ...to here
vlc-3.0.21/modules/demux/asf/asf.c:250:23: call_function: calling ‘Block_Dequeue’ from ‘Demux’
vlc-3.0.21/modules/demux/asf/asf.c:250:23: return_function: returning to ‘Demux’ from ‘Block_Dequeue’
vlc-3.0.21/modules/demux/asf/asf.c:262:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/asf/asf.c:262:25: branch_false: ...to here
vlc-3.0.21/modules/demux/asf/asf.c:262:14: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/asf/asf.c:264:17: branch_true: ...to here
vlc-3.0.21/modules/demux/asf/asf.c:268:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/asf/asf.c:270:17: branch_false: ...to here
vlc-3.0.21/modules/demux/asf/asf.c:270:17: call_function: calling ‘DemuxEnd’ from ‘Demux’
vlc-3.0.21/modules/demux/asf/asf.c:270:17: return_function: returning to ‘Demux’ from ‘DemuxEnd’
vlc-3.0.21/modules/demux/asf/asf.c:273:21: call_function: calling ‘DemuxInit’ from ‘Demux’
Error: COMPILER_WARNING: [#def355]
vlc-3.0.21/modules/demux/asf/libasf.c: scope_hint: In function ‘ASF_ReadObject_extended_content_description’
vlc-3.0.21/modules/demux/asf/libasf.c:1284:41: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: COMPILER_WARNING (CWE-477): [#def356]
vlc-3.0.21/modules/demux/avformat/demux.c: scope_hint: In function ‘get_rotation’
vlc-3.0.21/modules/demux/avformat/demux.c:140:5: warning[-Wdeprecated-declarations]: ‘av_stream_get_side_data’ is deprecated
vlc-3.0.21/modules/codec/avcodec/avcommon_compat.h:134: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/avcommon.h:38: included_from: Included from here.
vlc-3.0.21/modules/codec/avcodec/avcodec.h:25: included_from: Included from here.
vlc-3.0.21/modules/demux/avformat/demux.c:41: included_from: Included from here.
/usr/include/ffmpeg/libavformat/avformat.h:2170:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def357]
vlc-3.0.21/modules/demux/avformat/demux.c:140:5: warning[-Wdeprecated-declarations]: ‘av_stream_get_side_data’ is deprecated
Error: COMPILER_WARNING: [#def358]
vlc-3.0.21/modules/demux/avformat/demux.c: scope_hint: In function ‘avformat_OpenDemux’
vlc-3.0.21/modules/demux/avformat/demux.c:454:3: warning[-Wcpp]: #warning FIXME: implement palette transmission
Error: COMPILER_WARNING: [#def359]
vlc-3.0.21/modules/demux/avformat/demux.c:454:3: warning[-Wcpp]: #warning FIXME: implement palette transmission
Error: COMPILER_WARNING: [#def360]
vlc-3.0.21/modules/demux/avformat/demux.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/demux/avformat/demux.c:1102:40: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (11 chars into 10 available)
Error: COMPILER_WARNING (CWE-252): [#def361]
vlc-3.0.21/modules/demux/avi/avi.c:1309:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def362]
vlc-3.0.21/modules/demux/avi/avi.c: scope_hint: In function ‘Demux_Seekable’
vlc-3.0.21/modules/demux/avi/avi.c:1309:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def363]
vlc-3.0.21/modules/demux/avi/avi.c:1317:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def364]
vlc-3.0.21/modules/demux/avi/avi.c:1317:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def365]
vlc-3.0.21/modules/demux/avi/avi.c:1390:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def366]
vlc-3.0.21/modules/demux/avi/avi.c:1390:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def367]
vlc-3.0.21/modules/demux/avi/avi.c:1662:21: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def368]
vlc-3.0.21/modules/demux/avi/avi.c: scope_hint: In function ‘Seek’
vlc-3.0.21/modules/demux/avi/avi.c:1662:21: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def369]
vlc-3.0.21/modules/demux/avi/avi.c:1777:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def370]
vlc-3.0.21/modules/demux/avi/avi.c:1777:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def371]
vlc-3.0.21/modules/demux/avi/avi.c:2014:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def372]
vlc-3.0.21/modules/demux/avi/avi.c: scope_hint: In function ‘AVI_StreamChunkFind’
vlc-3.0.21/modules/demux/avi/avi.c:2014:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def373]
vlc-3.0.21/modules/demux/avi/avi.c:2022:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def374]
vlc-3.0.21/modules/demux/avi/avi.c:2022:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def375]
vlc-3.0.21/modules/demux/avi/avi.c:2818:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def376]
vlc-3.0.21/modules/demux/avi/avi.c: scope_hint: In function ‘AVI_IndexCreate’
vlc-3.0.21/modules/demux/avi/avi.c:2818:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
vlc-3.0.21/modules/demux/caf.c:730:9: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_demux.p_sys.fmt.p_extra’
vlc-3.0.21/modules/demux/caf.c:699:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/caf.c:705:9: branch_false: ...to here
vlc-3.0.21/modules/demux/caf.c:705:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/caf.c:711:9: branch_false: ...to here
vlc-3.0.21/modules/demux/caf.c:711:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/caf.c:716:12: branch_false: ...to here
vlc-3.0.21/modules/demux/caf.c:716:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/caf.c:723:30: branch_false: ...to here
vlc-3.0.21/modules/demux/caf.c:724:30: acquire_memory: allocated here
vlc-3.0.21/modules/demux/caf.c:726:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/caf.c:730:9: branch_false: ...to here
vlc-3.0.21/modules/demux/caf.c:730:9: danger: ‘**p_demux.p_sys.fmt.p_extra’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-909): [#def378]
vlc-3.0.21/modules/demux/dash/mp4/IndexReader.cpp:55: error[uninitStructMember]: Uninitialized struct member: point.duration
Error: COMPILER_WARNING (CWE-563): [#def379]
vlc-3.0.21/modules/demux/flac.c: scope_hint: In function ‘GetPacketizedBlock’
vlc-3.0.21/modules/demux/flac.c:231:17: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
vlc-3.0.21/modules/demux/flac.c:806:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.seekpoint’
vlc-3.0.21/modules/demux/flac.c:666:13: enter_function: entry to ‘ParseHeaders’
vlc-3.0.21/modules/demux/flac.c:674:27: call_function: calling ‘xmalloc’ from ‘ParseHeaders’
vlc-3.0.21/modules/demux/flac.c:674:27: return_function: returning to ‘ParseHeaders’ from ‘xmalloc’
vlc-3.0.21/modules/demux/flac.c:677:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/flac.c:677:5: branch_false: ...to here
vlc-3.0.21/modules/demux/flac.c:680:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/flac.c:683:9: branch_false: ...to here
vlc-3.0.21/modules/demux/flac.c:683:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/flac.c:687:12: branch_false: following ‘false’ branch (when ‘b_last == 0’)...
vlc-3.0.21/modules/demux/flac.c:692:18: branch_false: ...to here
vlc-3.0.21/modules/demux/flac.c:693:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/flac.c:695:18: branch_false: ...to here
vlc-3.0.21/modules/demux/flac.c:737:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/flac.c:739:60: branch_true: ...to here
vlc-3.0.21/modules/demux/flac.c:740:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/flac.c:741:17: branch_true: ...to here
vlc-3.0.21/modules/demux/flac.c:741:17: call_function: calling ‘ParseSeekTable’ from ‘ParseHeaders’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
vlc-3.0.21/modules/demux/gme.c:143:10: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_input_title_New()’
vlc-3.0.21/modules/demux/gme.c:70:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/demux/gme.c:75:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:77:9: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:77:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:82:9: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:82:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:85:24: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:86:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:88:5: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:100:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:103:16: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:104:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:109:8: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:109:8: branch_false: following ‘false’ branch (when ‘data’ is NULL)...
vlc-3.0.21/modules/demux/gme.c:116:56: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:137:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:139:5: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:140:26: branch_true: following ‘true’ branch (when ‘n > i’)...
vlc-3.0.21/modules/demux/gme.c:142:33: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:142:33: call_function: calling ‘vlc_input_title_New’ from ‘Open’
vlc-3.0.21/modules/demux/gme.c:142:33: return_function: returning to ‘Open’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/demux/gme.c:144:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:148:14: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:148:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/gme.c:148:13: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:140:26: branch_true: following ‘true’ branch (when ‘n > i’)...
vlc-3.0.21/modules/demux/gme.c:142:33: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:142:33: call_function: calling ‘vlc_input_title_New’ from ‘Open’
vlc-3.0.21/modules/demux/gme.c:142:33: return_function: returning to ‘Open’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/demux/gme.c:144:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:148:14: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:143:10: danger: ‘vlc_input_title_New()’ leaks here; was allocated at [(33)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
vlc-3.0.21/modules/demux/gme.c:154:14: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*infos.song)’
vlc-3.0.21/modules/demux/gme.c:70:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/demux/gme.c:75:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:77:9: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:77:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:82:9: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:82:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:85:24: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:86:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:88:5: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:100:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:103:16: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:104:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:109:8: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:109:8: branch_false: following ‘false’ branch (when ‘data’ is NULL)...
vlc-3.0.21/modules/demux/gme.c:116:56: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:137:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:139:5: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:140:26: branch_true: following ‘true’ branch (when ‘n > i’)...
vlc-3.0.21/modules/demux/gme.c:142:33: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:142:33: call_function: calling ‘vlc_input_title_New’ from ‘Open’
vlc-3.0.21/modules/demux/gme.c:142:33: return_function: returning to ‘Open’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/demux/gme.c:144:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:148:14: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:148:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/gme.c:148:13: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:140:26: branch_true: following ‘true’ branch (when ‘n > i’)...
vlc-3.0.21/modules/demux/gme.c:142:33: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:142:33: call_function: calling ‘vlc_input_title_New’ from ‘Open’
vlc-3.0.21/modules/demux/gme.c:142:33: return_function: returning to ‘Open’ from ‘vlc_input_title_New’
vlc-3.0.21/modules/demux/gme.c:144:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:148:14: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:148:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/gme.c:150:10: branch_false: ...to here
vlc-3.0.21/modules/demux/gme.c:153:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/gme.c:154:32: branch_true: ...to here
vlc-3.0.21/modules/demux/gme.c:154:32: acquire_memory: allocated here
vlc-3.0.21/modules/demux/gme.c:154:14: danger: ‘strdup(*infos.song)’ leaks here; was allocated at [(42)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/41)
Error: COMPILER_WARNING (CWE-252): [#def383]
vlc-3.0.21/modules/demux/image.c:424:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def384]
vlc-3.0.21/modules/demux/image.c: scope_hint: In function ‘IsWebP’
vlc-3.0.21/modules/demux/image.c:424:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def385]
vlc-3.0.21/modules/demux/image.c:559:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def386]
vlc-3.0.21/modules/demux/image.c: scope_hint: In function ‘IsTarga’
vlc-3.0.21/modules/demux/image.c:559:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def387]
vlc-3.0.21/modules/demux/mkv/demux.cpp: scope_hint: In member function ‘bool demux_sys_t::AnalyseAllSegmentsFound(demux_t*, matroska_stream_c*, bool)’
vlc-3.0.21/modules/demux/mkv/demux.cpp:453:97: warning[-Wunused-parameter]: unused parameter ‘b_initial’
Error: COMPILER_WARNING: [#def388]
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp: scope_hint: In member function ‘void matroska_segment_c::ComputeTrackPriority()’
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:997:32: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:998:17: note: here
Error: COMPILER_WARNING: [#def389]
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:998:32: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:999:17: note: here
Error: COMPILER_WARNING: [#def390]
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:999:32: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:1000:17: note: here
Error: COMPILER_WARNING: [#def391]
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp: scope_hint: In member function ‘int matroska_segment_c::BlockGet(libmatroska::KaxBlock*&, libmatroska::KaxSimpleBlock*&, libmatroska::KaxBlockAdditions*&, bool*, bool*, int64_t*)’
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:1428:21: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/demux/mkv/matroska_segment.cpp:1442:17: note: here
Error: COMPILER_WARNING (CWE-563): [#def392]
vlc-3.0.21/modules/demux/mkv/matroska_segment_parse.cpp: scope_hint: In member function ‘void matroska_segment_c::ParseTracks(libmatroska::KaxTracks*)’
vlc-3.0.21/modules/demux/mkv/matroska_segment_parse.cpp:970:10: warning[-Wunused-value]: statement has no effect
Error: COMPILER_WARNING (CWE-465): [#def393]
vlc-3.0.21/modules/demux/mkv/matroska_segment_parse.cpp: scope_hint: In static member function ‘static void matroska_segment_c::TrackInit(mkv_track_t*)::TrackCodecHandlers::StringProcessor_1706_handler(const char*&, matroska_segment_c::TrackInit(mkv_track_t*)::TrackCodecHandlers_base::payload_t&)’
vlc-3.0.21/modules/demux/mkv/matroska_segment_parse.cpp:1742:39: warning[-Waddress-of-packed-member]: taking address of packed member of ‘_WAVEFORMATEXTENSIBLE’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def394]
vlc-3.0.21/modules/demux/mp4/essetup.c:1228:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*p_track.fmt.p_extra’
vlc-3.0.21/modules/demux/mp4/essetup.c:768:7: branch_false: following ‘false’ branch (when ‘p_soun’ is non-NULL)...
vlc-3.0.21/modules/demux/mp4/essetup.c:771:37: branch_false: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:1199:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mp4/essetup.c:1200:20: branch_false: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:1219:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mp4/essetup.c:1221:40: branch_true: ...to here
vlc-3.0.21/modules/demux/mp4/essetup.c:1221:40: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/mp4/essetup.c:1226:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mp4/essetup.c:1228:17: danger: ‘*p_track.fmt.p_extra’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-126): [#def395]
vlc-3.0.21/modules/demux/mp4/libmp4.c: scope_hint: In function ‘MP4_ReadBox_dref’
vlc-3.0.21/modules/demux/mp4/libmp4.c:1567:12: warning[-Wstringop-overread]: ‘MP4_ReadBox_LtdContainer’ reading 2 bytes from a region of size 1
vlc-3.0.21/modules/demux/mp4/libmp4.c:1567:12: note: referencing argument 3 of type ‘const uint8_t[2]’
vlc-3.0.21/modules/demux/mp4/libmp4.c:1508:12: note: in a call to function ‘MP4_ReadBox_LtdContainer’
Error: COMPILER_WARNING (CWE-126): [#def396]
vlc-3.0.21/modules/demux/mp4/libmp4.c:1567:12: warning[-Wstringop-overread]: ‘MP4_ReadBox_LtdContainer’ reading 2 bytes from a region of size 1
Error: COMPILER_WARNING (CWE-563): [#def397]
vlc-3.0.21/modules/demux/mp4/mp4.c: scope_hint: In function ‘Demux’
vlc-3.0.21/modules/demux/mp4/mp4.c:1544:18: warning[-Wunused-variable]: unused variable ‘p_sys’
Error: COMPILER_WARNING (CWE-195): [#def398]
vlc-3.0.21/modules/demux/mp4/mp4.c: scope_hint: In function ‘TrackTimeToSampleChunk’
vlc-3.0.21/modules/demux/mp4/mp4.c:3165:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def399]
vlc-3.0.21/modules/demux/mp4/mp4.c: scope_hint: In function ‘MP4_TrackSetELST’
vlc-3.0.21/modules/demux/mp4/mp4.c:4055:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
vlc-3.0.21/modules/demux/mp4/mp4.c:5186:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/demux/mp4/mp4.c:5175:13: enter_function: entry to ‘MP4ASF_Send’
vlc-3.0.21/modules/demux/mp4/mp4.c:5178:28: call_function: calling ‘MP4ASF_GetTrack’ from ‘MP4ASF_Send’
vlc-3.0.21/modules/demux/mp4/mp4.c:5178:28: return_function: returning to ‘MP4ASF_Send’ from ‘MP4ASF_GetTrack’
vlc-3.0.21/modules/demux/mp4/mp4.c:5179:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mp4/mp4.c:5185:29: branch_false: ...to here
vlc-3.0.21/modules/demux/mp4/mp4.c:5185:29: call_function: calling ‘block_ChainGather’ from ‘MP4ASF_Send’
vlc-3.0.21/modules/demux/mp4/mp4.c:5185:29: return_function: returning to ‘MP4ASF_Send’ from ‘block_ChainGather’
vlc-3.0.21/modules/demux/mp4/mp4.c:5186:9: danger: dereference of NULL ‘block_ChainGather(*pp_frame)’
Error: COMPILER_WARNING (CWE-563): [#def401]
vlc-3.0.21/modules/demux/mp4/essetup.c:31: included_from: Included from here.
vlc-3.0.21/modules/demux/mp4/mpeg4.h: scope_hint: In function ‘MPEG4_Codec_By_ObjectType’
vlc-3.0.21/modules/demux/mp4/mpeg4.h:30:52: warning[-Wunused-parameter]: unused parameter ‘pi_profile’
Error: COMPILER_WARNING: [#def402]
vlc-3.0.21/modules/demux/mpeg/es.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/demux/mpeg/es.c:436:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/demux/mpeg/es.c:453:9: note: here
Error: COMPILER_WARNING: [#def403]
vlc-3.0.21/modules/demux/mpeg/es.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/demux/mpeg/es.c:440:21: warning[-Wshadow=compatible-local]: declaration of ‘i_ret’ shadows a previous local
vlc-3.0.21/modules/demux/mpeg/es.c:390:9: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-758): [#def404]
vlc-3.0.21/modules/demux/mpeg/es.c: scope_hint: In function ‘Parse’
vlc-3.0.21/modules/demux/mpeg/es.c:502:51: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 1
Error: COMPILER_WARNING: [#def405]
vlc-3.0.21/modules/demux/mpeg/es.c: scope_hint: In function ‘WavSkipHeader’
vlc-3.0.21/modules/demux/mpeg/es.c:624:18: warning[-Wshadow=compatible-local]: declaration of ‘i_len’ shadows a previous local
vlc-3.0.21/modules/demux/mpeg/es.c:600:14: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
vlc-3.0.21/modules/demux/mpeg/h26x.c:333:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/demux/mpeg/h26x.c:387:12: enter_function: entry to ‘OpenHEVC’
vlc-3.0.21/modules/demux/mpeg/h26x.c:393:12: call_function: calling ‘GenericOpen’ from ‘OpenHEVC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
vlc-3.0.21/modules/demux/mpeg/mpgv.c:119:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/demux/mpeg/mpgv.c:94:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/mpgv.c:100:9: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/mpgv.c:118:34: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/mpeg/mpgv.c:119:5: danger: ‘p_sys’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def408]
vlc-3.0.21/modules/demux/mpeg/ps.c:388:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_selected’
vlc-3.0.21/modules/demux/mpeg/ps.c:665:12: enter_function: entry to ‘Control’
vlc-3.0.21/modules/demux/mpeg/ps.c:709:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ps.c:711:17: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ps.c:711:17: call_function: calling ‘NotifyDiscontinuity’ from ‘Control’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def409]
vlc-3.0.21/modules/demux/mpeg/ps.h:310:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
vlc-3.0.21/modules/demux/mpeg/ps.c:405:12: enter_function: entry to ‘Demux’
vlc-3.0.21/modules/demux/mpeg/ps.c:412:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ps.c:416:12: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ps.c:416:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ps.c:429:9: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ps.c:438:19: call_function: calling ‘ps_pkt_read’ from ‘Demux’
vlc-3.0.21/modules/demux/mpeg/ps.c:438:19: return_function: returning to ‘Demux’ from ‘ps_pkt_read’
vlc-3.0.21/modules/demux/mpeg/ps.c:438:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ps.c:443:9: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ps.c:443:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ps.c:449:33: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ps.c:473:14: call_function: calling ‘ps_pkt_parse_system’ from ‘Demux’
Error: COMPILER_WARNING (CWE-252): [#def410]
vlc-3.0.21/modules/demux/mpeg/ts.c:2002:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def411]
vlc-3.0.21/modules/demux/mpeg/ts.c: scope_hint: In function ‘SeekToTime’
vlc-3.0.21/modules/demux/mpeg/ts.c:2002:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def412]
vlc-3.0.21/modules/demux/mpeg/ts.c: scope_hint: In function ‘MayHaveStartCodeOnEnd’
vlc-3.0.21/modules/demux/mpeg/ts.c:2632:65: warning[-Wunused-parameter]: unused parameter ‘i_buf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:741:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_mgtpsip.eit.p_elems’
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:666:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:676:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:685:7: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:717:41: branch_true: following ‘true’ branch (when ‘p_tab’ is non-NULL)...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:719:13: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:719:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:729:18: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:729:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:732:18: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:729:18: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:734:29: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:735:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:737:17: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:741:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:741:17: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:741:17: danger: ‘*p_mgtpsip.eit.p_elems’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:756:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_mgtpsip.eit.p_elems’
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:666:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:676:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:685:7: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:717:41: branch_true: following ‘true’ branch (when ‘p_tab’ is non-NULL)...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:719:13: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:719:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:729:18: branch_false: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:744:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:747:18: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:744:18: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:749:29: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:750:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:752:17: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:756:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:756:17: branch_true: ...to here
vlc-3.0.21/modules/demux/mpeg/ts_psip.c:756:17: danger: ‘*p_mgtpsip.eit.p_elems’ leaks here; was allocated at [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16)
Error: COMPILER_WARNING: [#def415]
vlc-3.0.21/modules/demux/mpeg/ts_si.c:461:31: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
vlc-3.0.21/modules/demux/mpeg/ts_si.c: scope_hint: In function ‘EITCallBack’
vlc-3.0.21/modules/demux/mpeg/ts_si.c:461:47: note: format string is defined here
Error: COMPILER_WARNING (CWE-195): [#def416]
vlc-3.0.21/modules/demux/nuv.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/demux/nuv.c:531:52: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def417]
vlc-3.0.21/modules/demux/nuv.c: scope_hint: In function ‘ControlSetPosition’
vlc-3.0.21/modules/demux/nuv.c:569:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-252): [#def418]
vlc-3.0.21/modules/demux/nuv.c:762:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def419]
vlc-3.0.21/modules/demux/nuv.c: scope_hint: In function ‘SeekTableLoad’
vlc-3.0.21/modules/demux/nuv.c:762:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
vlc-3.0.21/modules/demux/nuv.c:947:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.idx.idx’
vlc-3.0.21/modules/demux/nuv.c:553:12: enter_function: entry to ‘ControlSetPosition’
vlc-3.0.21/modules/demux/nuv.c:557:7: branch_false: following ‘false’ branch (when ‘i_pos >= 0’)...
vlc-3.0.21/modules/demux/nuv.c:561:9: branch_false: ...to here
vlc-3.0.21/modules/demux/nuv.c:569:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/nuv.c:571:13: branch_true: ...to here
vlc-3.0.21/modules/demux/nuv.c:586:11: branch_false: following ‘false’ branch (when ‘i_pos > i_tell’)...
vlc-3.0.21/modules/demux/nuv.c:589:13: branch_false: ...to here
vlc-3.0.21/modules/demux/nuv.c:589:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/nuv.c:592:13: branch_false: ...to here
vlc-3.0.21/modules/demux/nuv.c:592:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/nuv.c:594:18: branch_true: ...to here
vlc-3.0.21/modules/demux/nuv.c:594:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/nuv.c:594:36: branch_true: ...to here
vlc-3.0.21/modules/demux/nuv.c:594:17: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/nuv.c:595:57: branch_false: ...to here
vlc-3.0.21/modules/demux/nuv.c:595:17: call_function: calling ‘demux_IndexAppend’ from ‘ControlSetPosition’
Error: COMPILER_WARNING (CWE-252): [#def421]
vlc-3.0.21/modules/demux/oggseek.c:310:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def422]
vlc-3.0.21/modules/demux/oggseek.c: scope_hint: In function ‘Oggseek_ProbeEnd’
vlc-3.0.21/modules/demux/oggseek.c:310:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def423]
vlc-3.0.21/modules/demux/oggseek.c: scope_hint: In function ‘Oggseek_BlindSeektoPosition’
vlc-3.0.21/modules/demux/oggseek.c:961:13: warning[-Wunused-but-set-variable]: variable ‘i_pagepos’ set but not used
Error: COMPILER_WARNING (CWE-252): [#def424]
vlc-3.0.21/modules/demux/oggseek.c:1082:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def425]
vlc-3.0.21/modules/demux/oggseek.c: scope_hint: In function ‘oggseek_read_page’
vlc-3.0.21/modules/demux/oggseek.c:1082:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def426]
vlc-3.0.21/modules/demux/oggseek.c:1091:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def427]
vlc-3.0.21/modules/demux/oggseek.c:1091:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
vlc-3.0.21/modules/demux/playlist/asx.c:79:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_value’
vlc-3.0.21/modules/demux/playlist/asx.c:644:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/asx.c:646:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:649:17: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:652:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:655:11: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:660:26: call_function: calling ‘PreparseStream’ from ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/asx.c:660:26: return_function: returning to ‘ReadDir’ from ‘PreparseStream’
vlc-3.0.21/modules/demux/playlist/asx.c:668:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:677:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:680:11: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:682:15: branch_false: following ‘false’ branch (when ‘b_first_node == 0’)...
vlc-3.0.21/modules/demux/playlist/asx.c:684:21: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:684:19: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:694:18: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:700:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:706:23: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:706:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:712:23: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:712:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:732:23: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:732:20: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:740:18: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:740:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:747:18: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:747:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:770:18: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:770:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/asx.c:772:17: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/asx.c:772:17: call_function: calling ‘ProcessEntry’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
vlc-3.0.21/modules/demux/playlist/b4s.c:79:16: warning[-Wanalyzer-malloc-leak]: leak of ‘psz_mrl’
vlc-3.0.21/modules/demux/playlist/b4s.c:62:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/b4s.c:78:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/b4s.c:83:9: call_function: inlined call to ‘xml_ReaderNextNode’ from ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/b4s.c:83:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/playlist/b4s.c:89:9: branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:89:7: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:106:7: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:125:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/b4s.c:128:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:135:19: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:145:35: acquire_memory: allocated here
vlc-3.0.21/modules/demux/playlist/b4s.c:139:24: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/b4s.c:141:26: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/b4s.c:79:16: danger: ‘psz_mrl’ leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def430]
vlc-3.0.21/modules/demux/playlist/ram.c:393:24: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_temp_clipinfo’ where non-null expected
vlc-3.0.21/modules/demux/playlist/ram.c:392:31: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/playlist/ram.c:393:24: danger: argument 1 (‘psz_temp_clipinfo’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
vlc-3.0.21/modules/demux/playlist/sgimb.c:222:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
vlc-3.0.21/modules/demux/playlist/sgimb.c:240:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
vlc-3.0.21/modules/demux/playlist/sgimb.c:246:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
vlc-3.0.21/modules/demux/playlist/sgimb.c:252:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
vlc-3.0.21/modules/demux/playlist/sgimb.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
vlc-3.0.21/modules/demux/playlist/sgimb.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
vlc-3.0.21/modules/demux/playlist/sgimb.c:270:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
vlc-3.0.21/modules/demux/playlist/sgimb.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_bol)’
vlc-3.0.21/modules/demux/playlist/sgimb.c:321:12: enter_function: entry to ‘ReadDir’
vlc-3.0.21/modules/demux/playlist/sgimb.c:327:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: branch_true: ...to here
vlc-3.0.21/modules/demux/playlist/sgimb.c:329:9: call_function: calling ‘ParseLine’ from ‘ReadDir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
vlc-3.0.21/modules/demux/real.c:1472:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.track’
vlc-3.0.21/modules/demux/real.c:1406:7: branch_false: following ‘false’ branch (when ‘i_data > 33’)...
vlc-3.0.21/modules/demux/real.c:1412:21: branch_false: ...to here
vlc-3.0.21/modules/demux/real.c:1422:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/real.c:1425:26: branch_false: ...to here
vlc-3.0.21/modules/demux/real.c:1453:7: branch_false: following ‘false’ branch (when ‘tk’ is non-NULL)...
vlc-3.0.21/modules/demux/real.c:1458:5: branch_false: ...to here
vlc-3.0.21/modules/demux/real.c:1472:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/real.c:1472:5: branch_true: ...to here
vlc-3.0.21/modules/demux/real.c:1472:5: danger: ‘*p_sys.track’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def440]
vlc-3.0.21/modules/demux/subtitle.c:1638:21: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_text’ where non-null expected
vlc-3.0.21/modules/demux/subtitle.c:1597:12: enter_function: entry to ‘ParseAQT’
vlc-3.0.21/modules/demux/subtitle.c:1603:22: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1611:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseAQT’
vlc-3.0.21/modules/demux/subtitle.c:1613:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1620:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1638:21: danger: argument 1 (‘psz_text’) from [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def441]
vlc-3.0.21/modules/demux/subtitle.c:1783:24: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_text’ where non-null expected
vlc-3.0.21/modules/demux/subtitle.c:1700:12: enter_function: entry to ‘ParseMPSub’
vlc-3.0.21/modules/demux/subtitle.c:1705:22: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1720:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseMPSub’
vlc-3.0.21/modules/demux/subtitle.c:1721:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1727:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1771:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseMPSub’
vlc-3.0.21/modules/demux/subtitle.c:1773:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1779:24: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1780:11: branch_false: following ‘false’ branch (when ‘i_len != 0’)...
vlc-3.0.21/modules/demux/subtitle.c:1783:24: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1783:24: danger: argument 1 (‘psz_text’) from [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
vlc-3.0.21/modules/demux/subtitle.c:1983:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_text2’
vlc-3.0.21/modules/demux/subtitle.c:1797:12: enter_function: entry to ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1816:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1817:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1820:30: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1822:11: branch_false: following ‘false’ branch (when ‘psz_orig’ is non-NULL)...
vlc-3.0.21/modules/demux/subtitle.c:1828:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1920:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1945:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1948:9: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1960:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1963:25: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1963:17: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1966:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1981:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1983:17: branch_true: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1983:17: danger: ‘psz_text2’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
vlc-3.0.21/modules/demux/subtitle.c:1993:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_text2’
vlc-3.0.21/modules/demux/subtitle.c:1797:12: enter_function: entry to ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1816:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1817:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1820:30: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1822:11: branch_false: following ‘false’ branch (when ‘psz_orig’ is non-NULL)...
vlc-3.0.21/modules/demux/subtitle.c:1828:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1920:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1945:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1948:9: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1960:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1963:25: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1963:17: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1966:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1989:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1991:18: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1991:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1993:17: branch_true: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1993:17: danger: ‘psz_text2’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
vlc-3.0.21/modules/demux/subtitle.c:2000:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_text2’
vlc-3.0.21/modules/demux/subtitle.c:1797:12: enter_function: entry to ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1816:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1817:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1820:30: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1822:11: branch_false: following ‘false’ branch (when ‘psz_orig’ is non-NULL)...
vlc-3.0.21/modules/demux/subtitle.c:1828:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1920:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1945:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1948:9: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1960:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1963:25: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1963:17: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1966:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1998:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:2000:17: branch_true: ...to here
vlc-3.0.21/modules/demux/subtitle.c:2000:17: danger: ‘psz_text2’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
vlc-3.0.21/modules/demux/subtitle.c:2031:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_text2’
vlc-3.0.21/modules/demux/subtitle.c:1797:12: enter_function: entry to ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1816:25: call_function: inlined call to ‘TextGetLine’ from ‘ParseJSS’
vlc-3.0.21/modules/demux/subtitle.c:1817:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1820:30: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1822:11: branch_false: following ‘false’ branch (when ‘psz_orig’ is non-NULL)...
vlc-3.0.21/modules/demux/subtitle.c:1828:13: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1920:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1945:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1948:9: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1960:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/subtitle.c:1963:25: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:1963:17: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:1966:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:2029:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/subtitle.c:2031:17: branch_true: ...to here
vlc-3.0.21/modules/demux/subtitle.c:2031:17: danger: ‘psz_text2’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def446]
vlc-3.0.21/modules/demux/subtitle.c:2467:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_work’ where non-null expected
vlc-3.0.21/modules/demux/subtitle.c:2463:7: branch_false: following ‘false’ branch (when ‘psz_sub_file’ is non-NULL)...
vlc-3.0.21/modules/demux/subtitle.c:2464:22: branch_false: ...to here
vlc-3.0.21/modules/demux/subtitle.c:2464:22: acquire_memory: this call could return NULL
vlc-3.0.21/modules/demux/subtitle.c:2467:15: danger: argument 1 (‘psz_work’) from [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-252): [#def447]
vlc-3.0.21/modules/demux/ty.c:1083:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def448]
vlc-3.0.21/modules/demux/ty.c: scope_hint: In function ‘ty_stream_seek_pct’
vlc-3.0.21/modules/demux/ty.c:1083:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def449]
vlc-3.0.21/modules/demux/ty.c:1491:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def450]
vlc-3.0.21/modules/demux/ty.c: scope_hint: In function ‘ty_stream_seek_time’
vlc-3.0.21/modules/demux/ty.c:1491:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def451]
vlc-3.0.21/modules/demux/ty.c:1495:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def452]
vlc-3.0.21/modules/demux/ty.c:1495:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def453]
vlc-3.0.21/modules/demux/ty.c:1505:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def454]
vlc-3.0.21/modules/demux/ty.c:1505:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def455]
vlc-3.0.21/modules/demux/ty.c:1509:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def456]
vlc-3.0.21/modules/demux/ty.c:1509:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def457]
vlc-3.0.21/modules/demux/ty.c:1535:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def458]
vlc-3.0.21/modules/demux/ty.c:1535:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def459]
vlc-3.0.21/modules/demux/ty.c:1539:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def460]
vlc-3.0.21/modules/demux/ty.c:1539:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def461]
vlc-3.0.21/modules/demux/ty.c:1556:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def462]
vlc-3.0.21/modules/demux/ty.c:1556:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def463]
vlc-3.0.21/modules/demux/ty.c:1566:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def464]
vlc-3.0.21/modules/demux/ty.c:1566:17: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def465]
vlc-3.0.21/modules/demux/ty.c:1599:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def466]
vlc-3.0.21/modules/demux/ty.c:1599:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def467]
vlc-3.0.21/modules/demux/ty.c:1628:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def468]
vlc-3.0.21/modules/demux/ty.c: scope_hint: In function ‘parse_master’
vlc-3.0.21/modules/demux/ty.c:1628:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
vlc-3.0.21/modules/demux/ty.c:1644:8: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.seq_table’
vlc-3.0.21/modules/demux/ty.c:1636:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/ty.c:1643:24: branch_false: ...to here
vlc-3.0.21/modules/demux/ty.c:1643:24: acquire_memory: allocated here
vlc-3.0.21/modules/demux/ty.c:1644:8: danger: ‘*p_sys.seq_table’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def470]
vlc-3.0.21/modules/demux/ty.c:1650:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def471]
vlc-3.0.21/modules/demux/ty.c:1650:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def472]
vlc-3.0.21/modules/demux/ty.c:1654:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def473]
vlc-3.0.21/modules/demux/ty.c:1654:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def474]
vlc-3.0.21/modules/demux/ty.c:1656:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def475]
vlc-3.0.21/modules/demux/ty.c:1656:13: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def476]
vlc-3.0.21/modules/demux/ty.c:1677:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def477]
vlc-3.0.21/modules/demux/ty.c:1677:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Seek’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def478]
vlc-3.0.21/modules/demux/ty.c:1854:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def479]
vlc-3.0.21/modules/demux/ty.c: scope_hint: In function ‘get_chunk_header’
vlc-3.0.21/modules/demux/ty.c:1854:9: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def480]
vlc-3.0.21/modules/demux/ty.c:1903:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘[warn_unused_result](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-warn_005funused_005fresult-function-attribute)’
Error: COMPILER_WARNING (CWE-252): [#def481]
vlc-3.0.21/modules/demux/ty.c:1903:5: warning[-Wunused-result]: ignoring return value of ‘vlc_stream_Read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
vlc-3.0.21/modules/demux/ty.c:1915:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.rec_hdrs’
vlc-3.0.21/modules/demux/ty.c:1842:12: enter_function: entry to ‘get_chunk_header’
vlc-3.0.21/modules/demux/ty.c:1862:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/ty.c:1870:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/ty.c:1878:9: branch_false: ...to here
vlc-3.0.21/modules/demux/ty.c:1878:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/ty.c:1881:43: branch_true: ...to here
vlc-3.0.21/modules/demux/ty.c:1906:17: call_function: calling ‘xmalloc’ from ‘get_chunk_header’
vlc-3.0.21/modules/demux/ty.c:1906:17: return_function: returning to ‘get_chunk_header’ from ‘xmalloc’
vlc-3.0.21/modules/demux/ty.c:1907:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/ty.c:1913:23: branch_false: ...to here
vlc-3.0.21/modules/demux/ty.c:1913:23: call_function: calling ‘parse_chunk_headers’ from ‘get_chunk_header’
vlc-3.0.21/modules/demux/ty.c:1913:23: return_function: returning to ‘get_chunk_header’ from ‘parse_chunk_headers’
vlc-3.0.21/modules/demux/ty.c:1915:5: danger: ‘*p_sys.rec_hdrs’ leaks here; was allocated at [(19)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
vlc-3.0.21/modules/demux/ty.c:1939:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_rec_hdr’
vlc-3.0.21/modules/demux/ty.c:1926:22: enter_function: entry to ‘parse_chunk_headers’
vlc-3.0.21/modules/demux/ty.c:1933:14: call_function: calling ‘xmalloc’ from ‘parse_chunk_headers’
vlc-3.0.21/modules/demux/ty.c:1933:14: return_function: returning to ‘parse_chunk_headers’ from ‘xmalloc’
vlc-3.0.21/modules/demux/ty.c:1935:17: branch_true: following ‘true’ branch (when ‘i < i_num_recs’)...
vlc-3.0.21/modules/demux/ty.c:1937:48: branch_true: ...to here
vlc-3.0.21/modules/demux/ty.c:1939:9: danger: ‘p_rec_hdr’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def484]
vlc-3.0.21/modules/demux/vobsub.c:261:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_selected’
vlc-3.0.21/modules/demux/vobsub.c:255:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/vobsub.c:260:33: branch_true: ...to here
vlc-3.0.21/modules/demux/vobsub.c:261:21: danger: use of uninitialized value ‘b_selected’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
vlc-3.0.21/modules/demux/vobsub.c:605:40: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(*current_tk.p_subtitles, (long unsigned int)(*current_tk.i_subtitles + 2) * 16)’
vlc-3.0.21/modules/demux/vobsub.c:484:12: enter_function: entry to ‘ParseVobSubIDX’
vlc-3.0.21/modules/demux/vobsub.c:492:22: call_function: inlined call to ‘TextGetLine’ from ‘ParseVobSubIDX’
vlc-3.0.21/modules/demux/vobsub.c:492:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/vobsub.c:497:13: branch_false: ...to here
vlc-3.0.21/modules/demux/vobsub.c:581:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/vobsub.c:582:17: branch_true: ...to here
vlc-3.0.21/modules/demux/vobsub.c:581:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/vobsub.c:585:47: branch_true: ...to here
vlc-3.0.21/modules/demux/vobsub.c:601:21: call_function: calling ‘xrealloc’ from ‘ParseVobSubIDX’
vlc-3.0.21/modules/demux/vobsub.c:601:21: return_function: returning to ‘ParseVobSubIDX’ from ‘xrealloc’
vlc-3.0.21/modules/demux/vobsub.c:605:40: danger: ‘xrealloc(*current_tk.p_subtitles, (long unsigned int)(*current_tk.i_subtitles + 2) * 16)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: COMPILER_WARNING (CWE-563): [#def486]
vlc-3.0.21/modules/demux/webvtt.c: scope_hint: In function ‘demux_Range’
vlc-3.0.21/modules/demux/webvtt.c:349:79: warning[-Wunused-parameter]: unused parameter ‘i_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/demux/xiph_metadata.c:350:6: enter_function: entry to ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:358:7: branch_false: following ‘false’ branch (when ‘i_data > 7’)...
vlc-3.0.21/modules/demux/xiph_metadata.c:361:30: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:363:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:366:5: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:368:7: branch_false: following ‘false’ branch (when ‘i_data > 3’)...
vlc-3.0.21/modules/demux/xiph_metadata.c:371:26: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:373:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:389:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:391:33: call_function: inlined call to ‘GetDWLE’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:393:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:396:11: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:396:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:399:37: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:401:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:404:9: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:407:9: call_function: calling ‘EnsureUTF8’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:407:9: return_function: returning to ‘vorbis_ParseComment’ from ‘EnsureUTF8’
vlc-3.0.21/modules/demux/xiph_metadata.c:444:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:445:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:445:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:446:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:446:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:447:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:447:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:448:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:448:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:449:19: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:449:18: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:469:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:471:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:472:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:472:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:473:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:473:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:474:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:474:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:475:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:475:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:476:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:476:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:477:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:477:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:478:14: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:478:14: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:479:19: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:479:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:481:15: branch_true: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:481:15: branch_false: following ‘false’ branch (when ‘attachments’ is non-NULL)...
vlc-3.0.21/modules/demux/xiph_metadata.c:485:64: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:486:48: call_function: calling ‘ParseFlacPicture’ from ‘vorbis_ParseComment’
vlc-3.0.21/modules/demux/xiph_metadata.c:486:48: return_function: returning to ‘vorbis_ParseComment’ from ‘ParseFlacPicture’
vlc-3.0.21/modules/demux/xiph_metadata.c:489:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_true: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: branch_false: ...to here
vlc-3.0.21/modules/demux/xiph_metadata.c:491:17: danger: ‘<unknown>’ leaks here; was allocated at [(93)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/92)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
vlc-3.0.21/modules/gui/ncurses.c:298:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*sys.dir_entries’
vlc-3.0.21/modules/gui/ncurses.c:1780:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/gui/ncurses.c:1786:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/gui/ncurses.c:1789:5: branch_false: ...to here
vlc-3.0.21/modules/gui/ncurses.c:1799:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/gui/ncurses.c:1800:28: branch_true: ...to here
vlc-3.0.21/modules/gui/ncurses.c:1816:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/gui/ncurses.c:1819:5: branch_false: ...to here
vlc-3.0.21/modules/gui/ncurses.c:1819:5: call_function: calling ‘ReadDir’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
vlc-3.0.21/modules/gui/ncurses.c:377:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*sys.plist’
vlc-3.0.21/modules/gui/ncurses.c:1780:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/gui/ncurses.c:1786:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/gui/ncurses.c:1789:5: branch_false: ...to here
vlc-3.0.21/modules/gui/ncurses.c:1799:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/gui/ncurses.c:1800:28: branch_true: ...to here
vlc-3.0.21/modules/gui/ncurses.c:1821:5: call_function: calling ‘PlaylistRebuild’ from ‘Open’
Error: COMPILER_WARNING: [#def490]
vlc-3.0.21/modules/gui/ncurses.c: scope_hint: In function ‘DrawStatus’
vlc-3.0.21/modules/gui/ncurses.c:1081:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/gui/ncurses.c:1084:9: note: here
Error: COMPILER_WARNING: [#def491]
vlc-3.0.21/modules/gui/ncurses.c: scope_hint: In function ‘HandleCommonKey’
vlc-3.0.21/modules/gui/ncurses.c:1560:12: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/gui/ncurses.c:1563:5: note: here
Error: COMPILER_WARNING (CWE-477): [#def492]
vlc-3.0.21/modules/gui/qt/components/complete_preferences.cpp: scope_hint: In constructor ‘PrefsTree::PrefsTree(intf_thread_t*, QWidget*, module_t**, size_t)’
vlc-3.0.21/modules/gui/qt/components/complete_preferences.cpp:135:53: warning[-Wdeprecated-declarations]: ‘QVariant qVariantFromValue(const T&) [with T = PrefsItemData*]’ is deprecated: Use QVariant::fromValue() instead.
/usr/include/qt5/QtCore/qlocale.h:43: included_from: Included from here.
/usr/include/qt5/QtGui/qguiapplication.h:47: included_from: Included from here.
/usr/include/qt5/QtWidgets/qapplication.h:52: included_from: Included from here.
/usr/include/qt5/QtWidgets/QApplication:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/complete_preferences.cpp:27: included_from: Included from here.
/usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def493]
vlc-3.0.21/modules/gui/qt/components/complete_preferences.cpp:185:52: warning[-Wdeprecated-declarations]: ‘QVariant qVariantFromValue(const T&) [with T = PrefsItemData*]’ is deprecated: Use QVariant::fromValue() instead.
/usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def494]
vlc-3.0.21/modules/gui/qt/components/controller.cpp:117:36: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def495]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘void AbstractController::parseAndCreate(const QString&, QBoxLayout*)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:117:52: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/controller.hpp:31: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING: [#def496]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘QWidget* AbstractController::createWidget(buttonType_e, int)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:380:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/gui/qt/components/controller.cpp:381:5: note: here
Error: COMPILER_WARNING (CWE-477): [#def497]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In constructor ‘ControlsWidget::ControlsWidget(intf_thread_t*, bool, QWidget*)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:718:23: warning[-Wdeprecated-declarations]: ‘Qt::WA_MacBrushedMetal’ is deprecated
/usr/include/qt5/QtCore/qbytearray.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:50: included_from: Included from here.
/usr/include/qt5/QtCore/qnamespace.h:404:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def498]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘void FullscreenControllerWidget::restoreFSC()’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:891:67: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def499]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘void FullscreenControllerWidget::centerFSC(int)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:927:63: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def500]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘void FullscreenControllerWidget::updateFullwidthGeometry(int)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:1001:67: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def501]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘int FullscreenControllerWidget::targetScreen()’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:1024:85: warning[-Wdeprecated-declarations]: ‘int QDesktopWidget::screenCount() const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:118:12: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def502]
vlc-3.0.21/modules/gui/qt/components/controller.cpp: scope_hint: In member function ‘virtual void FullscreenControllerWidget::mouseMoveEvent(QMouseEvent*)’
vlc-3.0.21/modules/gui/qt/components/controller.cpp:1113:73: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def503]
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp: scope_hint: In member function ‘void EPGChannels::addProgram(const EPGProgram*)’
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp:53:14: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<const EPGProgram*>::iterator; LessThan = bool (*)(const EPGProgram*, const EPGProgram*)]’ is deprecated: Use std::sort
/usr/include/qt5/QtCore/qlist.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qurl.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/QUrl:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:44: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp:23: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def504]
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp: scope_hint: In member function ‘virtual void EPGChannels::paintEvent(QPaintEvent*)’
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp:85:42: warning[-Wdeprecated-declarations]: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance
/usr/include/qt5/QtWidgets/qwidget.h:50: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.hpp:28: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGChannels.cpp:27: included_from: Included from here.
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def505]
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.cpp: scope_hint: In member function ‘virtual void EPGGraphicsScene::drawBackground(QPainter*, const QRectF&)’
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.cpp:51:62: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay()
/usr/include/qt5/QtCore/QDateTime:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGProgram.hpp:29: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.hpp:29: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.cpp:28: included_from: Included from here.
/usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def506]
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.cpp: scope_hint: In member function ‘void EPGView::setScale(double)’
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.cpp:100:14: warning[-Wdeprecated-declarations]: ‘void QGraphicsView::setMatrix(const QMatrix&, bool)’ is deprecated: Use setTransform()
/usr/include/qt5/QtWidgets/QGraphicsView:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/epg/EPGView.hpp:33: included_from: Included from here.
/usr/include/qt5/QtWidgets/qgraphicsview.h:170:48: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def507]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:63:37: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def508]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp: scope_hint: In function ‘bool filterIsPresent(const QString&, const QString&)’
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:63:68: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qobject.h:47: included_from: Included from here.
/usr/include/qt5/QtWidgets/qwidget.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/qframe.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qlabel.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QLabel:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:34: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def509]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:299:35: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def510]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp: scope_hint: In function ‘QString ChangeFiltersString(intf_thread_t*, const char*, const char*, bool)’
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:299:66: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def511]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1037:51: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def512]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp: scope_hint: In member function ‘QStringList EqualizerSliderData::getBandsFromAout() const’
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1037:67: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def513]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1053:43: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def514]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1053:59: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def515]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp: scope_hint: In member function ‘virtual void Equalizer::build()’
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1157:56: warning[-Wdeprecated-declarations]: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance
/usr/include/qt5/QtWidgets/qwidget.h:50: included_from: Included from here.
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def516]
vlc-3.0.21/modules/gui/qt/components/extended_panels.cpp:1158:56: warning[-Wdeprecated-declarations]: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def517]
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp: scope_hint: In member function ‘void InfoPanel::update(input_item_t*)’
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:519:34: warning[-Wdeprecated-declarations]: ‘void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)’ is deprecated: Use QTreeWidgetItem::setExpanded() instead
/usr/include/qt5/QtWidgets/QTreeWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.hpp:41: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/open_panels.hpp:35: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/dialogs/open.hpp:36: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/dialogs_provider.hpp:36: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/interface_widgets.hpp:38: included_from: Included from here.
/usr/include/qt5/QtWidgets/qtreewidget.h:337:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def518]
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp: scope_hint: In constructor ‘InputStatsPanel::InputStatsPanel(QWidget*)’
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:551:38: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::AlignmentFlag; Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qchar.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:30: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def519]
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:614:37: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::AlignmentFlag; Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def520]
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp: scope_hint: In member function ‘void InputStatsPanel::update(input_item_t*)’
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:652:52: warning[-Wdeprecated-declarations]: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead
vlc-3.0.21/modules/gui/qt/components/info_panels.cpp:655:5: note: in expansion of macro ‘UPDATE_FLOAT’
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def521]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp: scope_hint: In constructor ‘EasterEggBackgroundWidget::EasterEggBackgroundWidget(intf_thread_t*)’
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:561:18: warning[-Wdeprecated-declarations]: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def522]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp: scope_hint: In member function ‘void EasterEggBackgroundWidget::spawnFlakes()’
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:612:35: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
/usr/include/qt5/QtCore/qchar.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:31: included_from: Included from here.
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def523]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:614:5: warning[-Wdeprecated-declarations]: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def524]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:632:29: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def525]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:633:27: warning[-Wdeprecated-declarations]: ‘int qrand()’ is deprecated: use QRandomGenerator instead
/usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def526]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp: scope_hint: In member function ‘virtual void EasterEggBackgroundWidget::paintEvent(QPaintEvent*)’
vlc-3.0.21/modules/gui/qt/components/interface_widgets.cpp:652:5: warning[-Wdeprecated-declarations]: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def527]
vlc-3.0.21/modules/gui/qt/components/interface_widgets.hpp: scope_hint: At global scope
vlc-3.0.21/modules/gui/qt/components/interface_widgets.hpp:154:5: warning[-Wdeprecated-declarations]: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead
/usr/include/qt5/QtCore/qvarlengtharray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qmetatype.h:48: included_from: Included from here.
/usr/include/qt5/QtCore/qobject.h:54: included_from: Included from here.
/usr/include/qt5/QtWidgets/qwidget.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:27: included_from: Included from here.
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def528]
vlc-3.0.21/modules/gui/qt/components/playlist/playlist_model.cpp: scope_hint: In member function ‘virtual QMimeData* PLModel::mimeData(const QModelIndexList&) const’
vlc-3.0.21/modules/gui/qt/components/playlist/playlist_model.cpp:129:10: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QModelIndex>::iterator; LessThan = bool (*)(const QModelIndex&, const QModelIndex&)]’ is deprecated: Use std::sort
/usr/include/qt5/QtCore/qlist.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qurl.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/QUrl:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:44: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/playlist_model.cpp:30: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def529]
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp: scope_hint: In member function ‘void PLSelector::setSource(QTreeWidgetItem*)’
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp:361:55: warning[-Wdeprecated-declarations]: ‘bool playlist_IsServicesDiscoveryLoaded(playlist_t*, const char*)’ is deprecated
vlc-3.0.21/modules/gui/qt/qt.hpp:34: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp:29: included_from: Included from here.
vlc-3.0.21/include/vlc_playlist.h:357:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def530]
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp: scope_hint: In member function ‘virtual void PLSelector::wheelEvent(QWheelEvent*)’
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp:643:84: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/QDragMoveEvent:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp:38: included_from: Included from here.
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def531]
vlc-3.0.21/modules/gui/qt/components/playlist/selector.cpp:644:84: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def532]
vlc-3.0.21/modules/gui/qt/components/playlist/standardpanel.cpp: scope_hint: In member function ‘virtual void StandardPLPanel::wheelEvent(QWheelEvent*)’
vlc-3.0.21/modules/gui/qt/components/playlist/standardpanel.cpp:540:32: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/QMouseEvent:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/playlist.hpp:41: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/standardpanel.hpp:32: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/standardpanel.cpp:29: included_from: Included from here.
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def533]
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp: scope_hint: In static member function ‘static QPixmap VLCModel::getArtPixmap(const QModelIndex&, const QSize&)’
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp:86:28: warning[-Wdeprecated-declarations]: ‘static bool QPixmapCache::find(const QString&, QPixmap&)’ is deprecated: Use bool find(const QString &, QPixmap *) instead
/usr/include/qt5/QtGui/QPixmapCache:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.hpp:39: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp:24: included_from: Included from here.
/usr/include/qt5/QtGui/qpixmapcache.h:81:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def534]
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp:100:32: warning[-Wdeprecated-declarations]: ‘static bool QPixmapCache::find(const QString&, QPixmap&)’ is deprecated: Use bool find(const QString &, QPixmap *) instead
/usr/include/qt5/QtGui/qpixmapcache.h:81:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def535]
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp: scope_hint: In member function ‘virtual void VLCModel::ensureArtRequested(const QModelIndex&)’
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.cpp:209:32: warning[-Wdeprecated-declarations]: ‘QModelIndex QModelIndex::child(int, int) const’ is deprecated: Use QAbstractItemModel::index
/usr/include/qt5/QtCore/QModelIndex:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/playlist/vlc_model.hpp:38: included_from: Included from here.
/usr/include/qt5/QtCore/qabstractitemmodel.h:455:20: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def536]
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp: scope_hint: In member function ‘virtual void FileConfigControl::fillGrid(QGridLayout*, int)’
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp:279:53: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::AlignmentFlag; Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qchar.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.hpp:33: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp:34: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def537]
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp: scope_hint: In member function ‘virtual void ModuleConfigControl::fillGrid(QGridLayout*, int)’
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp:527:45: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::AlignmentFlag; Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def538]
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp: scope_hint: In member function ‘virtual void BoolConfigControl::fillGrid(QGridLayout*, int)’
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp:937:45: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::AlignmentFlag; Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def539]
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp: scope_hint: In member function ‘void KeySelectorControl::finish()’
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.cpp:1237:36: warning[-Wdeprecated-declarations]: ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QString]’ is deprecated: Use QMultiMap for maps storing multiple values with the same key.
/usr/include/qt5/QtCore/qvariant.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qlocale.h:43: included_from: Included from here.
/usr/include/qt5/QtWidgets/qstyleoption.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/qcombobox.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/QComboBox:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/preferences_widgets.hpp:39: included_from: Included from here.
/usr/include/qt5/QtCore/qmap.h:1366:33: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def540]
vlc-3.0.21/modules/gui/qt/components/simple_preferences.cpp:615:41: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def541]
vlc-3.0.21/modules/gui/qt/components/simple_preferences.cpp: scope_hint: In constructor ‘SPrefsPanel::SPrefsPanel(intf_thread_t*, QWidget*, int)’
vlc-3.0.21/modules/gui/qt/components/simple_preferences.cpp:615:57: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qvariant.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/QVariant:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/ui/sprefs_input.h:13: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/simple_preferences.hpp:34: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/components/simple_preferences.cpp:30: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def542]
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp: scope_hint: In member function ‘void BookmarksDialog::update()’
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp:149:33: warning[-Wdeprecated-declarations]: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead
/usr/include/qt5/QtCore/qobject.h:47: included_from: Included from here.
/usr/include/qt5/QtWidgets/qwidget.h:45: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:27: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def543]
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp: scope_hint: In member function ‘void BookmarksDialog::del()’
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp:189:14: warning[-Wdeprecated-declarations]: ‘void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList<QModelIndex>::iterator]’ is deprecated: Use std::sort
/usr/include/qt5/QtCore/qlist.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/qobject.h:49: included_from: Included from here.
/usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def544]
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp:245:44: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def545]
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp: scope_hint: In member function ‘void BookmarksDialog::edit(QTreeWidgetItem*, int)’
vlc-3.0.21/modules/gui/qt/dialogs/bookmarks.cpp:245:60: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def546]
vlc-3.0.21/modules/gui/qt/dialogs/epg.cpp: scope_hint: In member function ‘void EpgDialog::displayEvent(EPGItem*)’
vlc-3.0.21/modules/gui/qt/dialogs/epg.cpp:150:48: warning[-Wdeprecated-declarations]: ‘Qt::SystemLocaleLongDate’ is deprecated: Use QLocale
/usr/include/qt5/QtCore/qobjectdefs.h:48: included_from: Included from here.
/usr/include/qt5/QtGui/qwindowdefs.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/qwidget.h:44: included_from: Included from here.
/usr/include/qt5/QtWidgets/QWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:27: included_from: Included from here.
/usr/include/qt5/QtCore/qnamespace.h:1292:9: note: declared here
Error: COMPILER_WARNING: [#def547]
vlc-3.0.21/modules/gui/qt/dialogs/firstrun.cpp:50:2: warning[-Wcpp]: #warning FIXME
Error: COMPILER_WARNING (CWE-477): [#def548]
vlc-3.0.21/modules/gui/qt/dialogs/messages.cpp: scope_hint: In static member function ‘static void MessagesDialog::MsgCallback(void*, int, const vlc_log_t*, const char*, __va_list_tag*)’
vlc-3.0.21/modules/gui/qt/dialogs/messages.cpp:343:43: warning[-Wdeprecated-declarations]: ‘T QBasicAtomicInteger<T>::load() const [with T = int]’ is deprecated: Use loadRelaxed
/usr/include/qt5/QtCore/qatomic.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qglobal.h:1309: included_from: Included from here.
/usr/include/qt5/QtGui/qtguiglobal.h:43: included_from: Included from here.
/usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43: included_from: Included from here.
/usr/include/qt5/QtWidgets/qplaintextedit.h:43: included_from: Included from here.
/usr/include/qt5/QtWidgets/QPlainTextEdit:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/dialogs/messages.cpp:27: included_from: Included from here.
/usr/include/qt5/QtCore/qbasicatomic.h:103:55: note: declared here
Error: COMPILER_WARNING (CWE-563): [#def549]
vlc-3.0.21/modules/gui/qt/dialogs/plugins.cpp: scope_hint: In constructor ‘ExtensionTab::ExtensionTab(intf_thread_t*)’
vlc-3.0.21/modules/gui/qt/dialogs/plugins.cpp:265:24: warning[-Wunused-variable]: unused variable ‘EM’
Error: COMPILER_WARNING (CWE-477): [#def550]
vlc-3.0.21/modules/gui/qt/dialogs/podcast_configuration.cpp: scope_hint: In member function ‘virtual void PodcastConfigDialog::accept()’
vlc-3.0.21/modules/gui/qt/dialogs/podcast_configuration.cpp:75:43: warning[-Wdeprecated-declarations]: ‘bool playlist_IsServicesDiscoveryLoaded(playlist_t*, const char*)’ is deprecated
vlc-3.0.21/modules/gui/qt/qt.hpp:34: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:37: included_from: Included from here.
vlc-3.0.21/include/vlc_playlist.h:357:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def551]
vlc-3.0.21/modules/gui/qt/dialogs/toolbar.cpp: scope_hint: In member function ‘virtual void PreviewWidget::paintEvent(QPaintEvent*)’
vlc-3.0.21/modules/gui/qt/dialogs/toolbar.cpp:336:72: warning[-Wdeprecated-declarations]: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead
/usr/include/qt5/QtWidgets/qwidget.h:48: included_from: Included from here.
/usr/include/qt5/QtGui/qpalette.h:149:26: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def552]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:695:49: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def553]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp: scope_hint: In member function ‘void VLMWrapper::EditBroadcast(const QString&, const QString&, const QString&, const QString&, bool, bool)’
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:695:66: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qvariant.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/QVariant:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/ui/vlm.h:13: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/dialogs/vlm.hpp:34: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def554]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:782:49: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def555]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp: scope_hint: In member function ‘void VLMWrapper::EditVod(const QString&, const QString&, const QString&, const QString&, bool, const QString&)’
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:782:66: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def556]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:841:49: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def557]
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp: scope_hint: In member function ‘void VLMWrapper::EditSchedule(const QString&, const QString&, const QString&, const QString&, QDateTime, QDateTime, int, int, bool, const QString&)’
vlc-3.0.21/modules/gui/qt/dialogs/vlm.cpp:841:66: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def558]
vlc-3.0.21/modules/gui/qt/main_interface.cpp: scope_hint: In member function ‘void MainInterface::setVideoSize(unsigned int, unsigned int)’
vlc-3.0.21/modules/gui/qt/main_interface.cpp:815:70: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def559]
vlc-3.0.21/modules/gui/qt/main_interface.cpp: scope_hint: In member function ‘virtual void MainInterface::setVideoFullScreen(bool)’
vlc-3.0.21/modules/gui/qt/main_interface.cpp:867:80: warning[-Wdeprecated-declarations]: ‘int QDesktopWidget::screenCount() const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:118:12: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def560]
vlc-3.0.21/modules/gui/qt/main_interface.cpp:872:70: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
Error: COMPILER_WARNING (CWE-563): [#def561]
vlc-3.0.21/modules/gui/qt/menus.cpp: scope_hint: In static member function ‘static void VLCMenuBar::UpdateItem(intf_thread_t*, QMenu*, const char*, vlc_object_t*, bool)’
vlc-3.0.21/modules/gui/qt/menus.cpp:1247:45: warning[-Wunused-parameter]: unused parameter ‘p_intf’
Error: COMPILER_WARNING (CWE-477): [#def562]
vlc-3.0.21/modules/gui/qt/menus.cpp: scope_hint: In static member function ‘static int VLCMenuBar::CreateChoicesMenu(QMenu*, const char*, vlc_object_t*)’
vlc-3.0.21/modules/gui/qt/menus.cpp:1441:38: warning[-Wdeprecated-declarations]: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/menus.hpp:28: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/menus.cpp:39: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
Error: COMPILER_WARNING (CWE-457): [#def563]
vlc-3.0.21/modules/gui/qt/qt.cpp: scope_hint: In function ‘WindowOpen(vout_window_t*, vout_window_cfg_t const*)’
vlc-3.0.21/modules/gui/qt/qt.cpp:791:24: warning[-Wmaybe-uninitialized]: ‘xid’ may be used uninitialized
vlc-3.0.21/modules/gui/qt/qt.cpp:756:12: note: ‘xid’ was declared here
Error: COMPILER_WARNING (CWE-477): [#def564]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SeekSlider::mouseReleaseEvent(QMouseEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:284:70: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
/usr/include/qt5/QtCore/qbytearray.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:50: included_from: Included from here.
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/qt.hpp:43: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:30: included_from: Included from here.
/usr/include/qt5/QtCore/qnamespace.h:138:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def565]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SeekSlider::mousePressEvent(QMouseEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:297:72: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
/usr/include/qt5/QtCore/qnamespace.h:138:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def566]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SeekSlider::mouseMoveEvent(QMouseEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:351:56: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
/usr/include/qt5/QtCore/qnamespace.h:138:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def567]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SeekSlider::wheelEvent(QWheelEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:406:28: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/QPaintEvent:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:38: included_from: Included from here.
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def568]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:406:69: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-691): [#def569]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SeekSlider::paintEvent(QPaintEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:466:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-477): [#def570]
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp: scope_hint: In member function ‘virtual void SoundSlider::wheelEvent(QWheelEvent*)’
vlc-3.0.21/modules/gui/qt/util/input_slider.cpp:677:42: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def571]
vlc-3.0.21/modules/gui/qt/util/pictureflow.cpp: scope_hint: In member function ‘virtual void PictureFlow::wheelEvent(QWheelEvent*)’
vlc-3.0.21/modules/gui/qt/util/pictureflow.cpp:866:27: warning[-Wdeprecated-declarations]: ‘Qt::Orientation QWheelEvent::orientation() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/QKeyEvent:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/pictureflow.hpp:39: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/pictureflow.cpp:32: included_from: Included from here.
/usr/include/qt5/QtGui/qevent.h:222:28: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def572]
vlc-3.0.21/modules/gui/qt/util/pictureflow.cpp:872:39: warning[-Wdeprecated-declarations]: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta()
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def573]
vlc-3.0.21/modules/gui/qt/dialogs/open.hpp:34: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/dialogs_provider.hpp:36: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/recents.cpp:27: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp: scope_hint: In static member function ‘static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, QSize, QPoint)’
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:78:140: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/qvlcframe.hpp:33: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def574]
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp: scope_hint: In member function ‘void TimeTooltip::adjustPosition()’
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp:79:59: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(const QPoint&) const’ is deprecated: Use QGuiApplication::screenAt()
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp:28: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:80:68: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def575]
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp: scope_hint: In member function ‘virtual void TimeTooltip::paintEvent(QPaintEvent*)’
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp:145:33: warning[-Wdeprecated-declarations]: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead
/usr/include/qt5/QtGui/QPainter:1: included_from: Included from here.
vlc-3.0.21/modules/gui/qt/util/timetooltip.cpp:25: included_from: Included from here.
/usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here
Error: CPPCHECK_WARNING (CWE-476): [#def576]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:195: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def577]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:196: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def578]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:198: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def579]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:199: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def580]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:201: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def581]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:202: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def582]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:347: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def583]
vlc-3.0.21/modules/gui/skins2/src/dialogs.cpp:348: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_arg
Error: CPPCHECK_WARNING (CWE-476): [#def584]
vlc-3.0.21/modules/gui/skins2/src/theme_loader.cpp:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def585]
vlc-3.0.21/modules/gui/skins2/src/theme_loader.cpp:68: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: COMPILER_WARNING: [#def586]
vlc-3.0.21/include/vlc_common.h:1034: included_from: Included from here.
vlc-3.0.21/modules/gui/skins2/src/skin_common.hpp:32: included_from: Included from here.
vlc-3.0.21/modules/gui/skins2/utils/ustring.hpp:28: included_from: Included from here.
vlc-3.0.21/modules/gui/skins2/utils/ustring.cpp:26: included_from: Included from here.
vlc-3.0.21/modules/gui/skins2/utils/ustring.cpp: scope_hint: In member function ‘UString::UString(intf_thread_t*, char const*)’
vlc-3.0.21/modules/gui/skins2/utils/ustring.cpp:74:25: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
vlc-3.0.21/modules/gui/skins2/utils/ustring.cpp:74:47: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
vlc-3.0.21/modules/hw/vaapi/vlc_vaapi.c:590:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dst_ctx’
vlc-3.0.21/modules/hw/vaapi/vlc_vaapi.c:582:37: acquire_memory: allocated here
vlc-3.0.21/modules/hw/vaapi/vlc_vaapi.c:583:8: branch_false: following ‘false’ branch (when ‘dst_ctx’ is non-NULL)...
vlc-3.0.21/modules/hw/vaapi/vlc_vaapi.c:586:5: branch_false: ...to here
vlc-3.0.21/modules/hw/vaapi/vlc_vaapi.c:590:12: danger: ‘dst_ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
vlc-3.0.21/modules/hw/vdpau/picture.c:75:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fnew’
vlc-3.0.21/modules/hw/vdpau/picture.c:63:35: acquire_memory: allocated here
vlc-3.0.21/modules/hw/vdpau/picture.c:64:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/hw/vdpau/picture.c:67:5: branch_false: ...to here
vlc-3.0.21/modules/hw/vdpau/picture.c:75:12: danger: ‘fnew’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
vlc-3.0.21/modules/hw/vdpau/picture.c:124:5: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_vdp_video_create(vdp, surface)’
vlc-3.0.21/modules/hw/vdpau/picture.c:113:11: enter_function: entry to ‘vlc_vdp_video_attach’
vlc-3.0.21/modules/hw/vdpau/picture.c:116:36: call_function: calling ‘vlc_vdp_video_create’ from ‘vlc_vdp_video_attach’
vlc-3.0.21/modules/hw/vdpau/picture.c:116:36: return_function: returning to ‘vlc_vdp_video_attach’ from ‘vlc_vdp_video_create’
vlc-3.0.21/modules/hw/vdpau/picture.c:117:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/hw/vdpau/picture.c:124:20: branch_false: ...to here
vlc-3.0.21/modules/hw/vdpau/picture.c:124:5: danger: ‘vlc_vdp_video_create(vdp, surface)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
vlc-3.0.21/modules/lua/demux.c:200:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(filename)’
vlc-3.0.21/modules/lua/demux.c:133:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/demux.c:136:5: branch_false: ...to here
vlc-3.0.21/modules/lua/demux.c:164:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/demux.c:171:9: branch_false: ...to here
vlc-3.0.21/modules/lua/demux.c:171:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/demux.c:178:5: branch_false: ...to here
vlc-3.0.21/modules/lua/demux.c:179:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/demux.c:186:9: branch_false: ...to here
vlc-3.0.21/modules/lua/demux.c:186:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/demux.c:193:9: branch_false: ...to here
vlc-3.0.21/modules/lua/demux.c:193:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/demux.c:195:13: branch_true: ...to here
vlc-3.0.21/modules/lua/demux.c:195:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/demux.c:197:13: branch_true: ...to here
vlc-3.0.21/modules/lua/demux.c:200:29: acquire_memory: allocated here
vlc-3.0.21/modules/lua/demux.c:200:13: danger: ‘strdup(filename)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def591]
vlc-3.0.21/modules/lua/extension.c:240:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_package’ where non-null expected
vlc-3.0.21/modules/lua/extension.c:239:19: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/extension.c:240:11: danger: argument 1 (‘psz_package’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING: [#def592]
vlc-3.0.21/modules/lua/extension.c: scope_hint: In function ‘ScanLuaCallback’
vlc-3.0.21/modules/lua/extension.c:383:26: warning[-Wshadow=compatible-local]: declaration of ‘b_ok’ shadows a previous local
vlc-3.0.21/modules/lua/extension.c:282:10: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING: [#def593]
vlc-3.0.21/modules/lua/extension.c:503:9: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/lua/extension.c:302:11: branch_false: following ‘false’ branch (when ‘psz_script’ is non-NULL)...
vlc-3.0.21/modules/lua/extension.c:307:43: branch_false: ...to here
vlc-3.0.21/modules/lua/extension.c:308:7: branch_false: following ‘false’ branch (when ‘p_ext’ is non-NULL)...
vlc-3.0.21/modules/lua/extension.c:314:5: branch_false: ...to here
vlc-3.0.21/modules/lua/extension.c:316:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/extension.c:323:5: branch_false: ...to here
vlc-3.0.21/modules/lua/extension.c:326:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/extension.c:335:22: branch_false: ...to here
vlc-3.0.21/modules/lua/extension.c:485:7: branch_true: following ‘true’ branch (when ‘b_ok != 0’)...
vlc-3.0.21/modules/lua/extension.c:503:9: branch_true: ...to here
vlc-3.0.21/modules/lua/extension.c:503:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/extension.c:503:9: branch_false: ...to here
vlc-3.0.21/modules/lua/extension.c:503:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/extension.c:503:9: branch_true: ...to here
vlc-3.0.21/modules/lua/extension.c:503:9: danger: operand ‘1.5e+0’ is of type ‘double’
Error: COMPILER_WARNING: [#def594]
vlc-3.0.21/modules/lua/extension.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/lua/extension.c:627:26: warning[-Wshadow=compatible-local]: declaration of ‘p_ext’ shadows a previous local
vlc-3.0.21/modules/lua/extension.c:512:18: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def595]
vlc-3.0.21/modules/lua/extension.c:639:26: warning[-Wshadow=compatible-local]: declaration of ‘p_ext’ shadows a previous local
vlc-3.0.21/modules/lua/extension.c:512:18: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-563): [#def596]
vlc-3.0.21/modules/lua/extension.c: scope_hint: In function ‘inputItemMetaChanged’
vlc-3.0.21/modules/lua/extension.c:1153:54: warning[-Wunused-parameter]: unused parameter ‘p_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
vlc-3.0.21/modules/lua/extension_thread.c:260:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd’
vlc-3.0.21/modules/lua/extension_thread.c:181:29: acquire_memory: allocated here
vlc-3.0.21/modules/lua/extension_thread.c:182:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/extension_thread.c:184:5: branch_false: ...to here
vlc-3.0.21/modules/lua/extension_thread.c:229:7: branch_true: following ‘true’ branch (when ‘last’ is NULL)...
vlc-3.0.21/modules/lua/extension_thread.c:231:9: branch_true: ...to here
vlc-3.0.21/modules/lua/extension_thread.c:260:5: danger: ‘cmd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def598]
vlc-3.0.21/modules/lua/intf.c:91:14: warning[-Wanalyzer-null-argument]: use of NULL ‘psz_config’ where non-null expected
vlc-3.0.21/modules/lua/intf.c:432:5: enter_function: entry to ‘Open_LuaCLI’
vlc-3.0.21/modules/lua/intf.c:434:12: call_function: calling ‘Start_LuaIntf’ from ‘Open_LuaCLI’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
vlc-3.0.21/modules/lua/libs/dialog.c:425:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:424:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:425:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
vlc-3.0.21/modules/lua/libs/dialog.c:448:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:446:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:448:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def601]
vlc-3.0.21/modules/lua/libs/dialog.c:465:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:464:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:465:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def602]
vlc-3.0.21/modules/lua/libs/dialog.c:484:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:483:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:484:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def603]
vlc-3.0.21/modules/lua/libs/dialog.c:500:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:499:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:500:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
vlc-3.0.21/modules/lua/libs/dialog.c:502:12: warning[-Wanalyzer-malloc-leak]: leak of ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:499:36: acquire_memory: allocated here
vlc-3.0.21/modules/lua/libs/dialog.c:502:12: danger: ‘p_widget’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def605]
vlc-3.0.21/modules/lua/libs/dialog.c:513:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:512:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:513:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
vlc-3.0.21/modules/lua/libs/dialog.c:515:12: warning[-Wanalyzer-malloc-leak]: leak of ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:512:36: acquire_memory: allocated here
vlc-3.0.21/modules/lua/libs/dialog.c:515:12: danger: ‘p_widget’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def607]
vlc-3.0.21/modules/lua/libs/dialog.c:530:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:529:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:530:5: danger: ‘p_widget’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
vlc-3.0.21/modules/lua/libs/dialog.c:548:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:544:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:547:36: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:547:36: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:548:5: danger: ‘p_widget’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
vlc-3.0.21/modules/lua/libs/dialog.c:568:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/lua/libs/dialog.c:531:26: acquire_memory: allocated here
vlc-3.0.21/modules/lua/libs/dialog.c:568:16: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
vlc-3.0.21/modules/lua/libs/dialog.c:568:16: warning[-Wanalyzer-malloc-leak]: leak of ‘p_widget’
vlc-3.0.21/modules/lua/libs/dialog.c:544:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:547:36: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:547:36: acquire_memory: allocated here
vlc-3.0.21/modules/lua/libs/dialog.c:568:16: danger: ‘p_widget’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def611]
vlc-3.0.21/modules/lua/libs/dialog.c:739:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_new_value’
vlc-3.0.21/modules/lua/libs/dialog.c:726:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:730:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:734:10: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:734:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:738:24: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:738:24: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/dialog.c:739:5: danger: ‘p_new_value’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING: [#def612]
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/dialog.c:1047:5: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def613]
vlc-3.0.21/modules/lua/libs/equalizer.c:215:23: warning[-Wanalyzer-null-argument]: use of NULL ‘b’ where non-null expected
vlc-3.0.21/modules/lua/libs/equalizer.c:187:12: enter_function: entry to ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:190:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:193:30: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:195:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: call_function: calling ‘var_GetNonEmptyString’ from ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: return_function: returning to ‘vlclua_equalizer_set’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/lua/libs/equalizer.c:199:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:199:20: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:199:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:205:5: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:208:19: call_function: calling ‘var_GetString’ from ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:208:19: return_function: returning to ‘vlclua_equalizer_set’ from ‘var_GetString’
vlc-3.0.21/modules/lua/libs/equalizer.c:212:11: release_memory: ‘b’ is NULL
vlc-3.0.21/modules/lua/libs/equalizer.c:213:12: branch_true: following ‘true’ branch (when ‘bandid != 0’)...
vlc-3.0.21/modules/lua/libs/equalizer.c:215:23: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:215:23: release_memory: ‘b’ is NULL
vlc-3.0.21/modules/lua/libs/equalizer.c:215:23: danger: argument 1 (‘b’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
vlc-3.0.21/modules/lua/libs/equalizer.c:219:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
vlc-3.0.21/modules/lua/libs/equalizer.c:187:12: enter_function: entry to ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:190:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:193:30: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:195:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: call_function: calling ‘var_GetNonEmptyString’ from ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:198:20: return_function: returning to ‘vlclua_equalizer_set’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/lua/libs/equalizer.c:199:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:199:20: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:199:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/equalizer.c:205:5: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:208:19: call_function: calling ‘var_GetString’ from ‘vlclua_equalizer_set’
vlc-3.0.21/modules/lua/libs/equalizer.c:208:19: return_function: returning to ‘vlclua_equalizer_set’ from ‘var_GetString’
vlc-3.0.21/modules/lua/libs/equalizer.c:212:11: release_memory: ‘b’ is NULL
vlc-3.0.21/modules/lua/libs/equalizer.c:213:12: branch_false: following ‘false’ branch (when ‘bandid == 0’)...
vlc-3.0.21/modules/lua/libs/equalizer.c:219:9: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/equalizer.c:219:9: release_memory: ‘b’ is NULL
vlc-3.0.21/modules/lua/libs/equalizer.c:219:9: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
vlc-3.0.21/modules/lua/libs/net.c:315:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 4)’
vlc-3.0.21/modules/lua/libs/net.c:297:12: enter_function: entry to ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:310:19: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:310:19: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:313:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/libs/net.c:315:21: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:315:9: danger: ‘xmalloc((long unsigned int)i_fds * 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
vlc-3.0.21/modules/lua/libs/net.c:316:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 8) + (long unsigned int)i * 8’
vlc-3.0.21/modules/lua/libs/net.c:297:12: enter_function: entry to ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:310:19: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:310:19: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:313:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/libs/net.c:315:21: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:316:23: call_function: calling ‘vlclua_fd_get’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:316:23: return_function: returning to ‘vlclua_net_poll’ from ‘vlclua_fd_get’
vlc-3.0.21/modules/lua/libs/net.c:316:9: danger: ‘xmalloc((long unsigned int)i_fds * 8) + (long unsigned int)i * 8’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
vlc-3.0.21/modules/lua/libs/net.c:337:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 4)’
vlc-3.0.21/modules/lua/libs/net.c:297:12: enter_function: entry to ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:310:19: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:310:19: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:313:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/net.c:322:29: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/net.c:327:11: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:335:21: branch_true: following ‘true’ branch (when ‘i_fds > i’)...
vlc-3.0.21/modules/lua/libs/net.c:337:35: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:337:29: danger: ‘xmalloc((long unsigned int)i_fds * 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def618]
vlc-3.0.21/modules/lua/libs/net.c:337:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
vlc-3.0.21/modules/lua/libs/net.c:297:12: enter_function: entry to ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:309:28: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:310:19: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’
vlc-3.0.21/modules/lua/libs/net.c:310:19: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’
vlc-3.0.21/modules/lua/libs/net.c:313:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/libs/net.c:322:29: branch_false: ...to here
vlc-3.0.21/modules/lua/libs/net.c:327:11: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:335:21: branch_true: following ‘true’ branch (when ‘i_fds > i’)...
vlc-3.0.21/modules/lua/libs/net.c:337:35: branch_true: ...to here
vlc-3.0.21/modules/lua/libs/net.c:337:29: danger: use of uninitialized value ‘*<unknown>’ here
Error: COMPILER_WARNING (CWE-477): [#def619]
vlc-3.0.21/modules/lua/libs/sd.c: scope_hint: In function ‘vlclua_sd_is_loaded’
vlc-3.0.21/modules/lua/libs/sd.c:449:5: warning[-Wdeprecated-declarations]: ‘playlist_IsServicesDiscoveryLoaded’ is deprecated
vlc-3.0.21/modules/lua/libs/sd.c:40: included_from: Included from here.
vlc-3.0.21/include/vlc_playlist.h:357:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def620]
vlc-3.0.21/modules/lua/libs/sd.c:449:5: warning[-Wdeprecated-declarations]: ‘playlist_IsServicesDiscoveryLoaded’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-688): [#def621]
vlc-3.0.21/modules/lua/libs/stream.c:103:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_content’ where non-null expected
vlc-3.0.21/modules/lua/libs/stream.c:102:26: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/libs/stream.c:103:26: danger: argument 1 (‘psz_content’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
vlc-3.0.21/modules/lua/vlc.c:445:17: warning[-Wanalyzer-malloc-leak]: leak of ‘optv’
vlc-3.0.21/modules/lua/vlc.c:457:15: enter_function: entry to ‘vlclua_read_input_item’
vlc-3.0.21/modules/lua/vlc.c:459:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/vlc.c:465:5: branch_false: ...to here
vlc-3.0.21/modules/lua/vlc.c:468:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/lua/vlc.c:476:24: branch_false: ...to here
vlc-3.0.21/modules/lua/vlc.c:481:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/lua/vlc.c:483:16: branch_true: ...to here
vlc-3.0.21/modules/lua/vlc.c:504:5: call_function: calling ‘vlclua_read_options’ from ‘vlclua_read_input_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def623]
vlc-3.0.21/modules/lua/vlc.c:648:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ppsz_dir’
vlc-3.0.21/modules/lua/vlc.c:605:5: enter_function: entry to ‘vlclua_add_modules_path’
vlc-3.0.21/modules/lua/vlc.c:613:7: branch_false: following ‘false’ branch (when ‘psz_path’ is non-NULL)...
vlc-3.0.21/modules/lua/vlc.c:616:22: branch_false: ...to here
vlc-3.0.21/modules/lua/vlc.c:617:7: branch_false: following ‘false’ branch (when ‘psz_char’ is non-NULL)...
vlc-3.0.21/modules/lua/vlc.c:622:5: branch_false: ...to here
vlc-3.0.21/modules/lua/vlc.c:626:7: branch_false: following ‘false’ branch (when ‘psz_char’ is non-NULL)...
vlc-3.0.21/modules/lua/vlc.c:631:5: branch_false: ...to here
vlc-3.0.21/modules/lua/vlc.c:638:14: call_function: calling ‘vlclua_add_modules_path_inner’ from ‘vlclua_add_modules_path’
vlc-3.0.21/modules/lua/vlc.c:638:14: return_function: returning to ‘vlclua_add_modules_path’ from ‘vlclua_add_modules_path_inner’
vlc-3.0.21/modules/lua/vlc.c:642:14: call_function: calling ‘vlclua_add_modules_path_inner’ from ‘vlclua_add_modules_path’
vlc-3.0.21/modules/lua/vlc.c:642:14: return_function: returning to ‘vlclua_add_modules_path’ from ‘vlclua_add_modules_path_inner’
vlc-3.0.21/modules/lua/vlc.c:644:12: release_memory: ‘ppsz_dir_list’ is NULL
vlc-3.0.21/modules/lua/vlc.c:644:12: release_memory: ‘ppsz_dir_list’ is NULL
vlc-3.0.21/modules/lua/vlc.c:645:5: call_function: calling ‘vlclua_dir_list’ from ‘vlclua_add_modules_path’
vlc-3.0.21/modules/lua/vlc.c:645:5: return_function: returning to ‘vlclua_add_modules_path’ from ‘vlclua_dir_list’
vlc-3.0.21/modules/lua/vlc.c:646:12: release_memory: ‘ppsz_dir_list’ is NULL
vlc-3.0.21/modules/lua/vlc.c:648:12: danger: dereference of NULL ‘ppsz_dir’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def624]
vlc-3.0.21/modules/lua/vlc.c:682:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘uri’ where non-null expected
vlc-3.0.21/modules/lua/vlc.c:681:17: acquire_memory: this call could return NULL
vlc-3.0.21/modules/lua/vlc.c:682:10: danger: argument 1 (‘uri’) from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING: [#def625]
vlc-3.0.21/modules/meta_engine/folder.c: scope_hint: In function ‘FindMeta’
vlc-3.0.21/modules/meta_engine/folder.c:162:19: warning[-Wshadow=compatible-local]: declaration of ‘psz_uri’ shadows a previous local
vlc-3.0.21/modules/meta_engine/folder.c:93:11: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-477): [#def626]
vlc-3.0.21/modules/meta_engine/taglib.cpp: scope_hint: In member function ‘virtual TagLib::ByteVector VlcIostream::readBlock(ulong)’
vlc-3.0.21/modules/meta_engine/taglib.cpp:188:32: warning[-Wdeprecated-declarations]: ‘TagLib::ByteVector::null’ is deprecated
/usr/include/taglib/tfilestream.h:31: included_from: Included from here.
vlc-3.0.21/modules/meta_engine/taglib.cpp:62: included_from: Included from here.
/usr/include/taglib/tbytevector.h:598:41: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def627]
vlc-3.0.21/modules/meta_engine/taglib.cpp: scope_hint: In function ‘void ReadMetaFromBasicTag(const TagLib::Tag*, vlc_meta_t*)’
vlc-3.0.21/modules/meta_engine/taglib.cpp:468:32: warning[-Wdeprecated-declarations]: ‘bool TagLib::String::isNull() const’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:478:5: note: in expansion of macro ‘SET’
/usr/include/taglib/tag.h:30: included_from: Included from here.
/usr/include/taglib/tfile.h:31: included_from: Included from here.
/usr/include/taglib/fileref.h:29: included_from: Included from here.
vlc-3.0.21/modules/meta_engine/taglib.cpp:64: included_from: Included from here.
/usr/include/taglib/tstring.h:343:28: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def628]
vlc-3.0.21/modules/meta_engine/taglib.cpp: scope_hint: In function ‘void ReadMetaFromXiph(TagLib::Ogg::XiphComment*, demux_meta_t*, vlc_meta_t*)’
vlc-3.0.21/modules/meta_engine/taglib.cpp:703:39: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:712:5: note: in expansion of macro ‘SET’
/usr/include/taglib/fileref.h:30: included_from: Included from here.
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def629]
vlc-3.0.21/modules/meta_engine/taglib.cpp:708:39: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:722:5: note: in expansion of macro ‘SET_EXTRA’
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def630]
vlc-3.0.21/modules/meta_engine/taglib.cpp:726:45: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def631]
vlc-3.0.21/modules/meta_engine/taglib.cpp:735:48: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def632]
vlc-3.0.21/modules/meta_engine/taglib.cpp:737:53: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def633]
vlc-3.0.21/modules/meta_engine/taglib.cpp:771:66: warning[-Wdeprecated-copy]: implicitly-declared ‘TagLib::StringList& TagLib::StringList::operator=(const TagLib::StringList&)’ is deprecated
/usr/include/taglib/tstringlist.h:59:5: note: because ‘TagLib::StringList’ has user-provided ‘TagLib::StringList::StringList(const TagLib::StringList&)’
Error: COMPILER_WARNING (CWE-477): [#def634]
vlc-3.0.21/modules/meta_engine/taglib.cpp: scope_hint: In function ‘void ReadMetaFromMP4(TagLib::MP4::Tag*, demux_meta_t*, vlc_meta_t*)’
vlc-3.0.21/modules/meta_engine/taglib.cpp:809:25: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:821:5: note: in expansion of macro ‘SET’
/usr/include/taglib/mp4file.h:33: included_from: Included from here.
vlc-3.0.21/modules/meta_engine/taglib.cpp:80: included_from: Included from here.
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def635]
vlc-3.0.21/modules/meta_engine/taglib.cpp:811:32: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:821:5: note: in expansion of macro ‘SET’
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def636]
vlc-3.0.21/modules/meta_engine/taglib.cpp:815:25: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:822:5: note: in expansion of macro ‘SET_EXTRA’
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def637]
vlc-3.0.21/modules/meta_engine/taglib.cpp:817:32: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
vlc-3.0.21/modules/meta_engine/taglib.cpp:822:5: note: in expansion of macro ‘SET_EXTRA’
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def638]
vlc-3.0.21/modules/meta_engine/taglib.cpp:827:25: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def639]
vlc-3.0.21/modules/meta_engine/taglib.cpp:829:50: warning[-Wdeprecated-declarations]: ‘TagLib::MP4::ItemMap& TagLib::MP4::Tag::itemListMap()’ is deprecated
/usr/include/taglib/mp4tag.h:75:36: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
vlc-3.0.21/modules/misc/addons/fsstorage.c:813:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(p_node)’
vlc-3.0.21/modules/misc/addons/fsstorage.c:671:12: enter_function: entry to ‘LoadCatalog’
vlc-3.0.21/modules/misc/addons/fsstorage.c:675:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:677:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:677:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:682:5: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:697:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:703:29: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:705:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:708:26: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:710:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:712:34: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:713:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:719:9: call_function: inlined call to ‘xml_ReaderNextNode’ from ‘LoadCatalog’
vlc-3.0.21/modules/misc/addons/fsstorage.c:719:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:726:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:726:8: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:733:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:735:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:741:20: branch_false: following ‘false’ branch (when ‘p_entry’ is NULL)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:744:27: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:733:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:735:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:823:16: branch_false: following ‘false’ branch (when ‘p_entry’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:825:20: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:825:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:832:20: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:832:16: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:834:20: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:834:20: branch_true: following ‘true’ branch (when ‘p_entry’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:834:30: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:733:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:735:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:811:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:812:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:813:45: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:813:45: acquire_memory: allocated here
vlc-3.0.21/modules/misc/addons/fsstorage.c:813:17: danger: ‘strdup(p_node)’ leaks here; was allocated at [(41)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/40)
Error: GCC_ANALYZER_WARNING: [#def641]
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/misc/addons/fsstorage.c:671:12: enter_function: entry to ‘LoadCatalog’
vlc-3.0.21/modules/misc/addons/fsstorage.c:675:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:677:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:677:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:682:5: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:697:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:703:29: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:705:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:708:26: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:710:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:712:34: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:713:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:719:9: call_function: inlined call to ‘xml_ReaderNextNode’ from ‘LoadCatalog’
vlc-3.0.21/modules/misc/addons/fsstorage.c:719:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:726:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:726:8: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:733:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:735:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:741:20: branch_false: following ‘false’ branch (when ‘p_entry’ is NULL)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:744:27: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:733:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:735:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:823:16: branch_false: following ‘false’ branch (when ‘p_entry’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:825:20: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:825:16: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/fsstorage.c:828:17: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
vlc-3.0.21/modules/misc/addons/vorepository.c:155:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(p_node)’
vlc-3.0.21/modules/misc/addons/vorepository.c:359:12: enter_function: entry to ‘Retrieve’
vlc-3.0.21/modules/misc/addons/vorepository.c:362:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:367:29: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:369:8: branch_false: following ‘false’ branch (when ‘psz_archive_uri’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/vorepository.c:375:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:389:20: call_function: calling ‘vlc_stream_NewURL_ND’ from ‘Retrieve’
vlc-3.0.21/modules/misc/addons/vorepository.c:389:20: return_function: returning to ‘Retrieve’ from ‘vlc_stream_NewURL_ND’
vlc-3.0.21/modules/misc/addons/vorepository.c:394:8: branch_false: following ‘false’ branch (when ‘p_stream’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/vorepository.c:397:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:404:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:411:14: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:413:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:438:8: branch_false: following ‘false’ branch (when ‘i_ret == 0’)...
vlc-3.0.21/modules/misc/addons/vorepository.c:441:5: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:444:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:448:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:448:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:454:16: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:456:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:462:5: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:463:15: call_function: calling ‘ParseManifest’ from ‘Retrieve’
Error: GCC_ANALYZER_WARNING: [#def643]
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/modules/misc/addons/vorepository.c:207:12: enter_function: entry to ‘ParseCategoriesInfo’
vlc-3.0.21/modules/misc/addons/vorepository.c:217:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:219:9: call_function: inlined call to ‘xml_ReaderNextNode’ from ‘ParseCategoriesInfo’
vlc-3.0.21/modules/misc/addons/vorepository.c:219:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:225:10: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:225:8: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:231:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:233:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:239:20: branch_false: following ‘false’ branch (when ‘p_entry’ is NULL)...
vlc-3.0.21/modules/misc/addons/vorepository.c:241:27: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:231:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:233:9: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:308:16: branch_false: following ‘false’ branch (when ‘p_entry’ is non-NULL)...
vlc-3.0.21/modules/misc/addons/vorepository.c:309:20: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:309:16: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: branch_false: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: branch_true: ...to here
vlc-3.0.21/modules/misc/addons/vorepository.c:312:17: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
vlc-3.0.21/modules/misc/gnutls.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘gnutls_SessionOpen(crd, 1, *sys.x509_cred, sk, alpn)’
vlc-3.0.21/modules/misc/gnutls.c:625:19: enter_function: entry to ‘gnutls_ServerSessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:633:12: call_function: calling ‘gnutls_SessionOpen’ from ‘gnutls_ServerSessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:633:12: return_function: returning to ‘gnutls_ServerSessionOpen’ from ‘gnutls_SessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:634:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/gnutls.c:634:12: branch_true: ...to here
vlc-3.0.21/modules/misc/gnutls.c:226:9: danger: ‘gnutls_SessionOpen(crd, 1, *sys.x509_cred, sk, alpn)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
vlc-3.0.21/modules/misc/gnutls.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘gnutls_SessionOpen(crd, 2, *crd.sys, sk, alpn)’
vlc-3.0.21/modules/misc/gnutls.c:390:19: enter_function: entry to ‘gnutls_ClientSessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:396:12: call_function: calling ‘gnutls_SessionOpen’ from ‘gnutls_ClientSessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:396:12: return_function: returning to ‘gnutls_ClientSessionOpen’ from ‘gnutls_SessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:397:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/gnutls.c:400:22: branch_false: ...to here
vlc-3.0.21/modules/misc/gnutls.c:226:9: danger: ‘gnutls_SessionOpen(crd, 2, *crd.sys, sk, alpn)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING (CWE-563): [#def646]
vlc-3.0.21/modules/misc/gnutls.c: scope_hint: In function ‘gnutls_ServerSessionOpen’
vlc-3.0.21/modules/misc/gnutls.c:626:71: warning[-Wunused-parameter]: unused parameter ‘hostname’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def647]
vlc-3.0.21/modules/misc/playlist/xspf.c:91:16: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
vlc-3.0.21/modules/misc/playlist/xspf.c:226:5: enter_function: entry to ‘xspf_export_playlist’
vlc-3.0.21/modules/misc/playlist/xspf.c:240:7: branch_false: following ‘false’ branch (when ‘p_node’ is non-NULL)...
vlc-3.0.21/modules/misc/playlist/xspf.c:243:32: branch_false: ...to here
vlc-3.0.21/modules/misc/playlist/xspf.c:253:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/playlist/xspf.c:255:51: branch_true: ...to here
vlc-3.0.21/modules/misc/playlist/xspf.c:255:9: call_function: calling ‘xspf_export_item’ from ‘xspf_export_playlist’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def648]
vlc-3.0.21/modules/misc/playlist/xspf.c:94:5: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
vlc-3.0.21/modules/misc/playlist/xspf.c:226:5: enter_function: entry to ‘xspf_export_playlist’
vlc-3.0.21/modules/misc/playlist/xspf.c:240:7: branch_false: following ‘false’ branch (when ‘p_node’ is non-NULL)...
vlc-3.0.21/modules/misc/playlist/xspf.c:243:32: branch_false: ...to here
vlc-3.0.21/modules/misc/playlist/xspf.c:253:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/playlist/xspf.c:255:51: branch_true: ...to here
vlc-3.0.21/modules/misc/playlist/xspf.c:255:9: call_function: calling ‘xspf_export_item’ from ‘xspf_export_playlist’
Error: COMPILER_WARNING: [#def649]
vlc-3.0.21/modules/misc/rtsp.c: scope_hint: In function ‘sprintf_hexa’
vlc-3.0.21/modules/misc/rtsp.c:239:33: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def650]
vlc-3.0.21/modules/misc/rtsp.c:243:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
vlc-3.0.21/modules/misc/rtsp.c:471:12: enter_function: entry to ‘MediaAddES’
vlc-3.0.21/modules/misc/rtsp.c:476:7: branch_false: following ‘false’ branch (when ‘p_es’ is non-NULL)...
vlc-3.0.21/modules/misc/rtsp.c:479:5: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:482:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:488:5: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:624:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:626:40: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:626:32: acquire_memory: this call could return NULL
vlc-3.0.21/modules/misc/rtsp.c:627:17: call_function: calling ‘sprintf_hexa’ from ‘MediaAddES’
Error: COMPILER_WARNING (CWE-477): [#def651]
vlc-3.0.21/modules/misc/rtsp.c: scope_hint: In function ‘Close’
vlc-3.0.21/modules/misc/rtsp.c:326:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/misc/rtsp.c:38: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def652]
vlc-3.0.21/modules/misc/rtsp.c:326:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
vlc-3.0.21/modules/misc/rtsp.c:688:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/misc/rtsp.c:476:7: branch_false: following ‘false’ branch (when ‘p_es’ is non-NULL)...
vlc-3.0.21/modules/misc/rtsp.c:479:5: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:482:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:488:5: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:619:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:620:34: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:620:34: acquire_memory: allocated here
vlc-3.0.21/modules/misc/rtsp.c:684:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:686:9: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:688:9: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
vlc-3.0.21/modules/misc/rtsp.c:790:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.media’
vlc-3.0.21/modules/misc/rtsp.c:779:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:782:23: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:785:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:788:12: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:788:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:790:13: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:790:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:790:13: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:790:13: danger: ‘*p_sys.media’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
vlc-3.0.21/modules/misc/rtsp.c:869:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_media.rtsp’
vlc-3.0.21/modules/misc/rtsp.c:1265:12: enter_function: entry to ‘RtspCallbackES’
vlc-3.0.21/modules/misc/rtsp.c:1280:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:1282:5: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:1298:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:1299:17: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:1298:17: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/misc/rtsp.c:1304:36: branch_true: ...to here
vlc-3.0.21/modules/misc/rtsp.c:1307:19: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:1315:17: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:1331:23: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/rtsp.c:1333:21: branch_false: ...to here
vlc-3.0.21/modules/misc/rtsp.c:1335:30: call_function: calling ‘RtspClientNew’ from ‘RtspCallbackES’
Error: COMPILER_WARNING: [#def656]
vlc-3.0.21/modules/misc/rtsp.c: scope_hint: In function ‘RtspCallback’
vlc-3.0.21/modules/misc/rtsp.c:969:32: warning[-Wshadow=compatible-local]: declaration of ‘p_rtsp’ shadows a previous local
vlc-3.0.21/modules/misc/rtsp.c:940:20: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def657]
vlc-3.0.21/modules/misc/rtsp.c:1004:2: warning[-Wcpp]: #warning Should use secure randomness here! (spoofing risk)
Error: COMPILER_WARNING: [#def658]
vlc-3.0.21/modules/misc/rtsp.c:1004:2: warning[-Wcpp]: #warning Should use secure randomness here! (spoofing risk)
Error: COMPILER_WARNING: [#def659]
vlc-3.0.21/modules/misc/rtsp.c: scope_hint: In function ‘RtspCallbackES’
vlc-3.0.21/modules/misc/rtsp.c:1301:32: warning[-Wshadow=compatible-local]: declaration of ‘p_rtsp’ shadows a previous local
vlc-3.0.21/modules/misc/rtsp.c:1272:20: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def660]
vlc-3.0.21/modules/misc/rtsp.c:1330:2: warning[-Wcpp]: #warning Session ID should be securely random (spoofing risk)
Error: COMPILER_WARNING: [#def661]
vlc-3.0.21/modules/misc/rtsp.c:1330:2: warning[-Wcpp]: #warning Session ID should be securely random (spoofing risk)
Error: COMPILER_WARNING (CWE-9001): [#def662]
vlc-3.0.21/modules/misc/webservices/json.c: scope_hint: In function ‘new_value’
vlc-3.0.21/modules/misc/webservices/json.c:134:45: warning[-Wstrict-aliasing]: dereferencing type-punned pointer will break strict-aliasing rules
Error: COMPILER_WARNING (CWE-9001): [#def663]
vlc-3.0.21/modules/misc/webservices/json.c: scope_hint: In function ‘json_parse_ex’
vlc-3.0.21/modules/misc/webservices/json.c:343:27: warning[-Wstrict-aliasing]: dereferencing type-punned pointer will break strict-aliasing rules
Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
vlc-3.0.21/modules/misc/webservices/json.c:375:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘top’
vlc-3.0.21/modules/misc/webservices/json.c:782:14: enter_function: entry to ‘json_parse’
vlc-3.0.21/modules/misc/webservices/json.c:787:11: call_function: calling ‘json_parse_ex’ from ‘json_parse’
Error: CPPCHECK_WARNING (CWE-476): [#def665]
vlc-3.0.21/modules/misc/webservices/json.c:521: warning[nullPointer]: Possible null pointer dereference: top
Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
vlc-3.0.21/modules/misc/webservices/json_helper.h:33:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:300:26: enter_function: entry to ‘musicbrainz_lookup_recording_by_discid’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:303:21: call_function: calling ‘musicbrainz_build_discid_json_url’ from ‘musicbrainz_lookup_recording_by_discid’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:303:21: return_function: returning to ‘musicbrainz_lookup_recording_by_discid’ from ‘musicbrainz_build_discid_json_url’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:304:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:307:34: branch_false: ...to here
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:307:34: call_function: calling ‘musicbrainz_lookup_recording_by_apiurl’ from ‘musicbrainz_lookup_recording_by_discid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
vlc-3.0.21/modules/misc/webservices/json_helper.h:106:45: warning[-Wanalyzer-malloc-leak]: leak of ‘musicbrainz_lookup(*cfg.obj, psz_url)’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:327:21: enter_function: entry to ‘coverartarchive_lookup_releasegroup’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:330:7: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:334:12: branch_false: ...to here
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:334:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:339:39: branch_false: ...to here
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:339:39: call_function: calling ‘musicbrainz_lookup’ from ‘coverartarchive_lookup_releasegroup’
vlc-3.0.21/modules/misc/webservices/musicbrainz.c:339:39: return_function: returning to ‘coverartarchive_lookup_releasegroup’ from ‘musicbrainz_lookup’
vlc-3.0.21/modules/misc/webservices/json_helper.h:106:45: danger: ‘musicbrainz_lookup(*cfg.obj, psz_url)’ leaks here; was allocated at [(21)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/20)
Error: COMPILER_WARNING: [#def668]
vlc-3.0.21/modules/mux/asf.c: scope_hint: In function ‘asf_header_create’
vlc-3.0.21/modules/mux/asf.c:1000:22: warning[-Wshadow=compatible-local]: declaration of ‘tk’ shadows a previous local
vlc-3.0.21/modules/mux/asf.c:847:21: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-477): [#def669]
vlc-3.0.21/modules/mux/avi.c: scope_hint: In function ‘Mux’
vlc-3.0.21/modules/mux/avi.c:516:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/avi.c:37: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def670]
vlc-3.0.21/modules/mux/avi.c:516:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def671]
vlc-3.0.21/modules/mux/avi.c:523:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def672]
vlc-3.0.21/modules/mux/avi.c:523:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def673]
vlc-3.0.21/modules/mux/dummy.c: scope_hint: In function ‘Mux’
vlc-3.0.21/modules/mux/dummy.c:167:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/dummy.c:36: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def674]
vlc-3.0.21/modules/mux/dummy.c:167:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def675]
vlc-3.0.21/modules/mux/mp4/mp4.c: scope_hint: In function ‘Mux’
vlc-3.0.21/modules/mux/mp4/mp4.c:650:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/mp4/mp4.c:35: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def676]
vlc-3.0.21/modules/mux/mp4/mp4.c:650:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def677]
vlc-3.0.21/modules/mux/mpeg/ts.c: scope_hint: In function ‘SetBlockDuration’
vlc-3.0.21/modules/mux/mpeg/ts.c:1071:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/mpeg/ts.c:40: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def678]
vlc-3.0.21/modules/mux/mpeg/ts.c:1071:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def679]
vlc-3.0.21/modules/mux/mpeg/ts.c: scope_hint: In function ‘MuxStreams’
vlc-3.0.21/modules/mux/mpeg/ts.c:1235:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def680]
vlc-3.0.21/modules/mux/mpeg/ts.c:1235:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def681]
vlc-3.0.21/modules/mux/mpeg/ts.c:1243:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def682]
vlc-3.0.21/modules/mux/mpeg/ts.c:1243:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def683]
vlc-3.0.21/modules/mux/mpeg/ts.c:1306:21: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def684]
vlc-3.0.21/modules/mux/mpeg/ts.c:1306:21: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def685]
vlc-3.0.21/modules/mux/mpjpeg.c: scope_hint: In function ‘Mux’
vlc-3.0.21/modules/mux/mpjpeg.c:153:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/mpjpeg.c:35: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def686]
vlc-3.0.21/modules/mux/mpjpeg.c:153:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING: [#def687]
vlc-3.0.21/modules/mux/ogg.c: scope_hint: In function ‘AddStream’
vlc-3.0.21/modules/mux/ogg.c:506:13: warning[-Wstringop-truncation]: ‘strncpy’ output may be truncated copying 4 bytes from a string of length 4
Error: COMPILER_WARNING (CWE-477): [#def688]
vlc-3.0.21/modules/mux/ogg.c: scope_hint: In function ‘DelStream’
vlc-3.0.21/modules/mux/ogg.c:570:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/mux/ogg.c:36: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def689]
vlc-3.0.21/modules/mux/ogg.c:570:13: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING: [#def690]
vlc-3.0.21/modules/mux/ogg.c: scope_hint: In function ‘OggCreateHeaders’
vlc-3.0.21/modules/mux/ogg.c:1125:27: warning[-Wshadow=compatible-local]: declaration of ‘p_stream’ shadows a previous local
vlc-3.0.21/modules/mux/ogg.c:945:19: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def691]
vlc-3.0.21/modules/mux/ogg.c:1154:23: warning[-Wshadow=compatible-local]: declaration of ‘p_stream’ shadows a previous local
vlc-3.0.21/modules/mux/ogg.c:945:19: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def692]
vlc-3.0.21/modules/mux/ogg.c:1187:23: warning[-Wshadow=compatible-local]: declaration of ‘p_stream’ shadows a previous local
vlc-3.0.21/modules/mux/ogg.c:945:19: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def693]
vlc-3.0.21/modules/mux/ogg.c:1327:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘op.packet’
vlc-3.0.21/modules/mux/ogg.c:1486:12: enter_function: entry to ‘Mux’
vlc-3.0.21/modules/mux/ogg.c:1492:8: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/mux/ogg.c:1495:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/mux/ogg.c:1497:43: branch_true: ...to here
vlc-3.0.21/modules/mux/ogg.c:1497:13: call_function: calling ‘OggCreateStreamFooter’ from ‘Mux’
Error: COMPILER_WARNING (CWE-477): [#def694]
vlc-3.0.21/modules/mux/wav.c: scope_hint: In function ‘Mux’
vlc-3.0.21/modules/mux/wav.c:285:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_aout.h:112: included_from: Included from here.
vlc-3.0.21/modules/mux/wav.c:34: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def695]
vlc-3.0.21/modules/mux/wav.c:285:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-843): [#def696]
vlc-3.0.21/modules/notify/notify.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/notify/notify.c:121:33: warning[-Wcast-function-type]: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’
Error: COMPILER_WARNING (CWE-477): [#def697]
vlc-3.0.21/modules/notify/notify.c: scope_hint: In function ‘Notify’
vlc-3.0.21/modules/notify/notify.c:327:9: warning[-Wdeprecated-declarations]: ‘gdk_pixbuf_unref’ is deprecated: Use 'g_object_unref' instead
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkpixbuf.h:33: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkcairo.h:29: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:33: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
vlc-3.0.21/modules/notify/notify.c:39: included_from: Included from here.
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def698]
vlc-3.0.21/modules/notify/notify.c:327:9: warning[-Wdeprecated-declarations]: ‘gdk_pixbuf_unref’ is deprecated: Use 'g_object_unref' instead
Error: COMPILER_WARNING (CWE-483): [#def699]
vlc-3.0.21/modules/packetizer/av1.c: scope_hint: In function ‘ParseOBUBlock’
vlc-3.0.21/modules/packetizer/av1.c:93:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
vlc-3.0.21/modules/packetizer/av1.c:314:13: note: in expansion of macro ‘PUSHQ’
vlc-3.0.21/modules/packetizer/av1.c:94:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
vlc-3.0.21/modules/packetizer/av1.c:314:13: note: in expansion of macro ‘PUSHQ’
Error: COMPILER_WARNING (CWE-704): [#def700]
vlc-3.0.21/modules/packetizer/avparser.c: scope_hint: In function ‘avparser_OpenPacketizer’
vlc-3.0.21/modules/packetizer/avparser.c:107:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def701]
vlc-3.0.21/modules/packetizer/avparser.c:107:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-457): [#def702]
vlc-3.0.21/modules/packetizer/dirac.c:480:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p_d[0]’
vlc-3.0.21/modules/packetizer/dirac.c:1235:17: enter_function: entry to ‘Packetize’
vlc-3.0.21/modules/packetizer/dirac.c:1267:24: call_function: calling ‘dirac_DoSync’ from ‘Packetize’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def703]
vlc-3.0.21/modules/packetizer/dirac.c:675:17: warning[-Wanalyzer-infinite-loop]: infinite loop
vlc-3.0.21/modules/packetizer/dirac.c:1368:12: enter_function: entry to ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def704]
vlc-3.0.21/modules/packetizer/dts.c:367:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*p_sys.bytestream.p_block’
vlc-3.0.21/modules/packetizer/dts.c:129:17: enter_function: entry to ‘PacketizeBlock’
vlc-3.0.21/modules/packetizer/dts.c:135:24: branch_true: following ‘true’ branch (when ‘pp_block’ is non-NULL)...
vlc-3.0.21/modules/packetizer/dts.c:135:14: branch_true: ...to here
vlc-3.0.21/modules/packetizer/dts.c:137:7: branch_true: following ‘true’ branch (when ‘p_block’ is non-NULL)...
vlc-3.0.21/modules/packetizer/dts.c:139:14: branch_true: ...to here
vlc-3.0.21/modules/packetizer/dts.c:139:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/packetizer/dts.c:141:32: branch_true: ...to here
vlc-3.0.21/modules/packetizer/dts.c:141:32: call_function: calling ‘PacketizeBlock’ from ‘PacketizeBlock’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def705]
vlc-3.0.21/modules/packetizer/flac.c:341:23: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: COMPILER_WARNING (CWE-195): [#def706]
vlc-3.0.21/modules/packetizer/hxxx_sei.c: scope_hint: In function ‘HxxxParseSEI’
vlc-3.0.21/modules/packetizer/hxxx_sei.c:57:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING: [#def707]
vlc-3.0.21/modules/packetizer/hxxx_sei.c:186:30: warning[-Wshadow=local]: declaration of ‘i’ shadows a previous local
vlc-3.0.21/modules/packetizer/hxxx_sei.c:46:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def708]
vlc-3.0.21/modules/packetizer/hxxx_sei.c:188:30: warning[-Wshadow=local]: declaration of ‘i’ shadows a previous local
vlc-3.0.21/modules/packetizer/hxxx_sei.c:46:9: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def709]
vlc-3.0.21/modules/packetizer/mpegvideo.c:693:7: warning[-Wanalyzer-deref-before-check]: check of ‘p_frag’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-476): [#def710]
vlc-3.0.21/modules/packetizer/vc1.c:380:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/packetizer/vc1.c:336:17: enter_function: entry to ‘ParseIDU’
vlc-3.0.21/modules/packetizer/vc1.c:360:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/packetizer/vc1.c:361:9: branch_true: ...to here
vlc-3.0.21/modules/packetizer/vc1.c:360:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/packetizer/vc1.c:362:34: branch_true: ...to here
vlc-3.0.21/modules/packetizer/vc1.c:360:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/packetizer/vc1.c:363:34: branch_true: ...to here
vlc-3.0.21/modules/packetizer/vc1.c:360:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/packetizer/vc1.c:367:13: branch_true: ...to here
vlc-3.0.21/modules/packetizer/vc1.c:379:17: call_function: calling ‘block_ChainGather’ from ‘ParseIDU’
vlc-3.0.21/modules/packetizer/vc1.c:379:17: return_function: returning to ‘ParseIDU’ from ‘block_ChainGather’
vlc-3.0.21/modules/packetizer/vc1.c:380:9: danger: dereference of NULL ‘block_ChainGather(*p_sys.p_frame)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def711]
vlc-3.0.21/modules/services_discovery/mediadirs.c:336:21: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_dir’ where non-null expected
vlc-3.0.21/modules/services_discovery/mediadirs.c:335:21: acquire_memory: this call could return NULL
vlc-3.0.21/modules/services_discovery/mediadirs.c:336:21: danger: argument 1 (‘psz_dir’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
vlc-3.0.21/modules/services_discovery/microdns.c:269:1: warning[-Wanalyzer-malloc-leak]: leak of ‘*((services_discovery_t)*(void *)p_this).p_sys.s.items.pp_elems’
vlc-3.0.21/modules/services_discovery/microdns.c:436:1: enter_function: entry to ‘stop_sd_cb’
vlc-3.0.21/modules/services_discovery/microdns.c:441:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/microdns.c:445:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/microdns.c:445:9: call_function: calling ‘items_timeout’ from ‘stop_sd_cb’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
vlc-3.0.21/modules/services_discovery/microdns.c:269:1: warning[-Wanalyzer-malloc-leak]: leak of ‘*((vlc_renderer_discovery_t)*(void *)p_this).p_sys.s.items.pp_elems’
vlc-3.0.21/modules/services_discovery/microdns.c:548:1: enter_function: entry to ‘stop_rd_cb’
vlc-3.0.21/modules/services_discovery/microdns.c:553:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/microdns.c:557:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/microdns.c:557:9: call_function: calling ‘items_timeout’ from ‘stop_rd_cb’
Error: COMPILER_WARNING (CWE-9001): [#def714]
vlc-3.0.21/modules/services_discovery/mtp.c: scope_hint: In function 'Run'
vlc-3.0.21/modules/services_discovery/mtp.c:168:13: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def715]
vlc-3.0.21/modules/services_discovery/mtp.c:168:13: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def716]
vlc-3.0.21/modules/services_discovery/mtp.c:172:13: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-9001): [#def717]
vlc-3.0.21/modules/services_discovery/mtp.c:172:13: warning[-Wattribute-warning]: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
vlc-3.0.21/modules/services_discovery/mtp.c:205:15: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)*p_sd_27(D)->p_sys.i_tracks_num, 8)’
vlc-3.0.21/modules/services_discovery/mtp.c:187:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/mtp.c:189:27: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/mtp.c:197:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/mtp.c:205:52: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/mtp.c:205:44: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/mtp.c:205:15: danger: ‘calloc((long unsigned int)*p_sd_27(D)->p_sys.i_tracks_num, 8)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
vlc-3.0.21/modules/services_discovery/podcast.c:331:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_input’
vlc-3.0.21/modules/services_discovery/podcast.c:368:13: enter_function: entry to ‘ParseRequest’
vlc-3.0.21/modules/services_discovery/podcast.c:377:7: branch_false: following ‘false’ branch (when ‘psz_tok’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/podcast.c:378:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:380:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:382:26: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:382:26: call_function: calling ‘var_GetNonEmptyString’ from ‘ParseRequest’
vlc-3.0.21/modules/services_discovery/podcast.c:382:26: return_function: returning to ‘ParseRequest’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/services_discovery/podcast.c:384:9: call_function: calling ‘ParseUrls’ from ‘ParseRequest’
Error: COMPILER_WARNING: [#def720]
vlc-3.0.21/modules/services_discovery/podcast.c: scope_hint: In function ‘ParseUrls’
vlc-3.0.21/modules/services_discovery/podcast.c:358:14: warning[-Wshadow=compatible-local]: declaration of ‘i’ shadows a previous local
vlc-3.0.21/modules/services_discovery/podcast.c:307:9: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.ppsz_urls’
vlc-3.0.21/modules/services_discovery/podcast.c:377:7: branch_false: following ‘false’ branch (when ‘psz_tok’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/podcast.c:378:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:388:7: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/services_discovery/podcast.c:390:9: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:394:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: danger: ‘*p_sys.ppsz_urls’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(psz_request)’
vlc-3.0.21/modules/services_discovery/podcast.c:377:7: branch_false: following ‘false’ branch (when ‘psz_tok’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/podcast.c:378:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:388:7: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/services_discovery/podcast.c:390:9: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:394:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: danger: ‘strdup(psz_request)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_items’
vlc-3.0.21/modules/services_discovery/podcast.c:377:7: branch_false: following ‘false’ branch (when ‘psz_tok’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/podcast.c:378:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:388:7: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/services_discovery/podcast.c:390:9: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:394:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: danger: ‘*p_sys.pp_items’ leaks here; was allocated at [(12)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
vlc-3.0.21/modules/services_discovery/podcast.c:406:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_input’
vlc-3.0.21/modules/services_discovery/podcast.c:377:7: branch_false: following ‘false’ branch (when ‘psz_tok’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/podcast.c:378:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:388:7: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/services_discovery/podcast.c:390:9: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:394:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:396:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:403:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:406:13: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:406:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:406:13: danger: ‘*p_sys.pp_input’ leaks here; was allocated at [(15)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def725]
vlc-3.0.21/modules/services_discovery/podcast.c:444:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_urls’ where non-null expected
vlc-3.0.21/modules/services_discovery/podcast.c:437:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:438:24: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:437:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:440:24: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:440:24: acquire_memory: this call could return NULL
vlc-3.0.21/modules/services_discovery/podcast.c:442:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/podcast.c:444:27: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/podcast.c:444:9: danger: argument 1 (‘psz_urls’) from [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
vlc-3.0.21/modules/services_discovery/pulse.c:152:16: warning[-Wanalyzer-malloc-leak]: leak of ‘d’
vlc-3.0.21/modules/services_discovery/pulse.c:151:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/pulse.c:154:26: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/pulse.c:156:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/pulse.c:159:24: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/pulse.c:159:24: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/pulse.c:160:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/pulse.c:165:16: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/pulse.c:169:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/pulse.c:175:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/pulse.c:175:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/pulse.c:185:41: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/pulse.c:152:16: danger: ‘d’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-477): [#def727]
vlc-3.0.21/modules/services_discovery/pulse.c: scope_hint: In function ‘AddSource’
vlc-3.0.21/modules/services_discovery/pulse.c:186:5: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
vlc-3.0.21/modules/services_discovery/pulse.c:34: included_from: Included from here.
vlc-3.0.21/include/vlc_services_discovery.h:194:20: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def728]
vlc-3.0.21/modules/services_discovery/pulse.c:186:5: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
vlc-3.0.21/modules/services_discovery/sap.c:726:9: warning[-Wanalyzer-malloc-leak]: leak of ‘decomp’
vlc-3.0.21/modules/services_discovery/sap.c:660:12: enter_function: entry to ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:670:8: branch_false: following ‘false’ branch (when ‘len > 3’)...
vlc-3.0.21/modules/services_discovery/sap.c:673:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:677:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:689:10: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:700:7: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:702:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
vlc-3.0.21/modules/services_discovery/sap.c:703:27: call_function: inlined call to ‘U32_AT’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:713:8: branch_false: following ‘false’ branch (when ‘end >= buf’)...
vlc-3.0.21/modules/services_discovery/sap.c:716:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:717:7: branch_true: following ‘true’ branch (when ‘b_compressed != 0’)...
vlc-3.0.21/modules/services_discovery/sap.c:719:49: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:719:23: call_function: calling ‘Decompress’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:719:23: return_function: returning to ‘ParseSAP’ from ‘Decompress’
vlc-3.0.21/modules/services_discovery/sap.c:720:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:726:36: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:726:18: call_function: calling ‘xrealloc’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:726:18: return_function: returning to ‘ParseSAP’ from ‘xrealloc’
vlc-3.0.21/modules/services_discovery/sap.c:726:9: danger: ‘decomp’ leaks here; was allocated at [(51)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/50)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def730]
vlc-3.0.21/modules/services_discovery/sap.c:742:9: warning[-Wanalyzer-null-argument]: use of NULL ‘psz_sdp’ where non-null expected
vlc-3.0.21/modules/services_discovery/sap.c:660:12: enter_function: entry to ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:670:8: branch_false: following ‘false’ branch (when ‘len > 3’)...
vlc-3.0.21/modules/services_discovery/sap.c:673:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:677:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:689:10: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:700:7: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:702:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
vlc-3.0.21/modules/services_discovery/sap.c:703:27: call_function: inlined call to ‘U32_AT’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:713:8: branch_false: following ‘false’ branch (when ‘end >= buf’)...
vlc-3.0.21/modules/services_discovery/sap.c:716:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:717:7: branch_true: following ‘true’ branch (when ‘b_compressed != 0’)...
vlc-3.0.21/modules/services_discovery/sap.c:719:49: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:719:23: call_function: calling ‘Decompress’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:719:23: return_function: returning to ‘ParseSAP’ from ‘Decompress’
vlc-3.0.21/modules/services_discovery/sap.c:720:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:726:36: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:726:18: release_memory: ‘decomp’ is NULL
vlc-3.0.21/modules/services_discovery/sap.c:726:18: call_function: calling ‘xrealloc’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:726:18: return_function: returning to ‘ParseSAP’ from ‘xrealloc’
vlc-3.0.21/modules/services_discovery/sap.c:742:9: danger: argument 1 (‘psz_sdp’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-477): [#def731]
vlc-3.0.21/modules/services_discovery/sap.c: scope_hint: In function ‘CreateAnnounce’
vlc-3.0.21/modules/services_discovery/sap.c:900:9: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
vlc-3.0.21/modules/services_discovery/sap.c:39: included_from: Included from here.
vlc-3.0.21/include/vlc_services_discovery.h:194:20: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def732]
vlc-3.0.21/modules/services_discovery/sap.c:900:9: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def733]
vlc-3.0.21/modules/services_discovery/sap.c:908:9: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
vlc-3.0.21/include/vlc_services_discovery.h:194:20: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def734]
vlc-3.0.21/modules/services_discovery/sap.c:908:9: warning[-Wdeprecated-declarations]: ‘services_discovery_AddItemCat’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
vlc-3.0.21/modules/services_discovery/sap.c:911:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_announces’
vlc-3.0.21/modules/services_discovery/sap.c:839:7: branch_false: following ‘false’ branch (when ‘p_sap’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/sap.c:842:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:854:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:859:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:862:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:868:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:879:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:883:17: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:911:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:911:5: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:911:5: danger: ‘*p_sys.pp_announces’ leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def736]
vlc-3.0.21/modules/services_discovery/sap.c:1449:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
vlc-3.0.21/modules/services_discovery/sap.c:660:12: enter_function: entry to ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:670:8: branch_false: following ‘false’ branch (when ‘len > 3’)...
vlc-3.0.21/modules/services_discovery/sap.c:673:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:677:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:683:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:689:10: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:700:7: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:702:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
vlc-3.0.21/modules/services_discovery/sap.c:703:27: call_function: inlined call to ‘U32_AT’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:713:8: branch_false: following ‘false’ branch (when ‘end >= buf’)...
vlc-3.0.21/modules/services_discovery/sap.c:716:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:717:7: branch_true: following ‘true’ branch (when ‘b_compressed != 0’)...
vlc-3.0.21/modules/services_discovery/sap.c:719:49: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:719:23: call_function: calling ‘Decompress’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:719:23: return_function: returning to ‘ParseSAP’ from ‘Decompress’
vlc-3.0.21/modules/services_discovery/sap.c:720:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:726:36: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:726:18: call_function: calling ‘xrealloc’ from ‘ParseSAP’
vlc-3.0.21/modules/services_discovery/sap.c:726:18: return_function: returning to ‘ParseSAP’ from ‘xrealloc’
vlc-3.0.21/modules/services_discovery/sap.c:761:13: call_function: calling ‘ParseSDP’ from ‘ParseSAP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(4)’
vlc-3.0.21/modules/services_discovery/sap.c:1477:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1480:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: acquire_memory: allocated here
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: danger: ‘malloc(4)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_sd_21(D)->p_sys.pi_fd, (long unsigned int)(*p_sd_21(D)->p_sys.i_fd + 1) * 4)’
vlc-3.0.21/modules/services_discovery/sap.c:1477:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1480:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1481:5: danger: ‘realloc(*p_sd_21(D)->p_sys.pi_fd, (long unsigned int)(*p_sd_21(D)->p_sys.i_fd + 1) * 4)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
vlc-3.0.21/modules/services_discovery/sap.c:1606:13: warning[-Wanalyzer-malloc-leak]: leak of ‘MakeAttribute(data)’
vlc-3.0.21/modules/services_discovery/sap.c:1167:15: enter_function: entry to ‘ParseSDP’
vlc-3.0.21/modules/services_discovery/sap.c:1169:7: branch_false: following ‘false’ branch (when ‘psz_sdp’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/sap.c:1172:20: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1173:8: branch_false: following ‘false’ branch (when ‘p_sdp’ is non-NULL)...
vlc-3.0.21/modules/services_discovery/sap.c:1178:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1184:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1185:5: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1188:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1191:19: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1199:12: branch_false: following ‘false’ branch (when ‘eol’ is NULL)...
vlc-3.0.21/modules/services_discovery/sap.c:1206:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1207:12: branch_false: following ‘false’ branch (when ‘cat != 0’)...
vlc-3.0.21/modules/services_discovery/sap.c:1207:22: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1207:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1213:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1213:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1224:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1229:20: branch_false: following ‘false’ branch (when ‘cat == 118’)...
vlc-3.0.21/modules/services_discovery/sap.c:1234:21: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1234:20: branch_false: following ‘false’ branch (when the strings are equal)...
branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1184:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1185:5: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1188:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1191:19: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1199:12: branch_false: following ‘false’ branch (when ‘eol’ is NULL)...
vlc-3.0.21/modules/services_discovery/sap.c:1206:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1207:12: branch_false: following ‘false’ branch (when ‘cat != 0’)...
vlc-3.0.21/modules/services_discovery/sap.c:1207:22: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1207:13: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1213:13: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1213:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1224:9: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1351:20: branch_true: following ‘true’ branch (when ‘cat == 97’)...
vlc-3.0.21/modules/services_discovery/sap.c:1353:43: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1353:43: call_function: calling ‘MakeAttribute’ from ‘ParseSDP’
vlc-3.0.21/modules/services_discovery/sap.c:1353:43: return_function: returning to ‘ParseSDP’ from ‘MakeAttribute’
vlc-3.0.21/modules/services_discovery/sap.c:1354:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/sap.c:1354:21: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/sap.c:1606:13: danger: ‘MakeAttribute(data)’ leaks here; was allocated at [(44)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/43)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
vlc-3.0.21/modules/services_discovery/udev.c:204:5: warning[-Wanalyzer-malloc-leak]: leak of ‘d’
vlc-3.0.21/modules/services_discovery/udev.c:320:14: enter_function: entry to ‘Run’
vlc-3.0.21/modules/services_discovery/udev.c:341:12: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/modules/services_discovery/udev.c:342:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/udev.c:342:13: call_function: calling ‘AddDevice’ from ‘Run’
Error: CPPCHECK_WARNING (CWE-401): [#def741]
vlc-3.0.21/modules/services_discovery/upnp.cpp:622: error[memleak]: Memory leak: psz_satip_channellist
Error: CPPCHECK_WARNING (CWE-476): [#def742]
vlc-3.0.21/modules/services_discovery/upnp.cpp:1052: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m_psz_root
Error: COMPILER_WARNING: [#def743]
vlc-3.0.21/modules/services_discovery/upnp.cpp: scope_hint: In member function ‘bool Access::MediaServer::addItem(IXML_Element*)’
vlc-3.0.21/modules/services_discovery/upnp.cpp:1118:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/services_discovery/upnp.cpp:1122:13: note: here
Error: COMPILER_WARNING (CWE-1164): [#def744]
vlc-3.0.21/modules/services_discovery/upnp.cpp: scope_hint: At global scope
vlc-3.0.21/modules/services_discovery/upnp.cpp:1660:14: warning[-Wunused-function]: ‘char* getIpv4ForMulticast()’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
vlc-3.0.21/modules/services_discovery/xcb_apps.c:336:13: warning[-Wanalyzer-malloc-leak]: leak of ‘app’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:310:13: enter_function: entry to ‘UpdateApps’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:320:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:323:25: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:327:21: branch_true: following ‘true’ branch (when ‘i < n’)...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:329:28: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:333:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: call_function: calling ‘AddApp’ from ‘UpdateApps’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: return_function: returning to ‘UpdateApps’ from ‘AddApp’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:341:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:345:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:346:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:327:21: branch_true: following ‘true’ branch (when ‘i < n’)...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:329:28: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:333:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:335:13: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:336:13: danger: ‘app’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
vlc-3.0.21/modules/services_discovery/xcb_apps.c:353:5: warning[-Wanalyzer-malloc-leak]: leak of ‘app’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:310:13: enter_function: entry to ‘UpdateApps’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:320:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:323:25: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:327:21: branch_true: following ‘true’ branch (when ‘i < n’)...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:329:28: branch_true: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:333:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: call_function: calling ‘AddApp’ from ‘UpdateApps’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:340:19: return_function: returning to ‘UpdateApps’ from ‘AddApp’
vlc-3.0.21/modules/services_discovery/xcb_apps.c:341:16: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:345:14: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:346:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:327:21: branch_false: following ‘false’ branch (when ‘i >= n’)...
vlc-3.0.21/modules/services_discovery/xcb_apps.c:349:5: branch_false: ...to here
vlc-3.0.21/modules/services_discovery/xcb_apps.c:353:5: danger: ‘app’ leaks here; was allocated at [(14)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def747]
vlc-3.0.21/modules/spu/mosaic.c:244:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/spu/mosaic.c:278:12: enter_function: entry to ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:289:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/mosaic.c:292:5: branch_false: ...to here
vlc-3.0.21/modules/spu/mosaic.c:338:17: call_function: calling ‘var_CreateGetStringCommand’ from ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:338:17: return_function: returning to ‘CreateFilter’ from ‘var_CreateGetStringCommand’
vlc-3.0.21/modules/spu/mosaic.c:362:19: call_function: calling ‘var_CreateGetStringCommand’ from ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:362:19: return_function: returning to ‘CreateFilter’ from ‘var_CreateGetStringCommand’
vlc-3.0.21/modules/spu/mosaic.c:366:5: call_function: inlined call to ‘mosaic_ParseSetOffsets’ from ‘CreateFilter’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def748]
vlc-3.0.21/modules/spu/mosaic.c:342:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/spu/mosaic.c:278:12: enter_function: entry to ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:289:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/mosaic.c:292:5: branch_false: ...to here
vlc-3.0.21/modules/spu/mosaic.c:338:17: call_function: calling ‘var_CreateGetStringCommand’ from ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:338:17: return_function: returning to ‘CreateFilter’ from ‘var_CreateGetStringCommand’
vlc-3.0.21/modules/spu/mosaic.c:342:9: danger: dereference of NULL ‘var_CreateGetStringCommand(&*(filter_t *)p_this.obj, "mosaic-order")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def749]
vlc-3.0.21/modules/spu/mosaic.c:354:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(psz_order, (long unsigned int)(psz_end - psz_order))’
vlc-3.0.21/modules/spu/mosaic.c:278:12: enter_function: entry to ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:289:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/mosaic.c:292:5: branch_false: ...to here
vlc-3.0.21/modules/spu/mosaic.c:338:17: call_function: calling ‘var_CreateGetStringCommand’ from ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:338:17: return_function: returning to ‘CreateFilter’ from ‘var_CreateGetStringCommand’
vlc-3.0.21/modules/spu/mosaic.c:342:7: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/spu/mosaic.c:350:33: call_function: calling ‘xrealloc’ from ‘CreateFilter’
vlc-3.0.21/modules/spu/mosaic.c:350:33: return_function: returning to ‘CreateFilter’ from ‘xrealloc’
vlc-3.0.21/modules/spu/mosaic.c:352:46: acquire_memory: allocated here
vlc-3.0.21/modules/spu/mosaic.c:354:13: danger: ‘strndup(psz_order, (long unsigned int)(psz_end - psz_order))’ leaks here; was allocated at [(21)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/20)
Error: COMPILER_WARNING: [#def750]
vlc-3.0.21/modules/spu/remoteosd.c: scope_hint: In function ‘vnc_connect’
vlc-3.0.21/modules/spu/remoteosd.c:363:5: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 12 bytes from a string of the same length
Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
vlc-3.0.21/modules/spu/rss.c:475:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘a’
vlc-3.0.21/modules/spu/rss.c:375:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/rss.c:385:5: branch_false: ...to here
vlc-3.0.21/modules/spu/rss.c:405:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/rss.c:411:5: branch_false: ...to here
vlc-3.0.21/modules/spu/rss.c:414:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/spu/rss.c:423:5: branch_false: ...to here
vlc-3.0.21/modules/spu/rss.c:468:19: acquire_memory: this call could return NULL
vlc-3.0.21/modules/spu/rss.c:473:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/spu/rss.c:475:23: branch_true: ...to here
vlc-3.0.21/modules/spu/rss.c:475:23: danger: ‘a’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def752]
vlc-3.0.21/modules/spu/rss.c:609:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_clean’
vlc-3.0.21/modules/spu/rss.c:606:28: acquire_memory: this call could return NULL
vlc-3.0.21/modules/spu/rss.c:609:14: danger: ‘psz_clean’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def753]
vlc-3.0.21/modules/spu/rss.c:659:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psz_end’
vlc-3.0.21/modules/spu/rss.c:629:12: enter_function: entry to ‘ParseUrls’
vlc-3.0.21/modules/spu/rss.c:645:22: call_function: inlined call to ‘vlc_alloc’ from ‘ParseUrls’
vlc-3.0.21/modules/spu/rss.c:646:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/spu/rss.c:651:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/spu/rss.c:653:30: branch_true: ...to here
vlc-3.0.21/modules/spu/rss.c:656:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/spu/rss.c:658:23: branch_true: ...to here
vlc-3.0.21/modules/spu/rss.c:659:13: danger: dereference of NULL ‘psz_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
vlc-3.0.21/modules/stream_extractor/archive.c:248:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/stream_extractor/archive.c:700:23: enter_function: entry to ‘CommonOpen’
vlc-3.0.21/modules/stream_extractor/archive.c:702:9: call_function: calling ‘probe’ from ‘CommonOpen’
vlc-3.0.21/modules/stream_extractor/archive.c:702:9: return_function: returning to ‘CommonOpen’ from ‘probe’
vlc-3.0.21/modules/stream_extractor/archive.c:702:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_extractor/archive.c:705:28: branch_false: ...to here
vlc-3.0.21/modules/stream_extractor/archive.c:705:28: call_function: calling ‘setup’ from ‘CommonOpen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
vlc-3.0.21/modules/stream_extractor/archive.c:443:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/stream_extractor/archive.c:700:23: enter_function: entry to ‘CommonOpen’
vlc-3.0.21/modules/stream_extractor/archive.c:702:9: call_function: calling ‘probe’ from ‘CommonOpen’
vlc-3.0.21/modules/stream_extractor/archive.c:702:9: return_function: returning to ‘CommonOpen’ from ‘probe’
vlc-3.0.21/modules/stream_extractor/archive.c:702:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_extractor/archive.c:705:28: branch_false: ...to here
vlc-3.0.21/modules/stream_extractor/archive.c:705:28: call_function: calling ‘setup’ from ‘CommonOpen’
Error: COMPILER_WARNING: [#def756]
vlc-3.0.21/modules/stream_filter/aribcam.c:55:38: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def757]
vlc-3.0.21/modules/stream_filter/aribcam.c:76:38: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: COMPILER_WARNING: [#def758]
vlc-3.0.21/modules/stream_filter/aribcam.c:100:62: warning[-Wduplicate-decl-specifier]: duplicate ‘const’ declaration specifier
Error: GCC_ANALYZER_WARNING (CWE-688): [#def759]
vlc-3.0.21/modules/stream_filter/hds/hds.c:552:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.movie_id’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:551:19: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:552:17: danger: argument 1 (‘strndup(data_p, (long unsigned int)(data_end - data_p))’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def760]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[0]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def761]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[1]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def762]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[2]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(23)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/22) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def763]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[3]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(29)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/28) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def764]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[4]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(35)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/34) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def765]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[5]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(41)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/40) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def766]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[6]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(47)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/46) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def767]
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*s.server_entries[7]’ where non-null expected
vlc-3.0.21/modules/stream_filter/hds/hds.c:507:13: enter_function: entry to ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:523:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:542:20: call_function: inlined call to ‘U32_AT’ from ‘parse_BootstrapData’
vlc-3.0.21/modules/stream_filter/hds/hds.c:554:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:560:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:584:11: branch_false: following ‘false’ branch (when ‘data_end > data_p’)...
branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:564:12: branch_true: following ‘true’ branch (when ‘server_entry_count != 0’)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:13: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:566:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:569:67: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:568:58: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_filter/hds/hds.c:570:23: danger: argument 1 (‘*s.server_entries[<unknown>]’) from [(53)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/52) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1379:26: warning[-Wanalyzer-malloc-leak]: leak of ‘m.medias[0].stream_id’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def769]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1387:26: warning[-Wanalyzer-malloc-leak]: leak of ‘m.medias[0].media_url’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1415:26: warning[-Wanalyzer-malloc-leak]: leak of ‘m.bootstraps[0].url’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1423:26: warning[-Wanalyzer-malloc-leak]: leak of ‘m.bootstraps[0].id’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def772]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1463:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def773]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1470:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
vlc-3.0.21/modules/stream_filter/hds/hds.c:1649:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: call_function: calling ‘isHDS’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:10: return_function: returning to ‘Open’ from ‘isHDS’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:24: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1654:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1657:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1660:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1664:49: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1665:7: branch_false: following ‘false’ branch (when ‘uri_without_query’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1672:17: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1673:8: branch_false: following ‘false’ branch (when ‘pos’ is non-NULL)...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1679:5: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: call_function: calling ‘init_Manifest’ from ‘Open’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:9: return_function: returning to ‘Open’ from ‘init_Manifest’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: branch_false: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1687:35: call_function: calling ‘parse_Manifest’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def774]
vlc-3.0.21/modules/stream_filter/hds/hds.c:1758:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p_sys.flv_header + *p_sys.flv_header_bytes_sent’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1743:12: enter_function: entry to ‘send_flv_header’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1746:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_filter/hds/hds.c:1748:9: branch_true: ...to here
vlc-3.0.21/modules/stream_filter/hds/hds.c:1748:9: call_function: calling ‘initialize_header_and_metadata’ from ‘send_flv_header’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1748:9: return_function: returning to ‘send_flv_header’ from ‘initialize_header_and_metadata’
vlc-3.0.21/modules/stream_filter/hds/hds.c:1758:5: danger: use of uninitialized value ‘*p_sys.flv_header + *p_sys.flv_header_bytes_sent’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def775]
vlc-3.0.21/modules/stream_out/autodel.c:91:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/stream_out/autodel.c:83:22: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_out/autodel.c:85:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/autodel.c:91:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/autodel.c:91:5: danger: ‘p_sys’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
vlc-3.0.21/modules/stream_out/autodel.c:127:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_es’
vlc-3.0.21/modules/stream_out/autodel.c:119:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/autodel.c:122:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/autodel.c:127:5: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/autodel.c:127:5: branch_true: ...to here
vlc-3.0.21/modules/stream_out/autodel.c:127:5: danger: ‘*p_sys.pp_es’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-477): [#def777]
vlc-3.0.21/modules/stream_out/chromecast/chromecast_communication.cpp: scope_hint: In member function ‘int ChromecastCommunication::sendMessage(const castchannel::CastMessage&)’
vlc-3.0.21/modules/stream_out/chromecast/chromecast_communication.cpp:440:30: warning[-Wdeprecated-declarations]: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead
/usr/include/google/protobuf/generated_enum_util.h:36: included_from: Included from here.
/usr/include/google/protobuf/map.h:59: included_from: Included from here.
/usr/include/google/protobuf/generated_message_table_driven.h:34: included_from: Included from here.
vlc-3.0.21/modules/stream_out/chromecast/cast_channel.pb.h:26: included_from: Included from here.
vlc-3.0.21/modules/stream_out/chromecast/chromecast.h:45: included_from: Included from here.
vlc-3.0.21/modules/stream_out/chromecast/chromecast_communication.cpp:30: included_from: Included from here.
/usr/include/google/protobuf/message_lite.h:386:7: note: declared here
Error: COMPILER_WARNING: [#def778]
vlc-3.0.21/modules/stream_out/chromecast/chromecast_ctrl.cpp: scope_hint: In member function ‘bool intf_sys_t::processReceiverMessage(const castchannel::CastMessage&)’
vlc-3.0.21/modules/stream_out/chromecast/chromecast_ctrl.cpp:770:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/stream_out/chromecast/chromecast_ctrl.cpp:773:9: note: here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def779]
vlc-3.0.21/modules/stream_out/cycle.c:160:41: warning[-Wanalyzer-deref-before-check]: check of ‘block’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
vlc-3.0.21/modules/stream_out/es.c:157:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/stream_out/es.c:155:31: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_out/es.c:157:5: danger: ‘p_sys’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def781]
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:353:30: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(*p_bridge.pp_es, (long unsigned int)(*p_bridge.i_es_num + 1) * 8)’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:276:31: enter_function: entry to ‘Add’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:284:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:289:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:291:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:303:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:309:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:315:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:323:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:326:16: call_function: inlined call to ‘GetBridge’ from ‘Add’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:326:16: call_function: inlined call to ‘GetBridge’ from ‘Add’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:327:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:342:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:348:8: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:351:27: branch_true: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:350:27: call_function: calling ‘xrealloc’ from ‘Add’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:350:27: return_function: returning to ‘Add’ from ‘xrealloc’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:353:30: danger: ‘xrealloc(*p_bridge.pp_es, (long unsigned int)(*p_bridge.i_es_num + 1) * 8)’ leaks here; was allocated at [(23)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/22)
Error: COMPILER_WARNING: [#def782]
vlc-3.0.21/include/vlc_common.h:1034: included_from: Included from here.
vlc-3.0.21/modules/stream_out/mosaic_bridge.c: scope_hint: In function ‘Add’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:383:24: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:383:36: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def783]
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:457:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:414:13: enter_function: entry to ‘Del’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:423:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:426:9: branch_true: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:446:16: call_function: inlined call to ‘GetBridge’ from ‘Del’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:446:16: call_function: inlined call to ‘GetBridge’ from ‘Del’
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:450:13: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/stream_out/mosaic_bridge.c:457:22: danger: dereference of NULL ‘var_GetAddress(&*MEM[(struct vlc_object_t *)p_stream_40(D)].obj.libvlc.obj, "mosaic-struct")’
Error: COMPILER_WARNING: [#def784]
vlc-3.0.21/modules/stream_out/rtp.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/stream_out/rtp.c:1568:5: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 8 equals destination size
Error: COMPILER_WARNING (CWE-563): [#def785]
vlc-3.0.21/modules/stream_out/rtp.c: scope_hint: In function ‘rtp_get_video_geometry’
vlc-3.0.21/modules/stream_out/rtp.c:1812:9: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING: [#def786]
vlc-3.0.21/modules/stream_out/rtpfmt.c: scope_hint: In function ‘sprintf_hexa’
vlc-3.0.21/modules/stream_out/rtpfmt.c:159:33: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: COMPILER_WARNING (CWE-195): [#def787]
vlc-3.0.21/modules/stream_out/rtpfmt.c: scope_hint: In function ‘rtp_packetize_eac3’
vlc-3.0.21/modules/stream_out/rtpfmt.c:996:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
Error: COMPILER_WARNING (CWE-457): [#def788]
vlc-3.0.21/modules/stream_out/rtpfmt.c: scope_hint: In function ‘rtp_packetize_jpeg’
vlc-3.0.21/modules/stream_out/rtpfmt.c:1965:5: warning[-Wmaybe-uninitialized]: ‘y_sampling_factor’ may be used uninitialized
vlc-3.0.21/modules/stream_out/rtpfmt.c:1873:9: note: ‘y_sampling_factor’ was declared here
Error: COMPILER_WARNING: [#def789]
vlc-3.0.21/modules/stream_out/rtsp.c: scope_hint: In function ‘RtspHandler’
vlc-3.0.21/modules/stream_out/rtsp.c:1152:29: warning[-Wshadow=compatible-local]: declaration of ‘ses’ shadows a previous local
vlc-3.0.21/modules/stream_out/rtsp.c:1144:29: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def790]
vlc-3.0.21/modules/stream_out/standard.c:297:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘psz_target’ where non-null expected
vlc-3.0.21/modules/stream_out/standard.c:328:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:339:15: call_function: calling ‘var_GetNonEmptyString’ from ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:339:15: return_function: returning to ‘Open’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/stream_out/standard.c:341:18: call_function: calling ‘var_GetNonEmptyString’ from ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:341:18: return_function: returning to ‘Open’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/stream_out/standard.c:342:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:345:15: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:346:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:364:31: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:365:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:370:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:372:9: call_function: calling ‘fixAccessMux’ from ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:372:9: return_function: returning to ‘Open’ from ‘fixAccessMux’
vlc-3.0.21/modules/stream_out/standard.c:372:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:375:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:375:5: call_function: calling ‘checkAccessMux’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def791]
vlc-3.0.21/modules/stream_out/standard.c:300:18: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
vlc-3.0.21/modules/stream_out/standard.c:328:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:341:18: call_function: calling ‘var_GetNonEmptyString’ from ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:341:18: return_function: returning to ‘Open’ from ‘var_GetNonEmptyString’
vlc-3.0.21/modules/stream_out/standard.c:342:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:345:15: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:346:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:364:31: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:365:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:370:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:372:9: call_function: calling ‘fixAccessMux’ from ‘Open’
vlc-3.0.21/modules/stream_out/standard.c:372:9: return_function: returning to ‘Open’ from ‘fixAccessMux’
vlc-3.0.21/modules/stream_out/standard.c:372:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/standard.c:375:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/standard.c:375:5: call_function: calling ‘checkAccessMux’ from ‘Open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def792]
vlc-3.0.21/modules/stream_out/transcode/transcode.c:259:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_sys’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:240:12: enter_function: entry to ‘Open’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:246:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:251:13: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:251:13: acquire_memory: this call could return NULL
vlc-3.0.21/modules/stream_out/transcode/transcode.c:258:18: call_function: calling ‘var_GetString’ from ‘Open’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:258:18: return_function: returning to ‘Open’ from ‘var_GetString’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:259:5: danger: ‘p_sys’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING: [#def793]
vlc-3.0.21/modules/stream_out/transcode/transcode.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:274:23: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (6 chars into 5 available)
Error: COMPILER_WARNING: [#def794]
vlc-3.0.21/modules/stream_out/transcode/transcode.c:329:23: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (6 chars into 5 available)
Error: COMPILER_WARNING: [#def795]
vlc-3.0.21/modules/stream_out/transcode/transcode.c:399:23: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (6 chars into 5 available)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
vlc-3.0.21/modules/stream_out/transcode/transcode.c:521:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*p_sys.psz_alang)’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:491:7: branch_false: following ‘false’ branch (when ‘id’ is non-NULL)...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:494:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:501:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:503:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:510:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:512:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:520:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:521:47: branch_true: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:521:47: acquire_memory: allocated here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:521:9: danger: ‘strdup(*p_sys.psz_alang)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def797]
vlc-3.0.21/modules/stream_out/transcode/transcode.c:523:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*p_fmt.psz_language)’
vlc-3.0.21/modules/stream_out/transcode/transcode.c:491:7: branch_false: following ‘false’ branch (when ‘id’ is non-NULL)...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:494:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:501:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:503:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:510:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:512:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:520:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:522:14: branch_false: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:522:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/transcode/transcode.c:523:47: branch_true: ...to here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:523:47: acquire_memory: allocated here
vlc-3.0.21/modules/stream_out/transcode/transcode.c:523:9: danger: ‘strdup(*p_fmt.psz_language)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING (CWE-477): [#def798]
vlc-3.0.21/modules/stream_out/vod.c: scope_hint: In function ‘CloseVoD’
vlc-3.0.21/modules/stream_out/vod.c:188:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/modules/stream_out/vod.c:38: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def799]
vlc-3.0.21/modules/stream_out/vod.c:188:5: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def800]
vlc-3.0.21/modules/stream_out/vod.c:251:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/stream_out/vod.c:211:7: branch_false: following ‘false’ branch (when ‘p_media’ is non-NULL)...
vlc-3.0.21/modules/stream_out/vod.c:214:5: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:222:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/vod.c:224:30: branch_true: ...to here
vlc-3.0.21/modules/stream_out/vod.c:238:11: branch_false: following ‘false’ branch (when ‘p_es’ is non-NULL)...
vlc-3.0.21/modules/stream_out/vod.c:241:23: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:244:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:251:9: acquire_memory: allocated here
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:222:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/vod.c:224:30: branch_true: ...to here
vlc-3.0.21/modules/stream_out/vod.c:238:11: branch_false: following ‘false’ branch (when ‘p_es’ is non-NULL)...
vlc-3.0.21/modules/stream_out/vod.c:241:23: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:244:12: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_false: ...to here
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/stream_out/vod.c:251:9: branch_true: ...to here
vlc-3.0.21/modules/stream_out/vod.c:251:9: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def801]
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:333:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pp_font_attachments’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:320:12: enter_function: entry to ‘LoadFontsFromAttachments’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:328:9: call_function: inlined call to ‘filter_GetInputAttachments’ from ‘LoadFontsFromAttachments’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:328:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:331:5: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:332:34: call_function: inlined call to ‘vlc_alloc’ from ‘LoadFontsFromAttachments’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:333:7: danger: ‘*p_sys.pp_font_attachments’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def802]
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:496:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fmt.p_palette’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:483:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:21: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:73: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:73: acquire_memory: this call could return NULL
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:496:5: danger: ‘<unknown>’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def803]
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:522:12: warning[-Wanalyzer-deref-before-check]: check of ‘p_line’ for NULL after already dereferencing it
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:483:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:21: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:485:5: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:497:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:499:9: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:506:17: branch_true: following ‘true’ branch (when ‘i != 16’)...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:508:40: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:522:12: danger: pointer ‘p_line’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def804]
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1045:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pp_styles’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1088:20: enter_function: entry to ‘SegmentsToTextAndStyles’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1096:47: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1098:14: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1098:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1102:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1104:13: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1105:13: call_function: calling ‘FreeStylesArray’ from ‘SegmentsToTextAndStyles’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def805]
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1123:44: warning[-Wanalyzer-double-free]: double-‘free’ of ‘pp_styles’
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1096:47: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1098:14: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1098:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1102:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1108:35: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1109:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1117:25: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/freetype.c:1123:44: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def806]
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:469:11: warning[-Wanalyzer-malloc-leak]: leak of ‘p_new_runs’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1507:5: enter_function: entry to ‘LayoutText’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1522:21: branch_true: following ‘true’ branch (when ‘i <= i_len’)...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1524:11: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1526:15: branch_true: following ‘true’ branch (when ‘i_paragraph_start == i’)...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1528:17: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1522:21: branch_true: following ‘true’ branch (when ‘i <= i_len’)...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1524:11: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1526:15: branch_false: following ‘false’ branch (when ‘i_paragraph_start != i’)...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1532:27: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1532:27: branch_true: following ‘true’ branch (when ‘pi_k_dates’ is non-NULL)...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1536:52: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1532:27: call_function: calling ‘NewParagraph’ from ‘LayoutText’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1532:27: return_function: returning to ‘LayoutText’ from ‘NewParagraph’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1538:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1545:17: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1545:17: call_function: calling ‘AnalyzeParagraph’ from ‘LayoutText’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1545:17: return_function: returning to ‘LayoutText’ from ‘AnalyzeParagraph’
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1545:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1549:17: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/freetype/text_layout.c:1549:17: call_function: calling ‘ItemizeParagraph’ from ‘LayoutText’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
vlc-3.0.21/modules/text_renderer/svg.c:141:1: warning[-Wanalyzer-malloc-leak]: leak of ‘psz_template’
vlc-3.0.21/modules/text_renderer/svg.c:86:13: enter_function: entry to ‘svg_LoadTemplate’
vlc-3.0.21/modules/text_renderer/svg.c:90:26: call_function: calling ‘var_InheritString’ from ‘svg_LoadTemplate’
vlc-3.0.21/modules/text_renderer/svg.c:90:26: return_function: returning to ‘svg_LoadTemplate’ from ‘var_InheritString’
vlc-3.0.21/modules/text_renderer/svg.c:91:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/text_renderer/svg.c:95:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/svg.c:103:17: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/svg.c:103:15: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/svg.c:112:32: acquire_memory: allocated here
vlc-3.0.21/modules/text_renderer/svg.c:113:19: branch_true: following ‘true’ branch (when ‘psz_template’ is non-NULL)...
vlc-3.0.21/modules/text_renderer/svg.c:115:35: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/svg.c:117:23: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/svg.c:124:13: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/svg.c:129:7: branch_true: following ‘true’ branch (when ‘psz_template’ is non-NULL)...
vlc-3.0.21/modules/text_renderer/svg.c:131:28: branch_true: ...to here
vlc-3.0.21/modules/text_renderer/svg.c:132:11: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/text_renderer/svg.c:137:14: branch_false: ...to here
vlc-3.0.21/modules/text_renderer/svg.c:141:1: danger: ‘psz_template’ leaks here; was allocated at [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
Error: COMPILER_WARNING (CWE-477): [#def808]
vlc-3.0.21/modules/text_renderer/svg.c: scope_hint: In function ‘svg_RenderPicture’
vlc-3.0.21/modules/text_renderer/svg.c:248:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
vlc-3.0.21/modules/text_renderer/svg.c:45: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def809]
vlc-3.0.21/modules/text_renderer/svg.c:248:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
Error: COMPILER_WARNING (CWE-477): [#def810]
vlc-3.0.21/modules/text_renderer/svg.c:290:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
/usr/include/librsvg-2.0/librsvg/rsvg.h:1329: included_from: Included from here.
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def811]
vlc-3.0.21/modules/text_renderer/svg.c:290:5: warning[-Wdeprecated-declarations]: ‘rsvg_handle_render_cairo’ is deprecated: Use 'rsvg_handle_render_document' instead
Error: COMPILER_WARNING: [#def812]
vlc-3.0.21/modules/video_filter/ball.c: scope_hint: In function ‘FilterBall’
vlc-3.0.21/modules/video_filter/ball.c:611:14: warning[-Wshadow=compatible-local]: declaration of ‘y’ shadows a previous local
vlc-3.0.21/modules/video_filter/ball.c:540:12: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def813]
vlc-3.0.21/modules/video_filter/ball.c:613:18: warning[-Wshadow=compatible-local]: declaration of ‘x’ shadows a previous local
vlc-3.0.21/modules/video_filter/ball.c:540:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def814]
vlc-3.0.21/modules/video_filter/ball.c:636:18: warning[-Wshadow=compatible-local]: declaration of ‘y’ shadows a previous local
vlc-3.0.21/modules/video_filter/ball.c:540:12: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def815]
vlc-3.0.21/modules/video_filter/ball.c:638:22: warning[-Wshadow=compatible-local]: declaration of ‘x’ shadows a previous local
vlc-3.0.21/modules/video_filter/ball.c:540:9: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def816]
vlc-3.0.21/modules/video_filter/bluescreen.c:204:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/video_filter/bluescreen.c:167:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:179:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:189:29: branch_false: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: call_function: calling ‘xrealloc’ from ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: return_function: returning to ‘Filter’ from ‘xrealloc’
vlc-3.0.21/modules/video_filter/bluescreen.c:199:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:201:19: branch_true: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:201:11: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:201:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:204:17: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_filter/bluescreen.c:204:13: danger: dereference of NULL ‘xrealloc(*p_sys.p_at, (long unsigned int)(i_lines * i_pitch)) + (sizetype)i’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
vlc-3.0.21/modules/video_filter/bluescreen.c:208:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/video_filter/bluescreen.c:167:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:179:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:189:29: branch_false: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: call_function: calling ‘xrealloc’ from ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: return_function: returning to ‘Filter’ from ‘xrealloc’
vlc-3.0.21/modules/video_filter/bluescreen.c:199:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:201:19: branch_true: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:208:17: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_filter/bluescreen.c:208:13: danger: dereference of NULL ‘xrealloc(*p_sys.p_at, (long unsigned int)(i_lines * i_pitch)) + (sizetype)i’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def818]
vlc-3.0.21/modules/video_filter/bluescreen.c:221:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/video_filter/bluescreen.c:167:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:179:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:189:29: branch_false: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: call_function: calling ‘xrealloc’ from ‘Filter’
vlc-3.0.21/modules/video_filter/bluescreen.c:188:19: return_function: returning to ‘Filter’ from ‘xrealloc’
vlc-3.0.21/modules/video_filter/bluescreen.c:199:21: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:212:21: branch_false: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:213:21: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:215:13: branch_true: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:217:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/bluescreen.c:221:24: branch_true: ...to here
vlc-3.0.21/modules/video_filter/bluescreen.c:221:23: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_filter/bluescreen.c:221:19: danger: dereference of NULL ‘xrealloc(*p_sys.p_at, (long unsigned int)(i_lines * i_pitch)) + ((sizetype)((i + -2) * i_pitch + j) + 18446744073709551614)’
Error: COMPILER_WARNING: [#def819]
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c: scope_hint: In function ‘DarkenField’
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:132:17: warning[-Wshadow=compatible-local]: declaration of ‘w’ shadows a previous local
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:95:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def820]
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c: scope_hint: In function ‘DarkenFieldMMX’
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:215:17: warning[-Wshadow=compatible-local]: declaration of ‘w’ shadows a previous local
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:169:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def821]
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:216:17: warning[-Wshadow=compatible-local]: declaration of ‘wm8’ shadows a previous local
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:178:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def822]
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:217:17: warning[-Wshadow=compatible-local]: declaration of ‘w8’ shadows a previous local
vlc-3.0.21/modules/video_filter/deinterlace/algo_phosphor.c:179:9: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def823]
vlc-3.0.21/modules/video_filter/deinterlace/algo_yadif.c:48: included_from: Included from here.
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h: scope_hint: In function ‘yadif_filter_line_c’
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:88:13: warning[-Wshadow=compatible-local]: declaration of ‘score’ shadows a previous local
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:108:19: note: in expansion of macro ‘CHECK’
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:139:5: note: in expansion of macro ‘FILTER’
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:88:13: note: shadowed declaration is here
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:108:9: note: in expansion of macro ‘CHECK’
vlc-3.0.21/modules/video_filter/deinterlace/yadif.h:139:5: note: in expansion of macro ‘FILTER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def824]
vlc-3.0.21/modules/video_filter/gaussianblur.c:126:1: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pt_distribution’
vlc-3.0.21/modules/video_filter/gaussianblur.c:128:12: enter_function: entry to ‘Create’
vlc-3.0.21/modules/video_filter/gaussianblur.c:146:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:152:23: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:153:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:156:5: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:163:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:168:5: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:168:5: call_function: calling ‘gaussianblur_InitDistribution’ from ‘Create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def825]
vlc-3.0.21/modules/video_filter/gaussianblur.c:208:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pt_buffer’
vlc-3.0.21/modules/video_filter/gaussianblur.c:189:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:198:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gaussianblur.c:200:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:201:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:206:10: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:206:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:209:32: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:208:28: call_function: calling ‘realloc_or_free’ from ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:208:28: return_function: returning to ‘Filter’ from ‘realloc_or_free’
vlc-3.0.21/modules/video_filter/gaussianblur.c:208:9: danger: ‘*p_sys.pt_buffer’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
vlc-3.0.21/modules/video_filter/gaussianblur.c:223:30: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.pt_scale’
vlc-3.0.21/modules/video_filter/gaussianblur.c:189:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:198:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gaussianblur.c:200:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:201:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:206:10: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:214:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:216:19: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:220:27: call_function: calling ‘xmalloc’ from ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:220:27: return_function: returning to ‘Filter’ from ‘xmalloc’
vlc-3.0.21/modules/video_filter/gaussianblur.c:223:30: danger: ‘*p_sys.pt_scale’ leaks here; was allocated at [(10)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def827]
vlc-3.0.21/modules/video_filter/gaussianblur.c:241:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*p_sys.pt_scale’
vlc-3.0.21/modules/video_filter/gaussianblur.c:189:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:198:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gaussianblur.c:200:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:201:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:206:10: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:214:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gaussianblur.c:216:19: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:220:27: call_function: calling ‘xmalloc’ from ‘Filter’
vlc-3.0.21/modules/video_filter/gaussianblur.c:220:27: return_function: returning to ‘Filter’ from ‘xmalloc’
vlc-3.0.21/modules/video_filter/gaussianblur.c:223:30: branch_true: following ‘true’ branch (when ‘i_line < i_visible_lines’)...
branch_true: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:225:33: branch_true: following ‘true’ branch (when ‘i_col < i_visible_pitch’)...
vlc-3.0.21/modules/video_filter/gaussianblur.c:229:30: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gaussianblur.c:241:17: danger: ‘xmalloc((long unsigned int)(i_visible_lines * i_pitch) * 4) + (long unsigned int)(i_line * i_pitch + i_col) * 4’ could be NULL: unchecked value from [(10)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def828]
vlc-3.0.21/modules/video_filter/gradient.c:353:9: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_filter.p_sys.p_buf32’
vlc-3.0.21/modules/video_filter/gradient.c:340:13: enter_function: entry to ‘FilterGradient’
vlc-3.0.21/modules/video_filter/gradient.c:352:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:354:24: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:354:13: call_function: inlined call to ‘vlc_alloc’ from ‘FilterGradient’
vlc-3.0.21/modules/video_filter/gradient.c:353:9: danger: ‘**p_filter.p_sys.p_buf32’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
vlc-3.0.21/modules/video_filter/gradient.c:353:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/video_filter/gradient.c:243:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gradient.c:247:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gradient.c:249:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:250:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:256:22: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:264:13: call_function: calling ‘FilterGradient’ from ‘Filter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
vlc-3.0.21/modules/video_filter/gradient.c:475:9: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_filter.p_sys.p_buf32’
vlc-3.0.21/modules/video_filter/gradient.c:459:13: enter_function: entry to ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:474:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:476:24: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:476:13: call_function: inlined call to ‘vlc_alloc’ from ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:475:9: danger: ‘**p_filter.p_sys.p_buf32’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def831]
vlc-3.0.21/modules/video_filter/gradient.c:475:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/video_filter/gradient.c:243:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gradient.c:247:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gradient.c:249:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:250:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:256:22: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:260:13: call_function: calling ‘FilterEdge’ from ‘Filter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
vlc-3.0.21/modules/video_filter/gradient.c:480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_filter.p_sys.p_buf32_bis’
vlc-3.0.21/modules/video_filter/gradient.c:459:13: enter_function: entry to ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:479:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:481:24: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:481:13: call_function: inlined call to ‘vlc_alloc’ from ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:480:9: danger: ‘**p_filter.p_sys.p_buf32_bis’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
vlc-3.0.21/modules/video_filter/gradient.c:480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/video_filter/gradient.c:243:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gradient.c:247:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gradient.c:249:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:250:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:256:22: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:260:13: call_function: calling ‘FilterEdge’ from ‘Filter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def834]
vlc-3.0.21/modules/video_filter/gradient.c:485:9: warning[-Wanalyzer-malloc-leak]: leak of ‘**p_filter.p_sys.p_buf8’
vlc-3.0.21/modules/video_filter/gradient.c:459:13: enter_function: entry to ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:484:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:486:24: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:486:13: call_function: inlined call to ‘vlc_alloc’ from ‘FilterEdge’
vlc-3.0.21/modules/video_filter/gradient.c:485:9: danger: ‘**p_filter.p_sys.p_buf8’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
vlc-3.0.21/modules/video_filter/gradient.c:485:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)(i_src_visible * i_num_lines))’
vlc-3.0.21/modules/video_filter/gradient.c:243:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/gradient.c:247:7: branch_false: following ‘false’ branch (when ‘p_pic’ is non-NULL)...
vlc-3.0.21/modules/video_filter/gradient.c:249:16: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:250:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:256:22: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:260:13: call_function: calling ‘FilterEdge’ from ‘Filter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
vlc-3.0.21/modules/video_filter/gradient.c:655:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/modules/video_filter/gradient.c:617:13: enter_function: entry to ‘FilterHough’
vlc-3.0.21/modules/video_filter/gradient.c:635:20: call_function: inlined call to ‘vlc_alloc’ from ‘FilterHough’
vlc-3.0.21/modules/video_filter/gradient.c:636:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:638:27: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:638:16: call_function: inlined call to ‘vlc_alloc’ from ‘FilterHough’
vlc-3.0.21/modules/video_filter/gradient.c:639:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:645:11: branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:645:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/gradient.c:647:9: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:648:23: call_function: inlined call to ‘vlc_alloc’ from ‘FilterHough’
vlc-3.0.21/modules/video_filter/gradient.c:649:11: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:655:25: branch_true: following ‘true’ branch (when ‘i != 90’)...
vlc-3.0.21/modules/video_filter/gradient.c:657:21: branch_true: ...to here
vlc-3.0.21/modules/video_filter/gradient.c:655:25: danger: ‘<unknown>’ leaks here; was allocated at [(17)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/16)
Error: COMPILER_WARNING: [#def837]
vlc-3.0.21/modules/video_filter/hqdn3d.c:39: included_from: Included from here.
vlc-3.0.21/modules/video_filter/hqdn3d.h: scope_hint: In function ‘deNoiseSpacial’
vlc-3.0.21/modules/video_filter/hqdn3d.h:92:22: warning[-Wshadow=compatible-local]: declaration of ‘PixelAnt’ shadows a previous local
vlc-3.0.21/modules/video_filter/hqdn3d.h:78:18: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def838]
vlc-3.0.21/modules/video_filter/hqdn3d.h:100:26: warning[-Wshadow=compatible-local]: declaration of ‘PixelDst’ shadows a previous local
vlc-3.0.21/modules/video_filter/hqdn3d.h:79:18: note: shadowed declaration is here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def839]
vlc-3.0.21/modules/video_filter/hqdn3d.h:145:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*FrameAnt’
vlc-3.0.21/modules/video_filter/hqdn3d.c:195:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/hqdn3d.c:202:8: branch_false: following ‘false’ branch (when ‘src’ is non-NULL)...
vlc-3.0.21/modules/video_filter/hqdn3d.c:204:11: branch_false: ...to here
vlc-3.0.21/modules/video_filter/hqdn3d.c:205:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/hqdn3d.c:209:5: branch_false: ...to here
vlc-3.0.21/modules/video_filter/hqdn3d.c:224:5: call_function: calling ‘deNoise’ from ‘Filter’
vlc-3.0.21/modules/video_filter/hqdn3d.c:224:5: return_function: returning to ‘Filter’ from ‘deNoise’
vlc-3.0.21/modules/video_filter/hqdn3d.c:230:5: call_function: calling ‘deNoise’ from ‘Filter’
Error: COMPILER_WARNING: [#def840]
vlc-3.0.21/modules/video_filter/hqdn3d.h: scope_hint: In function ‘deNoise’
vlc-3.0.21/modules/video_filter/hqdn3d.h:159:22: warning[-Wshadow=compatible-local]: declaration of ‘PixelAnt’ shadows a previous local
vlc-3.0.21/modules/video_filter/hqdn3d.h:117:18: note: shadowed declaration is here
Error: COMPILER_WARNING: [#def841]
vlc-3.0.21/modules/video_filter/hqdn3d.h:170:26: warning[-Wshadow=compatible-local]: declaration of ‘PixelDst’ shadows a previous local
vlc-3.0.21/modules/video_filter/hqdn3d.h:118:18: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-197): [#def842]
vlc-3.0.21/modules/video_filter/oldmovie.c: scope_hint: In function ‘oldmovie_sliding_offset_effect’
vlc-3.0.21/modules/video_filter/oldmovie.c:460:44: warning[-Wabsolute-value]: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value
Error: GCC_ANALYZER_WARNING (CWE-122): [#def843]
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:82:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:43:8: branch_false: following ‘false’ branch (when ‘ps_pt’ is non-NULL)...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:46:24: branch_false: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:57:8: branch_false: following ‘false’ branch (when ‘ps_new_pt’ is non-NULL)...
branch_false: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:76:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:77:31: branch_true: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:78:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:79:28: branch_true: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:82:23: danger: read of 4 bytes at offset ‘(long unsigned int)((int)(int8_t)(i_pts_nbr + 254) * 3) * 8’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def844]
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:83:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:43:8: branch_false: following ‘false’ branch (when ‘ps_pt’ is non-NULL)...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:46:24: branch_false: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:57:8: branch_false: following ‘false’ branch (when ‘ps_new_pt’ is non-NULL)...
branch_false: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:76:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:77:31: branch_true: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:78:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:79:28: branch_true: ...to here
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:83:23: danger: read of 4 bytes at offset ‘(long unsigned int)((int)(int8_t)(i_pts_nbr + 254) * 3) * 8 + 4’ exceeds the buffer
Error: COMPILER_WARNING (CWE-197): [#def845]
vlc-3.0.21/modules/video_filter/puzzle_bezier.c: scope_hint: In function ‘puzzle_scale_curve_H’
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:86:22: warning[-Wabsolute-value]: using integer absolute value function ‘abs’ when argument is of floating-point type ‘float’
Error: COMPILER_WARNING (CWE-197): [#def846]
vlc-3.0.21/modules/video_filter/puzzle_bezier.c:90:22: warning[-Wabsolute-value]: using integer absolute value function ‘abs’ when argument is of floating-point type ‘float’
Error: COMPILER_WARNING: [#def847]
vlc-3.0.21/modules/video_filter/ripple.c: scope_hint: In function ‘Filter’
vlc-3.0.21/modules/video_filter/ripple.c:160:31: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/video_filter/ripple.c:39: included_from: Included from here.
vlc-3.0.21/modules/video_filter/filter_picture.h:26:9: note: here
vlc-3.0.21/modules/video_filter/filter_picture.h:52:9: note: in expansion of macro ‘CASE_PLANAR_YUV_SQUARE’
vlc-3.0.21/modules/video_filter/ripple.c:162:13: note: in expansion of macro ‘CASE_PLANAR_YUV’
Error: COMPILER_WARNING: [#def848]
vlc-3.0.21/modules/video_filter/scale.c: scope_hint: In function ‘OpenFilter’
vlc-3.0.21/modules/video_filter/scale.c:75:2: warning[-Wcpp]: #warning Converter cannot (really) change output format.
Error: COMPILER_WARNING: [#def849]
vlc-3.0.21/modules/video_filter/scale.c:75:2: warning[-Wcpp]: #warning Converter cannot (really) change output format.
Error: COMPILER_WARNING: [#def850]
vlc-3.0.21/modules/video_filter/scale.c: scope_hint: In function ‘Filter’
vlc-3.0.21/modules/video_filter/scale.c:95:2: warning[-Wcpp]: #warning Converter cannot (really) change output format.
Error: COMPILER_WARNING: [#def851]
vlc-3.0.21/modules/video_filter/scale.c:95:2: warning[-Wcpp]: #warning Converter cannot (really) change output format.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def852]
vlc-3.0.21/modules/video_filter/vhs.c:274:22: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 16)’
vlc-3.0.21/modules/video_filter/vhs.c:167:19: enter_function: entry to ‘Filter’
vlc-3.0.21/modules/video_filter/vhs.c:168:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/vhs.c:171:19: branch_false: ...to here
vlc-3.0.21/modules/video_filter/vhs.c:174:7: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_filter/vhs.c:182:26: branch_false: ...to here
vlc-3.0.21/modules/video_filter/vhs.c:203:10: call_function: calling ‘vhs_blue_red_line_effect’ from ‘Filter’
Error: COMPILER_WARNING (CWE-197): [#def853]
vlc-3.0.21/modules/video_filter/vhs.c: scope_hint: In function ‘vhs_sliding_effect’
vlc-3.0.21/modules/video_filter/vhs.c:473:44: warning[-Wabsolute-value]: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value
Error: COMPILER_WARNING: [#def854]
vlc-3.0.21/modules/video_filter/wave.c: scope_hint: In function ‘Filter’
vlc-3.0.21/modules/video_filter/wave.c:161:31: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/modules/video_filter/wave.c:39: included_from: Included from here.
vlc-3.0.21/modules/video_filter/filter_picture.h:26:9: note: here
vlc-3.0.21/modules/video_filter/filter_picture.h:52:9: note: in expansion of macro ‘CASE_PLANAR_YUV_SQUARE’
vlc-3.0.21/modules/video_filter/wave.c:163:13: note: in expansion of macro ‘CASE_PLANAR_YUV’
Error: COMPILER_WARNING (CWE-477): [#def855]
vlc-3.0.21/modules/video_output/aa.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/video_output/aa.c:138:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/modules/video_output/aa.c:33: included_from: Included from here.
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def856]
vlc-3.0.21/modules/video_output/aa.c:138:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def857]
vlc-3.0.21/modules/video_output/aa.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/video_output/aa.c:253:5: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:144:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def858]
vlc-3.0.21/modules/video_output/aa.c:253:5: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def859]
vlc-3.0.21/modules/video_output/caca.c: scope_hint: In function ‘Open’
vlc-3.0.21/modules/video_output/caca.c:200:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/modules/video_output/caca.c:35: included_from: Included from here.
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def860]
vlc-3.0.21/modules/video_output/caca.c:200:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def861]
vlc-3.0.21/modules/video_output/caca.c: scope_hint: In function ‘Control’
vlc-3.0.21/modules/video_output/caca.c:319:5: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:144:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def862]
vlc-3.0.21/modules/video_output/caca.c:319:5: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def863]
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:305:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pic’
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:299:53: branch_true: following ‘true’ branch (when ‘i != 0’)...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:304:48: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:317:13: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:299:53: branch_true: following ‘true’ branch (when ‘i != 0’)...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:304:48: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:317:13: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:299:53: branch_true: following ‘true’ branch (when ‘i != 0’)...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:304:48: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:304:20: release_memory: ‘pic’ is NULL
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:305:24: danger: dereference of NULL ‘pic’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:474:20: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc_or_free(*priv.texture_temp_buf, buf_size)’
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:449:1: enter_function: entry to ‘upload_plane’
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:460:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:462:12: branch_false: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:462:12: branch_true: following ‘true’ branch (when ‘pitch != visible_pitch’)...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:465:29: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:470:16: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:473:21: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:473:21: call_function: calling ‘realloc_or_free’ from ‘upload_plane’
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:473:21: return_function: returning to ‘upload_plane’ from ‘realloc_or_free’
vlc-3.0.21/modules/video_output/opengl/converter_sw.c:474:20: danger: ‘realloc_or_free(*priv.texture_temp_buf, buf_size)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: COMPILER_WARNING (CWE-563): [#def865]
vlc-3.0.21/modules/video_output/opengl/converter_vaapi.c: scope_hint: In function ‘vaegl_release_last_pic’
vlc-3.0.21/modules/video_output/opengl/converter_vaapi.c:113:19: warning[-Wunused-variable]: unused variable ‘o’
Error: COMPILER_WARNING (CWE-457): [#def866]
vlc-3.0.21/modules/video_output/opengl/converter_vdpau.c: scope_hint: In function ‘tc_vdpau_gl_get_pool’
vlc-3.0.21/modules/video_output/opengl/converter_vdpau.c:111:28: warning[-Wmaybe-uninitialized]: ‘pics.28_29’ may be used uninitialized
vlc-3.0.21/modules/video_output/opengl/converter.h:26: included_from: Included from here.
vlc-3.0.21/modules/video_output/opengl/internal.h:24: included_from: Included from here.
vlc-3.0.21/modules/video_output/opengl/converter_vdpau.c:37: included_from: Included from here.
vlc-3.0.21/include/vlc_picture_pool.h:82:26: note: by argument 2 of type ‘struct picture_t * const *’ to ‘picture_pool_New’ declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def867]
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1197:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glr’
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1173:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1176:17: branch_false: ...to here
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1183:8: branch_true: following ‘true’ branch (when ‘subpicture’ is non-NULL)...
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1186:35: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1190:29: acquire_memory: this call could return NULL
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1194:14: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1195:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/opengl/vout_helper.c:1197:13: danger: ‘glr’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-195): [#def868]
vlc-3.0.21/modules/video_output/vdummy.c: scope_hint: In function ‘DisplayStat’
vlc-3.0.21/modules/video_output/vdummy.c:151:54: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-909): [#def869]
vlc-3.0.21/modules/video_output/wayland/shell.c:197:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘name’ of ‘const struct wl_output_listener’
/usr/include/wayland-client.h:40: included_from: Included from here.
vlc-3.0.21/modules/video_output/wayland/shell.c:33: included_from: Included from here.
/usr/include/wayland-client-protocol.h:5932:16: note: ‘name’ declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def870]
vlc-3.0.21/modules/video_output/xcb/window.c:585:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/modules/video_output/xcb/window.c:577:13: enter_function: entry to ‘ReleaseDrawable’
vlc-3.0.21/modules/video_output/xcb/window.c:583:12: call_function: calling ‘var_GetAddress’ from ‘ReleaseDrawable’
vlc-3.0.21/modules/video_output/xcb/window.c:583:12: return_function: returning to ‘ReleaseDrawable’ from ‘var_GetAddress’
vlc-3.0.21/modules/video_output/xcb/window.c:585:16: release_memory: ‘0’ is NULL
vlc-3.0.21/modules/video_output/xcb/window.c:585:12: danger: dereference of NULL ‘var_GetAddress(&*obj_24(D)->obj.libvlc.obj, "xid-in-use") + n * 4’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def871]
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
vlc-3.0.21/modules/video_output/xcb/xvideo.c:621:21: branch_true: following ‘true’ branch (when ‘count < requested_count’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:623:29: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:625:12: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:630:30: branch_true: following ‘true’ branch (when ‘i < num_planes’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:630:30: branch_true: following ‘true’ branch (when ‘i < num_planes’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:630:30: branch_true: following ‘true’ branch (when ‘i < num_planes’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:630:30: branch_true: following ‘true’ branch (when ‘i < num_planes’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:630:30: branch_true: following ‘true’ branch (when ‘i < num_planes’)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:33: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:631:13: danger: out-of-bounds write from byte 96 till byte 103 but ‘res’ ends at byte 96
Error: GCC_ANALYZER_WARNING (CWE-476): [#def872]
vlc-3.0.21/modules/video_output/xcb/xvideo.c:824:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*tp’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:764:12: enter_function: entry to ‘EnumAdaptors’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:774:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:778:32: branch_false: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:781:10: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:783:13: branch_true: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:791:8: branch_false: following ‘false’ branch (when ‘scr’ is non-NULL)...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:799:42: branch_false: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:801:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/video_output/xcb/xvideo.c:807:15: branch_false: ...to here
vlc-3.0.21/modules/video_output/xcb/xvideo.c:818:23: call_function: calling ‘xmalloc’ from ‘EnumAdaptors’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:818:23: return_function: returning to ‘EnumAdaptors’ from ‘xmalloc’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:819:20: call_function: calling ‘xmalloc’ from ‘EnumAdaptors’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:819:20: return_function: returning to ‘EnumAdaptors’ from ‘xmalloc’
vlc-3.0.21/modules/video_output/xcb/xvideo.c:824:5: danger: ‘xmalloc((n + 1) * 8)’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def873]
vlc-3.0.21/modules/video_splitter/wall.c:416:52: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:416:52: danger: out-of-bounds read from byte 392 till byte 395 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-126): [#def874]
vlc-3.0.21/modules/video_splitter/wall.c:417:52: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:417:52: danger: out-of-bounds read from byte 388 till byte 391 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-126): [#def875]
vlc-3.0.21/modules/video_splitter/wall.c:419:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:419:17: danger: out-of-bounds read from byte 400 till byte 407 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-121): [#def876]
vlc-3.0.21/modules/video_splitter/wall.c:419:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:419:17: danger: out-of-bounds write from byte 400 till byte 407 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-126): [#def877]
vlc-3.0.21/modules/video_splitter/wall.c:419:38: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:419:38: danger: out-of-bounds read from byte 412 till byte 415 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-126): [#def878]
vlc-3.0.21/modules/video_splitter/wall.c:419:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
vlc-3.0.21/modules/video_splitter/wall.c:394:7: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:400:21: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:402:25: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:405:18: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:405:15: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:408:39: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:412:29: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/video_splitter/wall.c:416:33: branch_true: ...to here
vlc-3.0.21/modules/video_splitter/wall.c:419:57: danger: out-of-bounds read from byte 384 till byte 387 but ‘tmp’ ends at byte 384
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
vlc-3.0.21/modules/visualization/glspectrum.c:402:16: warning[-Wanalyzer-malloc-leak]: leak of ‘*p_sys.p_prev_s16_buff’
vlc-3.0.21/modules/visualization/glspectrum.c:352:8: branch_false: following ‘false’ branch...
vlc-3.0.21/modules/visualization/glspectrum.c:357:5: branch_false: ...to here
vlc-3.0.21/modules/visualization/glspectrum.c:396:12: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/visualization/glspectrum.c:398:18: branch_true: ...to here
vlc-3.0.21/modules/visualization/glspectrum.c:399:38: acquire_memory: allocated here
vlc-3.0.21/modules/visualization/glspectrum.c:402:16: danger: ‘*p_sys.p_prev_s16_buff’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING: [#def880]
vlc-3.0.21/modules/visualization/glspectrum.c: scope_hint: In function ‘Thread’
vlc-3.0.21/modules/visualization/glspectrum.c:449:43: warning[-Wxor-used-as-pow]: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)?
vlc-3.0.21/modules/visualization/glspectrum.c:449:41: note: you can silence this warning by using a hexadecimal constant (0x2 rather than 2)
Error: COMPILER_WARNING: [#def881]
vlc-3.0.21/modules/visualization/glspectrum.c:449:43: warning[-Wxor-used-as-pow]: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)?
Error: COMPILER_WARNING: [#def882]
vlc-3.0.21/modules/visualization/visual/effects.c: scope_hint: In function ‘spectrum_Run’
vlc-3.0.21/modules/visualization/visual/effects.c:217:40: warning[-Wxor-used-as-pow]: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)?
vlc-3.0.21/modules/visualization/visual/effects.c:217:38: note: you can silence this warning by using a hexadecimal constant (0x2 rather than 2)
Error: COMPILER_WARNING: [#def883]
vlc-3.0.21/modules/visualization/visual/effects.c:217:40: warning[-Wxor-used-as-pow]: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)?
Error: GCC_ANALYZER_WARNING (CWE-476): [#def884]
vlc-3.0.21/modules/visualization/visual/effects.c:981:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*p_effect.p_data’
vlc-3.0.21/modules/visualization/visual/effects.c:941:12: enter_function: entry to ‘vuMeter_Run’
vlc-3.0.21/modules/visualization/visual/effects.c:976:7: branch_true: following ‘true’ branch...
vlc-3.0.21/modules/visualization/visual/effects.c:979:28: call_function: inlined call to ‘vlc_alloc’ from ‘vuMeter_Run’
vlc-3.0.21/modules/visualization/visual/effects.c:981:9: danger: ‘malloc(8)’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: UNICONTROL_WARNING (CWE-94): [#def885]
vlc-3.0.21/po/ar.po:813: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def886]
vlc-3.0.21/po/ar.po:814: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def887]
vlc-3.0.21/po/ar.po:815: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def888]
vlc-3.0.21/po/ar.po:817: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def889]
vlc-3.0.21/po/ar.po:818: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def890]
vlc-3.0.21/po/ar.po:819: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def891]
vlc-3.0.21/po/ar.po:823: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def892]
vlc-3.0.21/po/ar.po:827: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def893]
vlc-3.0.21/po/ar.po:829: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def894]
vlc-3.0.21/po/ar.po:831: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def895]
vlc-3.0.21/po/ar.po:833: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def896]
vlc-3.0.21/po/ar.po:834: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def897]
vlc-3.0.21/po/ar.po:835: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def898]
vlc-3.0.21/po/ar.po:837: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def899]
vlc-3.0.21/po/ar.po:838: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def900]
vlc-3.0.21/po/ar.po:841: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def901]
vlc-3.0.21/po/ar.po:843: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def902]
vlc-3.0.21/po/ar.po:19745: warning: bidirectional control characters: ['\u202b', '\u202a', '\u202c', '\u202c']
Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
vlc-3.0.21/src/../include/vlc_arrays.h:532:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_entry’
vlc-3.0.21/src/playlist/fetcher.c:310:13: enter_function: entry to ‘SearchNetwork’
vlc-3.0.21/src/playlist/fetcher.c:312:9: call_function: calling ‘SearchByScope’ from ‘SearchNetwork’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def904]
vlc-3.0.21/src/../include/vlc_block.h:184:5: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘block’
vlc-3.0.21/src/misc/block.c:368:10: enter_function: entry to ‘block_File’
vlc-3.0.21/src/misc/block.c:374:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/block.c:383:9: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:383:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/block.c:388:8: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:388:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/block.c:395:20: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:395:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/block.c:400:5: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:409:12: branch_false: following ‘false’ branch (when ‘addr == 18446744073709551615’)...
vlc-3.0.21/src/misc/block.c:415:22: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:415:22: call_function: calling ‘block_Alloc’ from ‘block_File’
vlc-3.0.21/src/misc/block.c:415:22: return_function: returning to ‘block_File’ from ‘block_Alloc’
vlc-3.0.21/src/misc/block.c:416:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/src/misc/block.c:420:24: branch_true: following ‘true’ branch (when ‘i < length’)...
vlc-3.0.21/src/misc/block.c:422:23: branch_true: ...to here
vlc-3.0.21/src/misc/block.c:425:13: call_function: inlined call to ‘block_Release’ from ‘block_File’
vlc-3.0.21/src/misc/block.c:425:13: call_function: inlined call to ‘block_Release’ from ‘block_File’
vlc-3.0.21/src/misc/block.c:418:5: call_function: inlined call to ‘__pthread_cleanup_routine’ from ‘block_File’
Error: COMPILER_WARNING: [#def905]
vlc-3.0.21/src/../include/vlc_common.h:115:10: warning[warning]: ‘unreachable’ redefined
Error: GCC_ANALYZER_WARNING (CWE-401): [#def906]
vlc-3.0.21/src/../include/vlc_common.h:995:9: warning[-Wanalyzer-malloc-leak]: leak of ‘httpd_ClientNew(sk)’
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def907]
vlc-3.0.21/src/../include/vlc_input.h:75:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_seekpoint_Duplicate(p_bkmk)’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:202:15: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/control.c:209:17: branch_false: ...to here
vlc-3.0.21/src/input/control.c:209:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:210:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:210:17: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:210:17: branch_true: ...to here
vlc-3.0.21/src/../include/vlc_input.h:75:9: danger: ‘vlc_seekpoint_Duplicate(p_bkmk)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
vlc-3.0.21/src/../include/vlc_vlm.h:238:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: COMPILER_WARNING (CWE-563): [#def909]
vlc-3.0.21/src/audio_output/filters.c: scope_hint: In function ‘CreateFilter’
vlc-3.0.21/src/audio_output/filters.c:49:58: warning[-Wunused-parameter]: unused parameter ‘const_fmt’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def910]
vlc-3.0.21/src/audio_output/filters.c:460:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘remap[8]’
vlc-3.0.21/src/audio_output/filters.c:500:17: enter_function: entry to ‘aout_FiltersNew’
vlc-3.0.21/src/audio_output/filters.c:507:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/audio_output/filters.c:510:5: branch_false: ...to here
vlc-3.0.21/src/audio_output/filters.c:524:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/audio_output/filters.c:539:9: call_function: inlined call to ‘aout_FormatNbChannels’ from ‘aout_FiltersNew’
vlc-3.0.21/src/audio_output/filters.c:539:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/audio_output/filters.c:546:9: branch_false: ...to here
vlc-3.0.21/src/audio_output/filters.c:546:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/audio_output/filters.c:566:9: call_function: inlined call to ‘aout_FormatNbChannels’ from ‘aout_FiltersNew’
vlc-3.0.21/src/audio_output/filters.c:566:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/audio_output/filters.c:591:9: branch_false: ...to here
vlc-3.0.21/src/audio_output/filters.c:598:8: branch_true: following ‘true’ branch (when ‘cfg’ is non-NULL)...
vlc-3.0.21/src/audio_output/filters.c:601:27: branch_true: ...to here
vlc-3.0.21/src/audio_output/filters.c:600:9: call_function: calling ‘AppendRemapFilter’ from ‘aout_FiltersNew’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def911]
vlc-3.0.21/src/config/core.c:369:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)(module_list_cap(&list, cap) + 2) * 8)’
vlc-3.0.21/src/config/core.c:355:16: enter_function: entry to ‘config_ListModules’
vlc-3.0.21/src/config/core.c:360:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:366:28: branch_false: ...to here
vlc-3.0.21/src/config/core.c:366:19: call_function: calling ‘xmalloc’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:366:19: return_function: returning to ‘config_ListModules’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:367:19: call_function: calling ‘xmalloc’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:367:19: return_function: returning to ‘config_ListModules’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:369:15: call_function: calling ‘xstrdup’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:369:15: return_function: returning to ‘config_ListModules’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:369:5: danger: ‘xmalloc((long unsigned int)(module_list_cap(&list, cap) + 2) * 8)’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def912]
vlc-3.0.21/src/config/core.c:370:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)(module_list_cap(&list, cap) + 2) * 8)’
vlc-3.0.21/src/config/core.c:355:16: enter_function: entry to ‘config_ListModules’
vlc-3.0.21/src/config/core.c:360:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:366:28: branch_false: ...to here
vlc-3.0.21/src/config/core.c:366:19: call_function: calling ‘xmalloc’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:366:19: return_function: returning to ‘config_ListModules’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:367:19: call_function: calling ‘xmalloc’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:367:19: return_function: returning to ‘config_ListModules’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:369:15: call_function: calling ‘xstrdup’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:369:15: return_function: returning to ‘config_ListModules’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:370:15: call_function: calling ‘xstrdup’ from ‘config_ListModules’
vlc-3.0.21/src/config/core.c:370:15: return_function: returning to ‘config_ListModules’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:370:5: danger: ‘xmalloc((long unsigned int)(module_list_cap(&list, cap) + 2) * 8)’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def913]
vlc-3.0.21/src/config/core.c:441:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(count * 8)’
vlc-3.0.21/src/config/core.c:397:9: enter_function: entry to ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:402:28: call_function: calling ‘config_FindConfig’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:402:28: return_function: returning to ‘config_GetPszChoices’ from ‘config_FindConfig’
vlc-3.0.21/src/config/core.c:403:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:409:13: branch_false: ...to here
vlc-3.0.21/src/config/core.c:409:5: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:413:9: branch_false: ...to here
vlc-3.0.21/src/config/core.c:414:16: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:422:20: branch_false: ...to here
vlc-3.0.21/src/config/core.c:423:8: branch_false: following ‘false’ branch (when ‘count != 0’)...
vlc-3.0.21/src/config/core.c:436:28: branch_false: ...to here
vlc-3.0.21/src/config/core.c:436:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:436:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:437:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:437:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:439:24: branch_true: following ‘true’ branch (when ‘i < count’)...
vlc-3.0.21/src/config/core.c:441:29: branch_true: ...to here
vlc-3.0.21/src/config/core.c:441:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:441:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:441:9: danger: ‘xmalloc(count * 8) + i * 8’ could be NULL: unchecked value from [(22)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def914]
vlc-3.0.21/src/config/core.c:443:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(count * 8)’
vlc-3.0.21/src/config/core.c:397:9: enter_function: entry to ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:402:28: call_function: calling ‘config_FindConfig’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:402:28: return_function: returning to ‘config_GetPszChoices’ from ‘config_FindConfig’
vlc-3.0.21/src/config/core.c:403:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:409:13: branch_false: ...to here
vlc-3.0.21/src/config/core.c:409:5: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:413:9: branch_false: ...to here
vlc-3.0.21/src/config/core.c:414:16: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:422:20: branch_false: ...to here
vlc-3.0.21/src/config/core.c:423:8: branch_false: following ‘false’ branch (when ‘count != 0’)...
vlc-3.0.21/src/config/core.c:436:28: branch_false: ...to here
vlc-3.0.21/src/config/core.c:436:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:436:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:437:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:437:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’
vlc-3.0.21/src/config/core.c:439:24: branch_true: following ‘true’ branch (when ‘i < count’)...
vlc-3.0.21/src/config/core.c:441:29: branch_true: ...to here
vlc-3.0.21/src/config/core.c:441:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:441:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:443:19: branch_false: following ‘false’ branch...
vlc-3.0.21/src/config/core.c:443:13: branch_false: ...to here
vlc-3.0.21/src/config/core.c:443:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’
vlc-3.0.21/src/config/core.c:443:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’
vlc-3.0.21/src/config/core.c:443:9: danger: ‘xmalloc(count * 8) + i * 8’ could be NULL: unchecked value from [(27)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/26)
Error: COMPILER_WARNING: [#def915]
vlc-3.0.21/src/input/clock.c:539:2: warning[-Wcpp]: #warning "input_clock_SetJitter needs more work"
Error: COMPILER_WARNING: [#def916]
vlc-3.0.21/src/input/clock.c:539:2: warning[-Wcpp]: #warning "input_clock_SetJitter needs more work"
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
vlc-3.0.21/src/input/control.c:202:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vlc_seekpoint_Duplicate(p_bkmk)’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:202:18: danger: dereference of NULL ‘vlc_seekpoint_Duplicate(p_bkmk)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def918]
vlc-3.0.21/src/input/control.c:210:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:199:22: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:202:15: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/control.c:209:17: branch_false: ...to here
vlc-3.0.21/src/input/control.c:209:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:210:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:210:17: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:210:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:210:17: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def919]
vlc-3.0.21/src/input/control.c:276:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:268:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:272:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:273:29: call_function: inlined call to ‘vlc_alloc’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:273:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:274:29: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:277:50: branch_true: ...to here
vlc-3.0.21/src/input/control.c:276:32: release_memory: ‘0’ is NULL
vlc-3.0.21/src/input/control.c:277:25: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:277:25: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:276:21: danger: dereference of NULL ‘<unknown> + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def920]
vlc-3.0.21/src/input/control.c:276:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘<unknown>’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:268:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:272:17: branch_true: ...to here
vlc-3.0.21/src/input/control.c:273:29: call_function: inlined call to ‘vlc_alloc’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:274:29: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:277:50: branch_true: ...to here
vlc-3.0.21/src/input/control.c:277:25: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:277:25: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:276:21: danger: ‘<unknown> + (long unsigned int)i * 8’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def921]
vlc-3.0.21/src/input/control.c:402:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)i_chapters, 8)’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:376:15: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/control.c:388:16: branch_false: following ‘false’ branch (when ‘i_chapters != 0’)...
vlc-3.0.21/src/input/control.c:394:22: branch_false: ...to here
vlc-3.0.21/src/input/control.c:394:22: acquire_memory: this call could return NULL
vlc-3.0.21/src/input/control.c:400:29: branch_true: following ‘true’ branch (when ‘i < i_chapters’)...
vlc-3.0.21/src/input/control.c:402:56: branch_true: ...to here
vlc-3.0.21/src/input/control.c:402:31: call_function: calling ‘vlc_seekpoint_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:402:31: return_function: returning to ‘input_vaControl’ from ‘vlc_seekpoint_Duplicate’
vlc-3.0.21/src/input/control.c:402:17: danger: ‘calloc((long unsigned int)i_chapters, 8) + (long unsigned int)i * 8’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def922]
vlc-3.0.21/src/input/control.c:470:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:460:15: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/control.c:467:13: branch_false: ...to here
vlc-3.0.21/src/input/control.c:468:31: call_function: inlined call to ‘vlc_alloc’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:468:13: branch_true: ...to here
vlc-3.0.21/src/input/control.c:469:29: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:470:72: branch_true: ...to here
vlc-3.0.21/src/input/control.c:470:34: release_memory: ‘0’ is NULL
vlc-3.0.21/src/input/control.c:470:40: call_function: calling ‘vlc_input_attachment_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:470:40: return_function: returning to ‘input_vaControl’ from ‘vlc_input_attachment_Duplicate’
vlc-3.0.21/src/input/control.c:470:17: danger: dereference of NULL ‘*ppp_attachment + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def923]
vlc-3.0.21/src/input/control.c:470:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*ppp_attachment + (long unsigned int)i * 8’
vlc-3.0.21/src/input/control.c:65:5: enter_function: entry to ‘input_vaControl’
vlc-3.0.21/src/input/control.c:460:15: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/control.c:467:13: branch_false: ...to here
vlc-3.0.21/src/input/control.c:468:31: call_function: inlined call to ‘vlc_alloc’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:469:29: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/control.c:470:72: branch_true: ...to here
vlc-3.0.21/src/input/control.c:470:40: call_function: calling ‘vlc_input_attachment_Duplicate’ from ‘input_vaControl’
vlc-3.0.21/src/input/control.c:470:40: return_function: returning to ‘input_vaControl’ from ‘vlc_input_attachment_Duplicate’
vlc-3.0.21/src/input/control.c:470:17: danger: ‘*ppp_attachment + (long unsigned int)i * 8’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-9001): [#def924]
vlc-3.0.21/src/input/decoder.c: scope_hint: In function 'spu_new_buffer'
vlc-3.0.21/src/input/decoder.c:590:9: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-477): [#def925]
vlc-3.0.21/src/input/decoder.c: scope_hint: In function ‘input_DecoderGetFifoSize’
vlc-3.0.21/src/input/decoder.c:2379:5: warning[-Wdeprecated-declarations]: ‘block_FifoSize’ is deprecated
vlc-3.0.21/src/input/decoder.c:37: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:476:8: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def926]
vlc-3.0.21/src/input/decoder.c:2379:5: warning[-Wdeprecated-declarations]: ‘block_FifoSize’ is deprecated
Error: COMPILER_WARNING: [#def927]
vlc-3.0.21/src/input/demux.c: scope_hint: In function ‘DemuxNameFromExtension’
vlc-3.0.21/src/input/demux.c:112:19: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (9 chars into 8 available)
Error: COMPILER_WARNING (CWE-9001): [#def928]
vlc-3.0.21/src/input/es_out.c: scope_hint: In function 'EsOutDel'
vlc-3.0.21/src/input/es_out.c:2194:13: warning[-Wattribute-warning]: call to 'harmful_delay' declared with attribute warning: use proper event handling instead of short delay
Error: COMPILER_WARNING (CWE-563): [#def929]
vlc-3.0.21/src/input/es_out.c: scope_hint: In function ‘EsOutControlLocked’
vlc-3.0.21/src/input/es_out.c:2790:20: warning[-Wunused-variable]: unused variable ‘b_source_paused’
Error: COMPILER_WARNING (CWE-563): [#def930]
vlc-3.0.21/src/input/es_out.c:2802:19: warning[-Wunused-variable]: unused variable ‘i_src_rate’
Error: COMPILER_WARNING (CWE-563): [#def931]
vlc-3.0.21/src/input/es_out.c:2813:26: warning[-Wunused-variable]: unused variable ‘i_date’
Error: COMPILER_WARNING (CWE-563): [#def932]
vlc-3.0.21/src/input/control.c:39: included_from: Included from here.
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_SetMode’
vlc-3.0.21/src/input/es_out.h:95:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def933]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_GetWakeup’
vlc-3.0.21/src/input/es_out.h:101:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def934]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_GetBuffering’
vlc-3.0.21/src/input/es_out.h:109:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def935]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_GetEmpty’
vlc-3.0.21/src/input/es_out.h:117:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def936]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_SetDelay’
vlc-3.0.21/src/input/es_out.h:124:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def937]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_SetTimes’
vlc-3.0.21/src/input/es_out.h:149:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def938]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_SetJitter’
vlc-3.0.21/src/input/es_out.h:155:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def939]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_GetGroupForced’
vlc-3.0.21/src/input/es_out.h:167:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def940]
vlc-3.0.21/src/input/es_out.h: scope_hint: In function ‘es_out_Eos’
vlc-3.0.21/src/input/es_out.h:173:9: warning[-Wunused-variable]: unused variable ‘i_ret’
Error: COMPILER_WARNING (CWE-563): [#def941]
vlc-3.0.21/src/input/es_out_timeshift.c: scope_hint: In function ‘TsChangePause’
vlc-3.0.21/src/input/es_out_timeshift.c:933:51: warning[-Wunused-parameter]: unused parameter ‘b_source_paused’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def942]
vlc-3.0.21/src/input/input.c:2536:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strength’
vlc-3.0.21/src/input/input.c:2535:11: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/input.c:2536:13: branch_true: ...to here
vlc-3.0.21/src/input/input.c:2536:13: danger: use of uninitialized value ‘strength’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def943]
vlc-3.0.21/src/input/input.c:3141:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘i_attachment’
vlc-3.0.21/src/input/input.c:3111:7: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/input.c:3114:5: branch_false: ...to here
vlc-3.0.21/src/input/input.c:3121:7: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/input.c:3124:26: branch_true: ...to here
vlc-3.0.21/src/input/input.c:3141:9: danger: use of uninitialized value ‘i_attachment’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def944]
vlc-3.0.21/src/input/item.c:1228:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*p_item.psz_uri’ where non-null expected
vlc-3.0.21/src/input/item.c:1752:5: enter_function: entry to ‘vlc_readdir_helper_additem’
vlc-3.0.21/src/input/item.c:1760:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/item.c:1773:12: branch_true: ...to here
vlc-3.0.21/src/input/item.c:1773:12: branch_false: following ‘false’ branch (when ‘psz_filename’ is non-NULL)...
vlc-3.0.21/src/input/item.c:1778:9: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1799:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/item.c:1802:33: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1804:8: branch_false: following ‘false’ branch (when ‘psz_flatpath’ is NULL)...
vlc-3.0.21/src/input/item.c:1811:28: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1811:28: call_function: calling ‘input_item_NewExt’ from ‘vlc_readdir_helper_additem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def945]
vlc-3.0.21/src/input/item.c:1792:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/input/item.c:1752:5: enter_function: entry to ‘vlc_readdir_helper_additem’
vlc-3.0.21/src/input/item.c:1773:12: branch_false: following ‘false’ branch (when ‘psz_filename’ is non-NULL)...
vlc-3.0.21/src/input/item.c:1778:9: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1778:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/item.c:1779:9: branch_true: ...to here
vlc-3.0.21/src/input/item.c:1779:9: call_function: calling ‘input_item_slave_GetType’ from ‘vlc_readdir_helper_additem’
vlc-3.0.21/src/input/item.c:1779:9: return_function: returning to ‘vlc_readdir_helper_additem’ from ‘input_item_slave_GetType’
vlc-3.0.21/src/input/item.c:1778:9: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/item.c:1781:23: branch_true: ...to here
vlc-3.0.21/src/input/item.c:1782:12: branch_false: following ‘false’ branch (when ‘p_rdh_slave’ is non-NULL)...
vlc-3.0.21/src/input/item.c:1785:9: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1787:32: call_function: calling ‘input_item_slave_New’ from ‘vlc_readdir_helper_additem’
vlc-3.0.21/src/input/item.c:1787:32: return_function: returning to ‘vlc_readdir_helper_additem’ from ‘input_item_slave_New’
vlc-3.0.21/src/input/item.c:1789:12: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/item.c:1789:39: branch_false: ...to here
vlc-3.0.21/src/input/item.c:1789:13: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/item.c:1791:18: branch_true: ...to here
vlc-3.0.21/src/input/item.c:1792:13: danger: ‘<unknown>’ leaks here; was allocated at [(19)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def946]
vlc-3.0.21/src/input/services_discovery.c:51:16: warning[-Wanalyzer-malloc-leak]: leak of ‘names.longname’
vlc-3.0.21/src/input/services_discovery.c:41:5: enter_function: entry to ‘vlc_sd_probe_Add’
vlc-3.0.21/src/input/services_discovery.c:44:44: acquire_memory: allocated here
vlc-3.0.21/src/input/services_discovery.c:46:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/services_discovery.c:46:9: branch_false: ...to here
vlc-3.0.21/src/input/services_discovery.c:46:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/services_discovery.c:46:9: branch_false: ...to here
vlc-3.0.21/src/input/services_discovery.c:46:9: call_function: calling ‘vlc_probe_add’ from ‘vlc_sd_probe_Add’
vlc-3.0.21/src/input/services_discovery.c:46:9: return_function: returning to ‘vlc_sd_probe_Add’ from ‘vlc_probe_add’
vlc-3.0.21/src/input/services_discovery.c:46:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/services_discovery.c:51:16: branch_false: ...to here
vlc-3.0.21/src/input/services_discovery.c:51:16: danger: ‘names.longname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def947]
vlc-3.0.21/src/input/services_discovery.c:51:16: warning[-Wanalyzer-malloc-leak]: leak of ‘names.name’
vlc-3.0.21/src/input/services_discovery.c:41:5: enter_function: entry to ‘vlc_sd_probe_Add’
vlc-3.0.21/src/input/services_discovery.c:44:30: acquire_memory: allocated here
vlc-3.0.21/src/input/services_discovery.c:46:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/services_discovery.c:46:9: call_function: calling ‘vlc_probe_add’ from ‘vlc_sd_probe_Add’
vlc-3.0.21/src/input/services_discovery.c:46:9: return_function: returning to ‘vlc_sd_probe_Add’ from ‘vlc_probe_add’
vlc-3.0.21/src/input/services_discovery.c:46:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/services_discovery.c:51:16: branch_false: ...to here
vlc-3.0.21/src/input/services_discovery.c:51:16: danger: ‘names.name’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def948]
vlc-3.0.21/src/input/stats.c:183:13: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
vlc-3.0.21/src/input/stats.c:160:7: branch_false: following ‘false’ branch (when ‘p_counter’ is non-NULL)...
vlc-3.0.21/src/input/stats.c:163:13: branch_false: ...to here
vlc-3.0.21/src/input/stats.c:169:11: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/stats.c:171:9: branch_false: ...to here
vlc-3.0.21/src/input/stats.c:174:12: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/stats.c:177:9: branch_false: ...to here
vlc-3.0.21/src/input/stats.c:179:9: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/stats.c:179:9: branch_false: ...to here
vlc-3.0.21/src/input/stats.c:179:9: branch_false: following ‘false’ branch...
vlc-3.0.21/src/input/stats.c:179:9: branch_false: ...to here
vlc-3.0.21/src/input/stats.c:181:11: branch_true: following ‘true’ branch...
vlc-3.0.21/src/input/stats.c:183:13: branch_true: ...to here
vlc-3.0.21/src/input/stats.c:183:13: danger: out-of-bounds read from byte 16 till byte 23 but region ends at byte 8
Error: GCC_ANALYZER_WARNING (CWE-401): [#def949]
vlc-3.0.21/src/input/vlm.c:839:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def950]
vlc-3.0.21/src/input/vlm.c:951:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vlm_MediaInstanceNew(p_vlm, psz_id)’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def951]
vlc-3.0.21/src/input/vlm.c:1153:13: warning[-Wanalyzer-malloc-leak]: leak of ‘vlm_media_instance_New()’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def952]
vlc-3.0.21/src/input/vlm.c:1154:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vlm_media_instance_New()’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def953]
vlc-3.0.21/src/input/vlm.c:1157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vlm_media_instance_New()’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def954]
vlc-3.0.21/src/input/vlm.c:1166:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/input/vlm.c:1327:5: enter_function: entry to ‘vlm_Control’
vlc-3.0.21/src/input/vlm.c:1335:16: call_function: calling ‘vlm_vaControlInternal’ from ‘vlm_Control’
Error: COMPILER_WARNING: [#def955]
vlc-3.0.21/src/misc/actions.c:352:7: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (27 chars into 26 available)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def956]
vlc-3.0.21/src/misc/actions.c:429:8: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
vlc-3.0.21/src/misc/actions.c:500:5: enter_function: entry to ‘libvlc_InternalActionsInit’
vlc-3.0.21/src/misc/actions.c:508:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/actions.c:510:5: branch_false: ...to here
vlc-3.0.21/src/misc/actions.c:518:24: branch_true: following ‘true’ branch (when ‘i != 111’)...
vlc-3.0.21/src/misc/actions.c:529:28: branch_true: ...to here
vlc-3.0.21/src/misc/actions.c:534:9: call_function: calling ‘init_action’ from ‘libvlc_InternalActionsInit’
Error: COMPILER_WARNING: [#def957]
vlc-3.0.21/src/misc/actions.c: scope_hint: In function ‘libvlc_InternalActionsInit’
vlc-3.0.21/src/misc/actions.c:533:52: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 3551 bytes into a region of size 27
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 12 and 3563 bytes into a destination of size 38
Error: GCC_ANALYZER_WARNING (CWE-401): [#def958]
vlc-3.0.21/src/misc/addons.c:535:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_manager_47(D)->p_priv.installer.entries.p_elems, (long unsigned int)(int)((double)*p_manager_47(D)->p_priv.installer.entries.i_alloc * 1.5e+0) * 8)’
vlc-3.0.21/src/misc/addons.c:535:5: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/addons.c:535:5: branch_false: ...to here
vlc-3.0.21/src/misc/addons.c:535:5: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/addons.c:535:5: branch_true: ...to here
vlc-3.0.21/src/misc/addons.c:535:5: danger: ‘realloc(*p_manager_47(D)->p_priv.installer.entries.p_elems, (long unsigned int)(int)((double)*p_manager_47(D)->p_priv.installer.entries.i_alloc * 1.5e+0) * 8)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def959]
vlc-3.0.21/src/misc/addons.c:535:5: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*p_manager_47(D)->p_priv.installer.entries.p_elems, 80)’
vlc-3.0.21/src/misc/addons.c:535:5: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/addons.c:535:5: branch_true: ...to here
vlc-3.0.21/src/misc/addons.c:535:5: danger: ‘realloc(*p_manager_47(D)->p_priv.installer.entries.p_elems, 80)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def960]
vlc-3.0.21/src/misc/background_worker.c:115:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
vlc-3.0.21/src/misc/background_worker.c:77:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/background_worker.c:82:15: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
vlc-3.0.21/src/misc/background_worker.c:89:22: branch_false: ...to here
vlc-3.0.21/src/misc/background_worker.c:106:11: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/background_worker.c:111:9: branch_true: ...to here
vlc-3.0.21/src/misc/background_worker.c:115:13: danger: dereference of NULL ‘item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def961]
vlc-3.0.21/src/misc/block.c:335:5: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
vlc-3.0.21/src/misc/block.c:326:26: acquire_memory: allocated here
vlc-3.0.21/src/misc/block.c:327:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/block.c:333:5: branch_false: ...to here
vlc-3.0.21/src/misc/block.c:335:5: danger: ‘block’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def962]
vlc-3.0.21/src/misc/epg.c:78:49: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_epg_event_Duplicate(*<unknown>)’
vlc-3.0.21/src/misc/epg.c:222:13: enter_function: entry to ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: call_function: calling ‘vlc_epg_New’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_New’
vlc-3.0.21/src/misc/epg.c:225:7: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:49: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:229:26: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:231:63: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:231:38: call_function: calling ‘vlc_epg_event_Duplicate’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:231:38: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_event_Duplicate’
vlc-3.0.21/src/misc/epg.c:232:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:234:21: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:234:19: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:78:49: danger: ‘vlc_epg_event_Duplicate(*<unknown>)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def963]
vlc-3.0.21/src/misc/epg.c:227:27: warning[-Wanalyzer-malloc-leak]: leak of ‘vlc_epg_New(*p_src.i_id, (int)*p_src.i_source_id)’
vlc-3.0.21/src/misc/epg.c:222:13: enter_function: entry to ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: call_function: calling ‘vlc_epg_New’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_New’
vlc-3.0.21/src/misc/epg.c:225:7: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:49: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:229:26: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:231:63: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:231:38: call_function: calling ‘vlc_epg_event_Duplicate’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:231:38: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_event_Duplicate’
vlc-3.0.21/src/misc/epg.c:232:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:234:21: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:234:19: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:227:27: danger: ‘vlc_epg_New(*p_src.i_id, (int)*p_src.i_source_id)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def964]
vlc-3.0.21/src/misc/epg.c:236:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/misc/epg.c:222:13: enter_function: entry to ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: call_function: calling ‘vlc_epg_New’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:224:24: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_New’
vlc-3.0.21/src/misc/epg.c:225:7: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:227:27: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:227:49: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:227:49: acquire_memory: allocated here
vlc-3.0.21/src/misc/epg.c:229:26: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:231:63: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:231:38: call_function: calling ‘vlc_epg_event_Duplicate’ from ‘vlc_epg_Duplicate’
vlc-3.0.21/src/misc/epg.c:231:38: return_function: returning to ‘vlc_epg_Duplicate’ from ‘vlc_epg_event_Duplicate’
vlc-3.0.21/src/misc/epg.c:232:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/epg.c:234:21: branch_true: ...to here
vlc-3.0.21/src/misc/epg.c:234:19: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/epg.c:236:17: branch_false: ...to here
vlc-3.0.21/src/misc/epg.c:236:17: danger: ‘<unknown>’ leaks here; was allocated at [(12)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING: [#def965]
vlc-3.0.21/src/misc/events.c:138:5: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/misc/events.c:131:7: branch_false: following ‘false’ branch (when ‘listener’ is non-NULL)...
vlc-3.0.21/src/misc/events.c:134:5: branch_false: ...to here
vlc-3.0.21/src/misc/events.c:138:5: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/events.c:138:5: branch_false: ...to here
vlc-3.0.21/src/misc/events.c:138:5: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/events.c:138:5: branch_true: ...to here
vlc-3.0.21/src/misc/events.c:138:5: danger: operand ‘1.5e+0’ is of type ‘double’
Error: COMPILER_WARNING (CWE-252): [#def966]
vlc-3.0.21/src/misc/interrupt.c: scope_hint: In function ‘vlc_poll_i11e_wake’
vlc-3.0.21/src/misc/interrupt.c:294:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def967]
vlc-3.0.21/src/misc/interrupt.c: scope_hint: In function ‘vlc_poll_i11e_inner’
vlc-3.0.21/src/misc/interrupt.c:353:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def968]
vlc-3.0.21/src/misc/objects.c:537:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vlc-3.0.21/src/misc/objects.c:509:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/objects.c:512:5: branch_false: ...to here
vlc-3.0.21/src/misc/objects.c:513:5: release_memory: ‘0’ is NULL
vlc-3.0.21/src/misc/objects.c:522:8: branch_false: following ‘false’ branch (when ‘count == 0’)...
branch_false: ...to here
vlc-3.0.21/src/misc/objects.c:536:45: branch_true: following ‘true’ branch (when ‘priv’ is non-NULL)...
vlc-3.0.21/src/misc/objects.c:537:55: branch_true: ...to here
vlc-3.0.21/src/misc/objects.c:537:9: release_memory: ‘0’ is NULL
vlc-3.0.21/src/misc/objects.c:537:20: release_memory: ‘0’ is NULL
vlc-3.0.21/src/misc/objects.c:537:9: danger: dereference of NULL ‘*l.p_values + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def969]
vlc-3.0.21/src/misc/objres.c:60:12: warning[-Wanalyzer-malloc-leak]: leak of ‘res’
vlc-3.0.21/src/misc/objres.c:49:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/objres.c:55:27: branch_false: ...to here
vlc-3.0.21/src/misc/objres.c:55:27: acquire_memory: allocated here
vlc-3.0.21/src/misc/objres.c:56:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/objres.c:59:5: branch_false: ...to here
vlc-3.0.21/src/misc/objres.c:60:12: danger: ‘res’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def970]
vlc-3.0.21/src/misc/picture.c: scope_hint: In function ‘picture_Hold’
vlc-3.0.21/src/misc/picture.c:300:15: warning[-Wunused-variable]: unused variable ‘refs’
Error: COMPILER_WARNING (CWE-457): [#def971]
vlc-3.0.21/src/misc/picture_pool.c: scope_hint: In function ‘picture_pool_NewFromFormat’
vlc-3.0.21/src/misc/picture_pool.c:169:28: warning[-Wmaybe-uninitialized]: ‘picture.3_18’ may be used uninitialized
vlc-3.0.21/src/misc/picture_pool.c:147:17: note: by argument 2 of type ‘struct picture_t * const *’ to ‘picture_pool_New’ declared here
Error: COMPILER_WARNING (CWE-457): [#def972]
vlc-3.0.21/src/misc/picture_pool.c: scope_hint: In function ‘picture_pool_Reserve’
vlc-3.0.21/src/misc/picture_pool.c:192:28: warning[-Wmaybe-uninitialized]: ‘picture.7_18’ may be used uninitialized
vlc-3.0.21/src/misc/picture_pool.c:147:17: note: by argument 2 of type ‘struct picture_t * const *’ to ‘picture_pool_New’ declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def973]
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: warning[-Wanalyzer-malloc-leak]: leak of ‘names.psz_longname’
vlc-3.0.21/src/misc/renderer_discovery.c:185:1: enter_function: entry to ‘vlc_rd_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:188:53: acquire_memory: allocated here
vlc-3.0.21/src/misc/renderer_discovery.c:190:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: branch_false: ...to here
vlc-3.0.21/src/misc/renderer_discovery.c:190:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: branch_false: ...to here
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: call_function: calling ‘vlc_probe_add’ from ‘vlc_rd_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: return_function: returning to ‘vlc_rd_probe_add’ from ‘vlc_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:190:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: branch_false: ...to here
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: danger: ‘names.psz_longname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def974]
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: warning[-Wanalyzer-malloc-leak]: leak of ‘names.psz_name’
vlc-3.0.21/src/misc/renderer_discovery.c:185:1: enter_function: entry to ‘vlc_rd_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:188:35: acquire_memory: allocated here
vlc-3.0.21/src/misc/renderer_discovery.c:190:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: call_function: calling ‘vlc_probe_add’ from ‘vlc_rd_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:190:9: return_function: returning to ‘vlc_rd_probe_add’ from ‘vlc_probe_add’
vlc-3.0.21/src/misc/renderer_discovery.c:190:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: branch_false: ...to here
vlc-3.0.21/src/misc/renderer_discovery.c:195:16: danger: ‘names.psz_name’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: COMPILER_WARNING (CWE-563): [#def975]
vlc-3.0.21/src/misc/variables.c: scope_hint: In function ‘var_SetChecked’
vlc-3.0.21/src/misc/variables.c:723:25: warning[-Wunused-parameter]: unused parameter ‘expected_type’
Error: COMPILER_WARNING (CWE-563): [#def976]
vlc-3.0.21/src/misc/variables.c: scope_hint: In function ‘var_GetChecked’
vlc-3.0.21/src/misc/variables.c:782:25: warning[-Wunused-parameter]: unused parameter ‘expected_type’
Error: GCC_ANALYZER_WARNING: [#def977]
vlc-3.0.21/src/misc/variables.c:1393:9: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/misc/variables.c:1392:8: branch_true: following ‘true’ branch (when ‘dup’ is non-NULL)...
vlc-3.0.21/src/misc/variables.c:1393:9: branch_true: ...to here
vlc-3.0.21/src/misc/variables.c:1393:9: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/variables.c:1393:9: branch_false: ...to here
vlc-3.0.21/src/misc/variables.c:1393:9: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/variables.c:1393:9: branch_true: ...to here
vlc-3.0.21/src/misc/variables.c:1393:9: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING: [#def978]
vlc-3.0.21/src/misc/variables.c:1410:5: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/misc/variables.c:1408:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/variables.c:1410:5: branch_false: ...to here
vlc-3.0.21/src/misc/variables.c:1410:5: branch_false: following ‘false’ branch...
vlc-3.0.21/src/misc/variables.c:1410:5: branch_false: ...to here
vlc-3.0.21/src/misc/variables.c:1410:5: branch_true: following ‘true’ branch...
vlc-3.0.21/src/misc/variables.c:1410:5: branch_true: ...to here
vlc-3.0.21/src/misc/variables.c:1410:5: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def979]
vlc-3.0.21/src/modules/bank.c:136:8: warning[-Wanalyzer-malloc-leak]: leak of ‘cap’
vlc-3.0.21/src/modules/bank.c:734:8: enter_function: entry to ‘module_LoadPlugins’
vlc-3.0.21/src/modules/bank.c:738:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/modules/bank.c:740:9: branch_true: ...to here
vlc-3.0.21/src/modules/bank.c:740:9: call_function: calling ‘module_InitStaticModules’ from ‘module_LoadPlugins’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def980]
vlc-3.0.21/src/modules/bank.c:141:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cap’
vlc-3.0.21/src/modules/bank.c:734:8: enter_function: entry to ‘module_LoadPlugins’
vlc-3.0.21/src/modules/bank.c:738:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/modules/bank.c:740:9: branch_true: ...to here
vlc-3.0.21/src/modules/bank.c:740:9: call_function: calling ‘module_InitStaticModules’ from ‘module_LoadPlugins’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
vlc-3.0.21/src/modules/bank.c:141:5: warning[-Wanalyzer-malloc-leak]: leak of ‘modv’
vlc-3.0.21/src/modules/bank.c:734:8: enter_function: entry to ‘module_LoadPlugins’
vlc-3.0.21/src/modules/bank.c:738:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/modules/bank.c:740:9: branch_true: ...to here
vlc-3.0.21/src/modules/bank.c:740:9: call_function: calling ‘module_InitStaticModules’ from ‘module_LoadPlugins’
Error: COMPILER_WARNING: [#def982]
vlc-3.0.21/src/modules/cache.c: scope_hint: In function ‘vlc_cache_load_plugin_config’
vlc-3.0.21/src/modules/cache.c:257:45: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
vlc-3.0.21/src/modules/cache.c:257:45: note: earlier argument should specify number of elements, later size of each element
Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
vlc-3.0.21/src/modules/entry.c:294:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
vlc-3.0.21/src/modules/entry.c:293:36: acquire_memory: this call could return NULL
vlc-3.0.21/src/modules/entry.c:294:13: danger: ‘malloc(8)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def984]
vlc-3.0.21/src/modules/entry.c:528:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sym’
vlc-3.0.21/src/modules/entry.c:526:37: acquire_memory: this call could return NULL
vlc-3.0.21/src/modules/entry.c:528:5: danger: ‘sym’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def985]
vlc-3.0.21/src/modules/entry.c:539:8: warning[-Wanalyzer-malloc-leak]: leak of ‘sym’
vlc-3.0.21/src/modules/entry.c:526:37: acquire_memory: allocated here
vlc-3.0.21/src/modules/entry.c:533:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/modules/entry.c:539:9: branch_false: ...to here
vlc-3.0.21/src/modules/entry.c:539:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/src/modules/entry.c:539:8: danger: ‘sym’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def986]
vlc-3.0.21/src/network/httpd.c:448:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
vlc-3.0.21/src/network/httpd.c:409:1: enter_function: entry to ‘httpd_HandlerCallBack’
vlc-3.0.21/src/network/httpd.c:424:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/network/httpd.c:427:14: branch_false: ...to here
vlc-3.0.21/src/network/httpd.c:433:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:434:15: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:437:16: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
vlc-3.0.21/src/network/httpd.c:438:17: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:441:12: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
vlc-3.0.21/src/network/httpd.c:442:13: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:444:30: call_function: calling ‘xrealloc’ from ‘httpd_HandlerCallBack’
vlc-3.0.21/src/network/httpd.c:444:30: return_function: returning to ‘httpd_HandlerCallBack’ from ‘xrealloc’
vlc-3.0.21/src/network/httpd.c:444:13: release_memory: ‘0’ is NULL
vlc-3.0.21/src/network/httpd.c:448:25: release_memory: ‘0’ is NULL
vlc-3.0.21/src/network/httpd.c:448:9: danger: argument 1 (‘*answer.p_body’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def987]
vlc-3.0.21/src/network/httpd.c:469:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xmalloc((long unsigned int)(int)((unsigned int)strlen(<unknown>) + (unsigned int)i_headers + 16))’ where non-null expected
vlc-3.0.21/src/network/httpd.c:409:1: enter_function: entry to ‘httpd_HandlerCallBack’
vlc-3.0.21/src/network/httpd.c:424:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/network/httpd.c:427:14: branch_false: ...to here
vlc-3.0.21/src/network/httpd.c:448:8: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:453:14: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:453:12: branch_false: following ‘false’ branch...
vlc-3.0.21/src/network/httpd.c:461:13: branch_false: ...to here
vlc-3.0.21/src/network/httpd.c:465:22: call_function: inlined call to ‘httpd_ReasonFromCode’ from ‘httpd_HandlerCallBack’
vlc-3.0.21/src/network/httpd.c:468:27: call_function: calling ‘xmalloc’ from ‘httpd_HandlerCallBack’
vlc-3.0.21/src/network/httpd.c:468:27: return_function: returning to ‘httpd_HandlerCallBack’ from ‘xmalloc’
vlc-3.0.21/src/network/httpd.c:469:9: danger: argument 1 (‘xmalloc((long unsigned int)(int)((unsigned int)strlen(<unknown>) + (unsigned int)i_headers + 16))’) from [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def988]
vlc-3.0.21/src/network/httpd.c:1467:35: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*cl.query.psz_url’ where non-null expected
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def989]
vlc-3.0.21/src/network/httpd.c:1589:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def990]
vlc-3.0.21/src/network/httpd.c:1872:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘answer’
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def991]
vlc-3.0.21/src/network/httpd.c:2041:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘httpd_ClientNew(sk)’
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def992]
vlc-3.0.21/src/network/httpd.c:2043:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘httpd_ClientNew(sk)’
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
vlc-3.0.21/src/network/httpd.c:2044:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
vlc-3.0.21/src/network/httpd.c:2050:14: enter_function: entry to ‘httpd_HostThread’
vlc-3.0.21/src/network/httpd.c:2055:12: branch_true: following ‘true’ branch...
vlc-3.0.21/src/network/httpd.c:2056:9: branch_true: ...to here
vlc-3.0.21/src/network/httpd.c:2056:9: call_function: calling ‘httpdLoop’ from ‘httpd_HostThread’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
vlc-3.0.21/src/network/tls.c:410:8: warning[-Wanalyzer-malloc-leak]: leak of ‘sock’
vlc-3.0.21/src/network/tls.c:395:30: acquire_memory: allocated here
vlc-3.0.21/src/network/tls.c:396:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/network/tls.c:399:16: branch_false: ...to here
vlc-3.0.21/src/network/tls.c:410:8: branch_false: following ‘false’ branch (when ‘peerlen == 0’)...
branch_false: ...to here
vlc-3.0.21/src/network/tls.c:410:8: danger: ‘sock’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
vlc-3.0.21/src/network/tls.c:411:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sock’
vlc-3.0.21/src/network/tls.c:395:30: acquire_memory: allocated here
vlc-3.0.21/src/network/tls.c:396:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/network/tls.c:399:16: branch_false: ...to here
vlc-3.0.21/src/network/tls.c:410:8: branch_true: following ‘true’ branch (when ‘peerlen != 0’)...
vlc-3.0.21/src/network/tls.c:411:16: branch_true: ...to here
vlc-3.0.21/src/network/tls.c:411:9: danger: ‘sock’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
vlc-3.0.21/src/playlist/item.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘playlist_ItemNewFromInput(p_playlist, p_input)’
vlc-3.0.21/src/playlist/item.c:826:12: enter_function: entry to ‘RecursiveInsertCopy’
vlc-3.0.21/src/playlist/item.c:833:7: branch_false: following ‘false’ branch (when ‘p_item != p_parent’)...
vlc-3.0.21/src/playlist/item.c:835:19: branch_false: ...to here
vlc-3.0.21/src/playlist/item.c:841:11: branch_true: following ‘true’ branch...
vlc-3.0.21/src/playlist/item.c:843:41: branch_true: ...to here
vlc-3.0.21/src/playlist/item.c:845:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/playlist/item.c:847:30: branch_true: ...to here
vlc-3.0.21/src/playlist/item.c:847:30: call_function: calling ‘playlist_NodeAddInput’ from ‘RecursiveInsertCopy’
Error: GCC_ANALYZER_WARNING: [#def997]
vlc-3.0.21/src/playlist/item.c:537:9: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/playlist/item.c:826:12: enter_function: entry to ‘RecursiveInsertCopy’
vlc-3.0.21/src/playlist/item.c:833:7: branch_false: following ‘false’ branch (when ‘p_item != p_parent’)...
vlc-3.0.21/src/playlist/item.c:835:19: branch_false: ...to here
vlc-3.0.21/src/playlist/item.c:841:11: branch_true: following ‘true’ branch...
vlc-3.0.21/src/playlist/item.c:843:41: branch_true: ...to here
vlc-3.0.21/src/playlist/item.c:845:15: branch_true: following ‘true’ branch...
vlc-3.0.21/src/playlist/item.c:847:30: branch_true: ...to here
vlc-3.0.21/src/playlist/item.c:847:30: call_function: calling ‘playlist_NodeAddInput’ from ‘RecursiveInsertCopy’
Error: COMPILER_WARNING: [#def998]
vlc-3.0.21/src/playlist/preparser.c: scope_hint: In function ‘playlist_preparser_Push’
vlc-3.0.21/src/playlist/preparser.c:171:24: warning[-Wimplicit-fallthrough=]: this statement may fall through
vlc-3.0.21/src/playlist/preparser.c:173:9: note: here
Error: GCC_ANALYZER_WARNING: [#def999]
vlc-3.0.21/src/playlist/thread.c:166:9: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/playlist/thread.c:480:14: enter_function: entry to ‘Thread’
vlc-3.0.21/src/playlist/thread.c:487:12: branch_false: following ‘false’ branch...
vlc-3.0.21/src/playlist/thread.c:492:14: branch_false: ...to here
vlc-3.0.21/src/playlist/thread.c:492:11: branch_true: following ‘true’ branch...
branch_true: ...to here
vlc-3.0.21/src/playlist/thread.c:499:16: branch_false: following ‘false’ branch...
vlc-3.0.21/src/playlist/thread.c:499:34: branch_false: ...to here
vlc-3.0.21/src/playlist/thread.c:499:34: call_function: calling ‘Next’ from ‘Thread’
Error: COMPILER_WARNING (CWE-477): [#def1000]
vlc-3.0.21/src/stream_output/stream_output.c: scope_hint: In function ‘sout_MuxDeleteStream’
vlc-3.0.21/src/stream_output/stream_output.c:493:6: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/src/stream_output/stream_output.c:47: included_from: Included from here.
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1001]
vlc-3.0.21/src/stream_output/stream_output.c:493:6: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def1002]
vlc-3.0.21/src/stream_output/stream_output.c: scope_hint: In function ‘sout_MuxGetStream’
vlc-3.0.21/src/stream_output/stream_output.c:574:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
vlc-3.0.21/include/vlc_block.h:477:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1003]
vlc-3.0.21/src/stream_output/stream_output.c:574:9: warning[-Wdeprecated-declarations]: ‘block_FifoCount’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1004]
vlc-3.0.21/src/stream_output/stream_output.c:611:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘psz_parser’
vlc-3.0.21/src/stream_output/stream_output.c:604:22: acquire_memory: this call could return NULL
vlc-3.0.21/src/stream_output/stream_output.c:611:12: danger: ‘psz_parser’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1005]
vlc-3.0.21/src/stream_output/stream_output.c:916:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘mrl.psz_access’ where non-null expected
vlc-3.0.21/src/stream_output/stream_output.c:905:14: enter_function: entry to ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: call_function: calling ‘mrl_Parse’ from ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: return_function: returning to ‘sout_stream_url_to_chain’ from ‘mrl_Parse’
vlc-3.0.21/src/stream_output/stream_output.c:915:35: branch_true: following ‘true’ branch...
vlc-3.0.21/src/stream_output/stream_output.c:916:24: branch_true: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:916:13: danger: argument 2 (‘mrl.psz_access’) from [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1006]
vlc-3.0.21/src/stream_output/stream_output.c:923:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
vlc-3.0.21/src/stream_output/stream_output.c:905:14: enter_function: entry to ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: call_function: calling ‘mrl_Parse’ from ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: return_function: returning to ‘sout_stream_url_to_chain’ from ‘mrl_Parse’
vlc-3.0.21/src/stream_output/stream_output.c:915:35: branch_true: following ‘true’ branch...
vlc-3.0.21/src/stream_output/stream_output.c:916:24: branch_true: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:916:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
vlc-3.0.21/src/stream_output/stream_output.c:915:44: branch_false: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:915:35: branch_false: following ‘false’ branch...
vlc-3.0.21/src/stream_output/stream_output.c:919:17: branch_false: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:919:8: branch_true: following ‘true’ branch (when the strings are equal)...
vlc-3.0.21/src/stream_output/stream_output.c:923:9: branch_true: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:923:9: danger: out-of-bounds write from byte 1 till byte 3 but region ends at byte 1
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1007]
vlc-3.0.21/src/stream_output/stream_output.c:925:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mrl.psz_name’
vlc-3.0.21/src/stream_output/stream_output.c:905:14: enter_function: entry to ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: call_function: calling ‘mrl_Parse’ from ‘sout_stream_url_to_chain’
vlc-3.0.21/src/stream_output/stream_output.c:911:5: return_function: returning to ‘sout_stream_url_to_chain’ from ‘mrl_Parse’
vlc-3.0.21/src/stream_output/stream_output.c:915:35: branch_true: following ‘true’ branch...
vlc-3.0.21/src/stream_output/stream_output.c:916:24: branch_true: ...to here
vlc-3.0.21/src/stream_output/stream_output.c:925:13: danger: ‘mrl.psz_name’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING: [#def1008]
vlc-3.0.21/src/video_output/control.c:105:9: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
vlc-3.0.21/src/video_output/control.c:104:8: branch_false: following ‘false’ branch...
vlc-3.0.21/src/video_output/control.c:105:9: branch_false: ...to here
vlc-3.0.21/src/video_output/control.c:105:9: branch_false: following ‘false’ branch...
vlc-3.0.21/src/video_output/control.c:105:9: branch_false: ...to here
vlc-3.0.21/src/video_output/control.c:105:9: branch_true: following ‘true’ branch...
vlc-3.0.21/src/video_output/control.c:105:9: branch_true: ...to here
vlc-3.0.21/src/video_output/control.c:105:9: danger: operand ‘1.5e+0’ is of type ‘double’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1009]
vlc-3.0.21/src/video_output/control.c:160:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd.u.message.string’
vlc-3.0.21/src/video_output/control.c:152:6: enter_function: entry to ‘vout_control_PushMessage’
vlc-3.0.21/src/video_output/control.c:158:28: acquire_memory: allocated here
vlc-3.0.21/src/video_output/control.c:159:5: call_function: calling ‘vout_control_Push’ from ‘vout_control_PushMessage’
vlc-3.0.21/src/video_output/control.c:159:5: return_function: returning to ‘vout_control_PushMessage’ from ‘vout_control_Push’
vlc-3.0.21/src/video_output/control.c:160:1: danger: ‘cmd.u.message.string’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1010]
vlc-3.0.21/src/video_output/control.c:177:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd.u.string’
vlc-3.0.21/src/video_output/control.c:170:6: enter_function: entry to ‘vout_control_PushString’
vlc-3.0.21/src/video_output/control.c:175:20: branch_true: following ‘true’ branch (when ‘string’ is non-NULL)...
vlc-3.0.21/src/video_output/control.c:175:29: branch_true: ...to here
vlc-3.0.21/src/video_output/control.c:175:29: acquire_memory: allocated here
vlc-3.0.21/src/video_output/control.c:176:5: call_function: calling ‘vout_control_Push’ from ‘vout_control_PushString’
vlc-3.0.21/src/video_output/control.c:176:5: return_function: returning to ‘vout_control_PushString’ from ‘vout_control_Push’
vlc-3.0.21/src/video_output/control.c:177:1: danger: ‘cmd.u.string’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING (CWE-563): [#def1011]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘VideoBufferNew’
vlc-3.0.21/src/video_output/display.c:56:27: warning[-Wunused-variable]: unused variable ‘fmt’
Error: COMPILER_WARNING (CWE-477): [#def1012]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘vout_display_New’
vlc-3.0.21/src/video_output/display.c:103:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/src/video_output/display.c:34: included_from: Included from here.
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1013]
vlc-3.0.21/src/video_output/display.c:103:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def1014]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘vout_display_Manage’
vlc-3.0.21/src/video_output/display.c:151:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1015]
vlc-3.0.21/src/video_output/display.c:151:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def1016]
vlc-3.0.21/src/video_output/display.c:152:9: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1017]
vlc-3.0.21/src/video_output/display.c:152:9: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def1018]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘vout_ManageDisplay’
vlc-3.0.21/src/video_output/display.c:756:13: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:144:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1019]
vlc-3.0.21/src/video_output/display.c:756:13: warning[-Wdeprecated-declarations]: ‘VOUT_DISPLAY_HIDE_MOUSE’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1020]
vlc-3.0.21/src/video_output/display.c:1136:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘osys’
vlc-3.0.21/src/video_output/display.c:1248:17: enter_function: entry to ‘vout_NewDisplay’
vlc-3.0.21/src/video_output/display.c:1255:12: call_function: calling ‘DisplayNew’ from ‘vout_NewDisplay’
Error: COMPILER_WARNING (CWE-563): [#def1021]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘SplitterPrepare’
vlc-3.0.21/src/video_output/display.c:1337:43: warning[-Wunused-parameter]: unused parameter ‘subpicture’
Error: COMPILER_WARNING (CWE-563): [#def1022]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘SplitterDisplay’
vlc-3.0.21/src/video_output/display.c:1358:43: warning[-Wunused-parameter]: unused parameter ‘subpicture’
Error: COMPILER_WARNING (CWE-477): [#def1023]
vlc-3.0.21/src/video_output/display.c: scope_hint: In function ‘vout_NewSplitter’
vlc-3.0.21/src/video_output/display.c:1464:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
vlc-3.0.21/include/vlc_vout_display.h:333:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def1024]
vlc-3.0.21/src/video_output/display.c:1464:5: warning[-Wdeprecated-declarations]: ‘manage’ is deprecated
Error: COMPILER_WARNING: [#def1025]
vlc-3.0.21/src/video_output/display.c:46: included_from: Included from here.
vlc-3.0.21/src/video_output/event.h: scope_hint: In function ‘vout_SendEventClose’
vlc-3.0.21/src/video_output/event.h:42:2: warning[-Wcpp]: #warning FIXME: implement video close event
Error: COMPILER_WARNING: [#def1026]
vlc-3.0.21/src/video_output/event.h:42:2: warning[-Wcpp]: #warning FIXME: implement video close event
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1027]
vlc-3.0.21/src/video_output/vout_subpictures.c:1599:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘subpicture_array[i]’
vlc-3.0.21/src/video_output/vout_subpictures.c:1526:15: enter_function: entry to ‘spu_Render’
vlc-3.0.21/src/video_output/vout_subpictures.c:1590:5: call_function: calling ‘SpuSelectSubpictures’ from ‘spu_Render’
vlc-3.0.21/src/video_output/vout_subpictures.c:1590:5: return_function: returning to ‘spu_Render’ from ‘SpuSelectSubpictures’
vlc-3.0.21/src/video_output/vout_subpictures.c:1592:8: branch_false: following ‘false’ branch...
branch_false: ...to here
vlc-3.0.21/src/video_output/vout_subpictures.c:1598:26: branch_true: following ‘true’ branch...
vlc-3.0.21/src/video_output/vout_subpictures.c:1599:23: branch_true: ...to here
vlc-3.0.21/src/video_output/vout_subpictures.c:1599:23: danger: use of uninitialized value ‘subpicture_array[i]’ here
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-20.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | vlc-3.0.21-21.fc43 |
store-results-to | /tmp/tmp687yrqd4/vlc-3.0.21-21.fc43.tar.xz |
time-created | 2025-04-25 16:09:34 |
time-finished | 2025-04-25 16:23:08 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp687yrqd4/vlc-3.0.21-21.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp687yrqd4/vlc-3.0.21-21.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |