diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index f85c2bfae8..0d734ad261 100644 --- a/src/vol/namei_ops.c +++ b/src/vol/namei_ops.c @@ -754,6 +754,7 @@ namei_icreate(IHandle_t * lh, char *part, afs_uint32 p1, afs_uint32 p2, afs_uint b32_string_t str1; memset((void *)&tmp, 0, sizeof(IHandle_t)); + memset(&tfd, 0, sizeof(FdHandle_t)); tmp.ih_dev = nt_DriveToDev(part); if (tmp.ih_dev == -1) { @@ -879,6 +880,7 @@ namei_icreate(IHandle_t * lh, char *part, afs_uint32 p1, afs_uint32 p2, afs_uint int ogm_parm; memset((void *)&tmp, 0, sizeof(IHandle_t)); + memset(&tfd, 0, sizeof(FdHandle_t)); tmp.ih_dev = volutil_GetPartitionID(part); if (tmp.ih_dev == -1) {