Author: cgutman
Date: Fri Feb 5 08:35:04 2010
New Revision: 45436
URL:
http://svn.reactos.org/svn/reactos?rev=45436&view=rev
Log:
[NDIS]
- Fix buffer length passed to KeRegisterBugCheckCallback
Modified:
branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c
Modified: branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/drivers/ne…
==============================================================================
--- branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
(original)
+++ branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Fri
Feb 5 08:35:04 2010
@@ -1511,7 +1511,7 @@
KeInitializeCallbackRecord(BugcheckContext->CallbackRecord);
KeRegisterBugCheckCallback(BugcheckContext->CallbackRecord, NdisIBugcheckCallback,
- BugcheckContext, sizeof(BugcheckContext), (PUCHAR)"Ndis Miniport");
+ BugcheckContext, sizeof(*BugcheckContext), (PUCHAR)"Ndis Miniport");
IoRegisterShutdownNotification(Adapter->NdisMiniportBlock.DeviceObject);
}