Commit graph

66036 commits

Author SHA1 Message Date
Amine Khaldi 4d6c550bad [KERNEL32] Check the return buffer for NULL before initializing the unicode string buffer with it. By Peter Hater. CORE-11368
svn path=/trunk/; revision=71947
2016-07-15 20:18:20 +00:00
James Tabor 0d440c625d [NtGdi]
- Make SetBkColor work the same as client side.

svn path=/trunk/; revision=71946
2016-07-15 20:13:33 +00:00
Hermès Bélusca-Maïto 3d3efd5dea [EVENTVWR]: Fix transparency problems for some icons.
svn path=/trunk/; revision=71944
2016-07-14 18:58:05 +00:00
Pierre Schweitzer fccd3c6490 [BOOTLIB]
Fix checksum computation

CID #1363451

svn path=/trunk/; revision=71941
2016-07-14 13:04:08 +00:00
Pierre Schweitzer ab07decf48 [BOOTLIB]
Fix out of bounds read.

CID #1363549

svn path=/trunk/; revision=71940
2016-07-14 12:58:29 +00:00
Pierre Schweitzer b34c2f1548 [BOOTMGR]
Don't use uninit var.

CID #1363650

svn path=/trunk/; revision=71939
2016-07-14 12:46:31 +00:00
Pierre Schweitzer d9e36e2928 [BOOTLIB]
Don't deal with uninit ptr.

CID #1363698

svn path=/trunk/; revision=71938
2016-07-14 12:40:17 +00:00
Pierre Schweitzer e7bb031141 [NTOSKRNL]
Assert that the allocated buffers are not leaked.

CID #1248416

svn path=/trunk/; revision=71937
2016-07-14 12:21:57 +00:00
Pierre Schweitzer aeaced7e5a [MUP]
Don't deal with uninit ptr.

CID #1322222

svn path=/trunk/; revision=71936
2016-07-14 12:07:05 +00:00
Mark Jansen 1e53a26381 [ACPPAGE] Remove unused var. CID 1363705
svn path=/trunk/; revision=71934
2016-07-13 18:44:51 +00:00
Mark Jansen b53f38a463 [RAPPS_NEW] Use the actual buffer size instead of hardcoding a random number. CID 1363551
svn path=/trunk/; revision=71933
2016-07-13 18:33:42 +00:00
Mark Jansen 1aec6625e9 [ACLAYER] Use the return of StringCbPrintfW instead of ignoring it. CID 1363460-63, 65-70, 76, 78, 85, 88, 90
svn path=/trunk/; revision=71932
2016-07-13 18:10:37 +00:00
Mark Jansen 3fe36f5bb9 [APPHELP] Dereference after null check (default_dir). CID 1363509
svn path=/trunk/; revision=71931
2016-07-13 18:02:16 +00:00
Thomas Faber 02da519230 [NTOSKRNL_VISTA]
- Avoid ugly hacks
CORE-11596 #resolve

svn path=/trunk/; revision=71930
2016-07-13 17:48:21 +00:00
Hermès Bélusca-Maïto 8889af9d21 [NET]
No need to check for whether 'pBuffer' is NULL to call NetApiBufferFree, because:
- 'pBuffer' was used above this call without any particular checks;
- 'pBuffer' can be only null when NetUserEnum fails with an error different from NERR_Success or ERROR_MORE_DATA. But this case was actually checked for before using 'pBuffer'.
By Victor Martinez aka. Mr.Coverity ^^ :)
CID 1363629
CORE-11598 #resolve

svn path=/trunk/; revision=71929
2016-07-13 17:35:16 +00:00
Hermès Bélusca-Maïto 341b360aa5 [NTOSKRNL_VISTA lib]
Initialize utf8_ch_len to zero before using it (at each turn of the for-loop). As I couldn't find this code in Wine, I couldn't see whether they already fixed it or not. Caught by Victor.
CORE-11596

svn path=/trunk/; revision=71928
2016-07-13 16:43:16 +00:00
Hermès Bélusca-Maïto d512139905 [SETUP]
- Fix leaking 'pSetupData' in case of failure. CID 1363604
- Since we know that in the remaining of the code, 'pSetupData' is a valid pointer, we can free it at the very end without rechecking whether it was NULL or not.
CORE-11591 #resolve

svn path=/trunk/; revision=71927
2016-07-13 16:33:37 +00:00
Hermès Bélusca-Maïto 368ccec209 [MAGNIFY]
Missing break. CID 1363532
CORE-11593 #resolve

svn path=/trunk/; revision=71926
2016-07-13 16:27:39 +00:00
Hermès Bélusca-Maïto 054f3b25f7 [MKHIVE]
- Fix usage of the 'Status' variable. CID 1363689
- Fix some DPRINTs.
CORE-11595 #resolve

svn path=/trunk/; revision=71925
2016-07-13 16:23:12 +00:00
Hermès Bélusca-Maïto 3aa8e4c2ac [CHARMAP]
Don't overrun FillGrid() when accessing the last elements. Rewrite the code using 'for' loops, in the same style as what is done elsewhere in the code. CID 1363552
CORE-11597 #resolve

svn path=/trunk/; revision=71924
2016-07-13 15:50:44 +00:00
Hermès Bélusca-Maïto 380484c985 [BOOTLIB]
- BiOpenKey is being feed with the wrong ElementHandle, it should be feed with ElementsHandle one. CID 1363670 . By Victor Martinez Calvo. CORE-11600 #resolve
[BOOTMGR]
- Fix an Assign vs Compare issue. CID 1363558 .  By Victor Martinez Calvo. CORE-11592 #resolve

svn path=/trunk/; revision=71923
2016-07-13 15:43:08 +00:00
Amine Khaldi d90292f386 [BOOTLIB] Remove stray semicolon from a condition in ConsoleCreateLocalInputConsole(). Patch by Victor for CID 1363701. CORE-11588
svn path=/trunk/; revision=71919
2016-07-13 09:08:34 +00:00
James Tabor fa03a0ab6b [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 4. CORE-11368
svn path=/trunk/; revision=71918
2016-07-13 03:16:00 +00:00
James Tabor e5dd5ba644 [User32]
- Sync/port up to Wine Staging 1.9.11 or current. See CORE-11368.

svn path=/trunk/; revision=71917
2016-07-13 03:09:01 +00:00
James Tabor dc9ad2ee45 [NtUser]
- Fix crash in User32:win:test_winproc_handles. See CORE-11368.

svn path=/trunk/; revision=71916
2016-07-13 03:04:20 +00:00
James Tabor edd88125ab [User32]
- Fix regression in API:RealGetWindowClass test due to wine sync/port.
- ReactOS use of DIALOG_get_info is an enhanced fork of the same wine function.

svn path=/trunk/; revision=71915
2016-07-13 00:40:07 +00:00
Hermès Bélusca-Maïto 5c7bfe2f11 [CONCFG]: Add needed inclusion for StrSafe functions.
svn path=/trunk/; revision=71914
2016-07-13 00:09:36 +00:00
Hermès Bélusca-Maïto 47d9985bb4 [CONSRV]
- Fix potential Out-of-bounds access during string copy/concatenation. CID 1322098.
- Fix check for NULL after potential dereference. CID 1322175.

svn path=/trunk/; revision=71913
2016-07-13 00:06:09 +00:00
Hermès Bélusca-Maïto a5b76eb779 [SHELL32]
- Use StringCbCopyW

[PROGMAN]
- Use StringCbCopyW: CID #1363712.
- Don't read registry values in a registry key if we failed to open it. CID #514350.

svn path=/trunk/; revision=71912
2016-07-12 23:00:50 +00:00
Hermès Bélusca-Maïto 4ef92827aa [USETUP]
- Don't hardcode buffer string size in GetPartTypeStringFromPartitionType calls.
- Possibly check whether the first character of the PartTypeString string is NULL before printing a generic partition information in case the partition type is unknown. We might check instead for the STRING_FORMATUNKNOWN string...
- Don't check for PartTypeString being NULL since it's not a pointer. CID #1363481 and CID #1363494.

svn path=/trunk/; revision=71911
2016-07-12 22:30:55 +00:00
Amine Khaldi 5ec6f3d9fc [KERNEL32_WINETEST] Sync with Wine Staging 1.9.14 except thread tests. CORE-11511
svn path=/trunk/; revision=71910
2016-07-12 21:10:24 +00:00
Amine Khaldi 54f3884769 [NTDLL_WINETEST] Partial sync with Wine Staging 1.9.14. CORE-11368 holds some remaining tests.
svn path=/trunk/; revision=71909
2016-07-12 20:40:20 +00:00
James Tabor 69fd33d2a0 [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 3. CORE-11368
svn path=/trunk/; revision=71907
2016-07-12 20:08:44 +00:00
James Tabor 45799931c9 [Win32SS]
- Update (Sync/Port) User32:Text to Wine Staging 1.9.11, see CORE-11368.

svn path=/trunk/; revision=71906
2016-07-12 20:06:30 +00:00
James Tabor d9af32368a [Win32SS]
- Cleanup error codes for Classes and Menus.
- Update (Sync/Port) User32:Dialog to Wine Staging 1.9.11, see CORE-11368.
- Now pass exactly the same tests as windows, except for the two ToDos lines 1596 & 1617. The other test failures are on wine for not being compatible!

svn path=/trunk/; revision=71904
2016-07-12 18:23:04 +00:00
Amine Khaldi 1c7b4d4699 [SCHTASKS] Import from Wine Staging 1.9.14. CORE-11576
svn path=/trunk/; revision=71903
2016-07-12 15:35:42 +00:00
Amine Khaldi a9be1b1122 [UXTHEME_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71902
2016-07-12 11:13:34 +00:00
Amine Khaldi 2a753b8ad3 [UXTHEME] Apply Wine commit 997e204 by Louis Lenders: Fix CloseThemeData with invalid handle value. CORE-11368
svn path=/trunk/; revision=71901
2016-07-12 11:12:58 +00:00
Amine Khaldi 94cda5e077 [SHELL32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71900
2016-07-12 10:49:51 +00:00
Amine Khaldi d86051a8c3 [PSDK] Add some missing ASSOCF_* enum elements.
svn path=/trunk/; revision=71899
2016-07-12 10:46:22 +00:00
Amine Khaldi c59d46ec65 [ADVAPI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71898
2016-07-12 10:38:36 +00:00
Mark Jansen 78df1a00d6 [TRANSLATION] Russian translations by Nikolay Burshtyn (amber). CORE-11567 #resolve #comment Thanks!
svn path=/trunk/; revision=71896
2016-07-11 19:02:48 +00:00
Amine Khaldi a4db20e9a9 [INCLUDES/WINE] Update test.h.
svn path=/trunk/; revision=71895
2016-07-11 10:47:42 +00:00
Amine Khaldi dc0f375a2d [GDI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71894
2016-07-11 10:46:47 +00:00
Hermès Bélusca-Maïto b9a5fd8135 Fix usage of the first parameter for TranslateAccelerator: this should be the handle of the window that will receive the accelerator commands (not the window from which the message originates).
svn path=/trunk/; revision=71893
2016-07-11 01:57:47 +00:00
Eric Kohl 3d32d3faaf [SERVMGR]
Service recovery page:
- Dissect the 'run process' command line and display it.
- Implement the 'Browse' button.

svn path=/trunk/; revision=71892
2016-07-10 21:54:17 +00:00
Eric Kohl a9f075392d [NEWDEV]
Fix words in newdev. (Italian translation)
Patch by decodp.
CORE-11437 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71891
2016-07-10 20:26:05 +00:00
Pierre Schweitzer 79bcce0cbe [FASTFAT]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly
CcPinRead 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71890
2016-07-10 18:16:03 +00:00
Pierre Schweitzer bc25d25107 [CDFS]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71889
2016-07-10 18:06:47 +00:00
Pierre Schweitzer e8028606cf [FASTFAT][CDFS]
Call CcMapData(), CcPinRead() inside a SEH block
This allows returning more significant error codes on failure

[NTOSKRNL]
Enable Thomas code for raising exceptions

CORE-9848

svn path=/trunk/; revision=71888
2016-07-10 17:14:33 +00:00