[Wine-patches] [1/3] Revert "ntoskrnl.exe: Fix METHOD_BUFFERED check."
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Окт 31 14:56:14 MSK 2008
----------- следующая часть -----------
From a510fb71a9d7af96740d2b95d499458f765650c5 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 31 Oct 2008 13:48:12 +0300
Subject: [PATCH] Revert "ntoskrnl.exe: Fix METHOD_BUFFERED check."
This reverts commit e6c71e58fbc9b1cec3291617139f09bd4ed531e5.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 701dbf1..52139bd 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -152,7 +152,7 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
--irp->CurrentLocation;
irpsp = --irp->Tail.Overlay.s.u.CurrentStackLocation;
- if (METHOD_BUFFERED == (code & 3))
+ if (METHOD_BUFFERED == code & 3)
{
buf = ExAllocatePool( NonPagedPool, (*out_size > in_size) ? *out_size : in_size );
if (buf == NULL)
--
1.5.6.5.GIT
Подробная информация о списке рассылки Wine-patches