Michał Janiszewski
3d5d8903b8
ntdll: Prevent Find{Set, Clear}Run from reading past the end of bitmap.
...
This can be happen in sample arrays (hex):
FindSetRun: 00 00 00 00 00 00 00 ff
FindClearRun: ff ff ff ff ff ff ff 00
Signed-off-by: Michał Janiszewski <janisozaur@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 22:09:32 +02:00
Michał Janiszewski
961061419a
ntdll/tests: Add RtlFindNextForwardRun{Set, Clear} tests.
...
The tests in particular should trigger an edge case in implementation.
Signed-off-by: Michał Janiszewski <janisozaur@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 22:09:25 +02:00
Alistair Leslie-Hughes
3b05f552e2
ntdll/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:13:55 +09:00
Austin English
fe9544abd2
ntdll/tests: Make sure return values are used (LLVM/Clang).
2011-02-14 13:33:33 +01:00
Austin English
e88e2239aa
ntdll/tests: Fix a compiler warning on PowerPC.
2009-08-31 12:19:04 +02:00
Michael Stefaniuc
8ddaf6cc21
ntdll/tests: Win64 printf format warning fixes.
2006-10-14 20:17:34 +02:00
Stefan Leichter
0e592aa9bd
ntdll/tests: Print 64bit integers as two 32 bit integers.
2006-08-23 12:00:15 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Stefan Huehner
712087700e
Fix some -Wstrict-prototypes warnings.
2005-06-16 15:52:44 +00:00
Francois Gouget
8bc2fdb3f9
Disable the RtlBitMap tests if compiling with the Microsoft headers as
...
they are missing critical structure and API declarations.
2004-09-01 01:29:18 +00:00
Francois Gouget
61d21ce706
Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK.
...
Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are
defined.
2004-08-23 18:52:54 +00:00
Francois Gouget
a625761eb9
Avoid annoying 'macro redefinition' warnings by defining
...
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget
f083d70024
Add trailing '\n's to ok() calls.
...
Spelling fixes in the ok() messages.
2004-02-07 01:02:48 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
c85f61b189
Avoid explicit long long constants.
2003-03-18 20:01:45 +00:00
Thomas Mertes
38012942f8
- Fix small bug in RtlFindMostSignificantBit. It returned sometimes
...
wrong results if more then one bit was set.
- Update the test cases as well.
2003-02-18 23:22:49 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Jon Griffiths
1da297178a
Implement and test rtl bitmap functions.
...
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00