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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.2
    • Component/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: