Commit Graph

48569 Commits

Author SHA1 Message Date
Huw Davies 6f4ad21b9d oleaut32: Fix a couple of memory leaks in the tests.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies bf93519a39 inetcomm: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies 55bf97bba7 gdiplus: Fix a couple of memory leaks.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Juan Lang 497b67dbf6 wintrust: Fail to load a certificate from a PE file if the certificate entry isn't a known type. 2009-12-07 09:49:18 +01:00
Juan Lang d69b00d630 rsaenh/tests: Fix memory leaks. 2009-12-07 09:49:07 +01:00
Juan Lang bab1c652ae crypt32/tests: Fix memory leak in test. 2009-12-07 09:49:07 +01:00
Juan Lang 035c323054 rsaenh: Fix memory leak in CPSignHash. 2009-12-07 09:49:07 +01:00
Juan Lang cdbf6e8614 crypt32/tests: Don't pass as a parameter a variable that could be local. 2009-12-07 09:49:07 +01:00
Juan Lang a5facc9bda winhttp: Use sk_ functions rather than accessing an OpenSSL stack type directly. 2009-12-07 09:49:07 +01:00
Huw Davies 24b437942e winhttp: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2009-12-07 09:49:07 +01:00
James Hawkins 25ab693008 msi: The second parameter to Installer.OpenPackage is optional, so set a default value of 0 if the parameter is not provided. 2009-12-07 09:49:06 +01:00
James Hawkins 1ff6c08621 msi: Verify that the first parameter to Installer.OpenPackage is a VT_BSTR.
It seems ugly to open up the parameters in pDispParams, but
DispGetParam will happily convert a VT_EMPTY to a VT_BSTR and not
return an error.
2009-12-07 09:49:06 +01:00
James Hawkins 4687604356 msi: It's possible to send in more than two parameters to Installer.OpenPackage, but sending in zero parameters should return DISP_E_TYPEMISMATCH. 2009-12-07 09:49:06 +01:00
James Hawkins b614052895 msi: Add more tests for the Installer.OpenPackage method.
The following series fixes a few leaks reported by valgrind.  We were
leaking exception info caused by Installer.OpenPackage failing when we
didn't expected it.
2009-12-07 09:49:06 +01:00
James Hawkins 89b2cde891 oleaut32: Report the parameter index for any failure in DispGetParam. 2009-12-07 09:49:06 +01:00
James Hawkins 02dcc19854 oleaut32: Add tests for DispGetParam. Fix two issues that crashed the tests. 2009-12-07 09:49:06 +01:00
Vincent Povirk f3d194b391 ole32: Add ReadDirEntry to the storage vtable. 2009-12-07 09:49:05 +01:00
Vincent Povirk 176cdfc75e ole32: Add WriteDirEntry to the storage vtable. 2009-12-07 09:49:05 +01:00
Vincent Povirk 8a332db2c5 ole32: Change ReadDirEntry return type to HRESULT. 2009-12-07 09:49:05 +01:00
Vincent Povirk df13a1d1fe ole32: Change WriteDirEntry return type to HRESULT. 2009-12-07 09:49:05 +01:00
Vincent Povirk 382ffed003 ole32: Make CreateDirEntry a virtual method. 2009-12-07 09:49:05 +01:00
Vincent Povirk f1405ca0d2 windowscodecs: Accept GIF files with no trailer. 2009-12-07 09:33:35 +01:00
Owen Rudge b49cc56614 imagehlp: Recalculate PE checksum after file modification. 2009-12-07 09:33:29 +01:00
Owen Rudge ba5a86e349 imagehlp: Check for 64-bit PE files in CheckSumMappedFile. 2009-12-07 09:33:07 +01:00
Owen Rudge b277012765 imagehlp/tests: Add tests for adding/removing multiple certificates. 2009-12-07 09:32:40 +01:00
Owen Rudge 5bcc37a9fd imagehlp: Implement ImageRemoveCertificate. 2009-12-07 09:32:29 +01:00
Rob Shearman 74e5e0b33f hlink: Fix more memory leaks in tests. 2009-12-07 09:32:22 +01:00
Rob Shearman 0450235db4 netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and ACCESS_QueryGuestDisplayInformation. 2009-12-07 09:32:17 +01:00
Rob Shearman 2b74e774f9 ole32: Add tests for HGLOBAL stream ignoring the HighPart of the offset for seeks. 2009-12-07 09:32:11 +01:00
Rob Shearman 4ad631286a ole32: Initialise all of position variables in test_save_load_filemoniker.
Initialise all 8-bytes instead of just the lower 4-bytes. This test
isn't designed to be testing whether the Seek method of the object
return by CreateStreamOnHGlobal uses the high part of the positions
passed in.
2009-12-07 09:32:08 +01:00
Huw Davies 6b8c9aee4f user32: Pad lfFaceName so we don't write uninitialised data to the registry.
Found by Valgrind.
2009-12-04 15:49:26 +01:00
Huw Davies 6fc8234300 user32: Pad lfFaceName so we don't write uninitialised data to the registry.
Found by Valgrind.
2009-12-04 15:48:19 +01:00
Wolfram Sang a7326271e0 ntdll: Silence RtlNtStatusToDosErrorNoTeb() a bit. 2009-12-04 15:48:09 +01:00
Paul Vriens c2f5442f2a kernel32/tests: Skip some tests if needed (WinXP Home). 2009-12-04 14:44:11 +01:00
Paul Vriens 0c67d1bddb kernel32/tests: Skip some tests on Win98/WinMe. 2009-12-04 14:44:03 +01:00
Paul Vriens 3b43c4e585 kernel32/tests: Correct some ok() statements. 2009-12-04 14:43:48 +01:00
Hans Leidekker e018a5e25b wininet: Add a test for status callbacks on ftp connections. 2009-12-04 14:42:44 +01:00
Hans Leidekker 5f08249831 wininet: Fix some status callbacks to return a string instead of a sockaddr structure.
Spotted by Juan Lang.
2009-12-04 14:42:37 +01:00
Alistair Leslie-Hughes e7906026bb shdocvw: Implement IWebBrowser2_get_Name. 2009-12-04 14:42:28 +01:00
Dmitry Timoshkov 2536bfd1d8 kernel32: Explicitly treat the current working directory name as a unix one. 2009-12-04 14:42:05 +01:00
Henri Verbeet 2800970d1a dxgi/tests: Add a small test for IDXGIAdapter::GetDesc(). 2009-12-04 14:34:59 +01:00
Henri Verbeet 0491fcce30 dxgi: Implement IDXGIAdapter::GetDesc(). 2009-12-04 14:34:59 +01:00
Henri Verbeet dd5fc79f56 wined3d: The stateblock doesn't really need a parent. 2009-12-04 14:34:59 +01:00
Henri Verbeet ff92e6eb6a d3d9: Simplify GetDevice(). 2009-12-04 14:34:59 +01:00
Henri Verbeet 3cedef2ffe d3d8: Simplify GetDevice().
We already store "parentDevice", so we might as well use it.
2009-12-04 14:34:59 +01:00
Owen Rudge 1f6d24565c imagehlp: Implement ImageAddCertificate. 2009-12-04 14:34:59 +01:00
Owen Rudge f5ebe032b0 imagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.
Includes checks for 64-bit file structure and avoids repeating header 
checks.
2009-12-04 14:34:59 +01:00
Vincent Povirk cc98619ca4 ole32: Add an internal vtable to StorageBaseImpl objects. 2009-12-04 14:34:59 +01:00
Vincent Povirk f434ab1f2a ole32: Unify the logic for overriding the root storage filename in Stat.
This is needed so that the new transacted type will be able to easily support
this logic.
2009-12-04 14:34:59 +01:00
Vincent Povirk 5456724fd7 ole32: Move the create attribute from StorageImpl to StorageBaseImpl.
This is to avoid accessing the top-level StorageImpl directly.
2009-12-04 14:34:58 +01:00