Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-356

Copy paste bug in RtlBitmap.c

    XMLWordPrintable

Details

    Description

          ok_hex(Buffer[0], IsBroken ? 0x7f00ff0f : 0xff00ff0f);
          ok_hex(Buffer[1], 0x3F303F30);
       
          RtlInitializeBitMap(&BitMapHeader, Buffer, 0);
          ok_int(RtlNumberOfSetBits(&BitMapHeader), 0);
          ok_hex(Buffer[0], IsBroken ? 0x7f00ff0f : 0x7f00ff0f);
      

      In second ok_hex statement "0x7f00ff0f" is used twice.

      https://github.com/reactos/reactos/blob/3b430eefddf79bd524f040cb79ad8b63a591b422/modules/rostests/apitests/ntdll/RtlBitmap.c#L305-L310

      Attachments

        Activity

          People

            reactosfanboy reactosfanboy
            qarmin qarmin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: