Task #131038 - added.err

back to task #131038
download
Error: COMPILER_WARNING:
grub-2.12/grub-core/kern/mm.c: scope_hint: In function ‘grub_memalign’
grub-2.12/grub-core/kern/mm.c:529:10: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  529 |       if (grub_mm_add_region_fn != NULL)
#      |          ^
grub-2.12/grub-core/kern/mm.c:539:5: note: here
#  539 |     case 2:
#      |     ^~~~
#  527|         count++;
#  528|   
#  529|->       if (grub_mm_add_region_fn != NULL)
#  530|           {
#  531|             /*

Error: GCC_ANALYZER_WARNING (CWE-457):
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
# 1109|           if (! yyptr)
# 1110|             YYNOMEM;
# 1111|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1112|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1113|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457):
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
# 1236|        unconditionally makes the parser a bit smaller, and it avoids a
# 1237|        GCC warning that YYVAL may be used uninitialized.  */
# 1238|->   yyval = yyvsp[1-yylen];
# 1239|   
# 1240|   

Error: GCC_ANALYZER_WARNING (CWE-476):
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
# 2089|   
# 2090|   	yy_flush_buffer( b , yyscanner);
# 2091|-> 
# 2092|   	b->yy_input_file = file;
# 2093|   	b->yy_fill_buffer = 1;

Error: GCC_ANALYZER_WARNING (CWE-457):
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
# 1109|           if (! yyptr)
# 1110|             YYNOMEM;
# 1111|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1112|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1113|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457):
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
# 1236|        unconditionally makes the parser a bit smaller, and it avoids a
# 1237|        GCC warning that YYVAL may be used uninitialized.  */
# 1238|->   yyval = yyvsp[1-yylen];
# 1239|   
# 1240|   

Error: GCC_ANALYZER_WARNING (CWE-476):
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
# 2089|   
# 2090|   	yy_flush_buffer( b , yyscanner);
# 2091|-> 
# 2092|   	b->yy_input_file = file;
# 2093|   	b->yy_fill_buffer = 1;