Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11598

PATCH: No need to check if the buffer is not NULL in EnumerateUsers()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.2
    • None

    Description

      pBuffer is allocated by NetUserEnum(), in case it fails EnumerateUsers will inmediatly return, and if it succeds pBuffer is not NULL for sure.

      Also we're happily dereferencing during the whole function without caring if it is NULL.

      CID 1363629

      Attachments

        Activity

          People

            hbelusca hbelusca
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: