Skip to content
Commit e9193059 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c103135c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment