On Dec 23, 2008, at 3:39 PM, cgutman@svn.reactos.org wrote:
Author: cgutman Date: Tue Dec 23 06:39:55 2008 New Revision: 38297
======================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/ lan.c [iso-8859-1] (original) +++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/ lan.c [iso-8859-1] Tue Dec 23 06:39:55 2008 @@ -703,7 +703,7 @@ UnicodeString.MaximumLength = Information->DataLength;
String->Buffer =
- (PWCHAR)exAllocatePool( NonPagedPool,
- (PWCHAR)ExAllocatePool( NonPagedPool, UnicodeString.MaximumLength + sizeof(WCHAR) );
Isn't that a typo? you change it the other way around everywhere else in tcpip.