Commit in reactos/drivers/lib/ip/transport/udp on MAIN
udp.c+21.8 -> 1.9
Check for a bad return from AllocatePacketWithBuffer.

reactos/drivers/lib/ip/transport/udp
udp.c 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- udp.c	30 Nov 2004 00:10:41 -0000	1.8
+++ udp.c	18 Dec 2004 18:22:47 -0000	1.9
@@ -132,6 +132,8 @@
 				       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)));
CVSspam 0.2.8