Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.4.16-dev-2500-g5e998de https://github.com/reactos/reactos/commit/5e998de248337b2609bb8ffa35782e107aea77b9
Description
ReactOS: 0.4.16
Module: Kernel32
Patch included.
test.cpp - Test program demonstrating the issue
The issue may cause Total Commander to crash in debug build, also it's confirmed to block ReactOS building on itself, as was reported in CORE-20612.
The problem stems from the use of uninitialized memory.
In the file dll\win32\kernel32\client\file\rw.c, specifically in the functions WriteFile and ReadFile, the Iosb.Information field is used without initialization:
*lpNumberOfBytesWritten = Iosb.Information; // BUG1
|
*lpNumberOfBytesRead = Iosb.Information; // BUG2
|
Attachments
Issue Links
- blocks
-
CORE-17376 Calibre 2.0.0 doesn't convert ebooks.
-
- Resolved
-
-
CORE-20548 Sync all wine components to Wine-10.0
-
- Untriaged
-
- is duplicated by
-
CORE-20612 After commit of 5e998de cannot build ReactOS in itself
-
- Resolved
-