You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Calling FreeSid(everoneSid) before calling SetEntriesInAcl() can cause the latter to return ERROR_INVALID_PARAMETER. FreeSid(everyoneSid) should instead be called if the return from DeriveAppContainerSidFromAppContainerName() is not successful (in which case we throw out of the function), and after the call to SetEntriesInAcl().
While the existing code seems to work fine on a desktop Windows 10 system, this issue manifests on Windows 10 IoT Core.
Calling FreeSid(everoneSid) before calling SetEntriesInAcl() can cause the latter to return ERROR_INVALID_PARAMETER. FreeSid(everyoneSid) should instead be called if the return from DeriveAppContainerSidFromAppContainerName() is not successful (in which case we throw out of the function), and after the call to SetEntriesInAcl().
While the existing code seems to work fine on a desktop Windows 10 system, this issue manifests on Windows 10 IoT Core.
Windows-iotcore-samples/Samples/NTServiceRpc/cpp/Service/Server/RpcServer.cpp
Line 91 in 9536b30
The text was updated successfully, but these errors were encountered: