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

uniata: Out of Bounds access in id_ata.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Drivers: Other
    • 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

              alter-1 alter-1
              R3dDr4g0n R3dDr4g0n
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: