Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-7292 cppcheck checks of ReactOS code
  3. CORE-7303

lsasrv: Possibly uninitialized variable used

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None

      Description

      dll\win32\lsasrv\lsarpc.c 2290 error Uninitialized variable: RightsCount

      if any failure occurs before line 2218 we jump to done case and RightsCount will be uninitialized. Assign to 0 upon declaration.

        Attachments

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              encoded encoded
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: