Commit graph

22 commits

Author SHA1 Message Date
Cameron Gutman
3263e1f67a - 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
2009-08-18 20:30:58 +00:00
Stefan Ginsberg
35c6c8de82 - C89 compliance for iphlpapi
svn path=/trunk/; revision=42478
2009-08-07 20:03:37 +00:00
Cameron Gutman
c7364bef38 - Renew the IP address of all adapters when using /renew
- Leave the critical section in failure case
 - Check for NULL adapter (CID 499)
 - Implement IpRenewAddress and IpReleaseAddress
 - Fixes ipconfig /release and ipconfig /renew

svn path=/trunk/; revision=41955
2009-07-14 19:43:57 +00:00
Cameron Gutman
137c0f6dd5 - Fix retrieval of the default gateway (missing default gateway in ipconfig)
svn path=/trunk/; revision=41803
2009-07-08 07:33:12 +00:00
Dmitry Chapyshev
5cb17513e9 - Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes taskmgr (from windows) crash on network page
svn path=/trunk/; revision=41426
2009-06-16 19:10:29 +00:00
Sylvain Petreolle
0328a24e07 Cleanup GetAdaptersAddresses.
Add GetIfTable2 and GetIfEntry2 stubs
based on janderwald patch

svn path=/trunk/; revision=41409
2009-06-14 14:10:32 +00:00
Christoph von Wittich
38600af091 add a parameter check to GetAdaptersAddresses stub (fixes a winetest)
svn path=/trunk/; revision=41020
2009-05-20 14:23:16 +00:00
Sylvain Petreolle
1055cbc800 export GetAdaptersAddresses stub
svn path=/trunk/; revision=40696
2009-04-25 13:00:06 +00:00
Christoph von Wittich
9cf81b0af1 a little bit of wine syncing
svn path=/trunk/; revision=39400
2009-02-05 07:58:35 +00:00
Christoph von Wittich
2b9b7c7ab7 fix iphlpapi winetests
svn path=/trunk/; revision=38469
2008-12-30 12:04:47 +00:00
Johannes Anderwald
89ecbb1db8 - Make sure its DNS ServerList is NULL terminated
svn path=/trunk/; revision=37108
2008-10-30 20:25:27 +00:00
Johannes Anderwald
3575fd66a9 - Try fix GetNetworkParams api
svn path=/trunk/; revision=37106
2008-10-30 19:27:58 +00:00
Johannes Anderwald
a9c9171b38 - Rewrite getResInfo to directly return a linked list of IP_ADDR_STRING structures
- Might fix manual DNS bug

svn path=/trunk/; revision=37037
2008-10-28 10:06:16 +00:00
Johannes Anderwald
71d93bc857 * Fix retrieval of automatic DNS settings 1/2
svn path=/trunk/; revision=36796
2008-10-17 19:03:11 +00:00
Johannes Anderwald
905c093675 * Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794
2008-10-17 18:20:00 +00:00
Johannes Anderwald
6da373e9fd - Fix MultiByteToWideChar api parameters (thanks Christoph)
- Fix bugs in EnumNameServers

svn path=/trunk/; revision=36722
2008-10-11 19:30:45 +00:00
Johannes Anderwald
722bbf4ef3 - Implement GetPerAdapterInfo
- Fix multiple bugs in EnumNameServers implementation

svn path=/trunk/; revision=36720
2008-10-11 19:12:14 +00:00
Art Yerkes
7e88d259cb Commit patches from bugboy, fixing bug 2392.
svn path=/trunk/; revision=35669
2008-08-26 13:28:44 +00:00
Thomas Bluemel
5df85cd5b2 Fix some handle leaks and warnings
svn path=/trunk/; revision=31496
2007-12-29 21:40:31 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Hervé Poussineau
bc4b14c9c4 Don't abuse debug system
svn path=/trunk/; revision=27850
2007-07-26 15:13:36 +00:00
Ged Murphy
b9620a1018 reshuffling of dlls
svn path=/trunk/; revision=21035
2006-02-17 00:52:06 +00:00
Renamed from reactos/lib/iphlpapi/iphlpapi_main.c (Browse further)