summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-10-20 16:26:36 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-31 08:58:19 -0700
commitb45ca961e94673df83ab1900802afe82776966e6 (patch)
treec315c325505686c9ad710a0aaa9a9c0407f6fc54 /drivers/sh
parenta38935c03c7914a6ab22eefb750b259868ed5a4b (diff)
downloadlinux-b45ca961e94673df83ab1900802afe82776966e6.tar.bz2
xfs: fix memcpy fortify errors in RUI log format copying
Starting in 6.1, CONFIG_FORTIFY_SOURCE checks the length parameter of memcpy. Since we're already fixing problems with BUI item copying, we should fix it everything else. Refactor the xfs_rui_copy_format function to handle the copying of the head and the flex array members separately. While we're at it, fix a minor validation deficiency in the recovery function. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions