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

uniata: Out of Bounds access in id_ata.cpp

    Details

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

      Description

      Using CppCheck to find issues in ROS code, i came into an out of bounds access in the UniAta driver.
      In the file id_ata.cpp, line 7494, inquiryData->VendorId[i] is in a loop that goes from 0 to 24, but the field VendorId has a size of 8, as stated in the PINQUIRYDATA struct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alter-1 Alter
                Reporter:
                r3ddr4g0n R3dDr4g0n
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: