[ros-bugs] [Bug 1214] HACK: Tiny WebServer reports wrong Content Type under Ros

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Thu Dec 29 22:00:36 CET 2005


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


waxdragon at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |critical
            Summary|Tiny WebServer reports wrong|HACK: Tiny WebServer reports
                   |Content Type under Ros      |wrong Content Type under Ros




------- Additional Comments From waxdragon at gmail.com  2005-12-29 22:00 CET -------
It seems it was this piece of code in RegQueryInfoKeyW, which GreatLord has
ifdef'ed out in r20437.  lpcbSecurityDescriptor is not NULL in this case, and
the NtQuerySecurityObject call returns ERROR_INSUFFICIENT_BUFFER. THIS MUST BE
FIXED, and the ifdef removed.  

  if (lpcbSecurityDescriptor != NULL)
    {
      Status = NtQuerySecurityObject(KeyHandle,
                     OWNER_SECURITY_INFORMATION |
                     GROUP_SECURITY_INFORMATION |
                     DACL_SECURITY_INFORMATION,
                     NULL,
                     0,
                     lpcbSecurityDescriptor);
      if (!NT_SUCCESS(Status))
    {
      if (lpClass != NULL)
        {
          RtlFreeHeap(ProcessHeap,
              0,
              FullInfo);
        }
 
      ErrorCode = RtlNtStatusToDosError (Status);
      goto Cleanup;
    }
    }

-- 
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, or are watching the QA contact.


More information about the Ros-bugs mailing list