summaryrefslogtreecommitdiff
path: root/lib/system_win32.c
Commit message (Collapse)AuthorAgeFilesLines
* spelling fixesklemens2017-03-261-2/+2
| | | | Closes #1356
* win: fix Universal Windows Platform buildMarcel Raad2016-10-161-1/+33
| | | | | | | | | | | | | | | This fixes a merge error in commit 7f3df80 caused by commit 332e8d6. Additionally, this changes Curl_verify_windows_version for Windows App builds to assume to always be running on the target Windows version. There seems to be no way to determine the Windows version from a UWP app. Neither GetVersion(Ex), nor VerifyVersionInfo, nor the Version Helper functions are supported. Bug: https://github.com/curl/curl/pull/820#issuecomment-250889878 Reported-by: Paul Joyce Closes https://github.com/curl/curl/pull/1048
* Curl_verify_windows_version: minor edit to avoid compiler warningsDaniel Stenberg2016-08-271-1/+4
| | | | | | ... instead of if() before the switch(), add a default to the switch so that the compilers don't warn on "warning: enumeration value 'PLATFORM_DONT_CARE' not handled in switch" anymore.
* win32: fix a potential memory leak in Curl_load_libraryMartin Vejnár2016-08-011-1/+1
| | | | | | | | If a call to GetSystemDirectory fails, the `path` pointer that was previously allocated would be leaked. This makes sure that `path` is always freed. Closes #938
* checksrc: Add LoadLibrary to the banned functions listJay Satiro2016-06-051-1/+4
| | | | | LoadLibrary was supplanted by Curl_load_library for security reasons in 6df916d.
* win32: Added verify windows version functionalitySteve Holme2016-06-041-5/+130
|
* win32: Introduced centralised verify windows version functionSteve Holme2016-06-041-3/+39
|
* loadlibrary: Only load system DLLs from the system directorySteve Holme2016-05-301-0/+130
Inspiration provided by: Daniel Stenberg and Ray Satiro Bug: https://curl.haxx.se/docs/adv_20160530.html Ref: Windows DLL hijacking with curl, CVE-2016-4802