zvbi-0.2.42-1.fc42
List of Findings
Error: COMPILER_WARNING: [#def1]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘open_minicut_file’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:1158:9: warning[-Wuse-after-free]: pointer ‘buf_56’ used after ‘free’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:1412:9: note: call to ‘free’ here
Error: COMPILER_WARNING (CWE-457): [#def2]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:2925:31: warning[-Wmaybe-uninitialized]: ‘window_rows’ may be used uninitialized
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘decode_cc_data.part.0’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:2835:22: note: ‘window_rows’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def3]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:4693: warning[uninitvar]: Uninitialized variable: ucs2_str
Error: COMPILER_WARNING (CWE-457): [#def4]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:5457:33: warning[-Wmaybe-uninitialized]: ‘mask’ may be used uninitialized
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘dtvcc_decode_packet.isra.0’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:5417:22: note: ‘mask’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def5]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:5511:25: warning[-Wmaybe-uninitialized]: ‘mask’ may be used uninitialized
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘dtvcc_decode_packet.isra.0’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:5474:22: note: ‘mask’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def6]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:6234: error[shiftTooManyBits]: Shifting 32-bit value by 56 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def7]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:6449: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-569): [#def8]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘same_transponder’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:7851:43: warning[-Wtautological-compare]: self-comparison always evaluates to false
Error: COMPILER_WARNING (CWE-1164): [#def9]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c: scope_hint: In function ‘parse_time’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/atsc-cc.c:9504:1: warning[-Wunused-label]: label ‘dangit’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def10]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: At top level
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:160:12: warning[-Wunused-function]: ‘decode’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def11]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘CCdecode’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:555:21: warning[-Wunused-but-set-variable]: variable ‘row’ set but not used
Error: COMPILER_WARNING (CWE-483): [#def12]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘print_raw’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:725:11: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:727:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING (CWE-483): [#def13]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘check_fread’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1059:17: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1061:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING (CWE-563): [#def14]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘read_test_stream’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1071:16: warning[-Wunused-but-set-variable]: variable ‘dt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def15]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1348:18: warning[-Wunused-variable]: unused variable ‘buf’
Error: COMPILER_WARNING (CWE-563): [#def16]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1349:8: warning[-Wunused-variable]: unused variable ‘arg’
Error: COMPILER_WARNING (CWE-563): [#def17]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1350:8: warning[-Wunused-variable]: unused variable ‘args’
Error: COMPILER_WARNING (CWE-563): [#def18]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1351:11: warning[-Wunused-variable]: unused variable ‘rfds’
Error: COMPILER_WARNING (CWE-563): [#def19]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘main’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1358:18: warning[-Wunused-but-set-variable]: variable ‘use_cc_filter’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘main’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1599:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cap’
Error: COMPILER_WARNING (CWE-457): [#def21]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c: scope_hint: In function ‘main’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1599:18: warning[-Wmaybe-uninitialized]: ‘cap’ may be used uninitialized
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1364:17: note: ‘cap’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:1675:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cap’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/ntsc-cc.c:44: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def23]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c: scope_hint: In function ‘print_head’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:13:5: warning[-Wanalyzer-null-argument]: use of NULL ‘fp’ where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:28: included_from: Included from here.
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null
Error: COMPILER_WARNING (CWE-681): [#def24]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c: scope_hint: In function ‘main’
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:129:48: warning[-Wpointer-sign]: pointer targets in passing argument 5 of ‘print_font’ differ in signedness
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:57:21: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-681): [#def25]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:131:49: warning[-Wpointer-sign]: pointer targets in passing argument 5 of ‘print_font’ differ in signedness
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:57:21: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING: [#def26]
zvbi-0.2.42-build/zvbi-0.2.42/daemon/chains.c:48:19: warning[-Wunused-const-variable=]: ‘rcsid’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def27]
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c: scope_hint: In function ‘vbi_proxyd_get_token_owner’
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c:1218:18: warning[-Wunused-but-set-variable]: variable ‘p_proxy_dev’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def28]
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c: scope_hint: In function ‘vbi_proxyd_channel_schedule’
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c:1415:18: warning[-Wunused-but-set-variable]: variable ‘p_proxy_dev’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c: scope_hint: In function ‘vbi_proxyd_init’
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c:2708:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup(1)’
zvbi-0.2.42-build/zvbi-0.2.42/daemon/proxyd.c:3143:4: note: in expansion of macro ‘dprintf’
Error: COMPILER_WARNING: [#def30]
zvbi-0.2.42-build/zvbi-0.2.42/examples/pdc2.c:219:1: warning[-Wunused-const-variable=]: ‘signal_period’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c: scope_hint: In function 'delete_all_pages'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1008:30: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache-priv.h:28: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:33: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/event.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:174:27: note: in expansion of macro 'PARENT'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:298:9: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:175:6: note: in definition of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:174:27: note: in expansion of macro 'PARENT'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1007:9: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:175:11: note: in expansion of macro 'PARENT'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1007:9: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1007:9: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:175:6: note: in definition of macro 'FOR_ALL_NODES'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c: scope_hint: In function '_vbi_cache_put_page'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1555:38: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:174:27: note: in expansion of macro 'PARENT'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1551:17: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:175:11: note: in expansion of macro 'PARENT'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1551:17: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.c:1551:17: note: in expansion of macro 'FOR_ALL_NODES'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:175:6: note: in definition of macro 'FOR_ALL_NODES'
Error: COMPILER_WARNING (CWE-457): [#def33]
zvbi-0.2.42-build/zvbi-0.2.42/src/cc608_decoder.c:1373:31: warning[-Wmaybe-uninitialized]: 'window_rows' may be used uninitialized
zvbi-0.2.42-build/zvbi-0.2.42/src/cc608_decoder.c: scope_hint: In function '_vbi_cc608_decoder_feed'
zvbi-0.2.42-build/zvbi-0.2.42/src/cc608_decoder.c:1289:22: note: 'window_rows' was declared here
Error: COMPILER_WARNING: [#def34]
zvbi-0.2.42-build/zvbi-0.2.42/src/conv.c: scope_hint: In function '_vbi_strndup_iconv'
zvbi-0.2.42-build/zvbi-0.2.42/src/conv.c:858:28: warning[-Wnonnull-compare]: 'nonnull' argument 'out_size' compared to NULL
Error: COMPILER_WARNING (CWE-563): [#def35]
zvbi-0.2.42-build/zvbi-0.2.42/src/decoder.c: scope_hint: In function 'vbi_raw_decoder_resize'
zvbi-0.2.42-build/zvbi-0.2.42/src/decoder.c:544:25: warning[-Wunused-but-set-variable]: variable 'service_set' set but not used
Error: COMPILER_WARNING: [#def36]
zvbi-0.2.42-build/zvbi-0.2.42/src/dvb_mux.c:85:27: warning[-Wunused-const-variable=]: 'BT601_525_OFFSET' defined but not used
Error: COMPILER_WARNING (CWE-691): [#def37]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function 'vbi_draw_vt_page_region'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:645:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous 'else'
Error: COMPILER_WARNING (CWE-691): [#def38]
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:5: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function ‘vbi_draw_vt_page_region’
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:645:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-697): [#def39]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function 'xpm_export'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1558:31: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'title' will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1482:14: note: 'title' declared here
Error: COMPILER_WARNING (CWE-697): [#def40]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function ‘xpm_export’
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1558:31: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘title’ will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1482:14: note: ‘title’ declared here
Error: COMPILER_WARNING (CWE-697): [#def41]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1562:34: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'title' will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1482:14: note: 'title' declared here
Error: COMPILER_WARNING (CWE-697): [#def42]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1562:34: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘title’ will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1482:14: note: ‘title’ declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-templ.c: scope_hint: In function 'tmpl_new'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-templ.c:56:16: warning[-Wanalyzer-malloc-leak]: leak of 'tmpl'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-txt.c: scope_hint: In function 'text_new'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-txt.c:60:16: warning[-Wanalyzer-malloc-leak]: leak of 'text'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-txt.c: scope_hint: In function 'vbi_print_page_region'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-txt.c:374:12: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(format, "UCS-2")'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def46]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:784:36: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'int' but received 'double' for variadic argument 1 of 'args'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def47]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:786:23: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'char *' but received 'double' for variadic argument 1 of 'args'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def48]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:786:23: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'char *' but received 'int' for variadic argument 1 of 'args'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def49]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:796:23: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'char *' but received 'double' for variadic argument 1 of 'args'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def50]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:796:23: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'char *' but received 'int' for variadic argument 1 of 'args'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
Error: CPPCHECK_WARNING (CWE-401): [#def51]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:1686: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def52]
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'xclose'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:1776:34: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:51:41: note: in definition of macro 'likely'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:51:41: note: in definition of macro 'likely'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:51:41: note: in definition of macro 'likely'
Error: COMPILER_WARNING (CWE-563): [#def53]
zvbi-0.2.42-build/zvbi-0.2.42/src/idl_demux.c: scope_hint: In function 'idl_a_demux_feed'
zvbi-0.2.42-build/zvbi-0.2.42/src/idl_demux.c:82:22: warning[-Wunused-but-set-variable]: variable 'flags' set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c: scope_hint: In function 'vbi_capture_dvb_new2'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c:530:16: warning[-Wanalyzer-malloc-leak]: leak of 'dvb'
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/decoder.h:31: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io.h:28: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c:43: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c:480:15: note: in expansion of macro 'vbi_malloc'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c:484:9: note: in expansion of macro 'CLEAR'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-dvb.c:512:9: note: in expansion of macro 'printv'
Error: COMPILER_WARNING (CWE-483): [#def55]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l.c: scope_hint: In function 'guess_bttv_v4l'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l.c:647:25: warning[-Wmisleading-indentation]: this 'if' clause does not guard...
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l.c:649:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2.c: scope_hint: In function 'vbi_capture_v4l2_new'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2.c:152:24: warning[-Wanalyzer-malloc-leak]: leak of 'v'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2.c:38: included_from: Included from here.
Error: COMPILER_WARNING (CWE-563): [#def57]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c: scope_hint: In function 'v4l2_stream_alloc'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:193:16: warning[-Wunused-but-set-variable]: variable 'guess' set but not used
Error: COMPILER_WARNING (CWE-563): [#def58]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c: scope_hint: In function 'v4l2_get_videostd'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:755:16: warning[-Wunused-but-set-variable]: variable 'guess' set but not used
Error: COMPILER_WARNING (CWE-563): [#def59]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c: scope_hint: In function 'v4l2_update_services'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:866:16: warning[-Wunused-but-set-variable]: variable 'guess' set but not used
Error: COMPILER_WARNING (CWE-563): [#def60]
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c: scope_hint: In function 'vbi_capture_v4l2k_new'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:1316:15: warning[-Wunused-but-set-variable]: variable 'guess' set but not used
Error: GCC_ANALYZER_WARNING (CWE-686): [#def61]
zvbi-0.2.42-build/zvbi-0.2.42/src/io.c: scope_hint: In function 'fprint_symbolic'
zvbi-0.2.42-build/zvbi-0.2.42/src/io.c:606:19: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected 'long unsigned int' but received 'int' for variadic argument 2 of 'ap'
zvbi-0.2.42-build/zvbi-0.2.42/src/io.c:35: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-787): [#def62]
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.c: scope_hint: In function 'vbi_teletext_unicode'
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.c:467:41: warning[-Wanalyzer-out-of-bounds]: buffer over-read
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:37: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.c:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.c:467:41: note: valid subscripts for 'hebrew_g0' are '[0]' to '[36]'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:36: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function 'xpm_export'
zvbi-0.2.42-build/zvbi-0.2.42/src/macros.h:83:17: warning[-Wanalyzer-malloc-leak]: leak of 'indexed_image'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro 'FALSE'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro 'FALSE'
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro 'FALSE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:36: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/contrib/x11font.c:5: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c: scope_hint: In function ‘xpm_export’
zvbi-0.2.42-build/zvbi-0.2.42/src/macros.h:83:17: warning[-Wanalyzer-malloc-leak]: leak of ‘indexed_image’
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro ‘FALSE’
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro ‘FALSE’
zvbi-0.2.42-build/zvbi-0.2.42/src/exp-gfx.c:1581:24: note: in expansion of macro ‘FALSE’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def65]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/export.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/macros.h:83:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:777:24: note: in expansion of macro 'FALSE'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c: scope_hint: In function 'vbi_export_option_set'
zvbi-0.2.42-build/zvbi-0.2.42/src/export.c:777:24: note: in expansion of macro 'FALSE'
Error: COMPILER_WARNING: [#def66]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c: scope_hint: In function '_vbi_strndup'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:120:12: warning[-Wnonnull-compare]: 'nonnull' argument 's' compared to NULL
Error: CPPCHECK_WARNING (CWE-664): [#def67]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:159: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def68]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:196:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:217:15: note: in expansion of macro 'vasprintf'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:166:30: note: in expansion of macro 'vbi_realloc'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:166:30: note: in expansion of macro 'vbi_realloc'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:189:9: note: in expansion of macro 'vbi_free'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def69]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c: scope_hint: In function '_vbi_vasprintf'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:199:1: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:31: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:166:30: note: in expansion of macro 'vbi_realloc'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:189:9: note: in expansion of macro 'vbi_free'
Error: COMPILER_WARNING: [#def70]
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c: scope_hint: In function '_vbi_log_vprintf'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.c:402:12: warning[-Wnonnull-compare]: 'nonnull' argument 'log_fn' compared to NULL
Error: GCC_ANALYZER_WARNING (CWE-688): [#def71]
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:137: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:433:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'p_tmp' where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:1072:19: note: in expansion of macro 'strlcpy'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:1072:19: note: in expansion of macro 'strlcpy'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:439:1: note: argument 1 of '_vbi_strlcpy' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def72]
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.h:30: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache-priv.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/teletext_decoder.h:29: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/vbi.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c: scope_hint: In function 'v4l2_get_videostd'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:467:20: warning[-Wanalyzer-null-argument]: use of NULL 'errstr' where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:758:17: note: in expansion of macro 'asprintf'
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:48: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/io-v4l2k.c:758:17: note: in expansion of macro 'asprintf'
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:471:1: note: argument 1 of '_vbi_asprintf' must be non-null
Error: COMPILER_WARNING (CWE-563): [#def73]
zvbi-0.2.42-build/zvbi-0.2.42/src/packet.c: scope_hint: In function 'parse_28_29'
zvbi-0.2.42-build/zvbi-0.2.42/src/packet.c:1886:36: warning[-Wunused-but-set-variable]: variable 'coding' set but not used
Error: COMPILER_WARNING (CWE-563): [#def74]
zvbi-0.2.42-build/zvbi-0.2.42/src/packet.c: scope_hint: In function 'vbi_decode_teletext'
zvbi-0.2.42-build/zvbi-0.2.42/src/packet.c:2195:30: warning[-Wunused-but-set-variable]: variable 'mag' set but not used
Error: COMPILER_WARNING (CWE-563): [#def75]
zvbi-0.2.42-build/zvbi-0.2.42/src/pdc.c: scope_hint: In function 'vbi_pil_to_time'
zvbi-0.2.42-build/zvbi-0.2.42/src/pdc.c:815:13: warning[-Wunused-but-set-variable]: variable 'saved_errno' set but not used
Error: COMPILER_WARNING (CWE-563): [#def76]
zvbi-0.2.42-build/zvbi-0.2.42/src/pdc.c: scope_hint: In function 'vbi_pty_validity_window'
zvbi-0.2.42-build/zvbi-0.2.42/src/pdc.c:1000:13: warning[-Wunused-but-set-variable]: variable 'saved_errno' set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c: scope_hint: In function 'proxy_client_close.part.0'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:52:45: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:453:7: note: in expansion of macro 'dprintf1'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:453:7: note: in expansion of macro 'dprintf1'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c: scope_hint: In function 'proxy_client_check_msg'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:224:122: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*(VBIPROXY_MSG_HEADER *)pMsg.type'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:53:100: note: in definition of macro 'dprintf2'
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache-priv.h:28: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/teletext_decoder.h:29: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/vbi.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:42: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:224:4: note: in expansion of macro 'dprintf2'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:53:100: note: in definition of macro 'dprintf2'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:53:100: note: in definition of macro 'dprintf2'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def79]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:226:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*(VBIPROXY_MSG_HEADER *)pMsg.type'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-client.c:224:4: note: in expansion of macro 'dprintf2'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def80]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c: scope_hint: In function 'vbi_proxy_msg_get_local_socket_addr'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:789:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'res' where non-null expected
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:800:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'saddr'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def82]
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c: scope_hint: In function 'vbi_proxy_msg_resolve_symlinks'
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:1056:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'p_path' where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/src/proxy-msg.c:121: included_from: Included from here.
/usr/include/sys/stat.h:313:12: note: argument 1 of 'lstat' must be non-null
Error: COMPILER_WARNING (CWE-563): [#def83]
zvbi-0.2.42-build/zvbi-0.2.42/src/raw_decoder.c: scope_hint: In function 'vbi3_raw_decoder_debug'
zvbi-0.2.42-build/zvbi-0.2.42/src/raw_decoder.c:1108:36: warning[-Wunused-but-set-variable]: variable 'sp_lines' set but not used
Error: COMPILER_WARNING (CWE-563): [#def84]
zvbi-0.2.42-build/zvbi-0.2.42/src/sampling_par.c: scope_hint: In function '_vbi_sampling_par_from_services_log'
zvbi-0.2.42-build/zvbi-0.2.42/src/sampling_par.c:484:24: warning[-Wunused-but-set-variable]: variable 'margin' set but not used
Error: COMPILER_WARNING: [#def85]
zvbi-0.2.42-build/zvbi-0.2.42/src/search.c:560:1: warning[-Wenum-int-mismatch]: conflicting types for 'vbi_search_next' due to enum/integer mismatch; have 'int(vbi_search *, vbi_page **, int)'
zvbi-0.2.42-build/zvbi-0.2.42/src/search.c:37: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/search.h:85:26: note: previous declaration of 'vbi_search_next' with type 'vbi_search_status(vbi_search *, vbi_page **, int)'
Error: COMPILER_WARNING (CWE-697): [#def86]
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c: scope_hint: In function 'parse_eacem'
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c:339:13: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'url' will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/tables.h:29: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c:39: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/event.h:225:41: note: 'url' declared here
Error: COMPILER_WARNING (CWE-697): [#def87]
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c:350:21: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/event.h:224:41: note: 'name' declared here
Error: COMPILER_WARNING (CWE-697): [#def88]
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c: scope_hint: In function 'parse_atvef'
zvbi-0.2.42-build/zvbi-0.2.42/src/trigger.c:550:13: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'url' will never be NULL
zvbi-0.2.42-build/zvbi-0.2.42/src/event.h:225:41: note: 'url' declared here
Error: CPPCHECK_WARNING (CWE-758): [#def89]
zvbi-0.2.42-build/zvbi-0.2.42/src/ure.c:2071: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-563): [#def90]
zvbi-0.2.42-build/zvbi-0.2.42/src/xds_demux.c: scope_hint: In function 'vbi_xds_demux_reset'
zvbi-0.2.42-build/zvbi-0.2.42/src/xds_demux.c:821:22: warning[-Wunused-but-set-variable]: variable 'n' set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
zvbi-0.2.42-build/zvbi-0.2.42/test/capture.c: scope_hint: In function ‘load_string’
zvbi-0.2.42-build/zvbi-0.2.42/test/capture.c:533:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(name, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
zvbi-0.2.42-build/zvbi-0.2.42/test/capture.c:533:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(name, "r")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
zvbi-0.2.42-build/zvbi-0.2.42/test/capture.c:541:37: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(name, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
zvbi-0.2.42-build/zvbi-0.2.42/test/capture.c:541:37: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(name, "r")’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def95]
zvbi-0.2.42-build/zvbi-0.2.42/test/date.c: scope_hint: In function ‘print_time’
zvbi-0.2.42-build/zvbi-0.2.42/test/date.c:70:23: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
/opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/15.0.0/include-fixed/pthread.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/decoder.h:36: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/sampling_par.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/date.c:35: included_from: Included from here.
/usr/include/time.h:99:15: note: argument 1 of ‘strftime’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def96]
zvbi-0.2.42-build/zvbi-0.2.42/test/date.c:74:23: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
/usr/include/time.h:99:15: note: argument 1 of ‘strftime’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c: scope_hint: In function ‘close_output_file’
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:145:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘open_output_file(pgno, subno)’
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache-priv.h:28: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/teletext_decoder.h:29: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/vbi.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:44: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/bcd.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/lang.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache.h:30: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:40: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:129:13: note: in expansion of macro ‘asprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:145:18: warning[-Wanalyzer-malloc-leak]: leak of ‘open_output_file(pgno, subno)’
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:129:13: note: in expansion of macro ‘asprintf’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c: scope_hint: In function ‘do_export.part.0’
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:236:34: warning[-Wanalyzer-null-argument]: use of NULL ‘open_output_file(pgno, subno)’ where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:129:13: note: in expansion of macro ‘asprintf’
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:33: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/misc.h:28: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def100]
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:258:34: warning[-Wanalyzer-null-argument]: use of NULL ‘open_output_file(pgno, subno)’ where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:129:13: note: in expansion of macro ‘asprintf’
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c: scope_hint: In function ‘init_export_module’
zvbi-0.2.42-build/zvbi-0.2.42/test/export.c:811:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vbi_export_info_export(ex)’
Error: COMPILER_WARNING: [#def102]
zvbi-0.2.42-build/zvbi-0.2.42/test/proxy-test.c:89:1: warning[-Wunused-const-variable=]: ‘rcsid’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def103]
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.c: scope_hint: In function ‘look_ahead’
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.c:1166:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
zvbi-0.2.42-build/zvbi-0.2.42/src/dlist.h:27: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/cache-priv.h:28: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/teletext_decoder.h:29: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/src/vbi.h:32: included_from: Included from here.
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.c:53: included_from: Included from here.
<built-in>: note: argument 2 of ‘__builtin_memmove’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.c: scope_hint: In function ‘is_old_sliced_format’
zvbi-0.2.42-build/zvbi-0.2.42/test/sliced.c:1181:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
Error: COMPILER_WARNING (CWE-563): [#def105]
zvbi-0.2.42-build/zvbi-0.2.42/test/test-vps.cc: scope_hint: In function ‘void assert_decode_vps_cni(unsigned int*, const uint8_t*)’
zvbi-0.2.42-build/zvbi-0.2.42/test/test-vps.cc:59:22: warning[-Wunused-but-set-variable]: variable ‘cni2’ set but not used
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-242.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | zvbi-0.2.42-1.fc42 |
store-results-to | /tmp/tmphy8x9kty/zvbi-0.2.42-1.fc42.tar.xz |
time-created | 2024-11-13 03:48:29 |
time-finished | 2024-11-13 03:51:27 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmphy8x9kty/zvbi-0.2.42-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmphy8x9kty/zvbi-0.2.42-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |