-
Al Viro authored
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>
Al Viro authoredcalculating 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>