commit | 035146851cfa2fe24c1d9dc7637bb009ad06b2f7 | [log] [tgz] |
---|---|---|
author | Duane Griffin <duaneg@dghda.com> | Fri Dec 19 20:47:11 2008 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 31 18:07:38 2008 -0500 |
tree | b6dd89c60a2100e1c0c48abd1688d3d2ff5f5607 | |
parent | a17d5232de7b53d34229de79ec22f4bb04adb7e4 [diff] |
vfs: introduce helper function to safely NUL-terminate symlinks A number of filesystems were potentially triggering kernel bugs due to corrupted symlink names on disk. This function helps safely terminate the names. Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Duane Griffin <duaneg@dghda.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>