- Fix a handle leak
authorCameron Gutman <aicommander@gmail.com>
Thu, 13 Aug 2009 23:38:57 +0000 (23:38 +0000)
committerCameron Gutman <aicommander@gmail.com>
Thu, 13 Aug 2009 23:38:57 +0000 (23:38 +0000)
commit42e498c4b0a2fc82112bfeb93f5301f8cbb3ab38
tree90de44132aeb5904398bf2dcbbf94182fed6fec7
parent2bddd27873ddc03495d583dc026b2e6981eeb803
 - Fix a handle leak
 - Fix a potential NULL pointer dereference if ExAllocatePool fails
 - Fix a potential NULL pointer dereference that causes AFD to crash when the socket is closed with waiting send IRPs
 - Fix another NULL pointer dereference if NdisOpenConfiguration fails
 - Move ASSERT before accessing Status
 - Add some sanity checks
 - Most of these were found by Amine Khaldi

svn path=/trunk/; revision=42659
reactos/drivers/network/afd/afd/select.c
reactos/drivers/network/afd/afd/tdiconn.c
reactos/drivers/network/afd/afd/write.c
reactos/drivers/network/ndis/ndis/miniport.c
reactos/drivers/network/ndis/ndis/misc.c
reactos/drivers/network/tcpip/tcpip/dispatch.c
reactos/drivers/network/tcpip/tcpip/info.c
reactos/drivers/network/tcpip/tcpip/ninfo.c