[ros-bugs] [Bug 4169] Regression: ERROR_BAD_IMPERSONATION_LEVEL during installation in Symtrax

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Feb 18 11:04:19 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4169





--- Comment #4 from gabrielilardi <gabrielilardi at hotmail.it>  2009-02-18 11:04:18 CET ---
in token.c before 38510, the logic in AccessCheck was:

    if (!NT_SUCCESS(AccessStat))
    {
        SetLastError(RtlNtStatusToDosError(Status));
        *AccessStatus = FALSE;
        return TRUE; <--- this was removed in 38510
    }

    *AccessStatus = TRUE;

    return TRUE;

Since you don't return there, AccessStatus'FALSE value gets overwritten with
the TRUE below, this seems to be wrong IMHO.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list