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

kernel32: Possibly uninitialized variables used.

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • None
    • RosDlls
    • None

    Description

      dll\win32\kernel32\client\path.c 1091 error Uninitialized variable: Buffer
      if Basep8BitStringToDynamicUnicodeString fails we jump to quickie case and Buffer is still uninitialized

      dll\win32\kernel32\client\vdm.c 396 error Uninitialized variable: NewEnvironment
      if RtlCreateEnvironment fails we jump to quickie case and NewEnvironment is still uninitialized

      both should be assigned null upon declaration.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: