aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYuezhang Mo <[email protected]>2024-10-17 01:25:06 +0000
committerNamjae Jeon <[email protected]>2024-11-25 08:08:21 +0000
commit2e94e5bb94a3e641a25716a560bf474225fda83c (patch)
tree64be23a3cde0912aab6fdd267c208e9dc22d6cbb /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentexfat: fix uninit-value in __exfat_get_dentry_set (diff)
downloadkernel-2e94e5bb94a3e641a25716a560bf474225fda83c.tar.gz
kernel-2e94e5bb94a3e641a25716a560bf474225fda83c.zip
exfat: fix file being changed by unaligned direct write
Unaligned direct writes are invalid and should return an error without making any changes, rather than extending ->valid_size and then returning an error. Therefore, alignment checking is required before extending ->valid_size. Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength") Signed-off-by: Yuezhang Mo <[email protected]> Co-developed-by: Namjae Jeon <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions