gstreamer1-1.26.0-1.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-398): [#def1]
/usr/lib/rpm/gstreamer1.prov:23:1: warning[SC2112]: 'function' keyword is non-standard. Delete it.
Error: SHELLCHECK_WARNING: [#def2]
/usr/lib/rpm/gstreamer1.prov:25:90: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def3]
/usr/lib/rpm/gstreamer1.prov:29:1: warning[SC2112]: 'function' keyword is non-standard. Delete it.
Error: SHELLCHECK_WARNING: [#def4]
/usr/lib/rpm/gstreamer1.prov:39:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def5]
/usr/lib/rpm/gstreamer1.prov:40:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: CPPCHECK_WARNING (CWE-909): [#def6]
gstreamer-1.26.0/libs/gst/base/gstmemindex.c:376: error[uninitStructMember]: Uninitialized struct member: data.lower
Error: CPPCHECK_WARNING (CWE-909): [#def7]
gstreamer-1.26.0/libs/gst/base/gstmemindex.c:378: error[uninitStructMember]: Uninitialized struct member: data.higher
Error: CPPCHECK_WARNING (CWE-476): [#def8]
gstreamer-1.26.0/libs/gst/check/libcheck/check_print.c:195: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: path_name
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:114:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:92:1: enter_function: entry to ‘_fallback_mem_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:99:6: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:102:6: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:110:10: call_function: calling ‘gst_allocator_alloc’ from ‘_fallback_mem_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:110:10: return_function: returning to ‘_fallback_mem_copy’ from ‘gst_allocator_alloc’
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:112:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:113:5: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstallocator.c:114:5: danger: dereference of NULL ‘gst_allocator_alloc(allocator, (long unsigned int)size, & params)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:807:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:797:1: enter_function: entry to ‘gst_buffer_pool_has_option’
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:802:3: branch_false: following ‘false’ branch (when ‘pool’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:802:3: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:802:3: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:803:3: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:803:3: branch_true: following ‘true’ branch (when ‘option’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:805:13: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:805:13: call_function: calling ‘gst_buffer_pool_get_options’ from ‘gst_buffer_pool_has_option’
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:805:13: return_function: returning to ‘gst_buffer_pool_has_option’ from ‘gst_buffer_pool_get_options’
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:807:22: release_memory: ‘0’ is NULL
gstreamer-1.26.0/redhat-linux-build/../gst/gstbufferpool.c:807:15: danger: dereference of NULL ‘gst_buffer_pool_get_options(pool) + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2271:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2230:1: enter_function: entry to ‘gst_caps_subtract’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2238:3: branch_true: following ‘true’ branch (when ‘minuend’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2239:3: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2239:3: branch_true: following ‘true’ branch (when ‘subtrahend’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2241:7: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2241:7: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2245:7: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2245:6: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2254:3: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2258:9: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2258:9: call_function: calling ‘_gst_caps_copy’ from ‘gst_caps_subtract’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2258:9: return_function: returning to ‘gst_caps_subtract’ from ‘_gst_caps_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2259:15: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2262:11: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2266:8: branch_false: following ‘false’ branch (when ‘dest’ is NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2270:12: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcaps.c:2271:14: danger: dereference of NULL ‘src’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def12]
gstreamer-1.26.0/redhat-linux-build/../gst/gstidstr-private.h:234:21: warning[-Wanalyzer-null-argument]: use of NULL ‘s1’ where non-null expected
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1180:1: enter_function: entry to ‘gst_caps_features_remove_id_str’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1185:3: branch_true: following ‘true’ branch (when ‘features’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1186:3: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1187:3: branch_true: following ‘true’ branch (when ‘feature’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1189:7: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1190:15: branch_true: following ‘true’ branch (when ‘i < n’)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1191:25: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1191:25: call_function: calling ‘gst_caps_features_get_nth_id_str’ from ‘gst_caps_features_remove_id_str’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1191:25: return_function: returning to ‘gst_caps_features_remove_id_str’ from ‘gst_caps_features_get_nth_id_str’
gstreamer-1.26.0/redhat-linux-build/../gst/gstcapsfeatures.c:1193:9: call_function: calling ‘_gst_id_str_is_equal_inline’ from ‘gst_caps_features_remove_id_str’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:564:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:548:1: enter_function: entry to ‘gst_iterator_filter’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:553:3: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:554:3: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:554:3: branch_true: following ‘true’ branch (when ‘func’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:556:34: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:556:34: call_function: calling ‘gst_iterator_new’ from ‘gst_iterator_filter’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:556:34: return_function: returning to ‘gst_iterator_filter’ from ‘gst_iterator_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:564:3: danger: dereference of NULL ‘gst_iterator_new(176, *it.type, *it.lock, *it.master_cookie, & filter_copy, & filter_next, 0, & filter_resync, & filter_free)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:827:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:811:1: enter_function: entry to ‘gst_iterator_new_single’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:816:7: call_function: calling ‘gst_iterator_new’ from ‘gst_iterator_new_single’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:816:7: return_function: returning to ‘gst_iterator_new_single’ from ‘gst_iterator_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:824:6: branch_true: following ‘true’ branch (when ‘object’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:825:5: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:827:5: danger: dereference of NULL ‘gst_iterator_new(152, type, 0, & _single_object_dummy_cookie, & gst_single_object_iterator_copy, & gst_single_object_iterator_next, 0, & gst_single_object_iterator_resync, & gst_single_object_iterator_free)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:829:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:811:1: enter_function: entry to ‘gst_iterator_new_single’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:816:7: call_function: calling ‘gst_iterator_new’ from ‘gst_iterator_new_single’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:816:7: return_function: returning to ‘gst_iterator_new_single’ from ‘gst_iterator_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:824:6: branch_false: following ‘false’ branch (when ‘object’ is NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:829:5: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstiterator.c:829:5: danger: dereference of NULL ‘gst_iterator_new(152, type, 0, & _single_object_dummy_cookie, & gst_single_object_iterator_copy, & gst_single_object_iterator_next, 0, & gst_single_object_iterator_resync, & gst_single_object_iterator_free)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:407:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘message’
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:742:1: enter_function: entry to ‘gst_message_new_info_with_details’
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:748:6: branch_false: following ‘false’ branch (when ‘debug’ is NULL)...
branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:756:13: call_function: calling ‘gst_message_new_custom’ from ‘gst_message_new_info_with_details’
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:756:13: return_function: returning to ‘gst_message_new_info_with_details’ from ‘gst_message_new_custom’
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:757:6: branch_true: following ‘true’ branch (when ‘details’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:758:5: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstmessage.c:758:5: call_function: calling ‘message_set_details’ from ‘gst_message_new_info_with_details’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def17]
gstreamer-1.26.0/redhat-linux-build/../gst/gstminiobject.c:328:12: warning[-Wanalyzer-infinite-loop]: infinite loop
gstreamer-1.26.0/redhat-linux-build/../gst/gstminiobject.c:430:1: enter_function: entry to ‘gst_mini_object_make_writable’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:71:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:63:1: enter_function: entry to ‘_gst_sample_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:67:10: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:68:24: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:67:10: call_function: calling ‘gst_sample_new’ from ‘_gst_sample_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:67:10: return_function: returning to ‘_gst_sample_copy’ from ‘gst_sample_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:70:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:71:25: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gstsample.c:71:5: danger: dereference of NULL ‘gst_sample_new(*sample.buffer, *sample.caps, &*sample.segment, <unknown>)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:430:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:421:1: enter_function: entry to ‘gst_toc_entry_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:426:3: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:428:41: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:428:9: call_function: calling ‘gst_toc_entry_new’ from ‘gst_toc_entry_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:428:9: return_function: returning to ‘gst_toc_entry_copy’ from ‘gst_toc_entry_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:430:3: danger: dereference of NULL ‘gst_toc_entry_new(*entry.type, *entry.uid)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:465:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:454:1: enter_function: entry to ‘gst_toc_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:459:3: branch_true: following ‘true’ branch (when ‘toc’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:22: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:9: call_function: calling ‘gst_toc_new’ from ‘gst_toc_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:9: return_function: returning to ‘gst_toc_copy’ from ‘gst_toc_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:463:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:465:5: danger: dereference of NULL ‘gst_toc_new(*toc.scope)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:469:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:454:1: enter_function: entry to ‘gst_toc_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:459:3: branch_true: following ‘true’ branch (when ‘toc’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:22: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:9: call_function: calling ‘gst_toc_new’ from ‘gst_toc_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:461:9: return_function: returning to ‘gst_toc_copy’ from ‘gst_toc_new’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:469:18: call_function: calling ‘gst_toc_deep_copy_toc_entries’ from ‘gst_toc_copy’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:469:18: return_function: returning to ‘gst_toc_copy’ from ‘gst_toc_deep_copy_toc_entries’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttoc.c:469:3: danger: dereference of NULL ‘gst_toc_new(*toc.scope)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def22]
gstreamer-1.26.0/redhat-linux-build/../gst/gsttracerrecord.c:115:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gstreamer-1.26.0/redhat-linux-build/../gst/gsttracerrecord.c:101:1: enter_function: entry to ‘gst_tracer_record_build_format’
gstreamer-1.26.0/redhat-linux-build/../gst/gsttracerrecord.c:108:3: branch_true: following ‘true’ branch (when ‘__result != 0’)...
gstreamer-1.26.0/redhat-linux-build/../gst/gsttracerrecord.c:111:3: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../gst/gsttracerrecord.c:115:7: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-835): [#def23]
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/gsttestclock.c:339:10: warning[-Wanalyzer-infinite-loop]: infinite loop
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/gsttestclock.c:332:1: enter_function: entry to ‘gst_test_clock_dispose’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/gsttestclock.c:339:10: danger: infinite loop here
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/gsttestclock.c:339:10: branch_true: if it ever follows ‘true’ branch, it will always do so...
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/gsttestclock.c:340:27: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def24]
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:327:7: warning[-Wanalyzer-null-argument]: use of NULL ‘buf’ where non-null expected
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:314:1: enter_function: entry to ‘ppack’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:316:9: release_memory: ‘buf’ is NULL
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:320:7: call_function: calling ‘pack’ from ‘ppack’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:320:7: return_function: returning to ‘ppack’ from ‘pack’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:322:6: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:327:7: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:327:7: release_memory: ‘buf’ is NULL
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:327:7: release_memory: ‘buf’ is NULL
gstreamer-1.26.0/redhat-linux-build/../libs/gst/check/libcheck/check_pack.c:327:7: danger: argument 1 (‘buf’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def25]
gstreamer-1.26.0/redhat-linux-build/../libs/gst/net/gstptpclock.c:2636:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gstreamer-1.26.0/redhat-linux-build/../libs/gst/net/gstptpclock.c:2627:1: enter_function: entry to ‘count_directories’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/net/gstptpclock.c:2633:3: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../libs/gst/net/gstptpclock.c:2635:9: call_function: inlined call to ‘g_strdup_inline’ from ‘count_directories’
gstreamer-1.26.0/redhat-linux-build/../libs/gst/net/gstptpclock.c:2636:9: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-465): [#def26]
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstconcat.c:787:6: warning[-Wanalyzer-deref-before-check]: check of ‘event’ for NULL after already dereferencing it
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstconcat.c:766:10: branch_false: following ‘false’ branch (when ‘sinkpad’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstconcat.c:787:7: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstconcat.c:787:6: danger: pointer ‘event’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstfakesrc.c:806:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstfakesrc.c:795:1: enter_function: entry to ‘gst_fake_src_create’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstfakesrc.c:805:9: call_function: calling ‘gst_fake_src_create_buffer’ from ‘gst_fake_src_create’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstfakesrc.c:805:9: return_function: returning to ‘gst_fake_src_create’ from ‘gst_fake_src_create_buffer’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstfakesrc.c:806:3: danger: dereference of NULL ‘gst_fake_src_create_buffer(basesrc, & size)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1253:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_sinkpad’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1055:1: enter_function: entry to ‘gst_selector_pad_chain’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1074:6: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1079:3: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1082:7: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1083:20: call_function: inlined call to ‘gst_input_selector_get_active_sinkpad’ from ‘gst_selector_pad_chain’
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1087:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1090:8: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1093:10: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1100:16: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/elements/gstinputselector.c:1108:11: call_function: calling ‘gst_selector_pad_chain’ from ‘gst_selector_pad_chain’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:209:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pad’
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:219:1: enter_function: entry to ‘get_pad_stats’
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:237:7: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:238:24: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:238:24: call_function: calling ‘get_real_pad_parent’ from ‘get_pad_stats’
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:238:24: return_function: returning to ‘get_pad_stats’ from ‘get_real_pad_parent’
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:239:8: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:245:7: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:245:7: branch_true: following ‘true’ branch (when ‘is_new != 0’)...
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:246:5: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../plugins/tracers/gststats.c:246:5: call_function: calling ‘log_new_pad_stats’ from ‘get_pad_stats’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:728:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:816:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:809:1: enter_function: entry to ‘accum_element_stats’
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:813:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:814:37: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:814:37: call_function: calling ‘get_element_stats’ from ‘accum_element_stats’
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:814:37: return_function: returning to ‘accum_element_stats’ from ‘get_element_stats’
gstreamer-1.26.0/redhat-linux-build/../tools/gst-stats.c:816:5: danger: dereference of NULL ‘get_element_stats(*(GstElementStats *)value.parent_ix)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def32]
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2343:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2301:6: branch_true: following ‘true’ branch...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2307:28: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2330:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2332:7: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2341:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2343:9: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2343:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def33]
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2470:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2301:6: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2365:6: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2365:6: branch_false: following ‘false’ branch (when ‘yystate != 16’)...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2368:3: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2380:6: branch_true: following ‘true’ branch (when ‘yyn == -20’)...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2381:5: branch_true: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2450:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2452:3: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/grammar.tab.c:2470:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:2107:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1986:10: enter_function: entry to ‘priv_gst_parse_yyrestart’
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1993:13: call_function: calling ‘priv_gst_parse_yy_create_buffer’ from ‘priv_gst_parse_yyrestart’
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1993:13: return_function: returning to ‘priv_gst_parse_yyrestart’ from ‘priv_gst_parse_yy_create_buffer’
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1996:16: branch_false: following ‘false’ branch...
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1996:16: branch_false: ...to here
gstreamer-1.26.0/redhat-linux-build/gst/parse/lex.priv_gst_parse_yy.c:1996:16: call_function: calling ‘priv_gst_parse_yy_init_buffer’ from ‘priv_gst_parse_yyrestart’
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-80.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 | gstreamer1-1.26.0-1.fc43 |
store-results-to | /tmp/tmpmbzlwtfk/gstreamer1-1.26.0-1.fc43.tar.xz |
time-created | 2025-04-25 12:56:54 |
time-finished | 2025-04-25 12:59:52 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpmbzlwtfk/gstreamer1-1.26.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmbzlwtfk/gstreamer1-1.26.0-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |