Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vfs: ensure page symlinks are NUL-terminated
On-disk data corruption could cause a page link to have its i_size set to PAGE_SIZE (or a multiple thereof) and its contents all non-NUL. NUL-terminate the link name to ensure this doesn't cause further problems for the kernel. Cc: Al Viro <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Duane Griffin <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information