fribidi-1.0.16-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-benchmark.c: scope_hint: In function ‘benchmark’
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-benchmark.c:204:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘us[j]’
Error: CPPCHECK_WARNING (CWE-457): [#def2]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-benchmark.c:222: warning[uninitvar]: Uninitialized variable: us
Error: CPPCHECK_WARNING (CWE-457): [#def3]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-caprtl2utf8.c:31: error[uninitvar]: Uninitialized variable: eol
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi.h:34: included_from: Included from here.
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c:32: included_from: Included from here.
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c:465:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘visual’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-bidi-types.h:323:11: note: in definition of macro ‘FRIBIDI_IS_EXPLICIT_OR_ISOLATE_OR_BN_OR_NSM’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-bidi-types.h:323:11: note: in definition of macro ‘FRIBIDI_IS_EXPLICIT_OR_ISOLATE_OR_BN_OR_NSM’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-bidi-types.h:323:11: note: in definition of macro ‘FRIBIDI_IS_EXPLICIT_OR_ISOLATE_OR_BN_OR_NSM’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-bidi-types.h:323:11: note: in definition of macro ‘FRIBIDI_IS_EXPLICIT_OR_ISOLATE_OR_BN_OR_NSM’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c:513:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ltov’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c:522:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ltov’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
fribidi-1.0.16-build/fribidi-1.0.16/bin/fribidi-main.c:531:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘levels’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-arabic-shaping-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-arabic-shaping-tab.c:218:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-arabic-shaping-tab.c:218:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*data_file_name, "rt")’
Error: COMPILER_WARNING: [#def10]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-arabic-shaping-tab.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-arabic-shaping-tab.c:278:1: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-bidi-type-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-bidi-type-tab.c:304:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-bidi-type-tab.c:304:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def13]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_unicode_data_txt_equivalence’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:203:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(uni_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_unicode_data_txt_equivalence’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:203:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(uni_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_unicode_data_txt_equivalence’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:268:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(uni_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:268:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(uni_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:277:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(bracket_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c:277:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(bracket_datafile_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-type-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-type-tab.c:174:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-brackets-type-tab.c:174:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-joining-type-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-joining-type-tab.c:294:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*data_file_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-joining-type-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-joining-type-tab.c:294:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*data_file_name, "rt")’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-joining-type-tab.c: scope_hint: In function ‘read_data’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-mirroring-tab.c: scope_hint: In function ‘read_data’
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-mirroring-tab.c:177:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(data_file_name, "rt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-mirroring-tab.c:177:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(data_file_name, "rt")’
Error: CPPCHECK_WARNING (CWE-457): [#def25]
fribidi-1.0.16-build/fribidi-1.0.16/gen.tab/gen-unicode-version.c:192: warning[uninitvar]: Uninitialized variable: data_file_type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c: scope_hint: In function ‘init_cap_rtl’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:92:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘caprtl_to_unicode’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:30: included_from: Included from here.
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:87:21: note: in expansion of macro ‘fribidi_malloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:99:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘caprtl_to_unicode’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:87:21: note: in expansion of macro ‘fribidi_malloc’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def28]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c: scope_hint: In function ‘fribidi_char_set_desc_cap_rtl’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:336:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘s’ where non-null expected
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:334:16: note: in expansion of macro ‘fribidi_malloc’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-char-sets-cap-rtl.c:334:16: note: in expansion of macro ‘fribidi_malloc’
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def29]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c: scope_hint: In function ‘run_list_encode_bidi_types’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:135:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*last.bracket_type’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:30: included_from: Included from here.
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:44:9: note: in expansion of macro ‘fribidi_malloc’
fribidi-1.0.16-build/fribidi-1.0.16/lib/common.h:99:43: note: in expansion of macro ‘FRIBIDI_BOOLEAN_EXPR’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:46:6: note: in expansion of macro ‘LIKELY’
fribidi-1.0.16-build/fribidi-1.0.16/lib/common.h:99:43: note: in expansion of macro ‘FRIBIDI_BOOLEAN_EXPR’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:64:6: note: in expansion of macro ‘LIKELY’
fribidi-1.0.16-build/fribidi-1.0.16/lib/common.h:100:45: note: in expansion of macro ‘FRIBIDI_BOOLEAN_EXPR’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi-run.c:121:6: note: in expansion of macro ‘UNLIKELY’
Error: COMPILER_WARNING: [#def30]
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi.c: scope_hint: In function ‘fribidi_log2vis’
fribidi-1.0.16-build/fribidi-1.0.16/lib/fribidi.c:245:7: warning[-Wstringop-overflow=]: ‘memcpy’ specified bound between 18446744065119617024 and 18446744073709551612 exceeds maximum object size 9223372036854775807
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘new_int_array’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:49:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘int_array_add’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:63:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*arr.data + (long unsigned int)*arr.len * 4’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘int_array_add’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘new_char_array’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:80:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘char_array_add’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:94:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*arr.data + (sizetype)*arr.len’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:26: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-664): [#def35]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:115: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘parse_test_line’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:164:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:176:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:188:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:218:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:224:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:291:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:291:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: COMPILER_WARNING (CWE-252): [#def43]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:293:7: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:295:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiCharacterTest.c:295:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘new_int_array’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:50:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘int_array_add’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:62:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:64:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*arr.data + (long unsigned int)*arr.len * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘new_char_array’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:81:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘char_array_add’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:93:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:26: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:95:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*arr.data + (sizetype)*arr.len’
Error: CPPCHECK_WARNING (CWE-664): [#def52]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:116: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:163:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:163:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘parse_levels_line’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:163:12: warning[-Wanalyzer-malloc-leak]: leak of ‘new_char_array()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘parse_levels_line’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:187:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:214:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:214:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: COMPILER_WARNING (CWE-252): [#def59]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c: scope_hint: In function ‘main’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:292:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:294:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:294:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:353:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ltor’
fribidi-1.0.16-build/fribidi-1.0.16/test/unicode-conformance/BidiTest.c:27: included_from: Included from here.
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
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-55.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | fribidi-1.0.16-1.fc42 |
store-results-to | /tmp/tmpb10e_trg/fribidi-1.0.16-1.fc42.tar.xz |
time-created | 2024-11-13 00:00:48 |
time-finished | 2024-11-13 00:02:12 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpb10e_trg/fribidi-1.0.16-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpb10e_trg/fribidi-1.0.16-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |