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

CID 1341427: BytesRead is uninitialized in DosReadCharacter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.0
    • None

    Description

      BytesRead is uninitialized and passed to DosReadFile. DosReadFile uses it in while(*BytesRead <Count), leading to incorrect evaluation of the loop condition.
      The patch initialized BytesRead to zero, as it is supposed to be updated inside the DosReadFile depending on the bytes read.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: