mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Check for a bad return from AllocatePacketWithBuffer.
svn path=/trunk/; revision=12192
This commit is contained in:
parent
f4354d8f89
commit
1a2e000397
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ NTSTATUS BuildUDPPacket(
|
|||
NULL,
|
||||
Packet->TotalSize + MaxLLHeaderSize );
|
||||
|
||||
if( !NT_SUCCESS(Status) ) return Status;
|
||||
|
||||
TI_DbgPrint(MID_TRACE, ("Allocated packet: %x\n", Packet->NdisPacket));
|
||||
TI_DbgPrint(MID_TRACE, ("Local Addr : %s\n", A2S(LocalAddress)));
|
||||
TI_DbgPrint(MID_TRACE, ("Remote Addr: %s\n", A2S(RemoteAddress)));
|
||||
|
|
Loading…
Reference in a new issue