mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Allocate correct number of bytes for EABuffer.
svn path=/trunk/; revision=12905
This commit is contained in:
parent
2929a492fd
commit
df756bcc24
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ WSPSocket(
|
|||
SizeOfEA = SizeOfPacket + sizeof(FILE_FULL_EA_INFORMATION) + AFD_PACKET_COMMAND_LENGTH;
|
||||
|
||||
/* Set up EA Buffer */
|
||||
EABuffer = HeapAlloc(GlobalHeap, 0, (SIZE_T)&SizeOfEA);
|
||||
EABuffer = HeapAlloc(GlobalHeap, 0, SizeOfEA);
|
||||
EABuffer->NextEntryOffset = 0;
|
||||
EABuffer->Flags = 0;
|
||||
EABuffer->EaNameLength = AFD_PACKET_COMMAND_LENGTH;
|
||||
|
|
Loading…
Reference in a new issue