Task #123721 - added.err

back to task #123721
download
Error: GCC_ANALYZER_WARNING (CWE-127):
util-linux-2.43.devel/libsmartcols/src/filter-parser.y:94:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
util-linux-2.43.devel/libsmartcols/src/filter-parser.c:1358:17: note: in expansion of macro 'YYTRANSLATE'
util-linux-2.43.devel/libsmartcols/src/filter-parser.y:94:25: note: valid subscripts for 'yyvsa' are '[0]' to '[199]'
#   92|   	| expr T_REG expr	{
#   93|   		if (filter_compile_param(fltr, (struct filter_param *) $3) != 0) {
#   94|-> 			filter_unref_node($1);
#   95|   			filter_unref_node($3);
#   96|   			YYERROR;

Error: GCC_ANALYZER_WARNING (CWE-127):
util-linux-2.43.devel/libsmartcols/src/filter-parser.y:103:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
util-linux-2.43.devel/libsmartcols/src/filter-parser.c:1358:17: note: in expansion of macro 'YYTRANSLATE'
util-linux-2.43.devel/libsmartcols/src/filter-parser.y:103:25: note: valid subscripts for 'yyvsa' are '[0]' to '[199]'
#  101|   	| expr T_NREG expr	{
#  102|   		if (filter_compile_param(fltr, (struct filter_param *) $3) != 0) {
#  103|-> 			filter_unref_node($1);
#  104|   			filter_unref_node($3);
#  105|   			YYERROR;

Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.43.devel/misc-utils/blkid.c: scope_hint: In function ‘main’
util-linux-2.43.devel/misc-utils/blkid.c:886:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc((long unsigned int)(argc - optind), 8)’
util-linux-2.43.devel/misc-utils/blkid.c:49: included_from: Included from here.
util-linux-2.43.devel/misc-utils/blkid.c:18: included_from: Included from here.
#  884|   				continue;
#  885|   
#  886|-> 			devices[numdev++] = dev;
#  887|   		}
#  888|