Home
last modified time | relevance | path

Searched hist:e9193059 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/hostfs/
H A Dhostfs_kern.ce9193059 Sun Jun 06 22:16:34 CDT 2010 Al Viro <viro@zeniv.linux.org.uk> hostfs: fix races in dentry_name() and inode_name()

calculating size, then doing allocation, then filling the
path is a Bad Idea(tm), since the ancestors can be renamed,
leading to buffer overrun.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
e9193059 Sun Jun 06 22:16:34 CDT 2010 Al Viro <viro@zeniv.linux.org.uk> hostfs: fix races in dentry_name() and inode_name()

calculating size, then doing allocation, then filling the
path is a Bad Idea(tm), since the ancestors can be renamed,
leading to buffer overrun.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>