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
I reviewed the DACL code in WindowsSecurity.cc and noticed that the two std::array<EXPLICIT_ACCESSW, ...> daclEntries fields were only partially initialized. Default-initializing an std::array<EXPLICIT_ACCESSW, ...> object leaves the bytes indeterminate.
The fix is trivial.
The text was updated successfully, but these errors were encountered:
I noticed this while working on the pty4j<->winpty integration. Very intermittently, winpty_open segfaulted.
On a different occasion, I saw an error:
87 is
ERROR_INVALID_PARAMETER
.I reviewed the DACL code in WindowsSecurity.cc and noticed that the two
std::array<EXPLICIT_ACCESSW, ...> daclEntries
fields were only partially initialized. Default-initializing anstd::array<EXPLICIT_ACCESSW, ...>
object leaves the bytes indeterminate.The fix is trivial.
The text was updated successfully, but these errors were encountered: