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

EnumDevicesBySemantics doesn't check input size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • Wine
    • bootcd-r75877(rosbe).iso. VBox 5.0.36 with additions, DirectX SDK (June 2005), Codeblocks and VBox D3D switcher.

    Description

      The following example has a mistake, IDirectInput8W::EnumDevicesBySemantics is called with ANSI parameters of smaller structure size. While Microsoft's DirectInput gives error on this, ROS dinput gives success leading to the interface not doing anything but not giving any error output.
      DirectInput also gives error if there are actions mapped to the same button.

      Attachments

        1. 12_correctprogram_ms.txt
          59 kB
          CircularTriangle06
        2. 12_duplicates_ms.txt
          63 kB
          CircularTriangle06
        3. 12_wrongsize_ms.txt
          68 kB
          CircularTriangle06

        Activity

          People

            bug zilla Bug Zilla
            CircularTriangle06 CircularTriangle06
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: