kf6-solid-6.3.0-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:43:23: warning[-Wanalyzer-malloc-leak]: leak of ‘Solid_scan_string(_code, _scanner)’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1826:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1839:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1799:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
# 41| #ifdef yy_scan_bytes
# 42| #define Solid_scan_bytes_ALREADY_DEFINED
# 43|-> #else
# 44| #define yy_scan_bytes Solid_scan_bytes
# 45| #endif
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1826:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1839:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1848:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
# 1542| * yypush_buffer_state(new_buffer);
# 1543| */
# 1544|-> yyensure_buffer_stack (yyscanner);
# 1545| if ( YY_CURRENT_BUFFER == new_buffer )
# 1546| return;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_create_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1595:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1581:21: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1585:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_create_buffer’
# 1593| * we need to put in 2 end-of-buffer characters.
# 1594| */
# 1595|-> b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
# 1596| if ( ! b->yy_ch_buf )
# 1597| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1637:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1516:10: note: in expansion of macro ‘yyrestart’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1521:16: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1521:16: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1523:27: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1581:21: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1600:2: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1629:17: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1635:2: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1658:10: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1635:2: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1600:2: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1523:27: note: in expansion of macro ‘yy_create_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1526:2: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1526:2: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1526:2: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1629:17: note: in expansion of macro ‘yy_init_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1635:2: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1658:10: note: in expansion of macro ‘yy_flush_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1635:2: note: in expansion of macro ‘yy_flush_buffer’
# 1635|
# 1636| yy_flush_buffer( b , yyscanner);
# 1637|->
# 1638| b->yy_input_file = file;
# 1639| b->yy_fill_buffer = 1;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1770:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1826:17: note: in expansion of macro ‘yy_scan_string’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1839:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1770:66: note: in expansion of macro ‘yyrealloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1544:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1813:2: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1829:9: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1534:10: note: in expansion of macro ‘yy_switch_to_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1543:2: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1739:13: note: in expansion of macro ‘yyensure_buffer_stack’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1770:66: note: in expansion of macro ‘yyrealloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solidensure_buffer_stack’
# 1768| yy_size_t grow_size = 8 /* arbitrary grow size */;
# 1769|
# 1770|-> num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
# 1771| yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
# 1772| (yyg->yy_buffer_stack,
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1855:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1839:17: note: in expansion of macro ‘yy_scan_bytes’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1848:24: note: in expansion of macro ‘yyalloc’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c: scope_hint: In function ‘Solid_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1857:6: note: in expansion of macro ‘yy_scan_buffer’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_lexer.c:1789:17: note: in expansion of macro ‘yy_scan_buffer’
# 1853| for ( i = 0; i < _yybytes_len; ++i )
# 1854| buf[i] = yybytes[i];
# 1855|->
# 1856| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 1857|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c: scope_hint: In function ‘Solidparse’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:397:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:99:40: note: in definition of macro ‘YY_CAST’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:383:25: note: in expansion of macro ‘YYMALLOC’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1008:20: note: in expansion of macro ‘YYSTACK_ALLOC’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:890:1: note: in expansion of macro ‘yyparse’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1057:16: note: in expansion of macro ‘yylex’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1078:17: note: in expansion of macro ‘YYTRANSLATE’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1057:16: note: in expansion of macro ‘yylex’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:99:40: note: in definition of macro ‘YY_CAST’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:383:25: note: in expansion of macro ‘YYMALLOC’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1008:20: note: in expansion of macro ‘YYSTACK_ALLOC’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:442:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1011:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:99:40: note: in definition of macro ‘YY_CAST’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:383:25: note: in expansion of macro ‘YYMALLOC’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1008:20: note: in expansion of macro ‘YYSTACK_ALLOC’
# 395| # endif
# 396| # ifndef YYMALLOC
# 397|-> # define YYMALLOC malloc
# 398| # if ! defined malloc && ! defined EXIT_SUCCESS
# 399| void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
Error: GCC_ANALYZER_WARNING (CWE-457): [#def9]
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:457:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:442:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1011:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:890:1: note: in expansion of macro ‘yyparse’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:442:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1011:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:442:9: note: in expansion of macro ‘YYCOPY’
kf6-solid-6.3.0-build/solid-6.3.0/redhat-linux-build/src/solid/predicate_parser.c:1011:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
# 455| # if defined __GNUC__ && 1 < __GNUC__
# 456| # define YYCOPY(Dst, Src, Count) \
# 457|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# 458| # else
# 459| # define YYCOPY(Dst, Src, Count) \
Error: COMPILER_WARNING (CWE-1023): [#def10]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def11]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def12]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def13]
kf6-solid-6.3.0-build/solid-6.3.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.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def14]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def15]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def16]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def17]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def18]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def19]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def20]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def21]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def22]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def23]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def24]
kf6-solid-6.3.0-build/solid-6.3.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("Type").toUInt());
# 36|-> switch (t) {
# 37| case UP_DEVICE_KIND_LINE_POWER: // TODO
# 38| break;
Error: COMPILER_WARNING (CWE-1023): [#def25]
kf6-solid-6.3.0-build/solid-6.3.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): [#def26]
kf6-solid-6.3.0-build/solid-6.3.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): [#def27]
kf6-solid-6.3.0-build/solid-6.3.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): [#def28]
kf6-solid-6.3.0-build/solid-6.3.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): [#def29]
kf6-solid-6.3.0-build/solid-6.3.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.3.0-build/solid-6.3.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): [#def30]
kf6-solid-6.3.0-build/solid-6.3.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): [#def31]
kf6-solid-6.3.0-build/solid-6.3.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): [#def32]
kf6-solid-6.3.0-build/solid-6.3.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): [#def33]
kf6-solid-6.3.0-build/solid-6.3.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): [#def34]
kf6-solid-6.3.0-build/solid-6.3.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): [#def35]
kf6-solid-6.3.0-build/solid-6.3.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:
Error: COMPILER_WARNING (CWE-563): [#def36]
kf6-solid-6.3.0-build/solid-6.3.0/src/solid/devices/predicate_parser.y: scope_hint: In function ‘Soliderror’
kf6-solid-6.3.0-build/solid-6.3.0/src/solid/devices/predicate_parser.y:93:28: warning[-Wunused-parameter]: unused parameter ‘scanner’
# 93 | void Soliderror ( yyscan_t scanner, const char *s ) /* Called by Solidparse on error */
# | ~~~~~~~~~^~~~~~~
# 91| %%
# 92|
# 93|-> void Soliderror ( yyscan_t scanner, const char *s ) /* Called by Solidparse on error */
# 94| {
# 95| PredicateParse_errorDetected(s);
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-57.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-solid-6.3.0-1.fc41 |
store-results-to | /tmp/tmp76xsb3y2/kf6-solid-6.3.0-1.fc41.tar.xz |
time-created | 2024-07-03 14:20:10 |
time-finished | 2024-07-03 14:23:43 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp76xsb3y2/kf6-solid-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp76xsb3y2/kf6-solid-6.3.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |