Please sign in to comment.
Fix the token in get_user_sid
The first call to GetTokenInformation is expected to fail so we can get the size, so the return is FALSE. Add a '!' to check this correctly. The second call is after we allocate memory, so then we want TRUE.
- Loading branch information...