Fix small bug in RtlFindMostSignificantBit [Virus checked]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello

I found a small bug in RtlFindMostSignificantBit.
It worked correct if just one bit was set, but returns
wrong results if several bits were set.

BTW:        This is the only way I can send email (Office account
        using Lotus notes). If it is really unuseable, please
        complain. Otherwise please accept the patch.

Changelog:

        * dlls/ntdll/rtlbitmap.c, dlls/ntdll/tests/rtlbitmap.c:
        Thomas Mertes <thomas.mertes@t-mobile.at>
        - Fix small bug in RtlFindMostSignificantBit. It returned
          sometimes wrong results if more then one bit was set.
        - Update the testcases as well.

Greetings
Thomas Mertes

Attachment: patch_bitmap_fix
Description: Binary data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux