- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index 457ce03..4cfaaa6 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -3052,6 +3052,17 @@ NTSTATUS nfs41_CreateVNetRoot(
- /* Codepath for \\server@port\nfs4\path */
- DbgP("Codepath for \\\\server@port\\nfs4\\path\n");
- + if (!pNetRootContext->mounts_init) {
- + /*
- + * We can only support UNC paths when we got valid
- + * mount options via nfs_mount.exe before this point.
- + */
- + DbgP("pNetRootContext(=%p) not initalised yet\n",
- + pNetRootContext);
- + status = STATUS_OBJECT_NAME_NOT_FOUND;
- + goto out_free;
- + }
- +
- /*
- * gisburn: Fixme: Originally the code was using the
- * SRV_CALL name (without leading \) as the hostname
Prototype fix for Kernel crash in nfs41_driver!nfs41_CreateVNetRoot() with UNC paths
Posted by Anonymous on Sat 16th Dec 2023 13:10
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.