commit | e9193059b1b3733695d5b80e667778311695aa73 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 06 23:16:34 2010 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 09 16:48:14 2010 -0400 |
tree | 658862931873ef6155ebe2172235bb408632a603 | |
parent | c103135c14e03fc9a9e5f0adc01df9ad272cf2a1 [diff] |
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>