diff options
author | Duane Griffin <[email protected]> | 2008-12-19 20:47:12 +0000 |
---|---|---|
committer | Al Viro <[email protected]> | 2008-12-31 18:07:39 -0500 |
commit | ebd09abbd9699f328165aee50a070403fbf55a37 (patch) | |
tree | a253ba391180a3eed580a493eb831aaae167c837 /net/lapb/lapb_subr.c | |
parent | 035146851cfa2fe24c1d9dc7637bb009ad06b2f7 (diff) |
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]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions