Commit Graph

12 Commits

Author SHA1 Message Date
Evan Tang 4e9dae3776 kernel32/lzexpand: Fix uninitialized read in read_header.
read_header calls _lread which can either return the number of characters read
or HFILE_ERROR (-1), cast to a UINT.

Signed-off-by: Evan Tang <etang110@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 16:29:39 +01:00
Piotr Caban 342ccda6ed kernel32: Don't use toupper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:01:12 +01:00
Lauri Kenttä ae14719538 kernel32: LZOpenFile should preserve cBytes on failure.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 19:52:58 +01:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Andrew Talbot 5ae5a68ed3 kernel32: Sign-compare warnings fix. 2008-10-15 14:01:53 +02:00
Michael Stefaniuc d457af740d kernel32: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. 2007-12-06 12:07:17 +01:00
Dmitry Timoshkov a67b689121 kernel32: Fix compilation warnings in 64-bit mode. 2007-05-23 13:13:54 +02:00
Felix Nawothnig 89d8b47547 kernel32: Forward CopyLZFile() to LZCopy() instead of wrapping it. 2007-01-15 13:00:24 +01:00
Dmitry Timoshkov 924f73b861 kernel32: Make some data const. 2006-11-28 12:36:04 +01:00
James Hawkins 15fd7a028f kernel32: Replace magic numbers with descriptive defines. 2006-11-20 11:24:48 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00