OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-47-gdcce956
Gerrit Code Review
gerrit@openafs.org
Fri, 6 Nov 2020 11:54:33 -0500
The following commit has been merged in the master branch:
commit dcce956df4fc8d368962cb36d8b3c801be69a85a
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Sun Mar 3 20:20:58 2019 -0500
dir: check afs_dir_Create return code in afs_dir_MakeDir
afs_dir_MakeDir() ignores the return code from afs_dir_Create() for the
'.' and '..' ("dot" and "dotdot") directories. This has been the case
from the earliest implementation (MakeDir() calling Create()) in the
original IBM import.
Instead, check the return codes to prevent the possibility of creating
malformed directories.
Change-Id: I60179488429dfa9afe60c4862c5e42b41f1e0048
Reviewed-on: https://gerrit.openafs.org/13800
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/dir/dir.c | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository