-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Network-Provider: wrong contents #952
Comments
I think I found the reason for the strange behaviour, and also the reason why the servername of the resoure in Windows Explorer Network Neighborhood is wrong (servername + "Dokan2). There's in error in dokan_np, function EnumResource with Scope RESOURCE_GLOBALNET.
Terminating Null is not taken into account when calculating size.
Terminating Null is not appended to servername in buffer. |
Thanks @uhonermann for coming back to this issue and finding the solution! Would you be willing to open a pull request with the fix ? |
Hi Liryna, I'm gonna setup a build environment, fix the issue and see, if this also solves some other problems we have with the Network Provider. |
Hi @uhonermann , I tried your fix of having a null terminating but I was still able to repro the issue. Let me know if you found otherwise. |
Hi @Liryna, I could solve the problem: "Windows Explorer Network Neighborhood is wrong (servername + Dokan2)", but the other problem (complete UNC instead of share name only) still persists. |
Hi @uhonermann , Nice! could you share how were you able to fix the "Windows Explorer Network Neighborhood is wrong (servername + Dokan2)" ? |
Changes are quite minimal:
And:
|
Feature request can skip this form. Bug report must complete it.
Check List
must be 100% match or it will be automatically closed without further discussion. Please remove this line.Environment
Check List
Description
Logs
Please attach in separate files: mirror output, library logs and kernel logs.
In case of BSOD, please attach minidump or dump analyze output.
The text was updated successfully, but these errors were encountered: