Commit graph

60075 commits

Author SHA1 Message Date
Timo Kreuzer
5c0f6850a4 [XDK/DDK]
Improve debugprint in __assert_annotationA/W

svn path=/trunk/; revision=64905
2014-10-22 19:30:27 +00:00
Kamil Hornicek
93d7ffd181 [SERVMAN]
- better fix for CDI 513719, LVText might not be null terminated - spotted by Timo

svn path=/trunk/; revision=64904
2014-10-22 19:28:33 +00:00
Timo Kreuzer
86018d03c4 [NTOSKRNL]
- Fix potential use-after-free CID 732509
- Fix buffer size in call to ObQueryNameString

svn path=/trunk/; revision=64903
2014-10-22 19:20:03 +00:00
Hervé Poussineau
f42c9182f2 [NTOS:IO] Replace an error message by an assert
This was expected to be done soon after r32518.

svn path=/trunk/; revision=64902
2014-10-22 19:17:13 +00:00
Amine Khaldi
a1bc1edda7 [ADVAPI32/CRED]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64901
2014-10-22 18:41:40 +00:00
Amine Khaldi
3bfe9ee622 [ADVAPI32/CRYPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64900
2014-10-22 18:29:59 +00:00
Amine Khaldi
eabfb53a71 [PSDK]
* Add missing PFE_IMPORT_FUNC and WriteEncryptedFileRaw.

svn path=/trunk/; revision=64899
2014-10-22 18:26:47 +00:00
Amine Khaldi
d7530c0ea5 [KERNEL32]
* Zap szCountryListName.
* Comment out unused charset_names and strcpynAtoW.
CORE-8540

svn path=/trunk/; revision=64898
2014-10-22 18:05:36 +00:00
Amine Khaldi
5bc272dbc3 [KERNEL32]
* Sync GetStringTypeW with Wine 1.7.27.
* Allows more kernel32:locale tests to run.
CORE-8540

svn path=/trunk/; revision=64897
2014-10-22 17:58:58 +00:00
Amine Khaldi
1994661271 [KERNEL32]
* Sync LCMapString{A,W} with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64896
2014-10-22 17:52:18 +00:00
Amine Khaldi
06e986393a * Sync up to trunk head (r64894).
svn path=/branches/shell-experiments/; revision=64895
2014-10-22 17:07:43 +00:00
Amine Khaldi
c094a9b51f [CMAKE]
* Allow the use of the LOCATION property with new CMake versions.

svn path=/trunk/; revision=64894
2014-10-22 16:56:56 +00:00
Amine Khaldi
f47eeb21ab [TASKMGR]
* Minor style changes in wWinMain.

svn path=/trunk/; revision=64893
2014-10-22 16:51:25 +00:00
Amine Khaldi
4ef9ff28e2 [KERNEL32]
* Zap NLS_RegEnumSubKey.

svn path=/trunk/; revision=64892
2014-10-22 16:43:19 +00:00
Amine Khaldi
18ec4d369d [KERNEL32]
* Replace EnumSystemGeoID with the one from Wine 1.7.27.
* Fixes some kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64891
2014-10-22 16:40:54 +00:00
Kamil Hornicek
6f16539c0c [TASKMGR]
- fix CIDs 731628 (unlikely buffer overrun), 500038 (dead code), 1101977 (unchecked return value)

svn path=/trunk/; revision=64890
2014-10-22 16:01:24 +00:00
Thomas Faber
6256673633 [NTOS:MM]
- Add a way to generate a pool tag from the calling driver name if none is specified. Disabled by default.

svn path=/trunk/; revision=64889
2014-10-22 13:26:50 +00:00
Thomas Faber
2e4b0e9661 [NTOS:MM]
- Add missing call to ExpSeedHotTags

svn path=/trunk/; revision=64888
2014-10-22 13:18:10 +00:00
Thomas Faber
5c565a4740 [NTOS:KE]
- Issue the appropriate bug check codes when faulting in special pool
CORE-8680

svn path=/trunk/; revision=64887
2014-10-22 13:13:31 +00:00
Thomas Faber
2c09a3d5af [NTOS:MM]
Make special pool usable:
- Invalidate PTEs on free to catch use-after-free situations (and not confuse Mm)
- Fix pattern check not to look for more than 8 bits in a byte
- Enable POOL_FLAG_SPECIAL_POOL if special pool has been initialized
- Implement MmExpandSpecialPool
- Issue the correct SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION bugcheck when problems are detected
- Magic values--
To enable special pool for a single tag, set a value for MmSpecialPoolTag in ntoskrnl/mm/ARM3/pool.c.
To enable it for more than one tag, set MmSpecialPoolTag and modify MmUseSpecialPool in ntoskrnl/mm/ARM3/special.c (e.g. to return TRUE independent of Tag).
CORE-8680 #resolve

svn path=/trunk/; revision=64886
2014-10-22 13:04:57 +00:00
Thomas Faber
f67ab25a16 [NTOS:MM]
- Generate PAGE_FAULT_IN_NONPAGED_AREA bugcheck for PTEs that have their protection set to zero. This gives a more useful error description than the infamous 'TempPte.u.Long != 0' assertion*.
CORE-8679 #resolve

* and is also What Windows Does(TM)

svn path=/trunk/; revision=64885
2014-10-22 12:29:31 +00:00
Kamil Hornicek
a48fe43631 [MSCONFIG]
- fix CID 503793 (unlikely NULL pointer dereference), 514558 (check return value)

svn path=/trunk/; revision=64884
2014-10-22 12:13:40 +00:00
Amine Khaldi
27938d24c5 [KERNEL32]
* Replace GetGeoInfo{A,W} with the ones from Wine 1.7.27.
* Fixes many kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64883
2014-10-21 23:02:21 +00:00
Kamil Hornicek
2ee22c5764 [SERVMAN]
- fix resource leaks CID 716292, 716293, 716294
- fix CID 716772 (double free), 513719 (wrong NULL check), 1206739 (cosmetic)
- make line endings CR LF when exporting the services list

svn path=/trunk/; revision=64882
2014-10-21 22:58:23 +00:00
Hermès Bélusca-Maïto
c7f4cb10e3 [FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and where they are used.
svn path=/trunk/; revision=64881
2014-10-21 21:18:23 +00:00
Kamil Hornicek
a90ae59c2a [USER32]
- fix CID 514402 (by Christoph)
[MMIXER]
- fix CID 503774, 715945, 511119
[WS2_32_NEW]
- fix a debug print

svn path=/trunk/; revision=64880
2014-10-21 21:08:51 +00:00
Jérôme Gardou
12faa73856 [WIN32K]
- Fix a few usages of UserSetCursor
 - Defer the actual freeing of cursor resources to when the object is freed for real.
CORE-7575

svn path=/trunk/; revision=64879
2014-10-21 19:57:03 +00:00
Jérôme Gardou
68fb2f6899 [I_KNEW_IT]
- InterlockedDecrement(JeromesBuildFailures)

svn path=/trunk/; revision=64878
2014-10-21 19:14:47 +00:00
Jérôme Gardou
1c19d25eb3 [WIN32K]
- "Convert" new cursor & icons implementation to the new user object handle manager.
 - Fix a few idiosyncracies in the way cursor handles are used (only with USE_NEW_CURSORICON_ENABLED)
[WIN32SS]
 - Storm out the flowers out of how classes use icon and cursor objects, with proper refcounting and all those joyous things.
Handles are for the powerless, kernel mode use pointers.
Only with USE_NEW_CURSORICON enabled (soon!)
CORE-7575

svn path=/trunk/; revision=64877
2014-10-21 18:59:44 +00:00
Jérôme Gardou
f696300a7a [WIN32K]
- Use the first frame of an animated cursor in case we're trying to use one.

svn path=/trunk/; revision=64876
2014-10-21 18:59:39 +00:00
Jérôme Gardou
19cf379c80 [WIN32K]
- Refcount++ the process info when we're adding it to a cursor process list.
CORE-8661

svn path=/trunk/; revision=64875
2014-10-21 18:59:34 +00:00
Amine Khaldi
359e6346cd [KERNEL32]
* Sync casemap.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64874
2014-10-21 18:42:12 +00:00
Amine Khaldi
d8fff8998e [IP]
* Zap tcp_state_str.

svn path=/trunk/; revision=64873
2014-10-21 18:39:22 +00:00
Amine Khaldi
3f32c3a15d [KERNEL32]
* Sync format_msg.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64872
2014-10-21 18:25:34 +00:00
Kamil Hornicek
cd1f57b5d4 [CMD]
- fix resource leaks CID 716324, 716323, 716322, 716321, 716320, 716319, 716318

svn path=/trunk/; revision=64871
2014-10-21 16:05:54 +00:00
Amine Khaldi
8d45f7ba25 [STRMBASE]
* Zap InputPin_Vtbl, OutputPin_Vtbl and impl_BaseInputPin_from_BasePin(). Already accepted upstream.

svn path=/trunk/; revision=64870
2014-10-21 15:52:51 +00:00
Amine Khaldi
931a7cbb25 [XCOPY_WINETEST]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64869
2014-10-21 15:50:16 +00:00
Thomas Faber
7b84cd051b [WIN32K]
- Fix DCE list entry handling
CORE-8669 #resolve

svn path=/trunk/; revision=64868
2014-10-21 14:28:16 +00:00
Thomas Faber
268d1c62fe [RTL]
- Fix a buffer overflow in RtlSetBits/RtlClearBits

svn path=/trunk/; revision=64867
2014-10-21 14:22:28 +00:00
David Quintana
a44f907d52 [USER32]
* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.

svn path=/branches/shell-experiments/; revision=64866
2014-10-21 13:32:00 +00:00
Thomas Faber
dfde71668b [WIN32K]
- Remove bug-hiding list macros that accept NULL in LIST_ENTRYs.
CORE-8668 #resolve

svn path=/trunk/; revision=64865
2014-10-21 12:43:15 +00:00
David Quintana
9abc368186 [EXPLORER-NEW]
* Cleanup in case of error. CID 1248426

[RSHELL]
* Add uninitialized class fields. CID 1248477
* Avoid leaking memory. CID 1248438

[BROWSEUI]
* Fix potential overwriting of a variable. CID 716363
* Save the rshell handle instead of loading it every time. CID 1248435
* Fix leaked PIDL. CID 1248418 

[SHELL32]
* Fix GCC build. And one small nickpick that has been bothering me for a long time.

svn path=/branches/shell-experiments/; revision=64864
2014-10-21 12:24:15 +00:00
Jérôme Gardou
2e2957d928 [WIN32K]
- reference the current process info structure while we're leaving win32k.
The process can die anytime while we're not looking.
CORE-8663 #resolve

svn path=/trunk/; revision=64863
2014-10-21 10:45:55 +00:00
Jérôme Gardou
84c07bcc10 [WIN32K]
- Avoid use after free in debug configuration
CORE-8661 #resolve

svn path=/trunk/; revision=64862
2014-10-21 10:45:49 +00:00
Jérôme Gardou
a336377ef4 [CMAKE]
- link keyboard layout modules to gcc_ssp if the stack protector is enabled.

svn path=/trunk/; revision=64861
2014-10-21 10:45:36 +00:00
James Tabor
64057f44f9 [User32]
- Remove code that breaks wine release 1.7.29 user32 input tests. Code was there since r2505.
- So due to this commit, over compensating hacks can break.

svn path=/trunk/; revision=64860
2014-10-21 03:13:21 +00:00
James Tabor
5c5affcc22 [Win32k]
- rpdeskParent can be NULL and should not be depended on! Fixes CORE-8665.

svn path=/trunk/; revision=64859
2014-10-21 03:02:07 +00:00
David Quintana
96cdae0a7c [BROWSEUI]
* SHOnCWMCommandLine: Fix IETHREADPARAM leak.

[SHELL32]
* Fix HMENU leak of the popup used in the view mode button of the toolbar.

[RSHELL]
* Undo a previous change to help debug the leaks.
* Remove child submenus when closing a menu band.
* Add some extra verification for debugging purposes. 

[BROWSEUI]
[RSHELL]
[SHELL32]
* Move ReleaseCComPtrExpectZero to the shared header.

svn path=/branches/shell-experiments/; revision=64858
2014-10-20 21:35:22 +00:00
David Quintana
b138a8620d [EXPLORER-NEW]
* Initialize struct contents to zero. CID 1102492

[BROWSEUI]
* Fix build.

svn path=/branches/shell-experiments/; revision=64857
2014-10-20 21:23:32 +00:00
Sylvain Petreolle
ccf02b054c [UNIATA]
Update to 0.45b1.
CORE-8280 #resolve

svn path=/trunk/; revision=64856
2014-10-20 21:21:43 +00:00