- Fix null pointer dereferences
authorCameron Gutman <aicommander@gmail.com>
Tue, 18 Aug 2009 20:30:58 +0000 (20:30 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 18 Aug 2009 20:30:58 +0000 (20:30 +0000)
commit3263e1f67aa39a03b7fcd2dc6a2e30564af27928
treeda116796fde0e87fc55d5b2c60d964f53c129655
parente74d2c5ce48e9531fc8cf3c63be6a19c99be5ec7
 - Fix null pointer dereferences
 - Fix out of bounds array access
 - Check that we got a valid pointer from HeapAlloc
 - Don't close the caller's handle when we fail
 - Fix a memory leak
 - Found by Amine Khaldi

svn path=/trunk/; revision=42774
reactos/dll/win32/iphlpapi/ifenum_reactos.c
reactos/dll/win32/iphlpapi/iphlpapi_main.c
reactos/dll/win32/iphlpapi/ipstats_reactos.c
reactos/dll/win32/iphlpapi/registry.c
reactos/dll/win32/iphlpapi/resinfo_reactos.c