Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2751

Facter reports wrong Windows build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.14.14
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Sprint:
      NW - 2020-09-01
    • Method Found:
      Needs Assessment
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Use ntdll.dll instead of ntoskrnl.exe to get. more accurately, the Windows Build number for the kernelrealese fact.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Facter 3 load ntoskrnl.exe and calls RtlGetVersion to get the build number.

      It seems like build 1909 of Windows has a bug that retrieves 18362 instead of 18363 as the build number.

      Loading Ntdll.dll exposes the same method as ntoskrnl.exe and it seems to return the correct build number.

      We need to update Facter 3 to use Ntdll.dll instead of ntoskrnl.exe

       

      Ref: https://docs.microsoft.com/en-us/windows/win32/devnotes/rtlgetversion

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mihai.buzgau Mihai Buzgau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support