kf6-solid-6.8.0-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:41:23: warning[-Wanalyzer-malloc-leak]: leak of ‘Solid_scan_string(_code,  _scanner)’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1799:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1812:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1772:31: note: in expansion of macro ‘yyalloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
#   39|   #define Solid_scan_bytes_ALREADY_DEFINED
#   40|   #else
#   41|-> #define yy_scan_bytes Solid_scan_bytes
#   42|   #endif
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1799:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1812:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1821:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
# 1515|        */
# 1516|   	yyensure_buffer_stack (yyscanner);
# 1517|-> 	if ( YY_CURRENT_BUFFER == new_buffer )
# 1518|   		return;
# 1519|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_create_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1568:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1554:21: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1558:31: note: in expansion of macro ‘yyalloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_create_buffer’
# 1566|   	 */
# 1567|   	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 1568|-> 	if ( ! b->yy_ch_buf )
# 1569|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
# 1570|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1610:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1489:10: note: in expansion of macro ‘yyrestart’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1494:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1494:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1496:13: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1554:21: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1573:9: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1602:17: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1608:9: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1631:10: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1608:9: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1573:9: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1496:13: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1499:9: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1499:9: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1499:9: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1602:17: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1608:9: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1631:10: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1608:9: note: in expansion of macro ‘yy_flush_buffer’
# 1608|   	yy_flush_buffer( b , yyscanner);
# 1609|   
# 1610|-> 	b->yy_input_file = file;
# 1611|   	b->yy_fill_buffer = 1;
# 1612|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1743:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1799:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1812:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1743:66: note: in expansion of macro ‘yyrealloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1517:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1786:9: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1802:16: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1507:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:9: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1712:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1743:66: note: in expansion of macro ‘yyrealloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
# 1741|   
# 1742|   		num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
# 1743|-> 		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
# 1744|   								(yyg->yy_buffer_stack,
# 1745|   								num_to_alloc * sizeof(struct yy_buffer_state*)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1828:32: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1812:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1821:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1830:13: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_lexer.c:1762:17: note: in expansion of macro ‘yy_scan_buffer’
# 1826|   		buf[i] = yybytes[i];
# 1827|   
# 1828|-> 	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 1829|   
# 1830|   	b = yy_scan_buffer( buf, n , yyscanner);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def7]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c: scope_hint: In function ‘Solidparse’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:455:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:440:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:1001:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:880:1: note: in expansion of macro ‘yyparse’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:440:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:1001:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:440:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:1001:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
#  453|   #  if defined __GNUC__ && 1 < __GNUC__
#  454|   #   define YYCOPY(Dst, Src, Count) \
#  455|->       __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
#  456|   #  else
#  457|   #   define YYCOPY(Dst, Src, Count)              \

Error: COMPILER_WARNING (CWE-563): [#def8]
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c: scope_hint: In function ‘Soliderror’
kf6-solid-6.8.0-build/solid-6.8.0/redhat-linux-build/src/solid/predicate_parser.c:1397:28: warning[-Wunused-parameter]: unused parameter ‘scanner’
# 1397 | void Soliderror ( yyscan_t scanner, const char *s )  /* Called by Solidparse on error */
#      |                   ~~~~~~~~~^~~~~~~
# 1395|   
# 1396|   
# 1397|-> void Soliderror ( yyscan_t scanner, const char *s )  /* Called by Solidparse on error */
# 1398|   {
# 1399|       PredicateParse_errorDetected(s);

Error: COMPILER_WARNING (CWE-1023): [#def9]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_CAMERA’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def10]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_COMPUTER’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def11]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_LAST’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def12]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp: scope_hint: In member function ‘virtual Solid::Battery::BatteryType Solid::Backends::UPower::Battery::type() const’
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_MEDIA_PLAYER’ not handled in switch
#   36 |     switch (t) {
#      |            ^
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def13]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_MODEM’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def14]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_NETWORK’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def15]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_OTHER_AUDIO’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def16]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_PEN’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def17]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_PRINTER’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def18]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_REMOTE_CONTROL’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def19]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_SCANNER’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def20]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_SPEAKERS’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def21]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_TOY’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def22]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_VIDEO’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def23]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerbattery.cpp:36:12: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_WEARABLE’ not handled in switch
#   34|       Solid::Battery::BatteryType result = Solid::Battery::UnknownBattery;
#   35|       const auto t = static_cast<UpDeviceKind>(m_device.data()->prop(QStringLiteral("Type")).toUInt());
#   36|->     switch (t) {
#   37|       case UP_DEVICE_KIND_LINE_POWER: // TODO
#   38|           break;

Error: COMPILER_WARNING (CWE-1023): [#def24]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_CAMERA’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def25]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_MODEM’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def26]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_NETWORK’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def27]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_OTHER_AUDIO’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def28]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp: scope_hint: In member function ‘virtual bool Solid::Backends::UPower::UPowerDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const’
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_PEN’ not handled in switch
#   75 |         switch (uptype) {
#      |                ^
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def29]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_PRINTER’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def30]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_REMOTE_CONTROL’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def31]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_SCANNER’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def32]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_TOY’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def33]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_VIDEO’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Error: COMPILER_WARNING (CWE-1023): [#def34]
kf6-solid-6.8.0-build/solid-6.8.0/src/solid/devices/backends/upower/upowerdevice.cpp:75:16: warning[-Wswitch]: enumeration value ‘UP_DEVICE_KIND_WEARABLE’ not handled in switch
#   73|           return true;
#   74|       case Solid::DeviceInterface::Battery:
#   75|->         switch (uptype) {
#   76|           case UP_DEVICE_KIND_BATTERY:
#   77|           case UP_DEVICE_KIND_UPS:

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-185.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-solid-6.8.0-1.fc42
store-results-to/tmp/tmpcw7abegu/kf6-solid-6.8.0-1.fc42.tar.xz
time-created2024-11-13 01:07:58
time-finished2024-11-13 01:10:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpcw7abegu/kf6-solid-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpcw7abegu/kf6-solid-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9