linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/10] make link target handling more robust
@ 2008-12-19 20:47 Duane Griffin
  2008-12-19 20:47 ` [PATCH, v5] 9p: don't print IS_ERR strings Duane Griffin
  0 siblings, 1 reply; 15+ messages in thread
From: Duane Griffin @ 2008-12-19 20:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel, Al Viro, Andrew Morton

These patches fix potential bugs associated with link target handling,
primarily by NUL-terminating names read from disk.

This is version 5 of these patches. This version fixes an off-by-one
bug, pointed out by Andreas Dilger, where the maximum name length was
calculated with sizeof without leaving space for the terminator.

This set includes patches for all affected filesystems except for jfs,
which has already been fixed by David Kleikamp, and ufs, where I am
still discussing some issues with the maintainer. I'll post the ufs
patch separately once it is ready.

The eCryptFS fix should be considered for stable.

diffstat:
 fs/9p/vfs_inode.c        |    5 +++--
 fs/befs/linuxvfs.c       |    5 ++++-
 fs/ecryptfs/inode.c      |    3 ++-
 fs/ext2/inode.c          |    7 +++++--
 fs/ext3/inode.c          |    7 +++++--
 fs/ext4/inode.c          |    7 +++++--
 fs/freevxfs/vxfs_inode.c |    4 +++-
 fs/namei.c               |    7 +++++--
 fs/sysv/inode.c          |    6 +++++-
 include/linux/namei.h    |    5 +++++
 10 files changed, 42 insertions(+), 14 deletions(-)

Cheers,
Duane,

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-12-22 20:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19 20:47 [PATCH 0/10] make link target handling more robust Duane Griffin
2008-12-19 20:47 ` [PATCH, v5] 9p: don't print IS_ERR strings Duane Griffin
2008-12-19 20:47   ` [PATCH, v5] eCryptfs: check readlink result was not an error before using it Duane Griffin
2008-12-19 20:47     ` [PATCH, v5] vfs: introduce helper function to safely NUL-terminate symlinks Duane Griffin
2008-12-19 20:47       ` [PATCH, v5] vfs: ensure page symlinks are NUL-terminated Duane Griffin
2008-12-19 20:47         ` [PATCH, v5] ext2: ensure fast " Duane Griffin
2008-12-19 20:47           ` [PATCH, v5] ext3: " Duane Griffin
2008-12-19 20:47             ` [PATCH, v5] ext4: " Duane Griffin
2008-12-19 20:47               ` [PATCH, v5] sysv: " Duane Griffin
2008-12-19 20:47                 ` [PATCH, v5] freevxfs: " Duane Griffin
2008-12-19 20:47                   ` [PATCH, v5] befs: " Duane Griffin
2008-12-22 19:58     ` [PATCH, v5] eCryptfs: check readlink result was not an error before using it Tyler Hicks
2008-12-22 20:06     ` Dustin Kirkland
2008-12-19 22:07   ` [PATCH, v5] 9p: don't print IS_ERR strings Eric Van Hensbergen
2008-12-19 22:22     ` Duane Griffin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).