Task #119532 - fixed.err

back to task #119532
download
Error: GCC_ANALYZER_WARNING (CWE-617):
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:53:9: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:418:1: enter_function: entry to ‘restore_v2’
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:434:12: branch_false: following ‘false’ branch (when ‘block_buffer’ is non-NULL)...
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:437:13: branch_false: ...to here
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:437:12: branch_false: following ‘false’ branch...
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:440:13: branch_false: ...to here
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:440:12: branch_true: following ‘true’ branch...
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:443:17: branch_true: ...to here
xfsprogs-6.18.0/mdrestore/xfs_mdrestore.c:443:17: call_function: calling ‘fatal’ from ‘restore_v2’
#   51|   	fprintf(stderr, "%s: ", progname);
#   52|   	vfprintf(stderr, msg, args);
#   53|-> 	exit(1);
#   54|   }
#   55|