ion(a)svn.reactos.com wrote:
Reuse buffer in IopQueryNameFile, since it's
temporary and the first one we allocate is already large enough. Also block out SEH in
ntread/write file since it seems to crash some user mode code.
Modified: trunk/reactos/ntoskrnl/io/file.c
------------------------------------------------------------------------
*Modified: trunk/reactos/ntoskrnl/io/file.c*
VOID
@@ -3004,10 +2999,11 @@
{
_SEH_TRY
{
+ #if 0
ProbeForWrite(IoStatusBlock,
sizeof(IO_STATUS_BLOCK),
sizeof(ULONG));
- #if 0
+
ProbeForRead(Buffer,
Length,
sizeof(ULONG));
Do you know the error status? IoStatusBlock doesn't need a alignment of
4 bytes.
- Hartmut